Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Personal library with CPAN

by eric256 (Parson)
on Mar 09, 2006 at 21:17 UTC ( #535517=note: print w/ replies, xml ) Need Help??


in reply to Re: Personal library with CPAN
in thread Personal library with CPAN

That seems to work great. But then while installing DBI it dies with the following error

/usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typem +ap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Perl +.xs > Perl.xsc && mv Perl.xsc Perl.c cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -DHAS_FPSET +MASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include +-O -pipe -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -DPIC -fPIC "-I +/usr/local/lib/perl5/5.8.0/mach/CORE" -W -Wall -Wpointer-arith -Wbad +-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -DDBI_NO +_THREADS Perl.c cc: permission denied *** Error code 126 Stop in /usr/home/sites/www.whereever.com/whereever/.cpan/build/DBI-1. +50. /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
I'll continue to search perlmonks, but i think this might just be a permission setting that is obvious to real unix hackers ;)


___________
Eric Hodges


Comment on Re^2: Personal library with CPAN
Download Code
Replies are listed 'Best First'.
Re^3: Personal library with CPAN
by Zaxo (Archbishop) on Mar 10, 2006 at 21:15 UTC

    Yes, that appears to be a permission problem with -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN". If you need a private cpan directory, you probably don't have write permission there.

    I don't know if this is the source of the problem, but sometimes authors hardcode paths that they should let CPAN.pm figure out. You could try setting and exporting APPLIB_EXP before the build as a workaround.

    After Compline,
    Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://535517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (17)
As of 2015-07-29 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls