From owner-freebsd-gnome Fri Oct 11 15:21:13 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2097337B401; Fri, 11 Oct 2002 15:21:10 -0700 (PDT) Received: from lilbuddy.antsclimbtree.com (dsl-64-130-38-189.telocity.com [64.130.38.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6973F43E6A; Fri, 11 Oct 2002 15:21:09 -0700 (PDT) (envelope-from mark@antsclimbtree.com) Received: from adsl-66-122-112-170.dsl.snfc21.pacbell.net ([66.122.112.170] helo=dina) by lilbuddy.antsclimbtree.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10) id 1808Ar-000FAA-00; Fri, 11 Oct 2002 15:22:29 -0700 Date: Fri, 11 Oct 2002 15:20:23 -0700 Subject: Re: FreeBSD Port: mozilla-1.1_1,1 -- problem compiling Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: gnome@FreeBSD.ORG, ports@FreeBSD.ORG To: Joe Marcus Clarke From: Mark Edwards In-Reply-To: <1034374611.322.69.camel@gyros.marcuscom.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, October 11, 2002, at 03:16 PM, Joe Marcus Clarke wrote: > On Fri, 2002-10-11 at 18:14, Mark Edwards wrote: >> On Friday, October 11, 2002, at 03:01 PM, Joe Marcus Clarke wrote: >> >>> On Fri, 2002-10-11 at 17:47, Mark Edwards wrote: >>>> Can't locate File/Spec.pm in @INC (@INC contains: ../../config >>>> /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 >>>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd >>>> /usr/local/lib/perl5/site_perl/5.005 .) at >>>> /usr/libdata/perl/5.00503/FindBin.pm line 79. >>>> BEGIN failed--compilation aborted at >>>> /usr/libdata/perl/5.00503/FindBin.pm line 79. >>>> BEGIN failed--compilation aborted at ../../config/make-jars.pl line >>>> 6. >>>> gmake[3]: *** [libs] Error 2 >>>> gmake[3]: Leaving directory >>>> `/usr/ports/www/mozilla/work/mozilla/xpcom/base' >>>> gmake[2]: *** [libs] Error 2 >>>> gmake[2]: Leaving directory >>>> `/usr/ports/www/mozilla/work/mozilla/xpcom' >>>> gmake[1]: *** [tier_9] Error 2 >>>> gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' >>>> gmake: *** [default] Error 2 >>>> *** Error code 2 >>>> >>>> Stop in /usr/ports/www/mozilla. >>>>> locate 'Spec.pm' >>>> /usr/local/lib/perl5/5.6.1/File/Spec.pm >>>> /usr/local/lib/perl5/site_perl/5.6.1/File/Spec.pm >>>> /usr/ports/lang/perl5/work/perl-5.6.1/lib/File/Spec.pm >>>> /usr/src/contrib/perl5/lib/File/Spec.pm >>> >>> But perl is looking in the system Perl path. Are you sure >>> /usr/bin/perl >>> is correctly symlinked? Take a look at make-jars.pl, and see which >>> perl >>> it's calling. >>> >>> Joe >> >> Well, I don't know what to make of mak-jars.pl. I assume you mean the >> one inside the mozilla work directory? > > Yes, is there a #! line in make-jars.pl that indicates which perl it's > calling? > >> >> I set perl by typing >> >> sudo use.perl port >> >> after make install in the /usr/ports/lang/perl5/ directory. Is there >> something else I should do to get perl linked properly? > > What does: > > perl -V > > report? > > Joe > cat make-jars.pl | grep perl #!/perl > perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=freebsd, osvers=4.6.1-release-p7, archname=i386-freebsd uname='freebsd lilbuddy.antsclimbtree.com 4.6.1-release-p7 freebsd 4.6.1-release-p7 #0: sat aug 3 09:59:35 pdt 2002 root@lilbuddy.antsclimbtree.com:usrobjusrsrcsysantkernel i386 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.6.1/mach -Dprivlib=/usr/local/lib/perl5/5.6.1 -Dman3dir=/usr/local/lib/perl5/5.6.1/man/man3 -Dsitearch=/usr/local/lib/perl5/site_perl/5.6.1/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.6.1 -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -Ui_gdbm -Dusemymalloc=n' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include', optimize='-O -pipe ', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -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, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lc -lcrypt -lutil perllibs=-lm -lc -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a 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: USE_LARGE_FILES Built under freebsd Compiled at Aug 6 2002 10:12:28 @INC: /usr/local/lib/perl5/site_perl/5.6.1/mach /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach /usr/local/lib/perl5/5.6.1 . -- Mark Edwards Engineer Mr. Toad's San Francisco, CA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message