On 21/08/2006, at 7:44 PM, Martin Costabel wrote: > Clytie Siddall wrote: >> Hi all :) >> I recently migrated from my PPC iBook to this Intel-based Macbook. >> I had to delete my entire /sw directory and install fink from >> scratch. So I'm rebuilding my software base. >> While installing a perl module via cpan, I got a perl libs error: > > Why are you asking this on a Fink list? Just because of the known > competence of the participants of the list :-)
I'm new to the list. :) > or do you somehow think that using CPAN package management must > have something to do with Fink package management? I have a hazy idea that all the software on my disk should work together somehow. :) Since fink is my main way of installing non-Apple-bundle software, if I'm missing something, I ask fink if it thinks I'm missing it, and if the answers don't agree, I ask a question here. I don't really want to start installing major units like perl manually. What confused me was the apparent difference between CPAN's error message, the presence of perl on my disk, and fink's statement that I had perl. So I asked here. :) > > Installing perl modules directly may even - as anything installed > into /usr/local - interfere with the correct working of Fink. Why > don't you just > > fink install sgmls-pm Because I couldn't get the fink servers to install anything yesterday. I'm having intermittent success today (_some_ data downloading in bits and pieces), after reconfiguring as advised on the fink main page, but CPAN just worked. > >>> Package comes with a Makefile and without a Makefile.PL. >>> We'll try to build it with that Makefile then. >>> >>> CPAN.pm: Going to build D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz >>> >>> if [ ! -d /usr/local/lib/perl5/SGMLS ]; then\ >>> mkdir /usr/local/lib/perl5/SGMLS; \ >>> chmod a+x /usr/local/lib/perl5/SGMLS; \ >>> fi >>> mkdir: /usr/local/lib/perl5: No such file or directory >>> chmod: /usr/local/lib/perl5/SGMLS: No such file or directory >>> make: *** [/usr/local/lib/perl5/SGMLS] Error 1 >>> /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 > > There does not seem to be anything related to Fink here. You are > using Apple's perl that comes with the system, and the CPAN method > of installing perl modules. If the latter does not work, you should > try to look at its documentation. I'm really trying to work out how I can be missing perl when both "which perl" and fink say I have perl. > > Having said this, personally I would create that missing directory / > usr/local/lib/perl5 and then see if this solves the problem. > > sudo mkdir -p /usr/local/lib/perl5 > > Their Makefile should have used the '-p' flag to mkdir, too, I'd say. Thanks for the suggestion. I'll try that. :) from Clytie (vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do) http://groups-beta.google.com/group/vi-VN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
