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

Re: solaris compiling



Previously Josip Rodin wrote:
> 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).

That's a broken automake setup on your machine. Don't blame dpkg for
that :)

> 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

Ah, start-stop-daemon doesn't have sunos/solaris support properly. Can
you check if solaris has /proc/<pid> and /proc/<pid>/exe ?

> 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 `('

Blame Sun :)

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

There is a patch to make building the documentation optional, I'll
include that in CVS soon.

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: