Home › Forums › OS X Server and Client Discussion › Questions and Answers › Perl MCPAN can’t write Makefile!?!?
- This topic has 1 reply, 1 voice, and was last updated 22 years, 9 months ago by
hotmop.
-
AuthorPosts
-
February 2, 2004 at 7:23 pm #357316
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.
This is all on 10.3 Server with XCode installed.
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 9:05 pm #357319hotmop
ParticipantJoel,
Thanks for the reply….
I logged in as the “admin” user. That user is “blessed” as an admin under Workgroup manager.
I launched “sudo perl -MCPAN -e shell” and gave pw. Gave above failure on writing Makefile
I then did “su root” and auth’ed. launched perl -MCPAN and did again.
Same failure.
Really wierd.
-
AuthorPosts
- You must be logged in to reply to this topic.