LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-13-2004, 05:29 PM   #1
dnraz
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
checkinstall doesn't build rpms


Hey there, installed checkinstall and got it almost to work.
I build checkinstall itself as rpm and that worked great. then i tried to do the same for gaim-0.82.1 and i have problems:

it says:

Code:
======================== Installation successful ==========================

Copying documentation directory...
./
./README.mingw
./HACKING
./COPYING
./INSTALL
./COPYRIGHT
./README
./ABOUT-NLS
./VERSION
./NEWS
./ChangeLog
./AUTHORS

Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK
cat: /var/tmp/FRGBQhLCeJpjaDaDbeYN/libdirs: No such file or directory

**************************************
**** RPM package creation selected ***
**************************************

Building RPM package... FAILED!

*** Failed to build the package
The logfile looks like this:

Code:
error: line 7: Empty tag: Group:
Building target platforms: i386
Building for target i386
/var/tmp/FRGBQhLCeJpjaDaDbeYN/rpmbuild.log
Any ideas what could be wrong here?

Thanks alot!!

Christoph
 
Old 09-13-2004, 05:56 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The file that controls the building of rpm is the .spec file. Near the top of that file, there are tags for such things as filename, rpm package group and subgroup, etc. From the info you posted, it sounds like you didn't provide that info when prompted by checkinstall to enter it (checkinstall writes it's own rpm spec file and needs that info). Gaim goes into group Productivity and subgroup Networking. Try it again and pay careful attention to the prompts given by checkinstall. I don'
t see any place to enter that info in /etc/checkinstallrc.

Last edited by bigrigdriver; 09-13-2004 at 05:57 PM.
 
Old 09-13-2004, 07:05 PM   #3
dnraz
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 15

Original Poster
Rep: Reputation: 0
you are right, group was empty and i actually didnt put anything for group.....thanks alot!

Code:
1 -  Summary: [ R ]
2 -  Name:    [ gaim ]
3 -  Version: [ 0.82.1 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [  ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ gaim-0.82.1 ]
9 -  Alternate source location: [  ]
can i just choose anything to go in group? what about alternate source location?

thanks so far, u guys have helped me out alot!

Christoph
 
Old 09-13-2004, 07:30 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Use your rpm manager app, whatever it is, to see the names of the groups it lists. Choose one. If you don't like the groups there, create one via checkinstall, and it should be added to the list (I think, I'm not certain). If it bombs again, just use one of the known groups.

Source location will probably create a folder with that name. If you want something else in there, give a different location name at the checkinstall prompt.

Last edited by bigrigdriver; 09-13-2004 at 07:32 PM.
 
Old 09-13-2004, 10:54 PM   #5
dnraz
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 15

Original Poster
Rep: Reputation: 0
OK did that, everything worked fine .... almost.

It is working, but when I tried to install the rpm i got dependencies errors. But I knew I had those packages installed (libgcrypt for gaim), and it didnt give me any errors when I compiled from source.
So I just used the --nodeps flag and it did work fine, since I had the packages.

I was just wondering why it would give me dependencies errors.....

Thanks alot!!

Christoph
 
Old 09-13-2004, 11:34 PM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
For some reason, the checkinstall search routines are not finding the necessary libs. Try editing /etc/checkinstallrc. There is a section named #RPM optional flags. Check the man pages for rpm on how to specify the directory locations for the libs you need, and put them in checkinstallrc in the #RPM optional flags.
 
Old 09-14-2004, 08:14 AM   #7
dnraz
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 15

Original Poster
Rep: Reputation: 0
I will try that later today, thanks so much!!

Christoph
 
  


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
no distro, custom build need help with rpms sideshowrob Linux - Software 3 06-24-2005 04:31 PM
How to build rpms for RHEL4 Updates srpms dfowensby Red Hat 3 05-31-2005 11:08 AM
Fedora and PHP rpms vs. build linux_4_life Linux - Software 2 08-06-2004 11:31 PM
PHP rpms vs. build linux_4_life Linux - Newbie 2 08-06-2004 04:40 PM
Guide to build Mandrake RPMs humaneasy Mandriva 2 05-13-2004 05:06 PM

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

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration