PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Bijell, Jens" <jens dot bijell at eds dot com>
Subject: Installing SYBPERL for dbschema on DEC ASE 12.5.0.3// make proble m // Settings Env
Date: Apr 1 2004 1:03PM

Hello Dear Sybperl users,

I got a problem installing Sybperl at the point you have to type: make 
At the bottom of the mail I have provided the sybase server, perl,
environment Infos etc.

btw: I really have no experience with installing such options, neither with
perl and such stuff and this is my first attempt to work with a mailing
list. 
Sybperl is installed under $SYBASE/../.. on its own since I got no root
privileges to install it within the library path /usr/lib.

I hope anybody can help me quick for I am on vacation next week.
Thank you very much in advance!

Kind regards,
Jens

I retrieve the following output after typing >>make<<:
##########################################################
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Sybase
mkdir blib/lib/auto
mkdir blib/lib/auto/Sybase
mkdir blib/man3
cp lib/sybutil.pl blib/lib/sybutil.pl
cp lib/sybperl.pl blib/lib/sybperl.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
cp lib/sql.pl blib/lib/sql.pl
mkdir ../blib/lib/Sybase
mkdir ../blib/arch/auto/Sybase/BCP
mkdir ../blib/lib/auto/Sybase/BCP
cp BCP.pm ../blib/lib/Sybase/BCP.pm
Manifying ../blib/man3/Sybase::BCP.3
mkdir ../blib/arch/auto/Sybase/BLK
mkdir ../blib/lib/auto/Sybase/BLK
cp BLK.pm ../blib/lib/Sybase/BLK.pm
Manifying ../blib/man3/Sybase::BLK.3
mkdir ../blib/arch/auto/Sybase/CTlib
mkdir ../blib/lib/auto/Sybase/CTlib
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm (../blib/lib/auto/Sybase/CTlib)
/usr/bin/perl -I/usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf
-I/usr/lib/perl-5.6.0/lib/5.6.0
/usr/lib/perl-5.6.0/lib/5.6.0/ExtUtils/xsubpp -prototypes -typemap
/usr/lib/perl-5.6.0/lib/5.6.0/ExtUtils/typemap CTlib.xs > CTlib.xsc && mv
CTlib.xsc CTlib.c
cc -c -I/hesyt019/apps/sybase/rel125/OCS-12_5/include -fprm d -ieee -std
-DLANGUAGE_C -O4      -DVERSION=\"2.16\"  -DXS_VERSION=\"2.16\"
-I/usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf/CORE -DCTLIBVS=100
-DSYBPLVER='"2.16"' -DDO_TIE -DSYB_LP64 CTlib.c
cc: Warning: /hesyt019/apps/sybase/rel125/OCS-12_5/include/cspublic.h, line
91: The redefinition of the macro "CS_CACHE" conflicts with a current
definition because the replacement lists differ.  The redefinition is now in
effect. (macroredef)
#define CS_CACHE                (CS_INT)41
--------------------------------^
cc: Warning: CTlib.xs, line 1629: Non-void function "fetch2sv" does not
contain a return statement. (missingreturn)
static int
^
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
ar cr tmp.a CTlib.o
: tmp.a
LD_RUN_PATH="/hesyt019/apps/sybase/rel125/OCS-12_5/lib:/usr/shlib" ld -o
../blib/arch/auto/Sybase/CTlib/CTlib.so
-L/hesyt019/apps/sybase/rel125/OCS-12_5/lib -shared -expect_unresolved "*"
-O4 -msym -std -s -all tmp.a -none
-L/hesyt019/apps/sybase/rel125/OCS-12_5/lib -lct -lcs -ltcl -lcomn -lintl
-lblk -lsdna -lm
ld:
Can't locate file for: -lsdna
*** Exit 1
Stop.
*** Exit 1
Stop.

############################################################################
#####



-----Original Message-----
From: EDS GOSD Sybase Administration [mailto:sybase@hesvt019.adidas.de]
Sent: Thursday, April 01, 2004 2:01 PM
To: adidas_sybase@ux04.ipc.ru.de.eds.com
Subject: Settings 019



# Sybase and OS Infos
Adaptive Server Enterprise/12.5.0.3/EBF 11338 ESD#3/P/Compaq Tru64/OSF1
V5.0A/rel12503/1933/64-bit/FBO/Fri Aug  1 04:54:12 2003

# LD_LIBRARY_PATH
/hesyt019/apps/sybase/rel125/ASE-12_5/lib:/usr/local/openwin/lib:/hesyt019/a
pps/sybase/rel125/FTS-12_5/lib:/hesyt019/apps/sybase/rel125/OCS-12_5/lib:/us
r/local/openwin/lib:/usr/lib:


###############
# perl -V
###############

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=dec_osf, osvers=5.1, archname=alpha-dec_osf
    uname='osf1 himalaya x5.1 987 alpha '
    config_args='-des -Dlibpth=/usr/shlib /usr/lib /usr/ccs/lib
-Dusemymalloc=no -Dprefix=/usr/lib/perl-5.6.0
-Dman1dir=/usr/share/doclib/annex/man/man1
-Dman3dir=/usr/share/doclib/annex/man/man3 -Dccflags=-fprm d -ieee
-Doptimize=-O4 -Dhostcat=cat /etc/hosts -Dmyhostname=localhost -Umydomain=
-Dcf_by=perlhelp -Dcf_email=root@localhost'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=define use64bitall=define uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-ieee -std -DLANGUAGE_C'
    ccflags ='-fprm d -ieee -std -DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=8, ptrsize=8, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/usr/shlib /usr/lib /usr/ccs/lib
    libs=-ldbm -ldb -lm -liconv
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-rpath,/usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std
-s'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under dec_osf
  Compiled at Oct 31 2000 12:57:11
  @INC:
    /usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf
    /usr/lib/perl-5.6.0/lib/5.6.0
    /usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf
    /usr/lib/perl-5.6.0/lib/site_perl/5.6.0
    /usr/lib/perl-5.6.0/lib/site_perl
    .



#######################
# Complete ENV
#######################

MANPATH=/usr/man:/hesyt019/apps/datatools/sbacktrack/man:
SYBASE_REP=REP-12_1
SRVOPEN=HESYT019_open_srv
SYBASE_SYSAM=SYSAM-1_0
SYBPERL=/hesyt019/apps/sybperl
SYBASE_FTS=FTS-12_5
SISYDB=HESYT019
SRVRSM=HESYT019_rsm
PATH=/hesyt019/apps/sybase/rel125/ASE-12_5/bin:/hesyt019/apps/sybase/rel125/
ASE-12_5/install:/hesyt019/apps/sybase/rel125/OCS-12_5/bin:/ln/sybdba_root/s
ybase/bin:/usr/bin:.:/usr/sbin:/usr/bin:/usr/local/bin::/usr/bin/X11:/usr/op
t/networker/bin:/opt/Patrol/src/consolebuilder/bin:/hesyt019/apps/sybase/syb
startstop:/hesyt019/apps/sybperl:/hesyt019/apps/sybase/rel125/REP-12_1/bin:/
hesyt019/apps/sybase/rel125/REP-12_1/install:/hesyt019/apps/sybase/rel125/RS
M-12_1/bin:/hesyt019/apps/sybase/rel125/RSM-12_1/install:/hesyt019/apps/data
tools/sbacktrack/bin:/hesyt019/apps/datatools/sbacktrack/install
SRVBCK=HESYT019_bck
UNIXSRV=/hesyt019
SIMDB=HESYT019
EDITOR=vi
SYBASE_RSM=RSM-12_1
LOGNAME=sybase
DT_SBACKTRACK_PATH=/hesyt019/apps/datatools/conf_files/netw.phys:/hesyt019/a
pps/datatools/conf_files/netw.log:/hesyt019/apps/datatools/conf_files/disk.p
hys:/hesyt019/apps/datatools/conf_files/disk.log
SRVMON=HESYT019_mon
NOS=/hesyt019/nos
SRVREP=HESRT019
DTBASE=/hesyt019/apps/datatools
STOPFILE=/hesyt019/apps/sybase/sybstartstop/do_not_start_sql_server
SYBASE=/hesyt019/apps/sybase/rel125
USER=sybase
DSQUERY=HESYT019
L0=jbi
DBA=/hesyt019/apps/sybase/dba
STARTDIR=/hesyt019/apps/sybase/sybstartstop
SHELL=/bin/ksh
HISTSIZE=512
TMOUT=1800
LOGS=/hesyt019/apps/sybase/dba/logs
RMSDB=HESYT019
HOME=/ln/sybdba_root/sybase
SYBASE_ASE=ASE-12_5
LD_LIBRARY_PATH=/hesyt019/apps/sybase/rel125/ASE-12_5/lib:/usr/local/openwin
/lib:/hesyt019/apps/sybase/rel125/FTS-12_5/lib:/hesyt019/apps/sybase/rel125/
OCS-12_5/lib:/usr/local/openwin/lib:/usr/lib:
TERM=vt220
PWD=/hesyt019/apps/sybperl/DBlib
ILSDB=HESYT019
OLDSYBASE=/hesyt019/apps/sybase/rel120
SYBASE_OCS=OCS-12_5
DT_SBACKTRACK_HOME=/hesyt019/apps/datatools/sbacktrack