#32262: Cannot install Perl via MacPorts on Lion -----------------------------------+---------------------------------------- Reporter: jrzeznik1@… | Owner: ricci@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: perl5.12 -----------------------------------+---------------------------------------- Comment(by nbest@…): Replying to [comment:2 ryandesign@…]:
Please supply a main.log file from the failed build. There must be
something unique about your system; it appears to work fine for many other users. I am attaching my main.log as my situation seems relevant to this ticket. It appears that perl5.12 failed while I was trying to install cdo like so: {{{ $ sudo port install cdo +grib2 . . . ---> Fetching archive for perl5.12 ---> Attempting to fetch perl5.12-5.12.3_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/perl5.12 ---> Fetching perl5.12 ---> Verifying checksum(s) for perl5.12 ---> Extracting perl5.12 ---> Applying patches to perl5.12 ---> Configuring perl5.12 ---> Building perl5.12 Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install perl5.12 Log for perl5.12 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/main.log Error: The following dependencies were not installed: grib_api openjpeg pkgconfig glib2 perl5 perl5.12 perl5 xz netcdf curl curl-ca-bundle libidn openssl szip Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I was following the procedure given at http://trac.macports.org/wiki/Migration for getting Macports going on my Lion machine, so my Macports tree was completely clean AFAIK except for hdf-18 and proj that I installed separately ahead of cdo just because I had some trouble with them before finding out what I had to do to migrate. FWIW my Lion environment was set up by bringing everything over from my Snow Leopard machine in the process of setting up my new machine, which means I had to get Xcode through the AppStore, so that's at 4.2.1. Let me know if more info is needed. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/32262#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS