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: "Damodharan, Venkat (VDamodharan)" <Venkat dot Damodharan at dresdnerrcm dot com>
Subject: RE: Errors running 'make test'
Date: Nov 12 1998 6:26PM

Hello there,

	As you have suggested, I have set the PERL5LIB environment to

I have verified the @INC environment, using the 'perl -V' command, I have
given below the output of the result:
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
    osname=hpux, osvers=10, archname=PA-RISC1.1
    uname='hp-ux vodka b.10.20 a 9000715 2008740986 two-user license '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=n useperlio= d_sfio=
    cc='gcc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -I/usr/local/include -I/opt/gnu/include'
    ccflags ='-D_HPUX_SOURCE -I/usr/local/include -I/opt/gnu/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib
    libs=-lnet -lnsl_s -lndbm -ldb -ldld -lm -lc -lndir -lcrypt
    libc=/lib/, so=sl
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib -L/opt/gnu/lib' 
 libs=-lnet -lnsl_s -lndbm -ldb -ldld -lm -lc -lndir -lcrypt
    libc=/lib/, so=sl
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib -L/opt/gnu/lib'

Characteristics of this binary (from libperl):
  Built under hpux
  Compiled at Oct  9 1997 11:05:25
When I ran the 'perl Makefile.PL', I have received:

Checking if your kit is complete...
Looks good

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.

(You get this message, because MakeMaker could not find

This is the problem, I am having.  What is your suggestion.  How do I make
the MakeMaker to look into the

Is there any other PERL environments need to set?.
(LIke PERL_SRC,PERL_INC or something like that?).

Finally, sorry for keep coming to you.  I don't know, where else to turn to.

Also, one more question, do you think it is good to change perl executable,
with out affecting the exiting one.  My manager does not want to disturb the
existing one.  I have given permission to do the extension only.  The source
write permission is removed, to make sure no body plays around there.




-----Original Message-----
From: Michael Peppler []
Sent: Thursday, November 12, 1998 9:20 AM
To: SybPerl Discussion List
Subject: RE: Errors running 'make test'

Damodharan, Venkat (VDamodharan) writes:
 > Hi there,
 > I have a perl 5_0004 installed on /opt/gnu/perl5 directory initially, it
 > seems that some one has
 > moved it to /opt/gnu_mnt/perl5 directory later.  My perl @INC list is
 > looking into /opt/gnu/perl5 directory only.  I need to change the @INC to
 > look into /opt/gnu_mnt/perl5.  How can I do that?.

You need to add *all* the appropriate entries that you normally find
in perl -V to PERL5LIB.

For example, perl5.004_04 here needs 

So you would need to do something like:

setenv PERL5LIB

which *should* work.


 > -----Original Message-----
 > From: Anil Sodhy []
 > Sent: Thursday, November 12, 1998 8:36 AM
 > To: SybPerl Discussion List
 > Subject: Errors running 'make test'
 > Thanks to Michael Peppler's comments on sybperl
 > ( I have managed to get
 > sybperl to run on my RedHat 5.1 Linux box.  
 > I did, however, have to recompile perl.  The source for perl 5.005_02 was
 > downloaded freshly from
 > (I selected the latest stable release). I am not sure how that has
 > affected perl in general.  I don't use perl a whole lot and am very weak
 > in it so I may not get to stress-test perl with the changes I had to make
 > in order to get sybperl to work. In any case, with the limited testing I
 > have done, it does work well enough in order to query the co-resident
 > Sybase DB.
 > The sample code provided on
 > works
 > well.
 > Thanks, Michael, for a great job!
 > Anil K. Sodhy (

Michael Peppler         -||-  Data Migrations Inc.       -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: