discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making Packages


From: Nicola Pero
Subject: Re: Making Packages
Date: Sat, 7 Oct 2006 00:48:12 +0200 (CEST)

Thanks ... here are instructions on how you can currently build everything
into a local /tmp/gnustep directory to prepare your package.

1. make sure the environment is clean; there is no GNUstep visible,
no /etc/GNUstep/GNUstep.conf etc

2. build/install gnustep-make:

cd core/make
./configure --disable-importing-config-file
make
make install DESTDIR=/tmp/gnustep

at this point, you have gnustep-make installed into
/tmp/gnustep/System/Library/Makefiles;
the distribution GNUstep.conf will be in
/tmp/gnustep/etc/GNUstep/GNUstep.conf.

3. create a temporary local GNUstep.conf file containing:

GNUSTEP_SYSTEM_ROOT=/tmp/gnustep/usr/GNUstep/System
GNUSTEP_LOCAL_ROOT=/tmp/gnustep/usr/GNUstep/Local

Let's say this file is in /tmp/GNUstep.conf

export GNUSTEP_CONFIG_FILE=/tmp/GNUstep.conf
. /tmp/gnustep/usr/GNUstep/System/Library/Makefiles/GNUstep.sh

4. build and install gnustep-base

cd core/base
./configure --with-default-config=/tmp/gnustep/etc/GNUstep/GNUstep.conf
make
make install

at this point, you have gnustep-base and gnustep-make installed in
/tmp/gnustep/

5. build and install any other package you want

To install any other package, you can now do --

cd any_other_gnustep_package
make
make install

And that's it. ;-)

Sorry if it's a bit sketchy, I'm sure you can figure it out though.

If we complete the new DESTDIR support, it might all become a bit simpler.
:-)

Thanks



-----Original Message-----
From: "Stefan Bidigaray" <stefanbidi@gmail.com>
Sent: Saturday, October 7, 2006 12:34 am
To:
Cc: discuss-gnustep@gnu.org
Subject: Re: Making Packages

On 10/6/06, Richard Frith-Macdonald <richard@tiptree.demon.co.uk> wrote:
Support for DESTDIR= was only added to gnustep-make in SVN about a
week ago.  Before that special_prefix= should have done the same job.


Well, I've been at it since 1:00pm (it's now 6:30pm).  Appearantly
special_prefix on works with gnustep-make, but not with any other package
(-base, -gui and -back).  I actually haven't gotten to -gui and -back yet
since I've been trying to figure out how to do -base.  Last time I got it to
install to /tmp/gnustep-core but for some reason when I went to build -gui
it exploded saying some function wasn't defined (a missing .h file).  I'll
keep trying it, but I think it would be really nice if $DESTDIR (or
something) could be included on all the packages, not just -make.

Stefan
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep








reply via email to

[Prev in Thread] Current Thread [Next in Thread]