LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Yoper (https://www.linuxquestions.org/questions/yoper-57/)
-   -   How to add compiled program to rpm database (https://www.linuxquestions.org/questions/yoper-57/how-to-add-compiled-program-to-rpm-database-275839/)

psteege 01-09-2005 06:10 PM

How to add compiled program to rpm database
 
I compiled IceWM so I could get a version later than what was in the apt-get source list repository.

Now when I try to add other icewm related rpm's, it says I don't have icewm installed.

How can I add a program I manually compile, to the rpm database in my computer.

Regards,

Phil

qwijibow 01-09-2005 07:51 PM

use "checkinstall"
checkinstall builds source code as rpm packages,

after you install checkinstall, you can install source code with the commands...
Code:

./configure
make
checkinstall

i cant remember the homepage, google for it.

psteege 01-09-2005 08:59 PM

qwijibow

Thanks for the reply.
I went to the checkinstall website and read up on it and it seemed to be my answer.

I loaded checkinstall, and ran it inside my icewm-1.2.19 src directory, but it complained about not being able to find a SOURCES directory.
I googled and found that my SOURCES error was because I did not have rpm-build package installed.

When I try to install rpm-build I get all kind of conflict errors as follows:

downloads # rpm -ifvh rpm-build-4.3.1-1.fc2.i386.rpm
Preparing... ########################################### [100%]
file /usr/lib/rpm/rpmb from install of rpm-build-4.3.1-1.fc2 conflicts with file from package rpm-4.3.2-1
file /usr/share/man/man8/rpmbuild.8.gz from install of rpm-build-4.3.1-1.fc2 conflicts with file from package rpm-4.3.2-1
file /usr/share/man/man8/rpmdeps.8.gz from install of rpm-build-4.3.1-1.fc2 conflicts with file from package rpm-4.3.2-1

I don't want to play the rpm dependencies game, which is why I left rpm distro's for a while and went to Gentoo, so I am going to remove icewm-1.2.19 and load the yoper repository package 1.2.16 and see if that helps.

Thanks again for the assistance.

Phil

qwijibow 01-10-2005 07:23 AM

Where did you get the rpm-build RPM ?
be sure to use rpm's from the install disks wherever possable.

the rpms on the install disk will have been pre-tested for conflicts.

I started out wirh redhat / fedora and moved to gentoo... and im still here, gentoo rocks.


All times are GMT -5. The time now is 09:53 PM.