zsh-workers
 help / color / mirror / code / Atom feed
* make install in a chroot?
@ 2002-07-03 17:54 Jason Price
  2002-07-03 18:00 ` Clint Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Price @ 2002-07-03 17:54 UTC (permalink / raw)
  To: zsh-workers

I'm trying to build a solaris package for zsh.  The easiest way to do this
is to make a chroot, do the make install into the chroot's /usr/local/, and
then work from there.

The make install step seems to require gcc be accessable.  It does (at
least) the following:

nawk -f ./signames1.awk /usr/include/sys/iso/signal_iso.h >sigtmp.c
gcc -E sigtmp.c >sigtmp.out

I've tried to short circuit the process, and make that file while not
within the chroot, however this didn't work.

First question: why on earth isn't this built in the main 'make' step, or
if it is, why is it rebuilt in the make install step?

Second question: is there an easier way?  (aka am I being stupid?)

Thanks;
Jason


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make install in a chroot?
  2002-07-03 17:54 make install in a chroot? Jason Price
@ 2002-07-03 18:00 ` Clint Adams
  2002-07-03 18:36   ` Jason Price
  0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2002-07-03 18:00 UTC (permalink / raw)
  To: Jason Price; +Cc: zsh-workers

> Second question: is there an easier way?  (aka am I being stupid?)

mkdir /tmp/pkgroot
make install DESTDIR=/tmp/pkgroot


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make install in a chroot?
  2002-07-03 18:00 ` Clint Adams
@ 2002-07-03 18:36   ` Jason Price
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Price @ 2002-07-03 18:36 UTC (permalink / raw)
  To: Clint Adams; +Cc: Jason Price, zsh-workers

On Wed, Jul 03, 2002 at 02:00:25PM -0400, Clint Adams wrote:
> > Second question: is there an easier way?  (aka am I being stupid?)
> mkdir /tmp/pkgroot
> make install DESTDIR=/tmp/pkgroot

Thanks.  It didn't do exactly what I expected, but it did work.  It put the
files in $DESTDIR/usr/local/... rather than $DESTDIR/... but I was able to
work around that.

Thanks;
Jason


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-03 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03 17:54 make install in a chroot? Jason Price
2002-07-03 18:00 ` Clint Adams
2002-07-03 18:36   ` Jason Price

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).