Subject: Troubles while compiling from source
To: None <netbsd-help@netbsd.org>
From: Christoph Leuzinger <christoph.leuzinger@westworks.ch>
List: netbsd-help
Date: 02/28/2001 20:37:19
Hello,
I've got an annoying problem most times when I try to compile
something from source on my NetBSD/i386-1.5 system.
I think it's always related to GTK stuff (not sure about that). But
as a matter of fact, after having done './configure', when I try to
'make', I get errors such as the following:
---------------
chris@asterix:~/dl/gtetrinet-0.4.1> make
Making all in src
gcc -g -O2 -DGTETRINET_DATA=\"/usr/local/share/gtetrinet\" -c
client.c
In file included from client.c:34:
partyline.h:1: gtk/gtk.h: No such file or directory
In file included from client.c:36:
misc.h:1: gtk/gtk.h: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
-----------------
So I replaced all the paths in the program's header files "#include
<gtk/gtk.h>" by "#include </usr/X11R6/include/gtk/gtk.h>" and so on.
But this didn't help, because I got the same errors afterwards for
gtk.h where some libraries that are actually located in the same
directory would not be found ... Somethings fishy here, but I don't
have any clue what it could be.
This is not the first time this is happening. I already failed
sometimes before to compile other programs that needed GTK.
I'd really be glad to get this problem solved. Thank you.
Greetings,
Chris.
--
__________________________________________________________
Christoph F. Leuzinger + Student @ Kantonsschule
http://www.westworks.ch/ + Schaffhausen, Switzerland
ICQ# 20603375 + http://www.kanti.ch/