Problems using macports
Hallo, i've a problem after installing macports 1.600 When i tring to install my first package (Midnight Commander), this was the output: ibook-g4-di-*************-********:~ *************$ sudo port install mc Password: ---> Extracting libiconv Error: Target org.macports.extract returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work" && gzip -dc /opt/local/var/macports/distfiles/libiconv/libiconv-1.12.tar.gz | -xf - " returned error 127 Command output: sh: line 1: -xf: command not found gzip: stdout: Broken pipe Error: The following dependencies failed to build: glib2 gettext libiconv pkgconfig Error: Status 1 encountered during processing. The macports installation is correct and at the last version (1.600). Someone knows how can i solve this problem? editing wich file?, because it should be a missing in the main installation script that broke the pipe (this occurr also with all other ports). The system is: iBook G4 Power PC 933Mhz 640 SDRAM Mac OS X 10.4.11 Thanks in advantage. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti Finatel? Fino a 50.000 Euro, rate su misura, zero spese, anche protestati e cattivi pagatori, in pochissimo tempo. Scoprili on line * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7373&d=7-1
[Resending to post to list; sorry to muffetta for the extra copy] On 07 Jan, 2008, at 7:48, muffetta66 wrote:
ibook-g4-di-*************-********:~ *************$ sudo port install mc Password: ---> Extracting libiconv Error: Target org.macports.extract returned: shell command " cd "/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_textproc_libiconv/work" && gzip -dc /opt/ local/var/macports/distfiles/libiconv/libiconv-1.12.tar.gz | -xf - " returned error 127 Command output: sh: line 1: -xf: command not found
Looks like you have `tar` missing. What's the value of tar_command on your system? You can get it as follows: % cat /opt/local/share/macports/Tcl/port1.0/port_autoconf.tcl | grep tar variable tar_command "/usr/bin/gnutar --no-same-owner" I'm assuming that the value will be missing on your system. As you can see, on my system it refers to /usr/bin/gnutar: % /usr/bin/gnutar --version tar (GNU tar) 1.15.1 It's possible that you could fix your problem simply by editing port_autoconf.tcl, but that would break upon selfupdating, and it would be better to know why it didn't originally find the tar command. Chris
This looks similar to the problem with mod_python on Leopard (the lack of a command name): http://trac.macports.org/projects/macports/ticket/13856 -Bill On Jan 7, 2008, at 9:19 AM, Chris Pickel wrote:
[Resending to post to list; sorry to muffetta for the extra copy]
On 07 Jan, 2008, at 7:48, muffetta66 wrote:
ibook-g4-di-*************-********:~ *************$ sudo port install mc Password: ---> Extracting libiconv Error: Target org.macports.extract returned: shell command " cd "/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_textproc_libiconv/work" && gzip -dc / opt/local/var/macports/distfiles/libiconv/libiconv-1.12.tar.gz | - xf - " returned error 127 Command output: sh: line 1: -xf: command not found
Looks like you have `tar` missing. What's the value of tar_command on your system? You can get it as follows:
% cat /opt/local/share/macports/Tcl/port1.0/port_autoconf.tcl | grep tar variable tar_command "/usr/bin/gnutar --no-same-owner"
I'm assuming that the value will be missing on your system. As you can see, on my system it refers to /usr/bin/gnutar:
% /usr/bin/gnutar --version tar (GNU tar) 1.15.1
It's possible that you could fix your problem simply by editing port_autoconf.tcl, but that would break upon selfupdating, and it would be better to know why it didn't originally find the tar command.
Chris _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@apple.com 408 862 7337
participants (3)
-
Chris Pickel
-
muffetta66
-
William Siegrist