Mac OS X homebrewed Boost - Boost development files not found

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Mac OS X homebrewed Boost - Boost development files not found

Oleg Sokolinskiy
Hello,

I have installed Boost using “brew install boost” to /usr/local/

The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…

However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

THIS RESULTS IN THE ERROR:  “Boost development files not found”

I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

and also, going directly to the “Cellar” where Homebrew puts Boost:

./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

I also tried omitting  --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?

My OS is OS X Yosemite.

Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X homebrewed Boost - Boost development files not found

Luigi Ballabio
May you check config.log? It should show you the call to the compiler that caused the error.  The passed flags should contain '-I /usr/local/include' as well as the options you passed in CXXFLAGS.

Luigi

On Fri, Oct 28, 2016 at 2:34 AM Oleg Sokolinskiy <[hidden email]> wrote:
Hello,

I have installed Boost using “brew install boost” to /usr/local/

The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…

However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

THIS RESULTS IN THE ERROR:  “Boost development files not found”

I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

and also, going directly to the “Cellar” where Homebrew puts Boost:

./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

I also tried omitting  --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?

My OS is OS X Yosemite.

Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X homebrewed Boost - Boost development files not found

Oleg Sokolinskiy
Dear Luigi,

Thank you very much for your reply! I am really new to config files :). Apologies, if my questions are trivial.

The relevant line:
configure:16042: g++ -c -02 -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
clang: error: unknown argument: '-02’
indicates that the compiler is passed “-I/usr/local/include”… but it is likely the case that the "unknown argument: '-02’ " error causes the -I flag to be ignored.
What is the ‘-02’ flag? 

When I remove the ‘-02’ flag, “config" finishes successfully (I think…)

Also, the following:

"configure:4267: checking whether we are using the GNU C++ compiler
configure:4286: g++ -c -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
configure:4286: $? = 0
configure:4295: result: yes"

suggests that I am using  GNU C++ compiler, but I think that OS X substitutes Apple LLVM version 7.0.2 (clang-700.1.81).

And, config.log shows quite a few errors, but config proceeds nevertheless… 

Should I be worried about it?
May I now run “make && sudo make install”?

Thank you for your help!



List of errors:

configure:3405: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3416: $? = 1
configure:3405: gcc -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files


configure:4566: gcc -E  -I/usr/local/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:4566: $? = 1

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework >&5
Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Thank you very much once again for your help!
Best wishes,
Oleg



On Oct 28, 2016, at 4:52 AM, Luigi Ballabio <[hidden email]> wrote:

May you check config.log? It should show you the call to the compiler that caused the error.  The passed flags should contain '-I /usr/local/include' as well as the options you passed in CXXFLAGS.

Luigi

On Fri, Oct 28, 2016 at 2:34 AM Oleg Sokolinskiy <[hidden email]> wrote:
Hello,

I have installed Boost using “brew install boost” to /usr/local/

The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…

However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

THIS RESULTS IN THE ERROR:  “Boost development files not found”

I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

and also, going directly to the “Cellar” where Homebrew puts Boost:

./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

I also tried omitting  --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?

My OS is OS X Yosemite.

Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X homebrewed Boost - Boost development files not found

Luigi Ballabio
Hi Oleg,
    the -02 flag is a typo.  It should probably be -O2 (as in the letter O, not the number 0) which sets the optimization level.  You probably want to pass that to configure, as it can give you quite a bit of performance gain.

As long as configure runs correctly to the end, the other errors in config.log are probably ok; the configure script is trying a bunch of things to see which ones work and set up the compilation accordingly.

Luigi


On Fri, Oct 28, 2016 at 4:16 PM Oleg Sokolinskiy <[hidden email]> wrote:
Dear Luigi,

Thank you very much for your reply! I am really new to config files :). Apologies, if my questions are trivial.

The relevant line:
configure:16042: g++ -c -02 -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
clang: error: unknown argument: '-02’
indicates that the compiler is passed “-I/usr/local/include”… but it is likely the case that the "unknown argument: '-02’ " error causes the -I flag to be ignored.
What is the ‘-02’ flag? 

When I remove the ‘-02’ flag, “config" finishes successfully (I think…)

Also, the following:

"configure:4267: checking whether we are using the GNU C++ compiler
configure:4286: g++ -c -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
configure:4286: $? = 0
configure:4295: result: yes"

suggests that I am using  GNU C++ compiler, but I think that OS X substitutes Apple LLVM version 7.0.2 (clang-700.1.81).

And, config.log shows quite a few errors, but config proceeds nevertheless… 

Should I be worried about it?
May I now run “make && sudo make install”?

Thank you for your help!



List of errors:

configure:3405: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3416: $? = 1
configure:3405: gcc -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files


configure:4566: gcc -E  -I/usr/local/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:4566: $? = 1

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework >&5
Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Thank you very much once again for your help!
Best wishes,
Oleg



On Oct 28, 2016, at 4:52 AM, Luigi Ballabio <[hidden email]> wrote:

May you check config.log? It should show you the call to the compiler that caused the error.  The passed flags should contain '-I /usr/local/include' as well as the options you passed in CXXFLAGS.

Luigi

On Fri, Oct 28, 2016 at 2:34 AM Oleg Sokolinskiy <[hidden email]> wrote:
Hello,

I have installed Boost using “brew install boost” to /usr/local/

The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…

However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

THIS RESULTS IN THE ERROR:  “Boost development files not found”

I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

and also, going directly to the “Cellar” where Homebrew puts Boost:

./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

I also tried omitting  --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?

My OS is OS X Yosemite.

Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X homebrewed Boost - Boost development files not found

Oleg Sokolinskiy
Dear Luigi,

Thank you for your help! I really appreciate it.
Now, it all makes sense :)

And thank you for your excellent books on QuantLib!

Best wishes,
Oleg

On Oct 28, 2016, at 10:20 AM, Luigi Ballabio <[hidden email]> wrote:

Hi Oleg,
    the -02 flag is a typo.  It should probably be -O2 (as in the letter O, not the number 0) which sets the optimization level.  You probably want to pass that to configure, as it can give you quite a bit of performance gain.

As long as configure runs correctly to the end, the other errors in config.log are probably ok; the configure script is trying a bunch of things to see which ones work and set up the compilation accordingly.

Luigi


On Fri, Oct 28, 2016 at 4:16 PM Oleg Sokolinskiy <[hidden email]> wrote:
Dear Luigi,

Thank you very much for your reply! I am really new to config files :). Apologies, if my questions are trivial.

The relevant line:
configure:16042: g++ -c -02 -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
clang: error: unknown argument: '-02’
indicates that the compiler is passed “-I/usr/local/include”… but it is likely the case that the "unknown argument: '-02’ " error causes the -I flag to be ignored.
What is the ‘-02’ flag? 

When I remove the ‘-02’ flag, “config" finishes successfully (I think…)

Also, the following:

"configure:4267: checking whether we are using the GNU C++ compiler
configure:4286: g++ -c -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include conftest.cpp >&5
configure:4286: $? = 0
configure:4295: result: yes"

suggests that I am using  GNU C++ compiler, but I think that OS X substitutes Apple LLVM version 7.0.2 (clang-700.1.81).

And, config.log shows quite a few errors, but config proceeds nevertheless… 

Should I be worried about it?
May I now run “make && sudo make install”?

Thank you for your help!



List of errors:

configure:3405: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3416: $? = 1
configure:3405: gcc -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files


configure:4566: gcc -E  -I/usr/local/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:4566: $? = 1

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc42 >&5
ld: library not found for -lboost_unit_test_framework-gcc42
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16162: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6 -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework-gcc >&5
ld: library not found for -lboost_unit_test_framework-gcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)

configure:16141: g++ -o conftest -stdlib=libstdc++ -mmacosx-version-min=10.6  -I/usr/local/include -stdlib=libstdc++ -mmacosx-version-min=10.6 -L/usr/local/lib conftest.cpp  -lboost_unit_test_framework >&5
Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Thank you very much once again for your help!
Best wishes,
Oleg



On Oct 28, 2016, at 4:52 AM, Luigi Ballabio <[hidden email]> wrote:

May you check config.log? It should show you the call to the compiler that caused the error.  The passed flags should contain '-I /usr/local/include' as well as the options you passed in CXXFLAGS.

Luigi

On Fri, Oct 28, 2016 at 2:34 AM Oleg Sokolinskiy <[hidden email]> wrote:
Hello,

I have installed Boost using “brew install boost” to /usr/local/

The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…

However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

THIS RESULTS IN THE ERROR:  “Boost development files not found”

I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

and also, going directly to the “Cellar” where Homebrew puts Boost:

./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’

I also tried omitting  --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?

My OS is OS X Yosemite.

Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users