Paul Kraus wrote:

>Ok well after some research it seem that compliing from source is always
>better then rpm's. Lets you get very specific on how you want the
>program setup and more so where it is install (woo who!). How do you
>determin dependencies for source? Thanks.
>
>PK
>
>
>
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>

Well that is the problem...  You can install something that doesn't work 
because it needs something else or like windows games that often 
arrogantly install their own version of DirectX (even though yours may 
be more recent), you may break things.

Some makefiles allow make -n install to look at the files list and then 
you can see if you have any of thise files already there.

Uninstalling is generally impossible unless you have the files list.

Hence the packaging methods like .deb and .rpm .

Better yet is to find the source rpm

it would look like

Xtart-1.1.-6mdk.src.rpm

You can install that as user in your own rpm tree --  say put


mkdir -p ~/rpm
mkdir -p ~/rpm/BUILD
mkdir -p ~/rpm/SOURCES
mkdir -p ~/rpm/SPECS
mkdir -p ~/rpm/RPMS
mkdir -p ~/rpm/SRPMS

And make sure you install _all_ the rpm tools

Then in your home directory

rpm -i Xtart-1.1-6mdk.src.rpm

The source tarballs drop into rpm/SOURCES
the all-important specification of customization drops into /rpm/SPECS

and now you can edit with emacs the .spec file to suit your needs then

rpm -ba Xtart.spec

and if you have exit 0 status, you can pick the binary from the i586 
subdirectory for rpm/RPMS and install it as root with rpm -ivh.

Most alien rpms do _not_ get on the mandrake menus, so if that is 
important pull a couple of mandrake rpms that do get on the menu and 
install them to your rpm build directories and see how it is done.

This is much safer than using the tarballs directly.  There is a full 
howto on it at

http://www.linux-mandrake.com/howtos/mdk-rpm/

Civileme

>


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

Reply via email to