How to build specified library for install?

Hi, I am going to build boost::iostreams and install to some location. I tried following command: C:\boost_1_38_0>bjam toolset=msvc variant=debug,release link=static threading=multi runtime-link=shared -sZLIB_SOURCE=E:\zlib123 -sBZIP2_SOURCE=E:\bzip2-1.0.5 --prefix="E:\Program Files\boost\boost_1_38_0\" --with-iostreams install However, I got following error: error: wrong library name 'iostreams install' in the --with-<library> option. It looks like that bjam consider install as a part of the library name. Is anything wrong with me? or it is a bug of bjam? Tao Wang

I found the reason, the following command works for provious case:
C:\boost_1_38_0>bjam toolset=msvc variant=debug,release link=static
threading=multi runtime-link=shared -sZLIB_SOURCE=E:\zlib123
-sBZIP2_SOURCE=E:\bzip2-1.0.5 --with-iostreams "--prefix=e:\program
files\boost" install
The problem is the space in the path, should enquote --prefix= too.
On Wed, Mar 11, 2009 at 3:33 PM, Dancefire
Hi,
I am going to build boost::iostreams and install to some location. I tried following command:
C:\boost_1_38_0>bjam toolset=msvc variant=debug,release link=static threading=multi runtime-link=shared -sZLIB_SOURCE=E:\zlib123 -sBZIP2_SOURCE=E:\bzip2-1.0.5 --prefix="E:\Program Files\boost\boost_1_38_0\" --with-iostreams install
However, I got following error:
error: wrong library name 'iostreams install' in the --with-<library> option.
It looks like that bjam consider install as a part of the library name. Is anything wrong with me? or it is a bug of bjam?
Tao Wang
participants (1)
-
Dancefire