Re: boost-1.39.0. efforts

2009-05-09 Thread Andrej Elizarov
Wonderfull,  need some tests with boost_test (funny, ha?))
Work almost done, in one-two days port will be ready for testing.


2009/5/8 Rolf Sommerhalder rolf.sommerhal...@alumni.ethz.ch

  I'd made some effort to update quite old port of boost,

 Great - I am looking forward to help with testing it. A preliminary
 port of gnuradio is rotting in my tree, partially because it depends
 on a more recent boost than is currently in ports.

 Rolf



Re: boost-1.39.0. efforts

2009-05-07 Thread Andrej Elizarov

 Remove the quotes.  Otherwise it gets treated as one argument by the
 shell since the variable contains the quotes.


Oh, thanks. That's it.


Re: boost-1.39.0. efforts

2009-05-07 Thread Rolf Sommerhalder
 I'd made some effort to update quite old port of boost,

Great - I am looking forward to help with testing it. A preliminary
port of gnuradio is rotting in my tree, partially because it depends
on a more recent boost than is currently in ports.

Rolf



Re: boost-1.39.0. efforts

2009-05-06 Thread Stuart Henderson
On 2009/05/06 06:45, Andrej Elizarov wrote:
 First, to configure boost there is bootstrap.sh, which one compile bjam
 utility needed to compile boost.
 Some files in boost out-of-tar has no permissions for execution, so chmod is
 only way to build bjam.
 Don't know.. may be overwrite extract in Makefile and use combination
 (umask,tar -p)?

either chmod in pre-configure, or if it's only bootstrap.sh that's a
problem, do something like this in pre-configure or do-configure:
cd ${WRKDIR}; ${SH} bootstrap.sh

 Second, just weird situation, boost can't find bzlib.h while compiling. I
 have one of course in /usr/local/include.

it probably needs some -I${LOCALBASE}/include somewhere.



Re: boost-1.39.0. efforts

2009-05-06 Thread Andrej Elizarov
Thank you for reply.

2009/5/6 Stuart Henderson s...@spacehopper.org

 On 2009/05/06 06:45, Andrej Elizarov wrote:
  First, to configure boost there is bootstrap.sh, which one compile bjam
  utility needed to compile boost.
  Some files in boost out-of-tar has no permissions for execution, so chmod
 is
  only way to build bjam.
  Don't know.. may be overwrite extract in Makefile and use combination
  (umask,tar -p)?

 either chmod in pre-configure, or if it's only bootstrap.sh that's a
 problem, do something like this in pre-configure or do-configure:

   cd ${WRKDIR}; ${SH} bootstrap.sh

yes, i solve this  by adding chmod in port-configure.


  Second, just weird situation, boost can't find bzlib.h while compiling. I
  have one of course in /usr/local/include.

 it probably needs some -I${LOCALBASE}/include somewhere.

Can't find where, but there is some usefull flags for ./bjam,
like sNO_BZIP2=1, sNO_ZLIB=1, and sBZIP2_INCLUDE=/usr/local/include.
There is another strange for me thing.
on console from ${WRKSRC}:
#./bjam -sNO_BZIP=1 -sNO_ZLIB=1
works
but in Makefile:
BJAM_CONFIG=  -sNO_BZIP2=1 -sNO_ZLIB=1
...
do-build:
 @cd ${WRKSRC}  ./bjam ${BJAM_CONFIG}
...
#make do-build
get errors like (in this case) warning: NO_BZIP2 should be either '0' or
'1' 
this mean BJAM_CONFIG not used properly. BJAM_CONFIG with more then one
option, does not work.


Re: boost-1.39.0. efforts

2009-05-06 Thread Arnaud Bergeron
2009/5/6 Andrej Elizarov vigilan...@gmail.com:
 Thank you for reply.

 2009/5/6 Stuart Henderson s...@spacehopper.org

 On 2009/05/06 06:45, Andrej Elizarov wrote:
  First, to configure boost there is bootstrap.sh, which one compile bjam
  utility needed to compile boost.
  Some files in boost out-of-tar has no permissions for execution, so chmod
 is
  only way to build bjam.
  Don't know.. may be overwrite extract in Makefile and use combination
  (umask,tar -p)?

 either chmod in pre-configure, or if it's only bootstrap.sh that's a
 problem, do something like this in pre-configure or do-configure:

       cd ${WRKDIR}; ${SH} bootstrap.sh

 yes, i solve this  by adding chmod in port-configure.


  Second, just weird situation, boost can't find bzlib.h while compiling. I
  have one of course in /usr/local/include.

 it probably needs some -I${LOCALBASE}/include somewhere.

 Can't find where, but there is some usefull flags for ./bjam,
 like sNO_BZIP2=1, sNO_ZLIB=1, and sBZIP2_INCLUDE=/usr/local/include.
 There is another strange for me thing.
 on console from ${WRKSRC}:
 #./bjam -sNO_BZIP=1 -sNO_ZLIB=1
 works
 but in Makefile:
 BJAM_CONFIG=  -sNO_BZIP2=1 -sNO_ZLIB=1
 ...
 do-build:
             @cd ${WRKSRC}  ./bjam ${BJAM_CONFIG}
 ...
 #make do-build
 get errors like (in this case) warning: NO_BZIP2 should be either '0' or
 '1' 
 this mean BJAM_CONFIG not used properly. BJAM_CONFIG with more then one
 option, does not work.

Remove the quotes.  Otherwise it gets treated as one argument by the
shell since the variable contains the quotes.

Arnaud