[OpenIndiana-discuss] Can't compile Glib 1.242

Dietmar Sovonja juhuu2004 at gmx.de
Fri May 4 08:31:02 UTC 2012


Hi

Since days, I'm trying to compile the Glib 1.242 perl module from 
cpan.org. I used gcc and experimentally Solaris Studio on a 32-bit and a 
64-bit system. I have tried several paths for the LD flag. I searched 
the web. Now I'm stuck.


rm -f blib/arch/auto/Glib/Glib.so
[ LD blib/arch/auto/Glib/Glib.so ]
chmod 755 blib/arch/auto/Glib/Glib.so
chmod: cannot access `blib/arch/auto/Glib/Glib.so': No such file or 
directory
gmake: *** [blib/arch/auto/Glib/Glib.so] Error 1

The same, if i want to compile Cairo or some other perl modules. I 
suspect, that I'm doing something wrong or something is missing, but I 
can't find the solution.


The flags in the makefile:
AR = /usr/gnu/bin/ar
CC = /usr/gnu/bin/cc
CCCDLFLAGS = -KPIC
CCDLFLAGS = -R /usr/perl5/5.10.0/lib/i86pc-solaris-64int/CORE
DLEXT = so
DLSRC = dl_dlopen.xs
EXE_EXT =
FULL_AR = /usr/xpg4/bin/ar
LD = /usr/gnu/bin/cc
LDDLFLAGS = -G
LDFLAGS =
LIBC = /lib/libc.so
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = solaris
OSVERS = 2.11
RANLIB = :
SITELIBEXP = /usr/perl5/site_perl/5.10.0
SITEARCHEXP = /usr/perl5/site_perl/5.10.0/i86pc-solaris-64int
SO = so
VENDORARCHEXP =	/usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int
VENDORLIBEXP = /usr/perl5/vendor_perl/5.10.0

Regards,
Dietmar



More information about the OpenIndiana-discuss mailing list