Google Answers Logo
View Question
 
Q: Problem installing Perl module in non-standard directory ( No Answer,   0 Comments )
Question  
Subject: Problem installing Perl module in non-standard directory
Category: Computers > Programming
Asked by: richwolfe-ga
List Price: $10.00
Posted: 27 Sep 2002 12:29 PDT
Expires: 27 Sep 2002 15:00 PDT
Question ID: 69790
Hello Googlers-

I'm having a heck of a time installing the DBD::Sybase module into a
non-standard directory.  The particular version (0.94) of the module
that I'm attempting to install can be found here:

http://search.cpan.org/author/MEWP/DBD-Sybase-0.94/

I do not have root access on the box where I need to install this
library, so I'm setting the LIB and PREFIX parameters when I run
Makefile.PL. But Makefile.PL barfs on the path I give it (I assure you
that these directories exist!):

/usr/home/myhome/tmp/DBD-Sybase-0.94> perl Makefile.PL
LIB=/usr/home/myhome/usr/local/lib/site_perl
PREFIX=/usr/home/myhome/usr/local/lib/site_perl
Sybase OpenClient  found.
The DBD::Sybase module need access to a Sybase server to run the
tests.
To clear an entry please enter 'undef'
Sybase server to use (default: undef): Can't open
LIB=/usr/home/myhome/usr/local/lib/site_perl: No such file or
directory at Makefile.PL line 227.
Can't open PREFIX=/usr/home/myhome/usr/local/lib/site_perl: No such
file or directory at Makefile.PL line 227.

If I just ignore this and go on, make install craps out because it
attempts to write to the standard Perl library directories.

I installed this on another box where I *do* have root access and it
works just fine. This is the first time I've had this kind of trouble
installing a Perl module. Does anyone have any idea what I'm doing
wrong?

Thanks in advance,
Richard

Clarification of Question by richwolfe-ga on 27 Sep 2002 15:00 PDT
Nevermind...I figured it out. There is a problem with Makefile.pl for
DBD-Sybase-0.94.  The patched version, DBD-Sybase-0.94_02 is available
for download at:

http://www.peppler.org/download/

Thanks to Michael Peppler, author/keeper of DBD::Sybase for the info.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy