Home › Forums › OS X Server and Client Discussion › Mail › Perl MCPAN can’t write Makefile!?!?
- This topic has 3 replies, 2 voices, and was last updated 22 years ago by
Anonymous.
-
AuthorPosts
-
February 2, 2004 at 7:07 pm #357313
hotmop
ParticipantIn attempting to install SpamAssassin per Joel’s article, I’m getting some problems with the perl CPAN installs. It says it can’t write the Makefile and then fails all other steps past that. Yet it seems to write the file fine. I’m running perl with sudo and also after su’ing to root. I’ve even changed the ownership of the directories and files to root to be sure.
Article:
https://www.afp548.com/Articles/mail/postfix-sa.htmlTrying this command:
install Archive::Tar Archive::Zip Compress::Zlib Convert::UUlib MIME::Base64 \ MIME::Parser Mail::Internet Net::Server Digest::MD5 IO::Stringy Time::HiRes \ Unix::Syslog Digest::SHA1 Mail::SpamAssassinor subset of the above:
install Compress::ZlibI get:
cpan> install Compress::Zlib Running install for module Compress::Zlib Running make for P/PM/PMQS/Compress-Zlib-1.33.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /Users/admin/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib-1.33.tar.gz ok Scanning cache /Users/admin/.cpan/build for sizes Compress-Zlib-1.33/ Compress-Zlib-1.33/zlib-src/ Compress-Zlib-1.33/zlib-src/inftrees.c ...<snip>... Compress-Zlib-1.33/MANIFEST Compress-Zlib-1.33/ANNOUNCE Compress-Zlib-1.33/fallback.h Removing previously used /Users/admin/.cpan/build/Compress-Zlib-1.33 CPAN.pm: Going to build P/PM/PMQS/Compress-Zlib-1.33.tar.gz Parsing config.in... Building Zlib enabled Looks Good. Up/Downgrade complete. Checking if your kit is complete... Looks good Writing Makefile for Compress::Zlib -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossibleFebruary 2, 2004 at 7:08 pm #357314hotmop
ParticipantBTW, this is on 10.3 Server. XCode installed.
September 8, 2004 at 3:19 pm #359054molsted
ParticipantI’ve experienced the same problem and I had no problem installing them by hand.
perl Makefile.PL
make test
make installHas anyone got a solution to this?
/Molsted
October 21, 2004 at 9:53 am #359612Anonymous
GuestI tried hand installing but get the following error message. Is there any way i can install the perl module MIME Base64
# make
rm -f blib/arch/auto/MIME/Base64/Base64.bundle
LD_RUN_PATH=”” MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Base64.o -o blib/arch/auto/MIME/Base64/Base64.bundle
ld: can’t locate file for: -lbundle1.o
make: *** [blib/arch/auto/MIME/Base64/Base64.bundle] Error 1 -
AuthorPosts
- You must be logged in to reply to this topic.