Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Running MDK 9.1, trying to install GTK-Perl for another program, but I'm getting errors about GTK not being found on my system. I read somewhere that putting the GTK directories in my path may help, but I'm not sure what that means? I'm pretty sure GTK packages are installed on my system. The error I get:
Code:
Can't exec "gtk-config": No such file or directory at Makefile.PL line 141.
Package 'gtk' needed but it was not detected on your system.
You may want to force it using --with-gtk-force if you know better than me.
Originally posted by Proud Try going to the Install Software menu item, and then use the search feature to find all packages with gtk in their name. Install those and try again.
Well it's far more likely to work for any GTK related problem. gtk-devel is likely to work but he might be needing some obscure little extra library instead. It's the sledgehammer solution.
Ok, so I got rid of all the error messages except one when trying to perl Makefile.PL.
Code:
Unknown library `gtkhtml'
Can't exec "gdk-pixbuf-config": No such file or directory at Makefile.PL line 141.
Submodule gdkpixbuf is needed to build gnomeprint but it appears
it's misdetected or not selected for compilation.
Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome gnomeprint glade applets.
You can disable the inclusion of a module using --without-pkgname.
If a package is misdetected and you still want it to compile
use --with-pkgname-force.
To disable autodetection of modules use --without-guessing.
is what I got, so then I found libgdk-pixbuf2-devel and its dependencies, installed them, and now I get:
Code:
Unknown library `gtkhtml'
Submodule gdkpixbuf is needed to build gnomeprint but it appears
it's misdetected or not selected for compilation.
Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome gnomeprint glade applets.
You can disable the inclusion of a module using --without-pkgname.
If a package is misdetected and you still want it to compile
use --with-pkgname-force.
To disable autodetection of modules use --without-guessing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.