Where do I get libgtk2.0-dev for Fedora 9 from?

CodeLite installation/troubleshooting forum
simonsharry
CodeLite Curious
Posts: 4
Joined: Fri Oct 03, 2008 7:21 pm
Contact:

Where do I get libgtk2.0-dev for Fedora 9 from?

Post by simonsharry » Fri Oct 03, 2008 7:24 pm

Hi,

Where do I get libgtk2.0-dev for Fedora 9 from?

Many thanks,
/HS

DavidGH
CodeLite Plugin
Posts: 667
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by DavidGH » Fri Oct 03, 2008 11:31 pm

Hi Simon,

You should find it if you go to Add/Remove Software and search for gtk2-devel (though iirc it will be installed automatically if you Add the wxGTK package).

Alternatively, like most rpms it's on http://rpm.pbone.net

Regards,

David

DavidGH
CodeLite Plugin
Posts: 667
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by DavidGH » Fri Oct 03, 2008 11:34 pm

Oops, "...if you Add the wxGTK-devel package)."

simonsharry
CodeLite Curious
Posts: 4
Joined: Fri Oct 03, 2008 7:21 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by simonsharry » Sat Oct 04, 2008 4:27 am

Hi David,

I uninstalled my CodeLite.
I then installed wxGTK-devel, just like you suggested. (Used yum install though.) The wxGTK-gl package also got installed.
Then, re-installed CodeLite.

However, this is what I get when I try to run CodeLite:

$ CodeLite
CodeLite: error while loading shared libraries: libwx_gtk2u-2.8.so.0: cannot open shared object file: No such file or directory

$ ls /usr/lib/libwx_gtk2u_*
/usr/lib/libwx_gtk2u_adv-2.8.so /usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_qa-2.8.so.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0 /usr/lib/libwx_gtk2u_gl-2.8.so /usr/lib/libwx_gtk2u_qa-2.8.so.0.4.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_gl-2.8.so.0 /usr/lib/libwx_gtk2u_richtext-2.8.so
/usr/lib/libwx_gtk2u_aui-2.8.so /usr/lib/libwx_gtk2u_gl-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_richtext-2.8.so.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0 /usr/lib/libwx_gtk2u_html-2.8.so /usr/lib/libwx_gtk2u_richtext-2.8.so.0.4.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_html-2.8.so.0 /usr/lib/libwx_gtk2u_stc-2.8.so
/usr/lib/libwx_gtk2u_core-2.8.so /usr/lib/libwx_gtk2u_html-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_stc-2.8.so.0
/usr/lib/libwx_gtk2u_core-2.8.so.0 /usr/lib/libwx_gtk2u_media-2.8.so /usr/lib/libwx_gtk2u_stc-2.8.so.0.4.0
/usr/lib/libwx_gtk2u_core-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_media-2.8.so.0 /usr/lib/libwx_gtk2u_svg-2.8.so
/usr/lib/libwx_gtk2u_gizmos-2.8.so /usr/lib/libwx_gtk2u_media-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_svg-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0 /usr/lib/libwx_gtk2u_ogl-2.8.so /usr/lib/libwx_gtk2u_svg-2.8.so.0.4.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_ogl-2.8.so.0 /usr/lib/libwx_gtk2u_xrc-2.8.so
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so /usr/lib/libwx_gtk2u_ogl-2.8.so.0.4.0 /usr/lib/libwx_gtk2u_xrc-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0 /usr/lib/libwx_gtk2u_qa-2.8.so /usr/lib/libwx_gtk2u_xrc-2.8.so.0.4.0

Cannot also find the the rpm for this file at http://rpm.pbone.net !
/HS

User avatar
eranif
CodeLite Plugin
Posts: 6091
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by eranif » Sat Oct 04, 2008 9:08 am

Hi

It looks like that CodeLite was built against the monolithic version of WX, while you installed a the multilib version of WX.

In that case, you need either:
- find a monolithic version of WX
- build WX yourself
- build CL yourself

If you choose to build it yourself, I will be happy to assist you

Eran
Make sure you have read the HOW TO POST thread

DavidGH
CodeLite Plugin
Posts: 667
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by DavidGH » Sat Oct 04, 2008 3:14 pm

As Eran said, re the monolithic build. Where did you get that CodeLite from, out of interest?

You do have another easy alternative, though: install the CodeLite rpm from http://downloads.sourceforge.net/codeli ... 9.i386.rpm (or the equivalent x86_64 one). This is built against the wx package you just installed.

simonsharry
CodeLite Curious
Posts: 4
Joined: Fri Oct 03, 2008 7:21 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by simonsharry » Sun Oct 05, 2008 9:26 am

David, I believe I got my earlier version from http://codelite.org/ . I tried the sourceforge site and I can load the application fine. Thanks!

JFYI:
The first time around, however, I got the following (warnings?) on the console.

$ CodeLiteUR
which: no mingw32-make.EXE in (./C:/MinGW/bin)
which: no mingw32-make in (.:/home/hs/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin: <snip> )

This message did not appear on 2nd and subsequent launches.

User avatar
eranif
CodeLite Plugin
Posts: 6091
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by eranif » Sun Oct 05, 2008 10:50 am

simonsharry wrote:$ CodeLiteUR
You should run 'CodeLite', in that particular case they are the same, but...
simonsharry wrote:which: no mingw32-make.EXE in (./C:/MinGW/bin)
which: no mingw32-make in (.:/home/hs/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin: <snip> )
Looks like that default build settings were using my SVN configuration file
This wont be case in the next release.
simonsharry wrote:This message did not appear on 2nd and subsequent launches.
Since CodeLite detected a proper make and updated your configuration files.

Eran
Make sure you have read the HOW TO POST thread

simonsharry
CodeLite Curious
Posts: 4
Joined: Fri Oct 03, 2008 7:21 pm
Contact:

Re: Where do I get libgtk2.0-dev for Fedora 9 from?

Post by simonsharry » Mon Oct 06, 2008 6:41 am

Thank you both, Eran and David, for your quick and helpful responses.

I forgot to mention earlier that... CodeLite appears to me to be a *great* application in 'merely' its version 1.0! The application icon is superb too! Congratulations! I also hope CodeLite becomes *the* #1 alternative to Visual C++ @ osalt.com... in near future :)

Post Reply