|
|
sybperl-l Archive
Up Prev Next
From: arnold selby <selbya at nytrdsn1 dot eq dot gs dot com>
Subject: Unable to compile sybperl
Date: Aug 9 2000 9:15PM
Trying to compile sybperl on:
SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-60
Downloaded sybperl-2.10 from CPAN
My (uninstalled) perl ("This is perl, v5.6.0 built for sun4-solaris") is under:
/export/opt1/perl_new/perl-5.6.0. See "-V", below.
NOTE: I have been able to compile another package (TkPerl) with this.
Ran /export/opt1/perl_new/perl-5.6.0/perl Makefile.PL:
.. Detected uninstalled Perl. Trying to continue.
Have /export/opt1/perl_new/perl-5.6.0/lib/Config.pm expected /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm
... Detected uninstalled Perl. Trying to continue.
Have /export/opt1/perl_new/perl-5.6.0/lib/Config.pm expected /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm
Writing Makefile for Sybase::BCP
... Detected uninstalled Perl. Trying to continue.
Have /export/opt1/perl_new/perl-5.6.0/lib/Config.pm expected /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm
Writing Makefile for Sybase::CTlib
... Detected uninstalled Perl. Trying to continue.
Have /export/opt1/perl_new/perl-5.6.0/lib/Config.pm expected /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm
Writing Makefile for Sybase::DBlib
... Detected uninstalled Perl. Trying to continue.
Have /export/opt1/perl_new/perl-5.6.0/lib/Config.pm expected /usr/local/lib/perl5/5.6.0/sun4-solaris/Config.pm
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
Makefile says:
OSNAME = solaris
OSVERS = 2.5.1
Sybase is Version 11
gcc is version 2.7.2
make
gcc -c -I/opt/sybase/include -I/opt/gnu/include -O -DVERSION=\"2.10\" -DXS_VERSION=\"2.10\" -fPIC -I/export/opt1/perl_new/perl-5.6.0 -DCTLIBVS=100 -DSYBPLVER='"2.10"' -DDO_TIE CTlib.c
produces:
CTlib.xs: In function `newdbh':
CTlib.xs:393: `sv_undef' undeclared (first use this function)
CTlib.xs:393: (Each undeclared identifier is reported only once
CTlib.xs:393: for each function it appears in.)
CTlib.xs: In function `clientmsg_cb':
CTlib.xs:1428: `sv_undef' undeclared (first use this function)
CTlib.xs: In function `servermsg_cb':
CTlib.xs:1528: `sv_undef' undeclared (first use this function)
CTlib.xs: In function `initialize':
CTlib.xs:1695: `na' undeclared (first use this function)
.......
above repeated in CTlib.c
Similar problems for DBlib
help/suggestions appreciated
thanks
arnold selby
arnold.selby@gs.com
perl560 -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.5.1, archname=sun4-solaris
uname='sunos nytrdc08.eq.gs.com 5.5.1 generic_103640-29 sun4u sparc sunw,ultra-60 '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O', gccversion=2.7.2
cppflags='-I/opt/gnu/include'
ccflags ='-I/opt/gnu/include '
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib '
libpth=/usr/local/lib /opt/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Aug 4 2000 12:42:47
@INC:
/export/opt1/perl_new/perl-5.6.0/lib
/export/opt1/perl_new//TkPerl
/export/opt1/perl_new//TkPerl/Tk
/home/selbya/perl/Tkphoney/Eventphoney
/export/opt1/perl_new//TkPerl/Tk800.022/blib/lib
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
|