|
|
sybperl-l Archive
Up Prev Next
From: Maes_Eric <emm at ti dot emea dot eds dot com>
Subject: perl Makefile.PL fails ...
Date: Mar 2 1998 2:28PM
Hello,
I have downloaded sybperl-2.09 and have some difficulties installing it
on my Sun Ultra1 running Solaris
2.5.1 with recommended patches.
This is the output I receive after running perl Makefile.PL.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Sybase::BCP
Warning (will try anyway): No library found for -lm
Writing Makefile for Sybase::CTlib
Warning (will try anyway): No library found for -lm
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
Apparently the installation procedure cannot find the mathematical
library, even though it is present on
the system in the usual place.
I ran truss on the command and this yields the following: At the start
of the procedure, libm is found:
execve("/usr/local/bin/perl", 0xEFFFF980, 0xEFFFF98C) argc = 2
open("/dev/zero", O_RDONLY) = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0x6F
FC0000
open("/usr/lib/libm.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF634) = 0
Further down the output, I find:
stat("/usr/sybase/lib/libm.so", 0x000B1138) Err#2 ENOENT
stat("/usr/sybase/lib/libm_s.a", 0x000B1138) Err#2 ENOENT
stat("/usr/sybase/lib/libm.a", 0x000B1138) Err#2 ENOENT
stat("/usr/sybase/lib/m.a", 0x000B1138) Err#2 ENOENT
stat("/usr/sybase/lib/Slibm.a", 0x000B1138) Err#2 ENOENT
....
open("/usr/openwin/lib", O_RDONLY|O_NDELAY) = 3
stat("/usr/openwin/lib/libm.so", 0x000B1138) Err#2 ENOENT
stat("/usr/openwin/lib/libm_s.a", 0x000B1138) Err#2 ENOENT
stat("/usr/openwin/lib/libm.a", 0x000B1138) Err#2 ENOENT
stat("/usr/openwin/lib/m.a", 0x000B1138) Err#2 ENOENT
stat("/usr/openwin/lib/Slibm.a", 0x000B1138) Err#2 ENOENT
stat("CTlib_BS", 0x000B1138) Err#2 ENOENT
This would seem to indicate that the procedure is trying to find libm,
but stops looking after having
searched /usr/sybase/lib and /usr/openwin/lib.
Needless to say, I am puzlled by this...
Any advice?
Thanks in advance.
Eric
--
Eric Maes EDS/Technical Infrastructure EMEA
Noorderlaan 147 email : emm@ti.emea.eds.com
B-2030 Antwerp Tel : +32 3 544 6328
BELGIUM FAX : +32 3 544 6123
|