develooper Front page | perl.perl5.porters | Postings from July 2002

Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures onFreeBSD

From:
Alexandros Manoussakis
Date:
July 19, 2002 04:37
Subject:
Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures onFreeBSD
Message ID:
Pine.OSF.4.44.0207190732420.7267-100000@kobayashi.ini.cmu.edu
Thanks,
I discovered the source of my problems. On the site I am we have a lot of
libraries in /usr/local and even though my -Dprefix points to
/opt/something, I see that in config.sh the -I and -L point to
/usr/local/{include,lib} so /usr/local libraries have priority over the
standard FreeBSD ones in /usr.
If I rename my /usr/local to something else, I can compile a threaded
perl fine in 4.4, 4.5, and 4.6 !  With what switch can I prevent Configure
from looking into /usr/local at all? Or if that's impossible, how can I
give priority to libraries and include files in /usr/lib over those in
/usr/local/lib ?

Thanks for the great help so far!

Alex


On Thu, 18 Jul 2002, Nicholas Clark wrote:

> On Tue, Jul 16, 2002 at 06:46:31PM -0400, Alexandros Manoussakis wrote:
> > Could you please send me the output of perl -V ? I'd like to see all the
> > settings you have for perl5.8 + threads on FreeBSD.
>
> Sorry about the delay in replying:
>
> Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 17617) configuration:
>   Platform:
>     osname=freebsd, osvers=4.6-release, archname=i386-freebsd-thread-multi
>     uname='freebsd thinking-cap.moo 4.6-release freebsd 4.6-release #0: sat jul 13 18:39:23 gmt 2002 nick@thinking-cap.moo:usrlocalobjusrsrcsysthinkingcap i386 '
>     config_args='-de -Dcc=ccache gcc -Dld=gcc -Dusedevel -Ubincompat5005 -Doptimize=-Os -Uinstallusrbinperl -Dcf_email=nick@ccl4.org -Dperladmin=nick@ccl4.org -Dinc_version_list=  -Dinc_version_list_init=0 -Dinstallman1dir=none -Dinstallman3dir=none -Duseithreads'
>     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='ccache gcc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include',
>     optimize='-Os',
>     cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include'
>     ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]', gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
>     alignbytes=4, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags ='-pthread -Wl,-E  -L/usr/local/lib'
>     libpth=/usr/lib /usr/local/lib
>     libs=-lm -lc_r -lcrypt -lutil
>     perllibs=-lm -lc_r -lcrypt -lutil
>     libc=, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>   Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
>   Locally applied patches:
>         DEVEL17596
>   Built under freebsd
>   Compiled at Jul 18 2002 14:28:19
>   @INC:
>     lib
>     /usr/local/lib/perl5/5.8.0/i386-freebsd-thread-multi
>     /usr/local/lib/perl5/5.8.0
>     /usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd-thread-multi
>     /usr/local/lib/perl5/site_perl/5.8.0
>     /usr/local/lib/perl5/site_perl
>     .
>
> Nicholas Clark
> --
> Even better than the real thing:	http://nms-cgi.sourceforge.net/
>





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About