port install zim fails: can't install p5-file-basedir?

Derek Schutt derek.schutt at colostate.edu
Mon Jul 4 07:31:10 PDT 2011


On 7/3/11 10:54 PM, Brandon Allbery wrote:
> On Mon, Jul 4, 2011 at 00:35, Derek Schutt<derek.schutt at colostate.edu>  wrote:
>> info:configure ld: warning: in /tmp/compilet-1022715042.o, file was built
>> for unsupported file format which is not the architecture being linked
>> (i386)
> This is telling you that it can't understand the ".o" file (more
> specifically, that it's not a Mach-O object file); which is an odd
> error to get from a compiler temporary file.  Do you have a
> cross-compiler for another OS (Linux, Windows, etc.) in your path?
> Alternately, look for ENOSPC ("Insufficient disk space") errors
> earlier in the log.
>
Hi Again Brandon,

Thanks much for your help.   Looking earlier in the log, it seems the 
compiler is fine, but I am missing some perl modules.   I am guessing 
this means that the port file is somehow misconfigured?    But I would 
also guess that p5-file-basedir is used by a lot of stuff, so I would be 
surprised if it really is messed up.

-Derek

Output from:
/opt/local/var/macport/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-file-basedir/main.log

    version:1
    :debug:main Executing org.macports.main (p5-file-basedir)
    :debug:main Skipping completed org.macports.fetch (p5-file-basedir)
    :debug:main Skipping completed org.macports.checksum (p5-file-basedir)
    :debug:main Skipping completed org.macports.extract (p5-file-basedir)
    :debug:main Skipping completed org.macports.patch (p5-file-basedir)
    :msg:main --->  Configuring p5-file-basedir
    :debug:main Using compiler 'Mac OS X gcc 4.2'
    :debug:configure configure phase started at Sun Jul  3 20:26:30 MDT 2011
    :debug:configure Executing org.macports.configure
    (p5-file-basedir):debug:configure Environment:
    CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64'
    CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64'
    LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
    CXX='/usr/bin/g++-4.2'
    CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-file-basedir/work/.CC_PRINT_OPTIONS'
    F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
    FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/gcc-4.2'
    INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
    OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2
      -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2':debug:configure
    Assembled command: 'cd
    "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-file-basedir/work/File-BaseDir-0.03"
    && /opt/local/bin/perl Makefi
    le.PL INSTALLDIRS=vendor'
    :info:configure This module requires Module::Build to install itself.
    :info:configure   Install Module::Build now from CPAN? [y] y
    :info:configure CPAN: Storable loaded ok (v2.19)
    :info:configure Going to read /Users/derek/.cpan/Metadata
    :info:configure   Database was generated on Sun, 03 Jul 2011
    18:27:12 GMT
    :info:configure Running install for module 'Module::Build::Compat'
    :info:configure CPAN: Data::Dumper loaded ok
    (v2.121_17):info:configure 'YAML' not installed, falling back to
    Data::Dumper and Storable to read prefs '/Users/der
    ek/.cpan/prefs'
    :info:configure Running make for
    D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz
    :info:configure
    :info:configure   CPAN: checksum security checks disabled because
    Digest::SHA not installed.
    :info:configure   Please consider installing the Digest::SHA module.
    :info:configure
    :info:configure CPAN: Time::HiRes loaded ok (v1.9715)

[SNIP]

    :info:configure CPAN: File::Temp loaded ok (v0.20)
    :info:configure
    :info:configure   CPAN.pm: Going to build
    D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz
    :info:configure
    :info:configure # running Build.PL
    :info:configure
    :info:configure Checking optional features...
    :info:configure dist_authoring..........disabled
    :info:configure   requires:
    :info:configure     ! Archive::Tar is not installed
    :info:configure   recommends:
    :info:configure     * Pod::Readme is not installed
    :info:configure inc_bundling_support....disabled
    :info:configure   requires:
    :info:configure     ! ExtUtils::Install (1.50_01) is installed, but
    we need version >= 1.54
    :info:configure     ! ExtUtils::Installed (1.43) is installed, but
    we need version >= 1.999
    :info:configure
    :info:configure ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may
    wish to install the versions
    :info:configure of the modules indicated above before proceeding
    with this installation
    :info:configure

[and much, much more...]



-- 
--------------------
Derek Schutt
Assistant Professor
Departpment of Geosciences
309 Natural Resources Building
Campus Delivery 1482
Fort Collins, CO 80525-1482
http://warnercnr.colostate.edu/~schutt/CSU_web/index.htm
970-491-5786

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110704/976955ca/attachment.html>


More information about the macports-users mailing list