AFP548 Changing the world one server at a time.

Perl MCPAN can’t write Makefile!?!?

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.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #357313
    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.

    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
    #357314
    hotmop
    Participant

    BTW, this is on 10.3 Server. XCode installed.

    #359054
    molsted
    Participant

    I’ve experienced the same problem and I had no problem installing them by hand.
    perl Makefile.PL
    make test
    make install

    Has anyone got a solution to this?

    /Molsted

    #359612
    Anonymous
    Guest

    I 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

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