Compiling on RedHat 8

Discussion, updates, modifications, etc for the various map editors...
Post Reply
Nidhoggr
General Bandwidth
General Bandwidth
Posts: 31
Joined: Mon Feb 10, 2003 5:09 pm

Compiling on RedHat 8

Post by Nidhoggr »

I've downloaded and installed GTK+ 2.0.9, and installed gtkglarea from the RPM, and do a ./configure --with-gtkgl-prefix=/usr/include/gtkgl and it still can't find gtkglarea. The gtkglarea.h is in /usr/include/gtkgl. I have also tried just using /usr/include, in case it is smart enough to look in the gtkgl directory.

Do I need to download gtkgl and manually install? Any help is appreciated.

-Cameron (Nidhoggr)
deadmeat
Private
Private
Posts: 1
Joined: Mon Jan 20, 2003 8:50 pm

Post by deadmeat »

Did you install the Dev rpm for gtkglarea?? This might be what you are missing.
User avatar
purple_cow
Private First Class
Private First Class
Posts: 63
Joined: Sun Dec 15, 2002 9:24 pm

Post by purple_cow »

I think I may have resolved this on IRC, but for anyone else:

The redhat gtkglarea rpms seem a little faulty - they're missing the pkgconfig script that goes along with it. The best way to do this is to download gtkglarea-1.99 from GNOME ftp and compile+install it. Everything should work just peachy then
Nidhoggr
General Bandwidth
General Bandwidth
Posts: 31
Joined: Mon Feb 10, 2003 5:09 pm

new errors

Post by Nidhoggr »

I installed the gtlgkarea by hand and that problem is no longer there... but now I get...

n file included from /usr/include/c++/3.2/i386-redhat-linux/bits/c++locale.h:39,
from /usr/include/c++/3.2/bits/localefwd.h:46,
from /usr/include/c++/3.2/ios:48,
from /usr/include/c++/3.2/ostream:45,
from /usr/include/c++/3.2/iostream:45,
from object.h:4,
from element.h:5,
from world.h:6,
from bzedit.cpp:3:
/usr/include/libintl.h:40: parse error before `__const'
/usr/include/libintl.h:44: parse error before `__const'
/usr/include/libintl.h:52: parse error before `__const'
/usr/include/libintl.h:81: parse error before `__const'
/usr/include/libintl.h:86: parse error before `__const'
make[2]: *** [bzedit.o] Error 1

Any ideas?
User avatar
purple_cow
Private First Class
Private First Class
Posts: 63
Joined: Sun Dec 15, 2002 9:24 pm

Post by purple_cow »

i had that issue - the only way i could solve it was to edit libintl just for this compile - i have no clue why it does that :P
Nidhoggr
General Bandwidth
General Bandwidth
Posts: 31
Joined: Mon Feb 10, 2003 5:09 pm

clarification

Post by Nidhoggr »

Did you just comment out the lines that reported the error?
Post Reply