Hello - I am a newcomer to linux (mandrake) and I am coding in C++. I am trying to get a comfortable setup together with a nice ide (anjuta) and a gui library (wxWindows using gtk). It is proving very tiresome. So far I have gathered that to get anjuta working and wxWindows I need recent versions of gtk (2.4.0). To install this however I need a recent version of Pango(whatever that is). To install Pango I need a recent versio of GLib (whatever that is).
So I am trying to install GLib. So I download it, unzip it and tar it so that I have a glib-2.4.0 directory. I go inside it and do the usual:
./configure make make install (as root)
And all is well. Only I notice that in /usr/include there remains an old directory called glib-2.0 and no newer 2.4.0 one.
Now when I do the same with Pango the configure script tells me it finds only an old version of glib. I don't know how it works that out. So either the 2.4.0 hasn't installed or its presence is not felt by pango. The pango configure script suggests playing around with PKG_CONFIG (an apparently empty variable) to help pango find the version...
At this point I do no know what to do, I have read and reread all the docs and looked at the configure script.
Can someone help please as it is driving me mad - either directly or can you recommend somewhere on the web where that people love to help with problems like this?
Thanks. Bruce
On Mon, May 24, 2004 at 12:20:59PM +0100, Parker, Bruce wrote:
Hello - I am a newcomer to linux (mandrake) and I am coding in C++. I am trying to get a comfortable setup together with a nice ide (anjuta) and a gui library (wxWindows using gtk). It is proving very tiresome. So far I have gathered that to get anjuta working and wxWindows I need recent versions of gtk (2.4.0). To install this however I need a recent version of Pango(whatever that is). To install Pango I need a recent versio of GLib (whatever that is).
So I am trying to install GLib. So I download it, unzip it and tar it so that I have a glib-2.4.0 directory. I go inside it and do the usual:
/configure make make install (as root)
And all is well. Only I notice that in /usr/include there remains an old directory called glib-2.0 and no newer 2.4.0 one.
Now when I do the same with Pango the configure script tells me it finds only an old version of glib. I don't know how it works that out. So either the 2.4.0 hasn't installed or its presence is not felt by pango. The pango configure script suggests playing around with PKG_CONFIG (an apparently empty variable) to help pango find the version...
At this point I do no know what to do, I have read and reread all the docs and looked at the configure script.
Can someone help please as it is driving me mad - either directly or can you recommend somewhere on the web where that people love to help with problems like this?
Sounds to me like it's configured to default to installing in /usr/local, glib upgrades should also not be taken lightly, things tend to break :)
You'll probably find that the configure script for Pango will take a path to the glib libraries and headers, so you *might* be able to get away with that.
Cheers,
On Mon, 2004-05-24 at 12:55, Brett Parker wrote:
Sounds to me like it's configured to default to installing in /usr/local, glib upgrades should also not be taken lightly, things tend to break :)
You'll probably find that the configure script for Pango will take a path to the glib libraries and headers, so you *might* be able to get away with that.
Cheers,
I think i remember needing to add this... /usr/local/lib ..line to "/etc/ld.so.conf" when trying to run programs that were linked against shared Objects(.so) and installed in /usr/local.
Dennis
On Monday 24 May 2004 12:20 pm, Parker, Bruce wrote:
Hello - I am a newcomer to linux (mandrake) and I am coding in C++. I am trying to get a comfortable setup together with a nice ide (anjuta) and a gui library (wxWindows using gtk).
Bruce, which version of mandrake do you have installed? Apologies if you have tried this already but in MDK 9.2 both anjuta and wxGTK-2.4.2 (described as "GTK+ port of the wxWindows library" - seems to be what you are looking for) are available for installation as mandrake packages using the software installer in the mandrake control center (or from the command line using urpmi - same thing really).
They are user-contributed packages so you will need to provide a source for contrib. The simplest way to do this is to go the Mandrake Easy Urpmi Configuration page and follow the instructions:
http://urpmi.org/easyurpmi/index.php
BTW adding a mirror for PLF is also a good idea if you want to be able to play DVDs :-)
And of course you will need updates to keep the system secure but hopefully you have that already!
HTH
Syd