On Friday 24 March 2006 06:02, you wrote:
[ . . ]
> $ ./configure --prefix=~/tomypath

Where did I miss seeing that configure can be used as a part of the 
installation of a Perl module?

[ . . ]
> Still, I got the same error report.
> Can't get it working.

<copied> from original post:   It returns:

Note (probably harmless): No library found for -lstree
Writing Makefile for Tree::Suffix
</copied>

http://search.cpan.org/src/GRAY/Tree-Suffix-0.13/Makefile.PL

(at url) Those appear to be arguments that are passed to the WriteMakefile sub 
routine that sub routine is inside of MakeMaker.pm

/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm

(path to MakeMaker.pm on my box)

I assume that there's some sort of variable expansion/interpolation going on 
there.

I don't know if it'd work to substitute /yourpath2lstree for the -lstree 
that's in the Makefile.PL

I did:  perldoc ExtUtils::MakeMaker

(no I didn't, actually instead, what I did is in the Konqueror address bar I 
entered:  #ExtUtils::MakeMaker

(I find that a fun way to view doc sometimes)

Such doc, amongst many others, listed:

perl '-V:install.*'

That outputs a listing of Eviron vars and their values relevant I guess to the 
module installation.

I'm wondering if the Perl module install tries to access any something 
different vars than the ones you showed you set for your own user environment 
using .bash_profile  (maybe not: on my box, as user or as root, the command 
perl '-V:install.*'   lists the same output results.   but, I don't have 
anything set in .bash_profile

Interesting that:

http://www.cl.cam.ac.uk/~cpk25/libstree/

lists no other dependencies.  So, given that you've access to a C compiler as 
a user then, unless is something else unawares that needs root priv. in order 
to access, it appears that there should be a way to do what you want.

I'm trying to learn more of these sorts of things myself.  So, if you find a 
fix, please reply about it and what you found that's involved to make it 
work.

Thanks.

-- 
Alan C.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to