Front page | perl.perl5.porters |
Postings from January 2004
[perl #25166] question about configure finding libraries and includes
Thread Next
From:
perlbug-followup
Date:
January 20, 2004 18:43
Subject:
[perl #25166] question about configure finding libraries and includes
Message ID:
rt-3.0.8-25166-71767.16.5170007987977@perl.org
# New Ticket Created by warren.dodge@tek.com
# Please include the string: [perl #25166]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=25166 >
This is a bug report for perl from warren.dodge@tek.com,
generated with the help of perlbug 1.34 running under perl v5.8.3.
-----------------------------------------------------------------
[Please enter your report here]
I have a question about the Configure process of perl and also the
installation of modules for perl.
In reading the INSTALL document it sounds like if you add -I/path/include and
-L/path/lib that perl will find any libraries there and include them with
the perl build if found.
What happens in the module installs isn't clear, but I assume it gets the same
paths via the Configure data.
My question is this:
Does either of the two proceses need to use the /path/bin/application to
get information about how to use the includes and libraries?
That is, can I just copy in a file.h and libfile.so into the directories
configured above without having any binary support.
It seems I have seen modules use gdlib-config so I assume there has to be
some binary support.
Assuming there is binary support needed, do the processes use the PATH
variable or do they use /path/include/../bin? Can this be part of the perl
configuration rather then having additional entries to PATH?
I hope this makes sense. If not email me.
Thanks for the time.
Warren Dodge, Application Engineer phone - (503) 627-4888
Tektronix Inc. MS 39-515 fax - (503) 627-2528
14180 S.W. Karl Braun Drive Email - warren.dodge@tektronix.com
P.O. Box 500 Beaverton, OR 97077
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=low
---
Site configuration information for perl v5.8.3:
Configured by warrend at Thu Jan 8 18:59:34 PST 2004.
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
uname='sunos rosewood 5.8 generic_108528-18 sun4u sparc sunw,ultra-5_10 solaris '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/usr/lib /usr/ccs/lib /proj/wdt/sun5.8/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl583-RC1.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E -R /proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/5.8.3/sun4-solaris-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags=' -Wl,-E -G'
Locally applied patches:
RC1
---
@INC for perl v5.8.3:
/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/5.8.3/sun4-solaris-thread-multi
/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/5.8.3
/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/site_perl/5.8.3/sun4-solaris-thread-multi
/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/site_perl/5.8.3
/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/lib/site_perl
.
---
Environment for perl v5.8.3:
HOME=/login/warrend
LANG=C
LANGUAGE (unset)
LD_LIBRARY_PATH=/stdapps/lsf/5.8/lib:/proj/eda/ldv/ldv/cur/tools/inca/lib:/proj/eda/ldv/ldv/cur/tools/lib
LOGDIR (unset)
PATH=/stdapps/lsf/5.8/bin:/stdapps/lsf/local/bin:.:/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1/bin:/proj/wdt/gnu_sun5.8/perl-5.8.2/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/proj/dpl/harry/bin:/tools/citrix6.0:/proj/mbcc/hfd/bin:/tools/eda/psd/15.0e/tools/pcb/bin:/tools/eda/psd/15.0e/tools/bin:/tools/eda/psd/15.0e/tools/dfII/bin:/tools/eda/psd/15.0e/tools/fet/bin:/tools/eda/psd/15.0e/tools/specctra/bin:/tools/eda/fetools/psd150/bin:/tools/eda/cadtools/psd150/bin:/proj/eda/ldv/lsf:/proj/eda/ldv/ldv/cur/bin:/proj/eda/ldv/ldv/cur/tools/bin:/proj/eda/ldv/ldv/cur/tools/inca/bin:/proj/eda/ldv/ldv/cur/tools/dfII/bin:/proj/eda/ldv/lec/cur/bin:/proj/eda/ldv/debussy/cur/bin:/proj/eda/ldv/nLint/cur/bin:/proj/eda/common/vim/cur/bin:/stdapps/cms/bin
PERL1=/proj/wdt/gnu_sun5.8/perl-5.8.3-RC1
PERL2=/proj/wdt/gnu_sun5.8/perl-5.8.2
PERL_BADLANG (unset)
SHELL=/bin/tcsh
Thread Next
-
[perl #25166] question about configure finding libraries and includes
by perlbug-followup