Re: building master with boost

2014-11-03 Thread Carsten Rinke

Thanks for all feedback.

Finally I managed:
- I installed the library with the help from John and Aaron
- and I also used the "=" as indicated by Geert.

-> Works all fine now :-)

Carsten

On 03.11.2014 16:50, Aaron Laws wrote:
On Sat, Nov 1, 2014 at 2:42 PM, 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?

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



I do a similar thing, and here is what I pass to configure:

./configure --with-boost=/home/lmat/builds/development

(I trimmed out a dozen lines, but this should get to the gist of the 
matter.)


I built boost with

#!/bin/bash
cd boostsvn
./bootstrap.sh --prefix=/home/lmat/builds/development
./b2 install

I don't set BOOST_ROOT. Hopefully this helps?

In Christ,
Aaron Laws


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


Re: building master with boost

2014-11-03 Thread Aaron Laws
On Sat, Nov 1, 2014 at 2:42 PM, 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?
>
> Kind regards,
> Carsten
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


I do a similar thing, and here is what I pass to configure:

./configure --with-boost=/home/lmat/builds/development

(I trimmed out a dozen lines, but this should get to the gist of the
matter.)

I built boost with

#!/bin/bash
cd boostsvn
./bootstrap.sh --prefix=/home/lmat/builds/development
./b2 install

I don't set BOOST_ROOT. Hopefully this helps?

In Christ,
Aaron Laws
___
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


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


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