LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper
User Name
Password
Yoper This forum is for the discussion of Yoper Linux.

Notices


Reply
  Search this Thread
Old 01-09-2005, 07:10 PM   #1
psteege
LQ Newbie
 
Registered: May 2002
Location: Warrenton, VA USA
Posts: 13

Rep: Reputation: 0
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
 
Old 01-09-2005, 08:51 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 01-09-2005, 09:59 PM   #3
psteege
LQ Newbie
 
Registered: May 2002
Location: Warrenton, VA USA
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 01-10-2005, 08:23 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
  


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
sms program and database in linux web program in windows.. does not see each other.. keikun_naruchan Programming 0 07-06-2005 02:40 AM
Could not add app to the application database... iammike Ubuntu 3 05-19-2005 06:05 AM
help Compiled kernel destroyed system-config-packages database bvknapp Fedora 1 03-03-2005 12:06 PM
how can I add a tarball instalation to the rpm database? mcastrillo Linux - Software 1 02-11-2005 11:26 AM
RPM vs compiled source Yell0w_c0w Linux - Software 2 03-09-2004 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper

All times are GMT -5. The time now is 08:22 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