Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: michael dot peppler at bnpparibas dot com
Subject: Re: Sybperl: make error 1
Date: Nov 11 2005 11:52AM

A couple of problems.

First, the -lblk library is missing. This is "normal" on Solaris unless you
have the full OpenClient SDK installed.
For sybperl you should be able to add a -DNO_BLK in the CONFIG file to get
around this and have the make succeed.

Second, the make binary is indeed in /usr/ccs/bin. My guess is that the
path isn't quite right. What does "which make" produce?


Internet - 11/11/2005 11:21

Sent by:

To:    sybperl-l


Subject:    Sybperl: make error 1


Below is the screen output while trying to install Sybperl in my Sun
E250 running Solaris 8 and Sybase 11.9:
# PATH=$PATH:/usr/perl5
# echo $PATH
# perl -v

This is perl, version 5.005_03 built for sun4-solaris
# perl Makefile.PL
Sybase OpenClient 11.1.1 found.
The sybperl modules need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: SYBASE):
User ID to log in to Sybase (default: sa):
Password (default: undef):
Sybase database to use on SYBASE (default: undef):

* Writing login information, including password, to file PWD.

Checking if your kit is complete...
Looks good
Sybase OpenClient 11.1.1 found.
Writing Makefile for Sybase::BCP
Writing Makefile for Sybase::BLK
Sybase OpenClient 11.1.1 found.
Note (probably harmless): No library found for -lblk
Writing Makefile for Sybase::CTlib
Sybase OpenClient 11.1.1 found.
Writing Makefile for Sybase::DBlib
Sybase OpenClient 11.1.1 found.
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
# make
make: not found
# find / -name make -print
# PATH=$PATH:/usr/ccs/bin
# echo $PATH
# 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/ blib/lib/
cp lib/ blib/lib/
cp lib/ blib/lib/
cp lib/ blib/lib/
sh: make: not found
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

Shall I use another make instead of /usr/ccs/bin/make ?



This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.