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


On Wednesday 12 Feb 2003 11:03 am, Jerry Barton wrote:
> On Wed, 12 Feb 2003 10:11:05 +0000
>
> Derek Jennings <[EMAIL PROTECTED]> wrote:
> > An RPM needs a spec file telling it how the files in an application are
> > to be treated.
> >
> > Here is the Mandrake guide to making RPMs
> > http://www.mandrakelinux.com/howtos/mdk-rpm/
> >
> > An easy way to make an RPM from a tarball is using the checkinstall
> > package (I think checkinstall is in contrib)
> > http://asic-linux.com.mx/~izto/checkinstall/
> > Compile your tarball with './Configure' and 'make' as normal and then run
> > checkinstall. It will create an RPM for you and install it.
> >
> > derek
> >
> > --
> > ----------------------------------
> > www.jennings.homelinux.net
>
> derek:
>
> Thanks for the tip on checkinstall :)  i'm trying it now (getting errors
> though...)  it installs the source ok but building the rpm gives errors.
>
> **************************************
> **** RPM package creation selected ***
> **************************************
>
> Building RPM package...OK
>
> Installing RPM package... FAILED!
>
> *** Failed to install the package
>
> Do you want to see the log file?  [y]: y
>
> (in logfile i get the error: message below)
>
> Erasing temporary files...OK
>
> Writing backup package...OK
>
> Deleting temp dir...OK
>
>
>
> error: open of /usr/src/RPM/RPMS/i386/xarchon-0.50-1.i386.rpm failed: No
> such file or directory
>
> )
>
> now... i have setup an RPM tree under my /home/jerry directory and went
> digging around there and voila!  there it was!  guess i need to either
> build this from /usr/src or define a variable somewhere... but really i
> don't see why it would install the source using make install then install
> the rpm... seems kinda like it's double-installing.  (maybe i'm missing an
> option)
>
> But... the rpm built so it's all cool!
>
> hey thanks again :)
>
> Jerry
>
>
>
> THANKS AGAIN!
>
> Jerry

-- 
----------------------------------
www.jennings.homelinux.net

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

Reply via email to