[MacPorts] #16610: Configure failure
MacPorts
noreply at macports.org
Mon Nov 16 09:50:11 PST 2009
#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
More information about the macports-tickets
mailing list