- From: Bryan McLellan <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Trying to build omnibus installer on FreeBSD
- Date: Thu, 13 Jun 2013 11:21:54 -0400
I'm working on getting the FreeBSD chef-client omnibus builds into our
build system (jenkins on openstack) at Opscode.
On Tue, Feb 5, 2013 at 3:45 AM,
<
>
wrote:
>
The main problem is that the thing tries to build all the stuff with
>
make -j2, which breaks on FreeBSD for some software.
>
IIRC, for libedit you have to use one of the patches provided by
>
the port (/usr/ports/devel/libedit)
I ran into this ncurses build error while trying to avoid the
/usr/local/bin/make -> gmake link on FreeBSD as it breaks the current
package provider which uses -V in BSD make (path_sanity puts
/usr/local/ in the front of the path).
It looks like GNU make runs a separate shell for each command so you
don't need to change back to the parent directory when you're doing
this:
cd foo && make all
cd bar && make all
cd zed && make all
BSD make will do the same thing by default, UNLESS you use -j, in
which case you need to use -Bj. From the man page:
-B Try to be backwards compatible by executing a single shell per
command and by executing the commands to make the sources of a
dependency line in sequence. This is turned on by default unless
-j is used.
Bryan
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Trying to build omnibus installer on FreeBSD, Bryan McLellan, 06/13/2013
Archive powered by MHonArc 2.6.16.