Subject: | Inline 0.44 SunOS 5.8 build problems |
Inline-0.44
This is perl, v5.8.5 built for sun4-solaris
SunOS tdevs118 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire-880
% which cc
/opt/SUNWspro/bin/cc
% perl Makefile.PL PREFIX=~/perl5
...
Config.pm indicates that your version of Perl was built with this C compiler:
/opt/SUNWspro/bin/cc
I cannot locate this compiler on your system.
...
perl -V has:
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
C/Makefile.PL has:
if ($cc =~ m|/:\[|) {
$found = -f "$cc$exe";
}
else {
for my $lib (split $delim, $ENV{PATH}) {
print "searching for $cc$exe in $lib\n";
$found = -f File::Spec->catfile($lib,"$cc$exe") and last;
}
}
$cc => '/opt/SUNWspro/bin/cc'. The test ($cc =~ m|/:\[|) fails, so it attempts to find /opt/SUNWspro/bin/cc by searching through $PATH. Unsurprisingly, it fails. Need to rejig the test somehow, I'm not sure what it is trying to achieve. Note that /opt/SUNWspro/bin/cc is a symlink, don't think that makes any difference.