Perl 5.8 @5.8.9 does not get on with Ccache during configure

David Evans dave.evans55 at googlemail.com
Mon Jan 5 03:23:24 PST 2009


Perl does not get on with CCACHE during the configure phase.
It works if ccache is disabled.
With ccache enabled in the macports config file I get:

two:~ davidevans$ sudo port -df configure perl5.8
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing 
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a 
pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default 
universal variant
DEBUG: Requested variant darwin is not provided by port perl5.8.
DEBUG: Requested variant i386 is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: Executing org.macports.main (perl5.8)
DEBUG: Skipping completed org.macports.fetch (perl5.8)
DEBUG: Skipping completed org.macports.checksum (perl5.8)
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
DEBUG: Skipping completed org.macports.extract (perl5.8)
DEBUG: Skipping completed org.macports.patch (perl5.8)
--->  Configuring perl5.8
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (perl5.8)
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' 
CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='ccache 
/usr/bin/cpp-4.0' CXX='ccache /usr/bin/g++-4.0' F90FLAGS='-O2' 
LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='ccache /usr/bin/gcc-4.0' 
INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='ccache 
/usr/bin/gcc-4.0' LC_ALL='C'
DEBUG: Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" 
&& /bin/sh Configure -des -D prefix='/opt/local' -D 
cppflags="${CPPFLAGS}" -D ldflags="${LDFLAGS}" -D 
vendorprefix='/opt/local' -D man3ext='3pm' -D cc=${CC} -D ld=${CC}'
First let's make sure your kit is complete.  Checking...
Would you like to see the instructions? [n] 
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
ccache: illegal option -- o
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.






More information about the macports-users mailing list