User forums > Help

Vague Startup error

<< < (2/3) > >>

Michael:

--- Quote from: ahluka on March 18, 2006, 06:44:07 pm ---I get this error when trying to install:


--- Quote ---Packages not found: libwx_baseu-2.6.so.0

--- End quote ---

Is that something to do with wxWidgets? I just installed wxGTK 2.4.2.

--- End quote ---

You should install version 2.6.x. In Fedora I am not sure, but in ubuntu 5.10 I have installed 3 packages for wxGTK 2.6.1 (IIRC) + wx-common package (check if you need this too).

Best wishes,
Michael

ahluka:
Ok this is really starting to annoy me now. When running configure for wxGTK 2.6.2 I get this error:


--- Quote ---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 means GTK+ is incorrectly installed.
configure: error:
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,
and 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.

--- End quote ---

I've installed everything around the sun to do with GTK+. I've also set LD_LIBRARY_PATH to the two things it's given me.
This isn't my day :(

takeshimiya:

--- Quote from: ahluka on March 18, 2006, 07:06:55 pm ---Ok this is really starting to annoy me now. When running configure for wxGTK 2.6.2 I get this error:


--- Quote ---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 means GTK+ is incorrectly installed.
configure: error:
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,
and 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.

--- End quote ---

I've installed everything around the sun to do with GTK+. I've also set LD_LIBRARY_PATH to the two things it's given me.
This isn't my day :(

--- End quote ---

Have you installed the -dev packages? ie. gtk+-2.0-dev.

If you don't feel like compiling yourself, download the FC4 package from here: http://developer.berlios.de/project/showfiles.php?group_id=5358.

Requires original Fedora wxGTK packages e.g. from Freshrpms: http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/

Michael:
What I have when building C::B for the first time, was to install the wxGTK that come with ubuntu 5.10 (gnome) and the wx-common package. I have not installed a separate download of wxGTK (though I have it successfully configured). Check with your package manager if you have installed wxGTK 2.6.x and wx-common. Also check this (taken from here):


--- Quote ---What is not covered here, is the wxWidgets prerequisites. The most important being GTK2, of course! Let me stress it here, while it's early: GTK2 is required, not GTK1, for Code::Blocks to be operational.

--- End quote ---

Also make sure that you have GCC, etc. installed.

After downloading SVN sources with SVN (I have had to install this too), you have to do:


--- Quote ---./bootstrap
./configure
make
make install

--- End quote ---

Using the wxGTK package is the easiest way (it was for me). Also follow the 2 wiki articles I have referenced in one of my post above.

Best wishes,
Michael

Michael:
You might would like to check this out too:

http://forums.codeblocks.org/index.php?topic=2479.0

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version