Re: [Boost-users] MAC OS X installation of boost libs
Hello
I am using MAC OS X 10.3.3.
First I done find the bjam tool?
Second when I build the bjam tool myself I get the following error. Jamfile:71: in module scope
rule unless unknown in module.
I think if you could please just give me a quick step by step of what you did to setup the libs with the correct directorys you used then that would probably fix the problems.
I did try following the instructions on the page you stated but just did not help.
thanks
Michael
On Tuesday, March 23, 2004, at 09:25PM, James Mastro
On Mar 22, 2004, at 5:12 PM, Michael Short wrote:
The only problem is that I am having problems installing and building the libs on my MAC OS X system.
What kind of problems? What version of OS X? I built boost 1.31.0 on OS X 10.3.2. I think the regex library gave me some problems, but I believe everything else built OK.
I just followed the directions here:
http://www.boost.org/more/getting_started.html
-jim
On Mar 24, 2004, at 8:45 AM, Michael Short wrote:
First I done find the bjam tool?
Second when I build the bjam tool myself I get the following error. Jamfile:71: in module scope rule unless unknown in module.
Here's how I built bjam: Download the 1.31.0 sources from SourceForge from the link in my other mail. This will give you a folder called "boost_1_31_0" which I will call BOOST_ROOT. To build bjam: cd {BOOST_ROOT}/tools/build/jam_src sh ./build.sh This builds bjam and jam in "{BOOST_ROOT}/tools/build/jam_src/bin.macosxppc". When you build boost, bjam needs to be in your path somewhere. I made a folder ~/bin which is in my path. I copied bjam and jam into ~/bin. Don't forget to add the folder to your $PATH variable if it isn't already. Then to build the boost libs: cd {BOOST_ROOT} bjam "-sTOOLS=darwin" install I'm pretty sure that's all I did to get them to build and install. IIRC, almost all libs built without a problem. Also, it is possible you do not even need to build the boost libraries depending on what parts of boost you are using if you still have problems. I used the smart_ptr's only for a long time without ever building anything, since they are just template headers. Most of this is just from http://www.boost.org/tools/build/jam_src/index.html#building_bjam -jim
Thanks this help out with the problems and no warnings I dont thing. Thanks again maybe someone should add this to the docs! Michael On 24 Mar 2004, at 17:56, James Mastro wrote:
On Mar 24, 2004, at 8:45 AM, Michael Short wrote:
First I done find the bjam tool?
Second when I build the bjam tool myself I get the following error. Jamfile:71: in module scope rule unless unknown in module.
Here's how I built bjam:
Download the 1.31.0 sources from SourceForge from the link in my other mail. This will give you a folder called "boost_1_31_0" which I will call BOOST_ROOT.
To build bjam:
cd {BOOST_ROOT}/tools/build/jam_src sh ./build.sh
This builds bjam and jam in "{BOOST_ROOT}/tools/build/jam_src/bin.macosxppc". When you build boost, bjam needs to be in your path somewhere. I made a folder ~/bin which is in my path. I copied bjam and jam into ~/bin. Don't forget to add the folder to your $PATH variable if it isn't already.
Then to build the boost libs:
cd {BOOST_ROOT} bjam "-sTOOLS=darwin" install
I'm pretty sure that's all I did to get them to build and install. IIRC, almost all libs built without a problem. Also, it is possible you do not even need to build the boost libraries depending on what parts of boost you are using if you still have problems. I used the smart_ptr's only for a long time without ever building anything, since they are just template headers.
Most of this is just from http://www.boost.org/tools/build/jam_src/index.html#building_bjam
-jim
Michael Short wrote:
Thanks this help out with the problems and no warnings I dont thing.
Thanks again maybe someone should add this to the docs!
I would love to update the docs.. but first you would have to tell me which part of the docs you had problems with ;-) Obviously you had problems building bjam, but what were the problems?? That is.. What did you try instead of what is currently documented? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
Michael Short
Thanks this help out with the problems and no warnings I dont thing.
Thanks again maybe someone should add this to the docs!
As the original poster said, these instructions were lifted directly from "the docs". Please help us understand what to change so that others don't have trouble. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Hello well I always have problem following unix like instructions but the main problem I had with these instruction was that there was a lot of if you have this system do that if you have that config do this, etc. Which ends up getting a little confusing and it would seamed that the instructions just got complicated. It would be better to see a common/general step by step for system a,b and c, like Mac os x, pc, unix etc. leaving the more complete documents for those who have a custom config. This is just my opinion but I think in the long run when one for each system is avalable then there will be no more problem like this which as boost gets more populare is going to happen. when more people start leaving windows and moving to linux or unix or macos then there are going to be a number of unformilare people lost in a unix back ground. If you would like like any more input please ask. Anyway I am just a bit thick but that is who these instruction should be aimed at. Michael On 25 Mar 2004, at 01:32, David Abrahams wrote:
Michael Short
writes: Thanks this help out with the problems and no warnings I dont thing.
Thanks again maybe someone should add this to the docs!
As the original poster said, these instructions were lifted directly from "the docs". Please help us understand what to change so that others don't have trouble.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Michael Short
Hello
well I always have problem following unix like instructions but the main problem I had with these instruction was that there was a lot of if you have this system do that if you have that config do this, etc. Which ends up getting a little confusing
I don't see anything like that between the download step and the final section labelled "Additional Steps". Please be specific about where you got confused.
and it would seamed that the instructions just got complicated. It would be better to see a common/general step by step for system a,b and c, like Mac os x, pc, unix etc. leaving the more complete documents for those who have a custom config.
I don't understand what you're asking for. Every platform I know of is supported by a few different compilers. Do you think we should produce a separate document for each of M platforms x N compilers?
This is just my opinion but I think in the long run when one for each system is avalable then there will be no more problem like this which as boost gets more populare is going to happen. when more people start leaving windows and moving to linux or unix or macos then there are going to be a number of unformilare people lost in a unix back ground.
If you would like like any more input please ask.
Specific suggested changes to the docs (in the form of new text) would be a big help. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Michael Short
Hello
I am using MAC OS X 10.3.3.
First I done find the bjam tool?
Second when I build the bjam tool myself I get the following error. Jamfile:71: in module scope rule unless unknown in module.
I think if you could please just give me a quick step by step of what you did to setup the libs with the correct directorys you used then that would probably fix the problems.
I did try following the instructions on the page you stated but just did not help.
If you had problems somewhere, please let us know at what stage you got stuck so that we can improve the instructions. Thank you. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (4)
-
David Abrahams
-
James Mastro
-
Michael Short
-
Rene Rivera