Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm not satisfied with the old yet stable version of codeblocks and I'd like to install the nightly builds. I'm using ubuntu.
The nightly builds are supposed to be here : http://forums.codeblocks.org/index.php/board,20.0.html
but everywhere I go I always see 'linux : none'.
So where can I basically download the last version of codeblocks ?
I also tried to do this : http://wiki.codeblocks.org/index.php...ource_on_Linux
Didn't work either.
When I typed ../configure --prefix=/opt/wx/2.8 \
the result was
checking for gtk+ -version >= 2.0.0... no
*** could not run gtk+ test program, checking why...
*** the test program failed to compile or link. see the file config.log for the exact error that occured. This usually mean GTK+ is incorrectly installed.
The development files for gtk+ were not found. For gtk+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For gtk+ 1.2 please check that gtk-config is in the path aand that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent.
If I type pkg-config gtk+-2.0 --libs, the result is :
package gtk+2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing 'gtk +-2.pc' to the PKG_CONFIG_PZTH' environment variable
No package 'gtk+-2.0' found.
Yet, if I type update-alternatives --config wx-config, one of the lines of the result is :
selection path priority status
0 /usr/lib/wx/config/gtk2-unicode-release-2.8 288 auto mode
The second command may take some time to complete.
Now you can use the apt-file command to search for the package you need. For example it seem you need the "gtk-config" command to find the package that provides it do:
apt-file search gtk-config
There will probably be a few packages listed. Notice that one of them provides /usr/bin/gtk-config. Since you we know that gtk-config is a command (and /usr/bin/ is the noramal place for commands) we know that this is the package to install (on my system it is libgtk1.2-dev).
When errors are reported from ./configure please try to use the "apt-file search" method to work out what to install.
PS. I notice now that this will not solve the current problem you have asked about...
PPS. Please post the output of config.log
Last edited by evo2; 03-25-2010 at 03:04 AM.
This is never ending, I just downloaded sudo apt-get install libgtk2.0-dev and then typed mkdir build_gtk2_shared_monolithic_unicode
../configure --prefix=/opt/wx/2.8 \
but the 'make' gave me hundreds of errors.
I'm going to go for knudfl's solution instead, the wiki seems not very reliable indeed.
So I typed make from ./trunk.
It's taking a very long time. Millions of lines probably appeared.
Assuming this will work, how do I remove everything that I've done so far regarding this issue and that didn't work ? (I tried everything that has been mentionned here, plus everything that is mentionned in the wiki up to 'su' in 'wxWidgets build')
Well, this didn't work.
I typed make in /trunk, and then sudo make install.
I then restarted the computer.
codeblocks is in applications->programming, and if I click on it, it starts launching but then closes. What can I do now ?