On 8/13/2014 4:57 PM, PGNd wrote:
> I'm following
> 
>   http://shorewall.net/Build.html
> 
> to set up a 1st build-from-src.
> 
> Pulling sources
> 
>       cd /work/SW-BUILD
>        git clone git://git.code.sf.net/p/shorewall/code
>        git clone git://git.code.sf.net/p/shorewall/tools
>        git clone git://git.code.sf.net/p/shorewall/release
> 
> I've edited
> 
>       /work/SW-BUILD/tools/build/build46
>               ...
>               
> STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh5/1.78.1/xhtml/docbook.xsl
>               LOGDIR=$PWD
>               RPMDIR=~/rpm/
>               DIR=$PWD
>               GIT=/work/SW-BUILD/code
>               ...
> 
> Checking recent tags
> 
>       git -C code tag | grep 4.6.3
>               4.6.3-Beta1
>               4.6.3-Beta2
> 
> I'd now like to build SW ver == 4.6.3-Beta2
> 
> I create a build dir
> 
>       mkdir -p /work/SW-BUILD/BUILD/4.6.3-Beta2
>       cd       /work/SW-BUILD/BUILD/4.6.3-Beta2
> 
> enter and exec
> 
>       /work/SW-BUILD/tools/build/build46 -cil6L 4.6.3-Beta2
> 
> which returns
> 
>       Arguments are 4.6.3-Beta2
>       Build of Shorewall 4.6.3-Beta2 on Wed Aug 13 16:28:32 PDT 2014
>       Distribution directory is /work/SW-BUILD/BUILD/4.6.3-Beta2
>       ERROR: /work/SW-BUILD/BUILD/4.6.3-Beta2 does not appear to be a 
> Shorewall build directory
> 
> this appears to arise from
> 
>       grep "does not appear to be a Shorewall build directory" 
> ./tools/build/build46
>               [ -f shorewall-pkg.config ] || { echo "ERROR: $DIR does not 
> appear to be a Shorewall build directory"; exit 1; }
> 
> That file neither exists in the sources
> 
>       find . | grep shorewall-pkg.config
>               (empty)
> 
> nor is there any additional mention of 'shorewall-pkg.config' within any of 
> the sources' files.
> 
> There's no documentation, or mention, of it on the wiki, either, according to 
> its site search.
> 
> How is a "Shorewall build directory" properly created & set up, given the 
> absence of that file?  Create or retrive the file, or fix/modify the steps 
> I'm undertaking?

Simply create an empty file with that name.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to