Can't selfupdate -- libcurl present but not found
Philip Hudson
phil.hudson at iname.com
Mon Oct 15 14:45:29 PDT 2007
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.
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
--
Phil Hudson PGP key available
More information about the macports-users
mailing list