My perl seems broken. This is an older machine that has had quite a
number of perl versions on it.  The problem is that when trying to build
dev-perl/Tk-JPEG-Lite, it is pulling in multiple perl versions (see the
compile line below).  It seems that MMutil.pm is detecting a perl
version >=5.00565 which I think is correct, but the error the emerge
generates is "Unrecognized switch: --center  (-h will show valid
options)" so I suspect it is pulling in one of the older perl versions.

I have run perl-rebuilder, revdep-rebuild and perl-cleaner multiple
times in the past so I dont think this should occur.  qpkg -i and equery
l show only the one perl version installed.

rattus Tk-JPEG-Lite-2.01403 # equery l dev-lang/perl
[ Searching for package 'perl' in 'dev-lang' among: ]
 * installed packages
[I--] [  ] dev-lang/perl-5.8.5-r4 (0)


Should I manually purge the older 5.8.0 stuff and rerun the utilities,
or is that "a bad idea"?  How best to fix?

BillK


Compile line:
/usr/bin/perl5.8.5 /usr/lib/perl5/5.8.5/ExtUtils/xsubpp
-typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap
-typemap /usr/lib/perl5/site_perl/5.8.0/i686-linux/Tk/typemap  Lite.xs >
Lite.xsc && mv Lite.xsc Lite.c
gcc -c  -I/usr/lib/perl5/site_perl/5.8.0/i686-linux/Tk
-I/usr/local/include -I/usr/X11R6/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -w -mcpu=athlon-xp
-march=athlon-xp -O2 -pipe -falign-functions=64   -DVERSION=\"2.01403\"
-DXS_VERSION=\"800.024\" -fPIC "-I/usr/lib/perl5/5.8.5/i686-linux/CORE"
-DHAVE_JPEGLIB_H -Wall -Wno-implicit-int -Wno-comment -Wno-unused
-D__USE_FIXED_PROTOTYPES__ Lite.c
gcc -c  -I/usr/lib/perl5/site_perl/5.8.0/i686-linux/Tk
-I/usr/local/include -I/usr/X11R6/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -w -mcpu=athlon-xp
-march=athlon-xp -O2 -pipe -falign-functions=64   -DVERSION=\"2.01403\"
-DXS_VERSION=\"800.024\" -fPIC "-I/usr/lib/perl5/5.8.5/i686-linux/CORE"
-DHAVE_JPEGLIB_H -Wall -Wno-implicit-int -Wno-comment -Wno-unused
-D__USE_FIXED_PROTOTYPES__ imgJPEG.c
-- 
William Kenworthy <[EMAIL PROTECTED]>
Home!


--
gentoo-user@gentoo.org mailing list

Reply via email to