[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

solaris compiling



Hi,

I tried to check out latest dpkg CVS (HEAD branch) and compile it on Solaris
2.6.

autogen.sh doesn't work because AM_CONDITIONAL isn't defined. This is fixed
by adding /usr/share/aclocal/cond.m4 from Debian to it (either as
acinclude.m4 or by adding it in the automake/ directory).

start-stop-daemon won't compile because of this:

gcc -D_GNU_SOURCE  -I../optlib -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -c start-stop-daemon.c
start-stop-daemon.c:99: warning: `pid_is_user' declared `static' but never defined
start-stop-daemon.c:100: warning: `pid_is_cmd' declared `static' but never defined
gcc  -o start-stop-daemon start-stop-daemon.o ../optlib/libopt.a
Undefined                       first referenced
 symbol                             in file
pid_is_user                         start-stop-daemon.o
pid_is_cmd                          start-stop-daemon.o
ld: fatal: Symbol referencing errors. No output written to start-stop-daemon
gmake[1]: *** [start-stop-daemon] Error 1

dselect won't compile because of ncurses:

c++ -D_GNU_SOURCE  -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -g -O2 -c main.cc
In file included from main.cc:35:
/usr/include/term.h:1060: syntax error before `,'
/usr/include/term.h:1081: syntax error before `;'
/usr/include/term.h:1082: syntax error before `;'
/usr/include/term.h:1101: syntax error before `['
/usr/include/term.h:1108: syntax error before `*'
/usr/include/term.h:1111: syntax error before `;'
/usr/include/term.h:1115: syntax error before `;'
/usr/include/term.h:1116: syntax error before `;'
/usr/include/term.h:1202: `chtype' was not declared in this scope
/usr/include/term.h:1202: parse error before `('
In file included from dselect.h:30,
                 from main.cc:44:
/usr/include/curses.h:80: warning: abstract declarator used as declaration
gmake[1]: *** [main.o] Error 1

configure doesn't test for presence of debiandoc2html, as it should.

Otherwise, it worked fine ;)

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: