On Oct 15, 2007, at 5:45 PM, Philip Hudson wrote:
On 15 Oct, 2007, at 5:39 pm, Daniel J. Luke wrote:
configure: error: cannot find curl-config. Is libcurl installed?
curl-config should be in /usr/bin (it is provided by the BSD.pkg)
Thanks Daniel. That's improved things a lot. I symlinked the MacPorts curl and curl-config in /usr/bin and got a bit further.
ick. Your system is messed up if there's no apple-provided curl-config in / usr/bin - you should fix that instead of symlinking things around The macports configure script (and build system) tries to avoid depending on things that macports installs (because if you uninstall macports curl later but macports depends on curl, how will you fix it?).
Now I get:
[usr/bin] > selfupdate MacPorts base version 1.5 installed Downloaded MacPorts base version 1.520 Configuring, Building and Installing new MacPorts base Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/ rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with- tclpackage=/Library/Tcl && make && make install" returned error 2 Command output: ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os - DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -I/opt/local/include - DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
... lots of gcc calls ...
In file included from sha1cmd.c:57: /opt/local/include/openssl/sha.h:174: warning: ISO C90 does not support 'long long' /opt/local/include/openssl/sha.h:175: warning: ISO C90 does not support 'long long' /opt/local/include/openssl/sha.h:177: warning: ISO C90 does not support 'long long' gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os - DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -I/opt/local/include - DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
... lots of gcc calls ...
readline.c: In function 'attempted_completion_function': readline.c:131: error: 'filename_completion_function' undeclared (first use in this function) readline.c:131: error: (Each undeclared identifier is reported only once readline.c:131: error: for each function it appears in.) readline.c:133: error: 'username_completion_function' undeclared (first use in this function) readline.c:139: warning: implicit declaration of function 'completion_matches' readline.c:139: warning: assignment makes pointer from integer without a cast make[2]: *** [readline.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
You have a broken readline (probably installed in /usr/local). Move it aside (or remove it) so that macports can build against the system readline. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+