On Thu, 16 Oct 2003 10:25:21 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:
> On Wed, 15 Oct 2003 16:09:16 -0400 (EDT) Richard Welty > <[EMAIL PROTECTED]> wrote: > >> On Wed, 15 Oct 2003 22:34:25 +0300 (EEST) Nerijus Baliunas >> <[EMAIL PROTECTED]> wrote: >> >>> You didn't do 'make install'. >> >> i've been avoiding that, trying to avoid messing up my mostly rpm >> based laptop. if the only cost of not doing make install is missing >> one icon, i can live with that. > > You can pass --prefix=/somewhere/else parameter to configure. It will > install all files under that directory. You might also build a Mahogany RPM and install that. It makes rolling back much easier if a version doesn't work out. For now I'm building statically, but I intend to try dynamic or semistatic soon. # Where things are and versions wx=~/projects/wxWindows/gtk-pre-rpm M=~/projects/Mahogany rr=~/projects/rpm_root ver=0.66 rel=macs.$(date '+%Y%m%d') # First make a version of wxGTK ready of including in the RPM cd $wx rm -rf .deps * tlog.sh ../wxWindows/configure --disable-shared --disable-threads \ --disable-joystick --without-expat tlog.sh make # Create Mahogany source archive and .spec file # The base directory mahogany-0.66 so the tar file structure is correct cd $M tar cfj $rr/SOURCES/mahogany-$ver.tar.bz2 --exclude=CVS \ --exclude=.cvsignore mahogany-$ver sed -e "s/^\(%define VERSION\) .*/\1 $ver/" \ -e "s/^\(%define RELEASE\) .*/\1 $rel/" \ mahogany-$ver/redhat/M.spec > $rr/SPECS/M-$ver-$rel.spec # Build Mahogany RPM using special wxGTK cd $rr # export CONFIG_FLAGS="--with-wxdir=$wx --with-modules=dynamic" export CONFIG_FLAGS="--with-wxdir=$wx --with-modules=static" tlog.sh rpmbuild -ba SPECS/M-$ver-$rel.spec -- Mac :}) ** I usually forward private questions to the appropriate mail list. ** Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers