Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#69941 closed defect (invalid)

Failed to locate 'tar' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? — at Version 1

Reported by: lm2lm2 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by jmroot (Joshua Root))

Failed to locate 'tar' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
        while executing
"error "$eMessage or at its MacPorts configuration time location, did you move it?""
        ("macports_try ... error" body line 2)
        invoked from within
"macports_try -pass_signal {
                        return [macports::binaryInPath $prog]
                } on error {eMessage} {
                        error "$eMessage or at its M..."
        (procedure "macports::findBinary" line 5)
        invoked from within
"macports::findBinary tar ${macports::autoconf::tar_path}"
        invoked from within
"set tarcmd [macports::findBinary tar ${macports::autoconf::tar_path}]"
        (file "./src/images_to_archives.tcl" line 19)
make: *** [install] Error 1

device : mac powerpc osx : 10.4 xcode : rel 4, most recent of this os

saw ##26826 but : Does "make" in fact exist in /usr/bin? If not, did you deselect (or forget to select) the "UNIX Development" or "Command-Line Development" option when installing Xcode? If so, or if unsure, use the Xcode installer again and select that option.

=> there is no such option at xcode's wizard installer. I dont find the "tar" executable...

ty!

Change History (1)

comment:1 Changed 5 months ago by jmroot (Joshua Root)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

This is indeed the same as #26826. MacPorts doesn't work without /usr/bin/tar. If that doesn't exist, your Xcode Command Line Tools installation is incomplete. https://guide.macports.org/#installing.xcode.other

Note: See TracTickets for help on using tickets.