Package: apt Version: 0.1.5 c++ -bpowerpc-linux -DHAVE_CONFIG_H -I. -I../../pkglib -I.. -I../include -I../.. -I.. -I../../pkglib -I. -I../../include -I../includ e -I../../intl -I../intl -fno-implicit-templates -g -Wall -D_POSIX_C_SOURCE=199309 -Wp,-MD,.deps/dpkgpm.p -c -fPIC -DPIC ../../pkgli b/dpkgpm.cc ../../pkglib/dpkgpm.cc: In method `bool pkgDPkgPM::Go()': ../../pkglib/dpkgpm.cc:164: warning: implicit declaration of function `int setenv(...)' ../../pkglib/dpkgpm.cc:174: `errno' undeclared (first use this function) ../../pkglib/dpkgpm.cc:174: (Each undeclared identifier is reported only once ../../pkglib/dpkgpm.cc:174: for each function it appears in.) ../../pkglib/dpkgpm.cc:174: `EINTR' undeclared (first use this function)
After I fix that one (by adding #include <errno.h> to the file), apt-get.cc dies with a similar error, and then... c++ -bpowerpc-linux -DHAVE_CONFIG_H -I. -I../../../clients/cmdline -I../.. -I../../include -I../../.. -I../.. -I../../../clients/cmd line -I. -I../../../include -I../../include -I../../../intl -I../../intl -g -Wall -D_POSIX_C_SOURCE=199309 -DLOCALEDIR=\"/usr/share /locale\" -c ../../../clients/cmdline/apt-get.cc ../../../clients/cmdline/apt-get.cc: In function `bool ProcessOptions(int, char **)': ../../../clients/cmdline/apt-get.cc:1200: warning: comparison is always 1 due to limited range of data type This is the cause of a non-functioning apt-get binary, building with -fsigned-char fixes it. One more problem is that the check for -lslang only works with slang 0.99.38, this is due to the symbol "init_SLang", it is not present in slang 1.2.2, the 1.2.2 equivalent seems to be "SLang_init_slang" (the symbol "SLang_init_tty" is present in both versions, which may be helpful). -- Joel Klecker (aka Espy) <URL:mailto:[EMAIL PROTECTED]> <URL:http://web.espy.org/> Debian GNU/Linux user/developer on i386 and powerpc. <URL:mailto:[EMAIL PROTECTED]> <URL:http://www.debian.org/>

