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: dobbie1 <dobbie1 at swipnet dot se>
Subject: Re: Sybperl: make error 1
Date: Nov 11 2005 1:23PM

Hello again,

I have checked CONFIG, and it contains:
EXTRA_DEFS=-DDO_TIE
Further on CONFIG mentions -DNOBLK, and not -DNO_BLK.
Which option is valid ?
How do I append the valid option to the existing EXTRA_DEFS ?

# which make
o make in /usr/sbin /usr/bin
Although I have changed the order in PATH:
# echo $PATH
/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/perl5
# which make
o make in /usr/sbin /usr/bin

What have I missed here ?

Marek

michael.peppler@bnpparibas.com wrote:

>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?
>
>Michael
>
>
>
>
>
>Internet
>dobbie1@swipnet.se@peppler.org - 11/11/2005 11:21
>
>
>Sent by:    owner-sybperl-l@peppler.org
>
>To:    sybperl-l
>
>cc:
>
>
>Subject:    Sybperl: make error 1
>
>
>Hello,
>
>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
>/usr/sbin:/usr/bin:/usr/perl5
># perl -v
>
>This is perl, version 5.005_03 built for sun4-solaris
># perl Makefile.PL
>/sybase
>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
>Sybase OpenClient 11.1.1 found.
>Writing Makefile for Sybase::BCP
>Writing Makefile for Sybase::BLK
>/sybase
>Sybase OpenClient 11.1.1 found.
>Note (probably harmless): No library found for -lblk
>Writing Makefile for Sybase::CTlib
>/sybase
>Sybase OpenClient 11.1.1 found.
>Writing Makefile for Sybase::DBlib
>/sybase
>Sybase OpenClient 11.1.1 found.
>Writing Makefile for Sybase::Sybperl
>Writing Makefile for Sybase
># make
>make: not found
># find / -name make -print
>/usr/share/lib/make
>/usr/ccs/bin/make
>/usr/xpg4/bin/make
># PATH=$PATH:/usr/ccs/bin
># echo $PATH
>/usr/sbin:/usr/bin:/usr/perl5:/usr/ccs/bin
># 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/sql.pl blib/lib/sql.pl
>cp lib/sybperl.pl blib/lib/sybperl.pl
>cp lib/sybutil.pl blib/lib/sybutil.pl
>cp lib/ctutil.pl blib/lib/ctutil.pl
>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 ?
>
>Regards,
>
>Marek
>
>
>
>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.
>
>
>