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: Michael Peppler <mpeppler at mbay dot net>
Subject: Re: Compiling Sybperl
Date: Aug 12 1998 6:09AM

It seems to me that your perl installation is incorrect. YOu are getting
errors in perlio.h which is a *perl* file, not a sybperl file. I suggest
checking with your sysadmin and reinstalling perl from scratch.

Michael

> 
> I've E-mailed sybperl-l@listproc.net   also.
> I have also included the text below:
> 
> I'm having a difficult time compiling Sybperl 2.09.
> The problem is that I'm not a C programmer. At best I can only spell it...
> I was hoping you could help me...
> If you are willing to help, here are some relevant text files that may help,
> Else
> Can you point me to some one/thing that will give me insight?
> End if
> Thanks!!!
> 
> 
> Make output follows:
> 
> cc -c -I/usr/sybase/include -I/usr/local/include -O
> -DVERSION=\"2.09_05\"  -DXS_VERSION=\"2.09_05\"
> -I/usr/local/lib/perl5/sun4-solaris/5.00404/CORE -DCTLIBVS=100
> -DSYBPLVER='"2.09_05"' -DDO_TIE CTlib.c
> *** Error code 2
> *** Error code 1
> "/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/perlio.h", line 137: formal
> parameter lacks name: param #1
> "/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/perlio.h", line 137: formal
> parameter lacks name: param #2
> "/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/perlio.h", line 137: formal
> parameter lacks name: param #3
> "/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/perlio.h", line 137: syntax
> error before or at: __attribute__
> "/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/perlio.h", line 137:
> warning: syntax error:  empty declaration
> "/usr/include/ctype.h", line 30: cannot recover from previous errors
> cc: acomp failed for CTlib.c
> make: Fatal error: Command failed for target `CTlib.o'
> Current working directory /usr/sybase/perl/sybperl-2.09_05/CTlib
> make: Fatal error: Command failed for target `subdirs'
> 
> Perl Version:
> 
> This is perl, version 5.004_04 built for sun4-solaris
> 
> Copyright 1987-1997, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or
> the
> GNU General Public License, which may be found in the Perl 5.0 source kit.
> 
> 
> Solaris version:
> Hostname: sf-syb-12
> Hostid: 8080c33d
> Release: 5.5.1
> Kernel architecture: sun4u
> Application architecture: sparc
> Hardware provider: Sun_Microsystems
> Domain: montgomery.com
> Kernel version: SunOS 5.5.1 Generic May 1996
> 
> OpenWindows version: 
> OpenWindows Version 3.5.1   26 March 1996
> No patches are installed
> 
> 
> Simply the Best !!
> 
> Raymond 
>