|
|
sybperl-l Archive
Up Prev Next
From: Leigh Moncher <dvor at voicenet dot com>
Subject: Re: Redhat 5.0 upgrade and Sybperl
Date: Mar 5 1998 1:36AM
I too have had success but am unable to replicate the success from my home
system (upgraded from 4.2 to 5.0) and a Linux RedHat 5.0 Laptop (Original
install).
Could you elaborate on exatly which pieces you got from where? I would
appreciate the help as Sybperl is quickly becoming a cornerstone for our IS
group.
Ezra Van Everbroeck wrote:
>
> On Wed, 4 Mar 1998, Michael Peppler wrote:
>
> > Right now the only solution that I know of is to go back to
> > redhat 4.2.
>
> Actually, I'm running sybperl 2.09 on my RedHat 5.0 box - the key was
> compiling with the updated Sybase libraries which became available recently.
>
> --- from 'CONFIG' :
> DBLIBVS=0
> CTLIBVS=100
> SYBASE=/usr/local/sybase
> EXTRA_LIBS=-linsck
> # BORLAND_LIBS=blib
> #EXTRA_DEFS=
> EXTRA_DEFS=-DDO_TIE
> LINKTYPE=static
>
> --- from 'make test'
>
> Writing "Makefile.aperl" for this perl
> Writing Makefile.aperl for Sybase
> make -f Makefile.aperl perl
> make[1]: Entering directory /local/soft/syb/sybperl-2.09'
> Writing perlmain.c
> cd . && cc -c -I/usr/lib/perl5/i386-linux/5.00401/CORE -Dbool=char
> -DHAS_BOOL -O2 \
> -DVERSION=\"2.09\" \
> -DXS_VERSION=\"2.09\" -I/usr/lib/perl5/i386-linux/5.00401/CORE perlmain.c
> cat /local/soft/syb/sybperl-2.09/blib/arch/auto/Sybase/CTlib/extralibs.ld >>
> blib/arch/auto/Sybase/extralibs.all
> cat /usr/lib/perl5/i386-linux/5.00401/auto/DynaLoader/extralibs.ld >>
> blib/arch/auto/Sybase/extralibs.all
> cat /usr/lib/perl5/site_perl/i386-linux/auto/Sybase/CTlib/extralibs.ld >>
> blib/arch/auto/Sybase/extralibs.all
> cc -L/usr/local/lib -rdynamic -o perl -O2 ./perlmain.o
> /usr/lib/perl5/i386-linux/5.00401/CORE/libperl.a
> /usr/lib/perl5/site_perl/i386-linux/auto/Sybase/CTlib/CTlib.a
> /usr/lib/perl5/i386-linux/5.00401/auto/DynaLoader/DynaLoader.a
> /local/soft/syb/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTlib.a at
> ./blib/arch/auto/Sybase/extralibs.all -lnsl -lgdbm -ldb -ldl -lm -lc -lposix
> -lcrypt
> To install the new "perl" binary, call
> make -f Makefile.aperl inst_perl MAP_TARGET=perl
> To remove the intermediate files say
> make -f Makefile.aperl map_clean
> make[1]: Leaving directory /local/soft/syb/sybperl-2.09'
> make[1]: Entering directory /local/soft/syb/sybperl-2.09/BCP'
> make[1]: Nothing to be done for est'.
> make[1]: Leaving directory /local/soft/syb/sybperl-2.09/BCP'
> make[1]: Entering directory /local/soft/syb/sybperl-2.09/CTlib'
> PERL_DL_NONLAZY=1 ./../perl -I.././blib/arch -I.././blib/lib
> -I/usr/lib/perl5/i386-linux/5.00401 -I/usr/lib/perl5 -e 'use Test::Harness
> qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ctlib.............ok
> t/cursor............Cursors are not available on this SQL Server.
> ok
> All tests successful.
> Files=2, Tests=52, 1 secs ( 0.59 cusr 0.08 csys = 0.67 cpu)
>
> --- 'perl -V' output:
>
> snow:/soft/syb/sybperl-2.09$l perl
> -rwxr-xr-x 1 ezra ling 1152487 Mar 4 15:45 perl
> snow:/soft/syb/sybperl-2.09$./perl -V
> Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
> Platform:
> osname=linux, osvers=2.0.32, archname=i386-linux
> uname='linux porky.redhat.com 2.0.32 #1 tue nov 18 21:51:33 est 1997
> i686 unknown '
> hint=recommended, useposix=true, d_sigaction=define
> bincompat3=y useperlio= d_sfio=
> Compiler:
> cc='cc', optimize='-O2', gccversion=2.7.2.3
> cppflags='-Dbool=char -DHAS_BOOL'
> ccflags ='-Dbool=char -DHAS_BOOL'
> stdchar='char', d_stdstdio=define, usevfork=false
> voidflags=15, castflags=0, d_casti32=define, d_castneg=define
> intsize=4, alignbytes=4, usemymalloc=n, randbits=31
> Linker and Libraries:
> ld='cc', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib
> libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
> libc=, so=so
> useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags='-rdynamic'
> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
> Characteristics of this binary (from libperl):
> Built under linux
> Compiled at Dec 5 1997 02:52:49
> %ENV:
>
> PERL5LIB="/usr/lib/perl5:/usr/local/lib/perl5:/usr/lib/perl4:/soft/www/libwww-perl-040:/soft/www/PerlLib"
> PERLLIB="/usr/lib/perl4"
> @INC:
> /usr/lib/perl5/i386-linux/5.00401
> /usr/lib/perl5
> /usr/local/lib/perl5
> /usr/lib/perl4
> /soft/www/libwww-perl-040
> /soft/www/PerlLib
> /usr/lib/perl5/i386-linux/5.00401
> /usr/lib/perl5
> /usr/lib/perl5/site_perl/i386-linux
> /usr/lib/perl5/site_perl
> .
> snow:/soft/syb/sybperl-2.09$
>
> ---
>
> Hope this helps,
>
> Ezra
>
> Ezra Van Everbroeck - - - ezra@ling.ucsd.edu - - - Linguistics
> Computing Support - - +1 (619) 534-8239 - - UC San Diego
|