If you want Fink to use all of unstable, edit /sw/etc/fink.conf, add unstable/main and unstable/crypto to the Trees: line, and then run fink selfupdate; fink index.
Again, when building dpkg, it comes up with an error message about not finding the curses file. Here is the summary of the error messages:
<ErrorStuff>
g++-3.3 -I/sw/include -no-cpp-precomp -I/sw/include -Wall -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/sw/share/locale\" -I/sw/src/dpkg-1.10.21-215/dpkg-1.10.21/intl -I../intl -I/sw/src/dpkg-1.10.21-215/dpkg-1.10.21/include -I/sw/src/dpkg-1.10.21-215/dpkg-1.10.21 -I/sw/src/dpkg-1.10.21-215/dpkg-1.10.21/dselect -I../include -I.. -I. -I/sw/src/dpkg-1.10.21-215/dpkg-1.10.21/optlib -F/System/Library/Frameworks/CoreFoundation.framework -DUSE_ZLIB -g -O2 -c bindings.cc
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cursesfile=`echo '#include <curses.h>' | \
gcc-3.3 -E - | grep 'curses.h' | head -n 1 | \
sed -e 's/^[^"]*"//; s/".*$//'`; \
if [ "$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
perl /sw/src/dpkg-1.10.21-215/dpkg-1.10.21/dselect/mkcurkeys.pl keyoverride $cursesfile > curkeys.h
Unknown option: n
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways -v Show program version
-h Print this message-x Extra debugging output can't find curses file make[2]: *** [curkeys.h] Error 1 make[1]: *** [all-dselect] Error 2 make: *** [all-recursive] Error 2 ### execution of make failed, exit code 2 Removing build lock... dpkg -r fink-buildlock-dpkg-1.10.21-215 (Reading database ... 4375 files and directories currently installed.) Removing fink-buildlock-dpkg-1.10.21-215 ... Failed: phase compiling: dpkg-1.10.21-215 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists. As a last resort, you can try e-mailing
the maintainer directly:
Fink Core Group <[EMAIL PROTECTED]>
</ErrorStuff>
It appears that the command to build the curses file uses head -n. However, it turned out that I had installed LWP from perl's CPAN which had installed a different kind of head utility into /usr/bin which fetches the head of a HTTP request!. I copied HEAD, GET, and POST from /usr/bin to /usr/local/bin and then restored the original head from the Panther CDs. Problem fixed.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
