Page 1 of 1

PB Linux Config Problem

Posted: Mon Oct 11, 2004 10:06 pm
by DeeCee
Hello folks,
I've run into what appears to be a config problem with GTK on my Mandrake 10.0 box and thought that maybe someone can point me in the right direction.

After installing PB, I can run pbcompiler and get:
$ pbcompiler

******************************************
PureBasic Linux x86 v3.91
******************************************

A filename must be specified.
Which appears to be the correct result for a good installation.

However, when I try to compile a sample (any sample), I get:
$ pbcompiler window.pb

******************************************
PureBasic Linux x86 v3.91
******************************************

Loading external modules...
Starting compilation...
40 lines processed.
Creating the executable.
sh: line 1: gtk-config: command not found
sh: line 1: gtk-config: command not found
Window.a(Window.o)(.text+0x51): In function `PB_OpenWindow2':
: undefined reference to `gtk_widget_get_type'
Window.a(Window.o)(.text+0x5b): In function `PB_OpenWindow2':
: undefined reference to `gtk_type_check_object_cast'
Window.a(Window.o)(.text+0x64): In function `PB_OpenWindow2':
: undefined reference to `gtk_widget_destroy'

...
...
...

- Feel the ..PuRe.. Power -

sh: line 1: ./purebasic.exe: No such file or directory
This happens on a totally fresh installation of Mandrake 10.0, with all of the updates completed. I've never had any problems running PB on Mandrake 9.0-9.2 with as best I can tell, the exact same installation and setup.

Any ideas?

-DeeCee-

Posted: Mon Oct 11, 2004 10:52 pm
by DeeCee
Never mind, disregard the message above!!

...apparently sometime during the manual package selection process, I must have deselected the gtk lib without realizing it. :roll:

Like always, it works just fine when you have all the required libs installed. :wink:

-DeeCee-