boost build on sun does not work for me...

View: New views
2 Messages — Rating Filter:   Alert me  

boost build on sun does not work for me...

by Thomas Lehmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I'm new to boost build. Looking a while for a suiting build system
I found myself surprised how nicely the boost build does the job!
Windows (Visual Studio Compiler) and most Linux derivates are working fine.
Problems I have got with sun; the uname does say following:

SunOS srvsun5 5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-V490

I tried the same installation work flow; the bjam has been build well
and I get (--version):

Boost.Build V2 (Milestone 12)
Boost.Jam 03.1.16

However, when trying to use bjam I'm running into following problems:
(Can somebody help?)

sincerely
Thomas


APPENDIX

srvsunX:/development/users/tle/prototyping/my_project> bjam --toolset=sun
/development/boost-build/build/project.jam:630: in object(project-attributes)@26.set
*** argument error
* rule path.make ( native )
* called with: (  )
* missing argument native
/development/boost-build/util/path.jam:46:see definition of rule 'make'
being called
/development/boost-build/build/project.jam:871: in project
Jamroot:14: in modules.load
/development/boost-build/build/project.jam:312: in load-jamfile
/development/boost-build/build/project.jam:68: in load
/development/boost-build/build/project.jam:170: in project.find
/development/boost-build/build-system.jam:248: in load
/development/boost-build/kernel/modules.jam:261: in import
/development/boost-build/kernel/bootstrap.jam:132: in boost-build
/development/boost-build/boost-build.jam:1: in module scope


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost build on sun does not work for me...

by Thomas Lehmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


However, when trying to use bjam I'm running into following problems:
(Can somebody help?)

OK. I have found out myself one more detail:
Working locally on windows I have not taking care for output folders. This has changed when also testing bjam with unix on my project. I added following to the Jamroot then:

local HOSTNAME = [ modules.peek : HOSTNAME ] ;

project my_project
    : ....some stuff....
    : build-dir    ../Binaries/$(HOSTNAME)/groupingConcrete
    ;

The result was working fine on all linux versions (Red Hat, SuSE)
NOW, the windows build does also print this error message and the reason simply is that the environment variable HOSTNAME was not present. Adjusting the environment variable everything was working fine again. Of course this was the same problem on the sun machine!

Fine!