cannot upgrade from 1.9.2 to 2.0.1 ...

Stefan netfortius at
Wed Aug 24 07:10:03 PDT 2011

... supposedly on a curl problem:

$ sudo port -v selfupdate

... <snip> ...

In file included from /usr/local/include/curl/curl.h:36,
                 from curl.c:46:
/usr/local/include/curl/curlrules.h:134: error: size of array
'__curl_rule_01__' is negative
make[2]: *** [curl.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
shell command "cd
/opt/local/var/macports/sources/ &&
CC=/usr/bin/gcc-4.2 ./configure --prefix=/opt/local
--with-tclpackage=/Library/Tcl --with-install-user=root
--with-install-group=admin --with-directory-mode=0755
--enable-readline && make && make install" returned error 2
Error: /opt/local/bin/port: port selfupdate failed: Error installing
new MacPorts base: shell command failed (see log for details)


I looked up the curl error, but this one ("is negative") was supposed
to have been fixed in 2010 ...

Any suggestions?

***Stefan Mititelu

More information about the macports-users mailing list