AFP548 Changing the world one server at a time.

Perl MCPAN can’t write Makefile!?!?

Home › Forums › OS X Server and Client Discussion › Questions and Answers › Perl MCPAN can’t write Makefile!?!?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #357316
    hotmop
    Participant

    In 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.html

    Trying 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::SpamAssassin

    or subset of the above:

    install Compress::Zlib

    I 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 impossible
    #357319
    hotmop
    Participant

    Joel,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.