Subject: pkg/8437: Clanlib problems
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 09/18/1999 13:12:44
>Synopsis: Clanlib&GGI problem, installation problem
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>Arrival-Date: Sat Sep 18 12:20:00 1999
>Release: NetBSD-1.4.1/i386 release
System: NetBSD hiro.xon.net 1.4.1 NetBSD 1.4.1 (HIRO) #0: Tue Sep 14 19:22:33 CEST 1999 email@example.com:/usr/src/sys/arch/i386/compile/HIRO i386
When libggi from the packaging system is installed, compilation
of ClanLib fails.
Also, Clanlib installed to /usr/local, instead of my /usr/pkg
or /usr/X11R6 (where I think the packaging system believed it would
games/pacman also didn't work. The first problem was that
/usr/local/include was not in the compiler options, because
ClanLib shouldn't be there; when I added the directory to the
CFLAGS and LDFLAGS, it also didn't work:
Building datafile pacman.scr
ClanLib - 'We can even do sprites...' - Linux version.
ClanLib: No global CL_ClanApplication instance!!!
gmake: *** [pacman.dat] Error 255
*** Error code 2
clanstring.h also seems to have a problem:
/usr/local/include/ClanLib/Common/clanstring.h: In method `char * CL_String::float_to_string(const char *, float)':
In file included from /usr/local/include/ClanLib/clanlib.h:30,
/usr/local/include/ClanLib/Common/clanstring.h:148: warning: implicit declaration of function `int fcvt(...)'
/usr/local/include/ClanLib/Common/clanstring.h:148: warning: initialization to `const char *' from `int' lacks a cast
with the fix below, `make install' doesn't do what it should.
Add the configure-option --disable-ggi (or make it compile).
Don't know about the other problems.