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: "Heinz Ringlhofer" <Heinz dot Ringlhofer at zamg dot ac dot at>
Subject: Syperl2.09_03 Solaris - make fails
Date: Mar 23 1998 1:33PM

I just tried to install Sybperl2.09_03 on Solaris 2.5.1:

Unfortunately, make fails:

  .
  .
  .

cp CTlib.pm .././blib/lib/Sybase/CTlib.pm
AutoSplitting Sybase::CTlib (.././blib/lib/auto/Sybase/CTlib)
/bin/perl -I/opt/perl/lib/sun4-solaris/5.00404 -I/opt/perl/lib
/opt/perl/lib/ExtUtils/xsubpp -prototypes -typemap
/opt/perl/lib/ExtUtils/typemap CTlib.xs >CTlib.tc && mv CTlib.tc CTlib.c
cc -c -I/opt/sybase/include  -O     -DVERSION=\"2.09_03\"
 -DXS_VERSION=\"2.09_03\" -Kpic -I/opt/perl/lib/sun4-solaris/5.00404/CORE
-DCTLIBVS=100 -DSYBPLVER='"2.09_03"' -DDO_TIE CTlib.c
"CTlib.xs", line 5419: syntax error before or at: /
"CTlib.c", line 5491: cannot recover from previous errors
cc: acomp failed for CTlib.c
*** Error code 2
make: Fatal error: Command failed for target `CTlib.o'
Current working directory /tmp/sybperl-2.09_03/CTlib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'


(i am using the standard SUNWspro c compiler)


zarisun2% uname -a
SunOS zarisun2 5.5.1 Generic_103640-03 sun4u sparc SUNW,Ultra-1

zarisun2% perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=solaris, osvers=2.5.1, archname=sun4-solaris
    uname='sunos zarisun2 5.5.1 generic_103640-03 sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags=''
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Mar 23 1998 11:58:35
  @INC:
    /opt/perl/lib/sun4-solaris/5.00404
    /opt/perl/lib
    /opt/perl/lib/site_perl/sun4-solaris
    /opt/perl/lib/site_perl


Nothing special in /usr/local/lib

I did not change CONFIG (Sybase 10.0.3 Client)

    Any clues (up to now it always worked for me) ....

    Heinz Ringlhofer, ZAMG Austria