I can't get it running on debian

Linux specific forum
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

I can't get it running on debian

Post by Brujah »

Hy folks,

I installed purebasic exactly like it is written in the manual. Means I can execute it now.
But when I try to compile one of my programs I get the following message:

/usr/share/themes/Geramik/gtk-2.0/gtkrc:25: error: unexpected identifier `GtkButton', expected character `}'


I guess it has something to do with my gtk version.
The manual say I need 1.2 but I have 2.0.
I tried "apt-get remove libgtk2.0-dev" and then
"apt-get install libgtk1.2-dev".

I switched from suse to debian lately so I don't now how to find out which version of gtk I have installed.

Do I have to install gtk1.2 ? If yes how do I do that ?

Sorry, I am an absolute beginner in debian...

Markus
Elleomea
New User
New User
Posts: 8
Joined: Wed Nov 12, 2003 9:06 pm

Post by Elleomea »

You'll need the actual GTK 1.2 library as well as the dev library. You can have GTK 1.2 and 2.0 co-existing perfectly happily though. Just apt-get install libgtk1.2 or use your favourite package manager (such as kPackage or Synaptic).
How much ham could a hamster stir, if a hamster could stir ham?
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

PureBasic linux version is developed on Debian, so it must run :)
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

Okay, I installed gtk-1.2 and now its working.
But I still get this error message...
But some other application write it too but are running without any problem...

So everything is fine here!

Started to convert a Blitzbasic Game to Purebasic and have a lot of progress. When its finished I let you know!
Post Reply