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 peppler dot org>
Subject: Re: Install error on Sun "make"
Date: Jul 19 1999 4:22PM

Merrill, Hardy writes:
 > When running "make" on SunOS 5.6, I'm getting this error - any ideas?
 > 
 > AutoSplitting Sybase::CTlib (.././blib/lib/auto/Sybase/CTlib)
 > /usr/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.00404
 > -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -prototypes
 > -typemap /usr/local/lib/perl5/ExtUtils/typemap CTlib.xs >CTlib.tc && mv
 > CTlib.tc CTlib.c
 > cc -c -I/database/sybaseoc_1111/include  -O     -DVERSION=\"2.10\"
 > -DXS_VERSION=\"2.10\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.00404/CORE
 > -DCTLIBVS=100 -DSYBPLVER='"2.10"' -DDO_TIE CTlib.c
 > /usr/ucb/cc:  language optional software package not installed

Your perl was compiled with 'cc', so MakeMaker (used by perl
Makefile.PL) will try to use the same command to build any
extensions. As you don't have cc (ie Sun's add on compiler) installed
on your machine it tries to use the old UCB cc, which is only a
wrapper (a shell script).

Running
	perl -V
will show you what options your perl binary was built with.

The simplest way to fix this would be for you to install gcc on your
machine (get it from www.sunfreeware.com) and then rebuild perl with
gcc, and then rebuild sybperl, *unless* you can easily get Sun's C
compiler installed on your machine.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com