[MacPorts] #16610: Configure failure
#16610: Configure failure -------------------------------+-------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: -------------------------------+-------------------------------------------- I have Xcode 2.5 installed and tried to install macports from source only to receive the following: checking MacPorts version... ./configure: line 1: tr: command not found ./configure: line 1: sed: command not found checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ./configure: line 1: sed: command not found ./configure: line 36: sed: command not found ./configure: line 39: sort: command not found ./configure: line 56: sort: command not found -- Ticket URL: <http://trac.macports.org/ticket/16610> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * priority: High => Normal * component: ports => base Comment: Looks like you don't have XCode installed. -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * milestone: Port Bugs => MacPorts base bugs Comment: What is your OS version? What's in your $PATH? Can you actually run the commands being complained about from the shell? -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Comment(by wkanoff@gmail.com): Replying to [comment:2 jmr@…]:
What is your OS version? What's in your $PATH? Can you actually run the commands being complained about from the shell? OS X 10.4.11 /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local?mysql/bin
-- Ticket URL: <http://trac.macports.org/ticket/16610#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Comment(by wkanoff@gmail.com): Replying to [comment:1 jmr@…]:
Looks like you don't have XCode installed.
Read the ticket, I have Xcode 2.5 installed. -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Comment(by blb@macports.org): Replying to [comment:3 wkanoff@…]:
OS X 10.4.11 /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local?mysql/bin Is that question mark a typo or is it really in PATH? Do you have tr, run {{{ ls -l /usr/bin/tr }}}
-- Ticket URL: <http://trac.macports.org/ticket/16610#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Description changed by ryandesign@macports.org: Old description:
I have Xcode 2.5 installed and tried to install macports from source only to receive the following:
checking MacPorts version... ./configure: line 1: tr: command not found ./configure: line 1: sed: command not found
checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ./configure: line 1: sed: command not found ./configure: line 36: sed: command not found ./configure: line 39: sort: command not found ./configure: line 56: sort: command not found
New description: I have Xcode 2.5 installed and tried to install macports from source only to receive the following: {{{ checking MacPorts version... ./configure: line 1: tr: command not found ./configure: line 1: sed: command not found checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ./configure: line 1: sed: command not found ./configure: line 36: sed: command not found ./configure: line 39: sort: command not found ./configure: line 56: sort: command not found }}} -- -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: worksforme | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => worksforme Comment: No response in 8 months, closing. -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: worksforme | Keywords: Port: | --------------------------------+------------------------------------------- Comment(by yasir.suhail@…): I have the same problem, I am running Tiger 10.4, and have XCode 2.5 echo $PATH gives /Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin/:/Library/Frameworks/Python.framework/Versions/2.5/bin/:/sw/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin /powerpc-apple-darwin-current:/Applications/MATLAB/bin which sed gives: /usr/bin/sed I can run cat, sed and other commands from my terminal window. I am not sure what's going on. While trying to install a port, I get ---> Computing dependencies for zlib ---> Configuring zlib Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3" && ./configure --prefix=/opt/local --shared " returned error 127 Command output: ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 62: cat: command not found Checking for shared library support... No shared library support; try without defining CC and CFLAGS Building static library libz.a version with /usr/bin/gcc-4.0. ./configure: line 195: cat: command not found ./configure: line 200: sed: command not found Checking for unistd.h... Yes. ./configure: line 207: cat: command not found Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf() ./configure: line 225: cat: command not found Checking for vsnprintf() in stdio.h... No. WARNING: vsnprintf() not found, falling back to vsprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. ./configure: line 287: cat: command not found Checking for return value of vsprintf()... Yes. ./configure: line 402: cat: command not found Checking for errno.h... Yes. ./configure: line 413: cat: command not found Checking for mmap support... Yes. ./configure: line 439: rm: command not found ./configure: line 442: sed: command not found Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade zlib failed -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: worksforme => Comment: Yasir, has this ever worked for you? What's in your /opt/local/etc/macports/macports.conf -- specifically, what's binpath set to? -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | --------------------------------+------------------------------------------- Comment(by yasir.suhail@…): I think it stopped working at a certain point. Here's what it said in my macports.conf: {{{ binpath /opt/local/bin/:/Library/Frameworks/Python.framework/Versions/2.5/bin/:/sw/bin }}} I added /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin to it. It seems to work now. Thanks!! -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16610: Configure failure --------------------------------+------------------------------------------- Reporter: wkanoff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: invalid | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => invalid Comment: Uncommenting binpath is unsupported. -- Ticket URL: <http://trac.macports.org/ticket/16610#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts