errors installing a port

Ryan Schmidt ryandesign at macports.org
Mon Jan 3 13:03:37 PST 2011


On Jan 3, 2011, at 09:57, Thomas Scofield wrote:

> I'm effectively unable to use port (I have version 1.9.2) now on my Mac using OS 10.6.5.  I tried using it today to get VLC, but have had similar problems in the past getting other ports.

Note that VLC is a problematic port to install with MacPorts. VLC requires a number of unstable video libraries that seem to break VLC every time they're updated. Additionally, VLC in MacPorts is several versions out of date. You're probably better off installing a self-contained VLC from the disk image provided on the VLC web site.

> Here is the content of messages:
> 
> [Users/scofield] > install VLC
> --->  Computing dependencies for p5-locale-gettext
> --->  Configuring p5-locale-gettext
> Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
> Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/main.log
> Error: Unable to upgrade port: 1
> Error: Unable to execute port: upgrade autoconf failed
> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> The main.log file mentioned above contains these messages:
> 
> version:1
> :msg:configure --->  Computing dependencies for p5-locale-gettext:info:configure .:debug:configure Searching for dependency: perl5
> :debug:configure Found Dependency: receipt exists for perl5
> :debug:configure Searching for dependency: gettext
> :debug:configure Found Dependency: receipt exists for gettext
> :debug:configure Searching for dependency: libiconv
> :debug:configure Found Dependency: receipt exists for libiconv
> :msg:configure 
> :debug:main Executing org.macports.main (p5-locale-gettext)
> :debug:main Skipping completed org.macports.fetch (p5-locale-gettext)
> :debug:main Skipping completed org.macports.checksum (p5-locale-gettext)
> :debug:main Skipping completed org.macports.extract (p5-locale-gettext)
> :debug:main Skipping completed org.macports.patch (p5-locale-gettext)
> :msg:main --->  Configuring p5-locale-gettext
> :debug:main Using compiler 'Mac OS X gcc 4.2'
> :debug:configure configure phase started at Mon Jan  3 10:21:51 EST 2011
> :debug:configure Executing org.macports.configure (p5-locale-gettext)
> :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-locale-gettext/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 -O2 -L/opt/local/lib -arch x86_64'
> :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor'
> :info:configure sh: /opt/local/bin/perl: No such file or directory

You seem to be missing perl, though it is one of p5-locale-gettext's dependencies. Please clean p5-locale-gettext and try again:

sudo port clean p5-locale-gettext
sudo port install p5-locale-gettext

If that fails the same way, verify perl5 and perl5.8 are installed and active:

port installed perl5.8 perl5

If they are, you could try reinstalling them:

sudo port -n upgrade --force perl5.8 perl5



More information about the macports-users mailing list