Subject: pkg/8437: Clanlib problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 09/18/1999 13:12:44
>Number: 8437
>Category: pkg
>Synopsis: Clanlib&GGI problem, installation problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 18 12:20:00 1999
>Last-Modified:
>Originator: Wiz
>Organization:
>Release: NetBSD-1.4.1/i386 release
>Environment:
System: NetBSD hiro.xon.net 1.4.1 NetBSD 1.4.1 (HIRO) #0: Tue Sep 14 19:22:33 CEST 1999 wiz@hiro.xon.net:/usr/src/sys/arch/i386/compile/HIRO i386
>Description:
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
go).
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
Stop.
*
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,
from objects.cpp:19:
/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
>How-To-Repeat:
cd /usr/pkgsrc/graphics/libggi
make install
cd ../clanlib/
make
(fails)
with the fix below, `make install' doesn't do what it should.
>Fix:
Add the configure-option --disable-ggi (or make it compile).
Don't know about the other problems.
>Audit-Trail:
>Unformatted: