LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Acidrip refuses to compile, asks for FVWM stuff (https://www.linuxquestions.org/questions/linux-software-2/acidrip-refuses-to-compile-asks-for-fvwm-stuff-260069/)

DaneM 11-28-2004 04:08 AM

Acidrip refuses to compile, asks for FVWM stuff
 
Hello everybody. I've recently been trying to get AcidRip to work. When I go into its source directory and type "./acidrip" this is what I get:

Code:

Can't locate FVWM/Module/Toolkit.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
Compilation failed in require at AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at AcidRip/interface.pm line 1.
Compilation failed in require at AcidRip/acidrip.pm line 7.
BEGIN failed--compilation aborted at AcidRip/acidrip.pm line 7.
Compilation failed in require at ./acidrip line 11.
BEGIN failed--compilation aborted at ./acidrip line 11.

I've installed Gtk+, Gtk2 and Gtk-Perl as well as full installations of KDE, Gnome and FVWM from source and I still can't get past this step. Has anybody got an idea? Your help would be well-appreciated.

--Dane

trickykid 11-28-2004 08:24 AM

Why are you trying to run it.. you need to compile it as well.

perl MakeFile.pl
make
su -
make install

And don't forget to install lsdvd that comes along with it.

acid_kewpie 11-28-2004 08:25 AM

and for the record... acidrip ha absolutely nothingwhatsoeveratallinthelisghesteverer to do with fvwm

DaneM 11-30-2004 04:00 AM

Thank-you all for you quick replies. I did as trickykid suggested and typed "perl Makefile.PL ; make ; make install" and then typed "acidrip" from a console window in KDE and got the following output:

Code:

Can't locate FVWM/Module/Toolkit.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/AcidRip/interface.pm line 1.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/AcidRip/acidrip.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/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.

Has anybody got any suggestions? Thanks for your help.

--Dane

acid_kewpie 11-30-2004 07:47 AM

Well this isn't an error coming from acidrip, but from gtk2.pm. Where did you get this package from? if it's not an official build then get an alternative version. if ti's the real one... well erm... what does line 22 of gtk.pm actually say?

trickykid 11-30-2004 11:09 AM

Quote:

Originally posted by DaneM
Thank-you all for you quick replies. I did as trickykid suggested and typed "perl Makefile.PL ; make ; make install" and then typed "acidrip" from a console window in KDE and got the following output:

Code:

Can't locate FVWM/Module/Toolkit.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/AcidRip/interface.pm line 1.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/AcidRip/acidrip.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/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.

Has anybody got any suggestions? Thanks for your help.

--Dane

Are you using the executable from the source directory still? Do a locate on acidrip and make sure it installed to somewhere like /usr/local/bin or /usr/bin and try to run it from there. The error like acid mentioned is certainly not one from acidrip itself.

DaneM 12-01-2004 01:42 AM

Line 22 of /usr/lib/perl5/5.8.4/Gtk2.pm says:

Code:

use FVWM::Module::Toolkit qw(base Gtk2 Gtk2::Helper);
When I type "which acidrip" it says it's located in /usr/bin/acidrip.

Come to think of it I may have gotten Gtk2 as part of another package of stuff. I'll track down and install a clean set. I got acidrip from acid_kewpie's page as referenced in a thread on LQ talking about dvd::rip, so I imagine that at least acidrip is from a good source. I'll get back to you after I've reinstalled Gtk2.

Thanks for your time.

--Dane

acid_kewpie 12-01-2004 07:23 AM

i found that package online. and i think it's just an unfortunately named unrelated perl module. it is not actually gtk2-perl at all.

DaneM 12-01-2004 07:24 AM

Alright...I've got all of the Gtk stuff reinstalled except for Gtk-Perl. I've tried installing versions .6123, .7008, and .7009 without success. When I go into the build directory and type "perl Makefile.PL" I get the following:

Code:

Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Can't exec "libglade-config": No such file or directory at Makefile.PL line 141.
Submodule gnome is needed to build applets but it appears
it's misdetected or not selected for compilation.
Available modules: gtk gtkglarea gdkimlib gdkpixbuf gtkhtml gtkxmhtml gnome glade applets gnomeprint.

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.

When I type "perl Makefile.PL --with-gnome-force" it makes the Makefile alright but when I type "make" it goes for several minutes and ends with:

Code:

cc: xs/GtkMenuBar.o: No such file or directory
cc: xs/GtkCheckMenuItem.o: No such file or directory
cc: xs/Gtk-1.2.o: No such file or directory
cc: xs/GtkMenuItem.o: No such file or directory
cc: xs/GtkCombo.o: No such file or directory
cc: xs/GtkToggleButton.o: No such file or directory
cc: xs/GtkCTree.o: No such file or directory
cc: xs/GtkRange.o: No such file or directory
cc: xs/GtkAlignment.o: No such file or directory
cc: xs/GtkRadioButton.o: No such file or directory
cc: xs/GtkLabel.o: No such file or directory
cc: xs/GtkPreview.o: No such file or directory
cc: xs/GtkMenuShell.o: No such file or directory
cc: xs/GtkAspectFrame.o: No such file or directory
cc: xs/GtkObject.o: No such file or directory
cc: xs/GtkVScrollbar.o: No such file or directory
cc: xs/GtkFileSelection.o: No such file or directory
cc: xs/GtkHRuler.o: No such file or directory
cc: xs/GtkArrow.o: No such file or directory
cc: xs/GtkSocket.o: No such file or directory
cc: xs/GtkViewport.o: No such file or directory
cc: xs/GtkBox.o: No such file or directory
cc: xs/GtkEntry.o: No such file or directory
cc: xs/GtkTree.o: No such file or directory
cc: xs/GtkList.o: No such file or directory
cc: xs/GtkBin.o: No such file or directory
cc: xs/GtkVRuler.o: No such file or directory
cc: xs/GtkScrollbar.o: No such file or directory
cc: xs/GtkFontSelection.o: No such file or directory
cc: xs/GtkSelection.o: No such file or directory
cc: xs/GtkItem.o: No such file or directory
cc: xs/GtkItemFactory.o: No such file or directory
cc: xs/GtkOptionMenu.o: No such file or directory
cc: xs/GtkDrawingArea.o: No such file or directory
cc: xs/GtkAccelGroup.o: No such file or directory
cc: xs/GtkWindow.o: No such file or directory
cc: xs/GtkTooltips.o: No such file or directory
cc: xs/GtkStatusbar.o: No such file or directory
cc: xs/GtkEventBox.o: No such file or directory
cc: xs/GtkTreeItem.o: No such file or directory
cc: xs/GtkCalendar.o: No such file or directory
cc: xs/GtkImage.o: No such file or directory
cc: xs/GtkPaned.o: No such file or directory
cc: xs/GtkFrame.o: No such file or directory
cc: xs/GtkPlug.o: No such file or directory
cc: xs/GtkHScale.o: No such file or directory
cc: xs/GtkVPaned.o: No such file or directory
cc: xs/GtkSeparator.o: No such file or directory
cc: xs/GtkScale.o: No such file or directory
cc: xs/GtkAccelLabel.o: No such file or directory
cc: xs/GtkProgressBar-1.1.o: No such file or directory
cc: xs/GtkToolbar-1.1.6.o: No such file or directory
cc: xs/GtkCList-1.2.o: No such file or directory
cc: xs/GtkContainer.o: No such file or directory
cc: xs/GtkMenu.o: No such file or directory
cc: xs/GtkNotebook.o: No such file or directory
cc: xs/GtkHBox.o: No such file or directory
cc: xs/GtkToolbar.o: No such file or directory
cc: xs/GtkCList.o: No such file or directory
cc: xs/GtkTipsQuery.o: No such file or directory
cc: xs/GtkCurve.o: No such file or directory
cc: xs/GtkHScrollbar.o: No such file or directory
cc: xs/GtkVButtonBox.o: No such file or directory
cc: xs/Gtk-1.1.o: No such file or directory
cc: xs/GtkCheckButton.o: No such file or directory
cc: xs/GtkHPaned.o: No such file or directory
cc: xs/Gtk.o: No such file or directory
cc: xs/GtkVScale.o: No such file or directory
cc: xs/GtkTable.o: No such file or directory
cc: xs/GtkProgressBar.o: No such file or directory
cc: xs/GtkDialog.o: No such file or directory
cc: xs/GtkPacker.o: No such file or directory
cc: xs/GtkData.o: No such file or directory
cc: xs/GtkVBox.o: No such file or directory
cc: xs/GtkText.o: No such file or directory
cc: xs/GtkHandleBox.o: No such file or directory
cc: xs/GtkHButtonBox.o: No such file or directory
cc: xs/GtkInputDialog.o: No such file or directory
cc: xs/GtkRuler.o: No such file or directory
cc: xs/GtkColorSelectionDialog.o: No such file or directory
cc: xs/GtkFixed.o: No such file or directory
cc: xs/GtkTearoffMenuItem.o: No such file or directory
cc: xs/GtkFontSelectionDialog.o: No such file or directory
cc: xs/GtkLayout.o: No such file or directory
cc: xs/GtkAdjustment.o: No such file or directory
cc: xs/GtkPixmap.o: No such file or directory
cc: xs/GtkColorSelection.o: No such file or directory
cc: xs/GtkButtonBox.o: No such file or directory
cc: xs/GtkVSeparator.o: No such file or directory
cc: xs/GtkScrolledWindow.o: No such file or directory
cc: xs/GtkGammaCurve.o: No such file or directory
cc: xs/GtkProgress.o: No such file or directory
cc: xs/GtkListItem.o: No such file or directory
cc: xs/GtkButton.o: No such file or directory
cc: xs/GtkMisc.o: No such file or directory
cc: xs/GtkSpinButton.o: No such file or directory
cc: xs/GtkHSeparator.o: No such file or directory
cc: xs/GtkRadioMenuItem.o: No such file or directory
cc: xs/GtkEditable.o: No such file or directory
cc: xs/GtkInvisible.o: No such file or directory
cc: xs/GtkWidget.o: No such file or directory
cc: build/PerlGtkExt.o: No such file or directory
cc: build/GtkDefs.o: No such file or directory
make[1]: *** [../blib/arch/auto/Gtk/Gtk.so] Error 1
make[1]: Leaving directory `/home/dane/tmp/Gtk-Perl-0.7008/Gtk'
make: *** [subdirs] Error 2

I've got a Slackware package of Gtk-perl but that's what I used before that didn't work. Does anybody have any ideas as to how I can get this to install? I'm hoping that once it's installed I'll be able to start using Acidrip :-) .

Y'all have a good one.

--Dane

acid_kewpie 12-01-2004 07:27 AM

ok, well gtk2-perl is NOT gtk-perl. they are totally different packages. http://gtk2-perl.sf.net Acidrip stopped using gtk-perl about 18 months ago.

DaneM 12-06-2004 12:51 AM

Thanks for the replies. I've downloaded Gtk2-Perl from the website you gave me and am in the process of compiling and installing all the modules. I've installed both ExecUtils and glibc 1.060 and 1.071 and I've been trying to install all the other stuff. Upon entering the directory for Gnome2-1.020 and typing "perl Makefile.PL" I get the following:

Code:

Can't locate FVWM/Module/Toolkit.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
Compilation failed in require at (eval 7) line 1.
BEGIN failed--compilation aborted at (eval 7) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found (Gnome2::Canvas not installed, Gnome2::VFS not installed, Gtk2 1.00)

              Please install these modules first and rerun 'perl Makefile.PL'.

So I went into the Gnome2-Canvas-1.002 and typed "perl Makefile.PL" and got this:

Code:

Can't locate FVWM/Module/Toolkit.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.4/Gtk2.pm line 22.
Compilation failed in require at (eval 7) line 1.
BEGIN failed--compilation aborted at (eval 7) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found (Gtk2 1.040)

              Please install these modules first and rerun 'perl Makefile.PL'.

The same happens within the Gnome2-VFS-1.011 directory. It previously asked for Gtk2 version 1.060, which I installed. I went online and downloaded and installed Gtk2 1.040 and I'm still getting the same errors that I've mentioned. Do any of you have an idea on how to solve this? I appreciate all your help.

--Dane

acid_kewpie 12-06-2004 02:17 PM

this FVWM stuff is still getting in the way.. very odd. acidrip does NOT need gnome2 bindings, and gtk2-perl should install fine without them, so ignore that package, i don't even have it installed, oly gtk2-perl and glib-perl.

the fvwm error is still the original error as above, so gtk2-perl is NOT being picked up by perl at all, and instaed that odd fvwm stub is getting there. i'd say delete that fle and just get gtk2-perl installed correctly.

DaneM 12-20-2004 05:40 PM

Thanks for the tip, Acid. Sorry for the slow reply; life was getting in the way of Linux :-p. I tried what you suggested and deleted the .pm files that it kept referencing and after that I was able to get most of the Gtk2-Perl packages installed without a hitch. I removed and reinstalled acidrip just for good measure and voila! It runs without any problems (that I've discovered). Thanks for the help and the sweet program!

--Dane


All times are GMT -5. The time now is 04:01 AM.