From owner-freebsd-ports Fri Oct 11 15:33: 3 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C235B37B404; Fri, 11 Oct 2002 15:32:58 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C275043E91; Fri, 11 Oct 2002 15:32:57 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.2] (vpn-client-2.marcuscom.com [10.2.1.2]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id g9BMWAuE068510; Fri, 11 Oct 2002 18:32:11 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: FreeBSD Port: mozilla-1.1_1,1 -- problem compiling From: Joe Marcus Clarke To: Mark Edwards Cc: gnome@FreeBSD.ORG, ports@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Oct 2002 18:32:20 -0400 Message-Id: <1034375541.322.78.camel@gyros.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY version=2.41 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 2002-10-11 at 18:20, Mark Edwards wrote: > 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 Okay, type perl5 -V. I bet this one is still the old system perl. If it is, symlink /usr/bin/perl5 to /usr/local/bin/perl5, and you should be set. You may want to backup /usr/bin/perl5 first. Joe > > 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 > -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message