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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
I'm trying to compile bluefish because there were no working rpm for me, but I get a strange error.
Code:
linux:/home/zth/bluefish-0.13 # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for inline... inline
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0... no
configure: error: libgtk2.0-dev missing please install libgtk2.0-dev
The thing is that I've got gtk2, gtk, and all those packages installed, and I've got all the devels installed to. I can't find any specific libgtk2.0-dev on any site. Help please
"The thing is that I've got gtk2, gtk, and all those packages installed, and I've got all the devels installed to. I can't find any specific libgtk2.0-dev on any site. Help please"
and you have to give a little more info if you wan't info back.
distro?
version of gtk2 installed?
where is it located?
do you have gtk+-2.0.pc (search for it in /usr/lib/pkgconfig or wherever the prefix is for gtk2)?
What we are looking for is the root of the gtk2 installation so we can set up the paths for configure to find it.
for example if gtk2 is installed into /opt/lib (check /opt/lib/pkgconfig for the pc file) then we need to tell configure to look there instead of its normal paths (/usr/ /usr/local)
there are some Suse bluefish rpm's on the mirror sites (go to the bluefish homepage->download and choose a mirror ( i chose the CO mirror) and go to archives) so you might want to try those
What we are looking for is the root of the gtk2 installation so we can set up the paths for configure to find it.
for example if gtk2 is installed into /opt/lib (check /opt/lib/pkgconfig for the pc file) then we need to tell configure to look there instead of its normal paths (/usr/ /usr/local)
theres not many places gtk2 can be. I'd look in either /usr/lib/pkgconfig /usr/local/lib/pkgconfig or if you think some libs are installed in /opt look in /opt/lib/pkgconfig for the file gtk+-2.0.pc.
If this package is not on your system anywhere (and theres no reason it shouldn't be with gtk and gtk-devel installed) you will not be able to compile anything that depends on gtk2.
If you do find this file, you need to set you pkg_config_path to point to it like this:
===========================================
(assuming it is installed in /usr/local/lib/pkgconfig for example)
the above command sets /usr/local/lib/pkgconfig to the beginning of the search path for the program
pkg-config. If you cannot find the file anywhere, try to reinstall gtk-2 on your system
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.