A topic for a CLUG meeting perhaps? How to use this '--prefix' thing and why it's a good idea. Things you need to prepare beforehand. Traps for young players. etc..
Help some of us newbies to move from the 'chaff' category, as Volker puts it, and into the 'good programmers' (or in my case, 'good installers') category. Thanks - I'll definitely try to make it to that meeting. Yuri On Thu, 21 Aug 2003 09:45, Volker Kuhlmann wrote: > > > How many of us blindly run "make; make install" as root > > > for certain apps? I know I do. > > Not me. > > You create a separate user account, and compile in there, with > > ./configure --prefix /tmp/blabla > > Then you use that same user account to test-run the software from > /tmp/blabla. If you decide to keep it, you make it into a decent package > anyway (I'm sure it's only 1 command on gentoo). You compile it with > > ./configure --prefix /usr > make prefix=/tmp/pck install > > Here the good programmers separate from the chaff - it's amazing how > many people who are professionally trained to take care of all > eventualities don't bother creating /usr/bin before copying into it. I > also get irate with programmers who insist on wanting to *COMPILE FOR* > /usr, but then don't see why someone would want to *INSTALL IN* > /tmp/pck. Making Linux packages is just one reason. > > Volker
