LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot compile / run gtk related applications (https://www.linuxquestions.org/questions/linux-software-2/cannot-compile-run-gtk-related-applications-396507/)

LazyP 12-25-2005 04:05 PM

Cannot compile / run gtk related applications
 
Distro: Slackware 10.2

Problem 1: I need a nice cd-ripper which should be fully configurable from a GUI. I can't compile grip because it depends on gnome which doesn't exist in my system. Someone told me about simplecdrx so I downloaded and untarred the sources but when I run the configure script it ends up like this:

Code:

checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.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 was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path?

What is strange is that I have gtk+1.2.10 and yes gtk-config is in my path. (The config.log is nearly 2800 lines so it's no good).:confused:

Problem 2: I also need a way to convert double-layer DVDs to single layer. acidrip seems to do the job so I compile like:
Code:

perl Makefile.PL
make
make install

Then I run it like:

Code:

acidrip

and I get this:

Code:

Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.8.7/AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/AcidRip/interface.pm line 1.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/AcidRip/acidrip.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/AcidRip/acidrip.pm line 7.
Compilation failed in require at /usr/bin/acidrip line 14.
BEGIN failed--compilation aborted at /usr/bin/acidrip line 14.

During the compilation everything is fine except it says I don't have mp3 support for mencoder but I don't think this has to do with it.

Thanks in advance.

Komakino 12-25-2005 04:44 PM

For the acidrip thing you need to get the GTK2 perl modules. Have a search on CPAN (www.cpan.org).

bathory 12-25-2005 04:51 PM

Problem 1.
I think you must also install the gtk-devel package
Problem 2.
You need to install the perl interface to gtk


All times are GMT -5. The time now is 05:09 PM.