I am having the same problem in using perlgcc to install perldbi
Can you please let me know if you have resolved this problem.
my perl env is as below and I want to use gcc compiler to buid the
modules.
Summary of my perl5 (revision 5.0 version 6 subversion 1)
configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-64int
uname='sunos localhost 5.9 sun4u sparc sunw,ultra-1'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO3 -xdepend',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lsee
ksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-
R /usr/perl5/5.6.
1/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
[guest - Tue Dec 9 15:15:19 2003]:
Show quoted text> Greetings,
>
> Thank you for writing this module as using perl is central to my
> admistration as a Mysql DBA. I installed perlgcc whichout
incident
Show quoted text> but when trying to build perlDBI I got the following error.
>
>
> # /usr/perl5/5.6.1/bin/perlgcc Makefile.PL
> Can't locate ExtUtils/MM.pm in @INC (@INC contains: lib
> /usr/perl5/site_perl/5.6.1/Solaris/PerlGcc
> /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
> /usr/perl5/site_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl
> /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
> /usr/perl5/site_perl/5.6.1/Solaris/PerlGcc/ExtUtils/MakeMaker.pm
> line 34.
> Compilation failed in require at Makefile.PL line 31.
> BEGIN failed--compilation aborted at Makefile.PL line 31.
>
> Thanks ,
> Trevor