Skip site navigation (1)Skip section navigation (2)
Date:      11 Oct 2002 18:32:20 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mark Edwards <mark@antsclimbtree.com>
Cc:        gnome@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: FreeBSD Port: mozilla-1.1_1,1 -- problem compiling
Message-ID:  <1034375541.322.78.camel@gyros.marcuscom.com>
In-Reply-To: <A2FA7062-DD67-11D6-9118-0005025E566F@antsclimbtree.com>
References:  <A2FA7062-DD67-11D6-9118-0005025E566F@antsclimbtree.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1034375541.322.78.camel>