On Wed, 12 Feb 2003 11:19:42 +0000
Derek Jennings <[EMAIL PROTECTED]> wrote:

> You need to run checkinstall as root if you want it to install the RPM, and 
> you need to have the directories /usr/src/RPM/RPMS/i386  i486  i586  i686  
> existing  (That is where the RPM will be stored)
> 
> 
> You do not need the 'make install' phase. That is replaced by checkinstall. 
> Otherwise as you correctly point out you are double installing.
> 
> derek
> 
> 
ok i was vague sorry my bad
source was extracted to /home/jerry/xarchon-0.50
ran ./configure --prefix=/usr
ran make
ran sudo checkinstall -t rpm 

it ran the "make install" not me (i didn't specify that before sorry) and installed 
the program from source tarball.
then it built the rpm and tried to install it (double installing) and gave me the 
errors, putting the rpm in ~/RPM/RPMS/i386 instead of /usr/src/RPM/RPMS/i386 (all the 
required directories for /usr/src/RPM are there, I double checked it against the howto 
before trying this <wink>)

so as far as where it put it (in ~/RPM/RPMS/i386 instead of /usr/src/RPM/RPMS/i386)... 
i think i should have moved the source tarball to /usr/src/RPM/SOURCES and done it 
from there (yes? no?)

so i tried that.
this time i changed to root instead of using sudo.

same errors but this time it put it in /root/RPM/RPMS/i386 (hmmm)

still built a valid rpm package, but not in the right place.  so i'm wondering if i 
need to set a variable for it since it seems to be putting it into the tree of 
whatever user i am when running it.  (i'd built the trees prior to writing the email 
so i don't think checkinstall actually made any directories...)

Seems a bit odd that it's still trying to install it twice.  That's why i'm thinking 
i'm missing an option when running checkinstall (i'll look into it i'm sure that's 
what i'm missing) might also be an option i'm missing when running checkinstall to 
tell it where i want the rpm to be put or where to read it from once it's built.  I 
don't see a manpage for checkinstall so i just went off the checkinstall --help and 
gave it a whirl.

thx for your help

Jerry.

oops sorry for writing a book lol

-- 
-- 
Registered Linux user # 300600
Registered Linux machine # 185855
at http://counter.li.org
(¬_
//\
V_/_

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to