building master with boost

2014-11-01 Thread Carsten Rinke

Hi,

to check if some "front-porting" is working, I tried to compile on the 
master branch - for the first time.


It told me that boost is missing:

checking for boostlib >= 1.48.0... configure: We could not detect the 
boost libraries (version 1.48 or higher). If you have a staged boost 
library (still not installed) please specify $BOOST_ROOT in your 
environment and do not give a PATH to --with-boost option.  If you are 
sure you have boost installed, then check your version number looking in 
. See http://randspringer.de/boost for more 
documentation.
configure: error: Boost 1.48.0 or later was not found and is required to 
build GnuCash


So I downloaded Boost 1.56.0 into "/opt/lib/boost/boost_1_56_0".

Running configure with an environment variable
echo $BOOST_ROOT -> /opt/lib/boost/boost_1_56_0
does not change anything.

Running configure with
--with-boost "/opt/lib/boost/boost_1_56_0"
results in:
checking build system type... Invalid configuration 
`/opt/lib/boost/boost_1_56_0': machine `/opt/lib/boost/boost_1_56_0' not 
recognized

configure: error: /bin/bash ../config.sub /opt/lib/boost/boost_1_56_0 failed

What can I do?

Kind regards,
Carsten
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: building master with boost

2014-11-01 Thread John Ralls

On Nov 1, 2014, at 11:42 AM, Carsten Rinke  wrote:

> Hi,
> 
> to check if some "front-porting" is working, I tried to compile on the master 
> branch - for the first time.
> 
> It told me that boost is missing:
> 
> checking for boostlib >= 1.48.0... configure: We could not detect the boost 
> libraries (version 1.48 or higher). If you have a staged boost library (still 
> not installed) please specify $BOOST_ROOT in your environment and do not give 
> a PATH to --with-boost option.  If you are sure you have boost installed, 
> then check your version number looking in . See 
> http://randspringer.de/boost for more documentation.
> configure: error: Boost 1.48.0 or later was not found and is required to 
> build GnuCash
> 
> So I downloaded Boost 1.56.0 into "/opt/lib/boost/boost_1_56_0".
> 
> Running configure with an environment variable
> echo $BOOST_ROOT -> /opt/lib/boost/boost_1_56_0
> does not change anything.
> 
> Running configure with
> --with-boost "/opt/lib/boost/boost_1_56_0"
> results in:
> checking build system type... Invalid configuration 
> `/opt/lib/boost/boost_1_56_0': machine `/opt/lib/boost/boost_1_56_0' not 
> recognized
> configure: error: /bin/bash ../config.sub /opt/lib/boost/boost_1_56_0 failed
> 
> What can I do?

Read http://www.boost.org/doc/libs/release/more/getting_started/index.html.

Study macros/m4_ax_boost_base.m4 to see what causes that error message and what 
configure is looking for, then make sure that you installed boost in a way that 
it finds it.

Did you build boost or just untar it in that directory?

Regards,
John Ralls




___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: building master with boost

2014-11-01 Thread Geert Janssens
On Saturday 01 November 2014 19:42:59 Carsten Rinke wrote:
> Hi,
> 
> to check if some "front-porting" is working, I tried to compile on the
> master branch - for the first time.
> 
> It told me that boost is missing:
> 
> checking for boostlib >= 1.48.0... configure: We could not detect the
> boost libraries (version 1.48 or higher). If you have a staged boost
> library (still not installed) please specify $BOOST_ROOT in your
> environment and do not give a PATH to --with-boost option.  If you are
> sure you have boost installed, then check your version number looking
> in . See http://randspringer.de/boost for more
> documentation.
> configure: error: Boost 1.48.0 or later was not found and is required
> to build GnuCash
> 
> So I downloaded Boost 1.56.0 into "/opt/lib/boost/boost_1_56_0".
> 
> Running configure with an environment variable
> echo $BOOST_ROOT -> /opt/lib/boost/boost_1_56_0
> does not change anything.
> 
> Running configure with
> --with-boost "/opt/lib/boost/boost_1_56_0"
> results in:
> checking build system type... Invalid configuration
> `/opt/lib/boost/boost_1_56_0': machine `/opt/lib/boost/boost_1_56_0'
> not recognized
> configure: error: /bin/bash ../config.sub /opt/lib/boost/boost_1_56_0
> failed
> 
> What can I do?
Would
--with-boost="/opt/lib/boost/boost_1_56_0"
work ? It seems to me there should be an "=" sign after the option.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel