dpkg compile on solaris- getopt missing
Tha autogen.sh works fine. How can I use debian/rules build _and_ specify
the prefix, or should I just run ./configure by hand?
Next, where did you stick optlib (it was in the patch file I sent you)?
On non-linux machines it's needed for getopt and company...
Nils.
~/misc/debian/dpkg > ./autogen.sh
You should update your own `aclocal.m4' by adding the necessary
macro packages gettext.m4, lcmessage.m4 and progtest.m4 from
the directory `/aclocal'
configure.in:83: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:83: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:84: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:85: warning: AC_TRY_RUN called without default to allow cross
compiling
~/misc/debian/dpkg > make -f debian/rules build
test -f include/dpkg.h.in
install -d /u/lohner/misc/debian/dpkg/build
cd /u/lohner/misc/debian/dpkg/build && /u/lohner/misc/debian/dpkg/configure \
--prefix=/usr \
--datadir=/usr/share \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--localstatedir=/var/lib
...etc...
make[2]: Entering directory `/u/lohner/misc/debian/dpkg/build/utils'
gcc -D_REENTRANT -D_GNU_SOURCE -O2 -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" -I/u/lohner/misc/debian/dpkg/intl
-I../intl -I/u/lohner/misc/debian/dpkg/include -I/u/lohner/misc/debian/dpkg
-I/u/lohner/misc/debian/dpkg/utils -I../include -I.. -I. -c
/u/lohner/misc/debian/dpkg/utils/start-stop-daemon.c
/u/lohner/misc/debian/dpkg/utils/start-stop-daemon.c:48: getopt.h: No such
file or directory
make[2]: *** [start-stop-daemon.o] Error 1
make[2]: Leaving directory `/u/lohner/misc/debian/dpkg/build/utils'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/u/lohner/misc/debian/dpkg/build'
make: *** [stamp-build] Error 2
~/misc/debian/dpkg >
Reply to: