LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-10-2003, 08:41 AM   #1
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Yo Kewpie! Can't get lsdvd to install.


Yeah so I unpacked it and did:

./configure

and it spits out:

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -g ) works... yes
checking whether the C compiler (gcc -g ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for DVDOpen in -ldvdread... no
configure: error: libdvdread not found!

I do have libdvdread installed:

rpm -qa | grep libdvdread

returns:

libdvdread-0.9.4-fr3

So what switches do I have to add to ./configure to make it find libdvdread.
 
Old 11-10-2003, 09:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
After installing libdvdread did you update using ldconfig? Also what directory is it located in? Most of the time it might install to /usr/local/lib but needs to be in /usr/lib. If that's the case, I usually just create a link to it's location, etc.
 
Old 11-10-2003, 10:31 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
locate libdvdread

returns:

/usr/lib/libdvdread.so.3
/usr/lib/libdvdread.so.3.0.0
/usr/share/doc/libdvdread-0.9.4
/usr/share/doc/libdvdread-0.9.4/AUTHORS
/usr/share/doc/libdvdread-0.9.4/COPYING
/usr/share/doc/libdvdread-0.9.4/NEWS
/usr/share/doc/libdvdread-0.9.4/README
/usr/share/doc/libdvdread-0.9.4/TODO

I installed it via apt. I did not update ldconfig because I assumed that rpm took care of that.
 
Old 11-10-2003, 04:08 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Okay I ran:

/sbin/ldconfig

and I'm still getting the errors. Where is acid_kewpie? I thought he would have jumped right on this one.
 
Old 11-12-2003, 10:19 AM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Perhaps its looking for an older version of libdvdread?
 
Old 11-12-2003, 08:19 PM   #6
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
http://rpm.livna.org/redhat/9/i386/RPMS.stable/

There is an RPM for it. I don't use it or know what it is for but I installed it on a RH 9 machine and it went right in.
 
Old 11-13-2003, 03:50 AM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Well I got passed issue #1. I had to install libdvdread-devel for ./configure to work. Now its throwing an error:

bash# perl Makefile.PL

Checking for Gtk2.. failed
-------------------------------------------------------
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 2) line 3.

Gtk2 is needed, it implements the perl bindings to Gtk+2.
The module is called Gtk2-Perl on CPAN or module gnome-perl in the Gnome CVS.
In the future acidrip will be able to run from a command line, so this will not be mandatory.
This has not been implemented yet though.
We need at least version 0.98
-------------------------------------------------------
-------------------------------------------------------
The missing modules can be obtained from CPAN. Visit
<URL:http://www.perl.com/CPAN/> to find a CPAN site near you.
-------------------------------------------------------

Writing Makefile for AcidRip

Running additional test to be sure acidrip will work
test for lsdvd (>=0.9): found
test for MPlayer: found
test for MEncoder: found
test for MP3 support in mencoder: found
Everything looks good here...

Yet again I do have Gtk2 installed.
 
Old 11-23-2003, 01:34 AM   #8
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
I too am having the exact same error. I double checked and Gtk2 is installed, yet not detected during install? Where is the magic button Kewpie? :-) I want to play with acidrip bad...
 
Old 11-23-2003, 08:47 AM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Oh well guess I'll have to settle for dvdrip.
 
Old 12-17-2003, 11:11 AM   #10
thanquol
Member
 
Registered: Aug 2003
Location: Northern Sweden
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
Having same problem...

When I finaly comes to the part when you tryto install acidrip, I get this:
____________________________________________________________
# perl Makefile.PL
Checking for Gtk2.. failed
-------------------------------------------------------
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
... ... ... (and so on)
____________________________________________________________
# slocate Gtk.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Gtk.pm
____________________________________________________________

To me the paths looks quite similar... has anyone solved this?

No anwser at the Forums at Sourceforge, and onthing here (so long)

 
Old 12-17-2003, 11:50 AM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Are you sure you install both Gtk2 and Glib for Gtk2 so acidrip will detect and install? I always suggest to install the source, not RPM, etc.

http://gtk2-perl.sourceforge.net/

You can download the two latest packages from here: http://sourceforge.net/project/showf...group_id=64773

And see the man pages, documentation here for both:

Gtk2: http://gtk2-perl.sourceforge.net/doc/pod/Gtk2.html

Glib: http://gtk2-perl.sourceforge.net/doc/pod/Glib.html

I've installed the latest acidrip on Slackware 9.1 and will be working on the latest Installation Howto for acidrip with the updated packages required, etc for acid_kewpie.

The totally outdated and old install howto can be found at www.jabentley.com/docs/acidrip-howto.html
 
Old 12-17-2003, 04:34 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
"Can't locate Gtk2.pm"
"slocate Gtk.pm"

i'm lost... which bit isn't obvious? ;-)
 
Old 01-01-2004, 10:48 PM   #13
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
O.k. On my third attempt at installing all of this I run into the following problem.

I installed the ExtUtils-Depends and ExtUtils-Pkg and libdvdread and lsdvd and gtk2-perl and so forth, and I have confirmed I have both Gtk2 and Gtk as well the other requirements listed in the Install instructions. Yet I still get the error:

bash# perl Makefile.PL

Checking for Gtk2.. failed
-------------------------------------------------------
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 2) line 3.

Gtk2 is needed, it implements the perl bindings to Gtk+2.
The module is called Gtk2-Perl on CPAN or module gnome-perl in the Gnome CVS.
In the future acidrip will be able to run from a command line, so this will not be mandatory.
This has not been implemented yet though.
We need at least version 0.98
-------------------------------------------------------
-------------------------------------------------------
The missing modules can be obtained from CPAN. Visit
<URL:http://www.perl.com/CPAN/> to find a CPAN site near you.
-------------------------------------------------------

Writing Makefile for AcidRip

Running additional test to be sure acidrip will work
test for lsdvd (>=0.9): found
test for MPlayer: found
test for MEncoder: found
test for MP3 support in mencoder: found
Everything looks good here...

Is there anything I should be doing differently. I spent over 5 hours attempting this and am at my wits end. Where should I look next for the problem? On the safe side I installed every single package on the source dvd that even mensioned Perl or Gtk.
 
Old 01-02-2004, 09:44 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what path is Gtk2.pm on then?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libdvdread and lsdvd johnnydangerous Fedora 6 03-12-2005 04:20 PM
lsdvd - gtk2-perl help please Giallo998 Linux - Newbie 1 11-11-2003 08:13 AM
lsdvd won't compile rickenbacherus Linux - Software 2 08-17-2003 03:16 PM
acid kewpie fragged one General 15 02-03-2003 09:08 AM
acid kewpie... super_me General 9 06-13-2002 03:50 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration