LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   checkinstall doesn't build rpms (https://www.linuxquestions.org/questions/linux-software-2/checkinstall-doesn%27t-build-rpms-230231/)

dnraz 09-13-2004 05:29 PM

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

bigrigdriver 09-13-2004 05:56 PM

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.

dnraz 09-13-2004 07:05 PM

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

bigrigdriver 09-13-2004 07:30 PM

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.

dnraz 09-13-2004 10:54 PM

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

bigrigdriver 09-13-2004 11:34 PM

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.

dnraz 09-14-2004 08:14 AM

I will try that later today, thanks so much!!

Christoph


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