LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-22-2006, 10:59 AM   #1
brianbahr
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: Disabled
rioutil rpm trouble


Hello all,

I have a Rio S-series mp3 player that I would like to get working with Suse 9.3. I have been attempted to build a rioutil rpm, per the instructions in the readme file:

[HTML]./configure --with-usbdevfs
make dist
cp rioutil-1.5.0br3.tar.gz /usr/src/packages/SOURCES
rpmbuild -bb rioutil-usbdevfs.spec[/HTML]


However, I have had no success, despite multiple attempts and numerous google searches. Things seem to work through the last step, where I get:

[HTML]source='rio.c' object='rio.lo' libtool=yes \
depfile='.deps/rio.Plo' tmpdepfile='.deps/rio.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -c -o rio.lo `test -f 'rio.c' || echo './'`rio.c
libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
Fatal configuration error. See the libtool docs for more information.
make[1]: *** [rio.lo] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/rioutil-1.5.0br3/librioutil'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.62885 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.62885 (%build)[/HTML]

Whatever is going on here is over this newbie's head. Thank you in advance for your help; please let me know if there is any other information you need.

Thanks,
Brian
 
Old 05-24-2006, 02:55 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
could you check that you can actually compile(and install) the program you want to make rpm of ,before trying to use rpmbuild to make a rpm package!
 
Old 05-24-2006, 10:41 PM   #3
brianbahr
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: Disabled
rch,

I am not on my suse machine right now, but I can tell you that "make" fails with an error similar to that below; it also includes:

[HTML]libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
Fatal configuration error. See the libtool docs for more information.[/HTML]

Not sure what this means, though. I will run it tomorrow and post the error message. Thanks for your interest!

Brian
 
Old 05-25-2006, 08:33 AM   #4
brianbahr
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: Disabled
Here is the error it gives me at the make command:

[HTML]Making all in librioutil
make[1]: Entering directory `/home/brianbahr/downloads/rioutil-1.5.0br3/librioutil'
source='rio.c' object='rio.lo' libtool=yes \
depfile='.deps/rio.Plo' tmpdepfile='.deps/rio.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -c -o rio.lo `test -f 'rio.c' || echo './'`rio.c
libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
Fatal configuration error. See the libtool docs for more information.
make[1]: *** [rio.lo] Error 1
make[1]: Leaving directory `/home/brianbahr/downloads/rioutil-1.5.0br3/librioutil'
make: *** [all-recursive] Error 1
[/HTML]

I've done some searching and found a person who seems to be having the exact same problem at

http://www.rioworld.org/yabbse/index...;threadid=6647

Any assistance is greatly appreciated!!!

Brian
 
Old 05-26-2006, 02:59 AM   #5
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
try compiling again.
in the source directory do
autoconf
after autoconf
do
./configure
make && make install
if everything works out
then try building the rpm package.
 
Old 05-27-2006, 10:11 AM   #6
brianbahr
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: Disabled
Tried automake command, but once again make failed. Gave the following error message:

[HTML]Making all in librioutil
make[1]: Entering directory `/home/brianbahr/downloads/rioutil-1.5.0br3/librioutil'
source='rio.c' object='rio.lo' libtool=yes \
depfile='.deps/rio.Plo' tmpdepfile='.deps/rio.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -c -o rio.lo `test -f 'rio.c' || echo './'`rio.c
libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
Fatal configuration error. See the libtool docs for more information.
make[1]: *** [rio.lo] Error 1
make[1]: Leaving directory `/home/brianbahr/downloads/rioutil-1.5.0br3/librioutil'
make: *** [all-recursive] Error 1[/HTML]

What do these errors mean? Any other ideas?

Thanks for all your help!!

Brian
 
Old 05-27-2006, 11:17 AM   #7
brianbahr
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: Disabled
It works!!!

Here's how I did it:

libtoolize --force
./configure --with-usbdevfs
make
make install

So far everything works great. Thanks for your help rch!

Brian
 
  


Reply



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
Trouble Compiling RioUtil timswim78 Linux - Software 3 02-28-2005 07:59 PM
.RPM Trouble - .rpm was not found on the medium Sporadic SUSE / openSUSE 8 12-02-2004 05:49 PM
RPM trouble coolfrog Linux - General 7 10-06-2004 05:23 PM
odd problem with usbdevfs, rioutil, and my Rio S11 rcrules Linux - General 3 03-11-2004 10:39 AM
rpm trouble johan grav Linux - Software 3 03-02-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 AM.

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
Open Source Consulting | Domain Registration