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: <sergei dot cher at thomsonreuters dot com>
Subject: RE: Need help in troubleshooting Sybperl installation on Sun Solaris10
Date: Apr 24 2008 4:43PM

Additional installation info. along with environment variables are
presented below:

========================================================================

$ /usr/ccs/bin/make
Manifying ../blib/man3/Sybase::BCP.3
Manifying ../blib/man3/Sybase::BLK.3
Skip ../blib/lib/Sybase/CTlib.pm (unchanged)
cc -c  -I/opt/sybase/12.5.1/OCS-12_5/include  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET
_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff
-DVERSION=\"2.18\"  -DXS
_VERSION=\"2.18\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"
-DCTLI
BVS=100 -DSYBPLVER='"2.18"' -DDO_TIE CTlib.c
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
LD_RUN_PATH="/opt/sybase/12.5.1/OCS-12_5/lib" cc
-L/opt/sybase/12.5.1/OCS-12_5/
lib -G CTlib.o  -o ../blib/arch/auto/Sybase/CTlib/CTlib.so
-L/opt/sybase/12.5.
1/OCS-12_5/lib -lct -lcs -ltcl -lcomn -lintl -lblk -lm
chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so
cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs
chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs
Manifying ../blib/man3/Sybase::CTlib.3
Skip ../blib/lib/Sybase/DBlib.pm (unchanged)
cc -c  -I/opt/sybase/12.5.1/OCS-12_5/include  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET
_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff
-DVERSION=\"2.18\"  -DXS
_VERSION=\"2.18\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"
-DDBLI
BVS=1000 -DSYBPLVER='"2.18"' -DDO_TIE DBlib.c
"DBlib.xs", line 4439: warning: argument #3 is incompatible with
prototype:
        prototype: pointer to unsigned char :
"/opt/sybase/12.5.1/OCS-12_5/inclu
de/sybdb.h", line 3297
        argument : pointer to char
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so
LD_RUN_PATH="/opt/sybase/12.5.1/OCS-12_5/lib" cc
-L/opt/sybase/12.5.1/OCS-12_5/
lib -G DBlib.o  -o ../blib/arch/auto/Sybase/DBlib/DBlib.so
-L/opt/sybase/12.5.
1/OCS-12_5/lib -lsybdb -lm
chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs
Manifying ../blib/man3/Sybase::DBlib.3
Manifying ../blib/man3/Sybase::Sybperl.3
Manifying blib/man3/sybperl.3
$
====================================================================

Environment variables:

====================================================================
$ env
_=/usr/bin/env
HZ=100
PATH=/opt/sybase/12.5.1/OCS-12_5/bin:/usr/bin:
SYBASE_JRE=/opt/sybase/12.5.1/shared-1_0/JRE-1_3
LOGNAME=sybase
MAIL=/var/mail/sybase
SYBASE=/opt/sybase/12.5.1
SHELL=/bin/ksh
HOME=/opt/sybase
LD_LIBRARY_PATH=/opt/sybase/12.5.1/OCS-12_5/lib:/opt/sybase/12.5.1/OCS-1
2_5/lib3
p:
TERM=ansi
PWD=/opt/sybase/sybperl-2.18
TZ=US/Eastern
SYBASE_OCS=OCS-12_5
$

========================================================================
==

I didn't change anything in the CONFIG file. Also, Sun Solaris cc
compiler was installed on the Sun Solaris box as a part of the
Developer's studio. It was used when I ran "make" command.



Thanks,
Sergei Cher


-----Original Message-----
From: owner-sybperl-l@peppler.org [mailto:owner-sybperl-l@peppler.org]
On Behalf Of Michael Peppler
Sent: Thursday, April 24, 2008 1:20 AM
To: sybperl-l@peppler.org
Subject: Re: Need help in troubleshooting Sybperl installation on Sun
Solaris10

sergei.cher@thomsonreuters.com wrote:
> Hi,
> 
>  
> 
> I installed Sybperl 2.18 on Sun Solaris 10 box. The installation was
not 
> clean - when I ran "make test" command, some of the tests failed. But 
> "make install" did not produce any errors.

The most important thing is to figure out what failed during the make 
test, and why.

Please post the output of "make test", and we'll take it from there.

Michael
-- 
Michael Peppler           -                 Peppler Consulting SaRL
mpeppler@peppler.org      -                  http://www.peppler.org
Sybase DBA/Developer      -   TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ       -   http://www.peppler.org/FAQ/linux.html