[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] Boost 1.37 will not build for me on Windows
From:       "Larry E. Ramey" <hydrajak () yahoo ! com>
Date:       2008-11-20 20:15:05
Message-ID: 366884.36828.qm () web51610 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thursday 20 November 2008 20:25:10 Larry E. Ramey wrote: 
> I've used boost before, I've used jam before. Something about 1.37 doesn't like \
> me.....  
> 
> So I downloaded all the sources for 1.37, I went and ran the bjam 
> build.bat file. It correctly identified my compiler as vc7. (2003.NET) 
> JOY. 
> 
> bjam --help works. I can get a print of my options. When I then try to run it, I \
> get very wierd errors:  
> C:\RTI\devroot\packages-src\boost>tools\jam\stage\bin.ntx86\bjam.exe 
> --includedir="c:\ler\boost\" --libdir="c:\ler\boost\win32" 
> --with-filesystem --builddir="c:\ler\build" 
> C:/RTI/devroot/packages-src/boost/tools/build/v2/build\project.jam:292: in \
>                 load-jamfile 
> *** argument error 
> * rule path.parent ( path ) 
> * called with: ( project-root.jam Jamroot ) 

This means some directory has both project-root.jam and Jamroot. 'project-root.jam' \
is old  spelling, and Jamroot is new, and Boost.Build naturally cannot load both. Are \
you sure  you're not unpacking 1.37 over some old tree? 

I have committed a fix to improve this error message, like so: 

        error: Multiple Jamfiles found at '.' 
        error: Filenames are: Jamroot jamroot.jam 

- Volodya 

That is EXACTLY what I was doing.... I'm checking the source into our own repository \
so our devs can always check it out and build it and I simply copied 1.37 over 1.35. \
Thanks Volodya.

The improved error messages will help, but since we mostly use old school style \
perforce jam files I doubt I would have figured it out. (Though someone else less \
clueless than I might have)


Larry


      


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:'times new roman', 'new york', times, \
serif;font-size:12pt"><div><span class="Apple-style-span" style="font-family: \
verdana; font-size: 12px; "><p>On Thursday 20 November 2008 20:25:10 Larry E. Ramey \
wrote: <br><span class="quotelev1" style="color: rgb(153, 0, 153); ">> I've used \
boost before, I've used jam before. Something about 1.37 doesn't like me..... \
</span><br><span class="quotelev1" style="color: rgb(153, 0, 153); ">> \
</span><br><span class="quotelev1" style="color: rgb(153, 0, 153); ">> \
</span><br><span class="quotelev1" style="color: rgb(153, 0, 153); ">> So I \
downloaded all the sources for 1.37, I went and ran the bjam </span><br><span \
class="quotelev1" style="color: rgb(153, 0, 153); ">> build.bat file. It correctly \
identified my compiler as vc7. (2003.NET) </span><br><span class="quotelev1" \
style="color: rgb(153, 0, 153); ">>  JOY. </span><br><span class="quotelev1" \
style="color: rgb(153, 0, 153); ">> </span><br><span class="quotelev1" style="color: \
rgb(153, 0, 153); ">> bjam --help works. I can get a print of my options. When I then \
try to run it, I get very wierd errors: </span><br><span class="quotelev1" \
style="color: rgb(153, 0, 153); ">> </span><br><span class="quotelev1" style="color: \
rgb(153, 0, 153); ">> \
C:\RTI\devroot\packages-src\boost>tools\jam\stage\bin.ntx86\bjam.exe </span><br><span \
class="quotelev1" style="color: rgb(153, 0, 153); ">> --includedir="c:\ler\boost\" \
--libdir="c:\ler\boost\win32" </span><br><span class="quotelev1" style="color: \
rgb(153, 0, 153); ">> --with-filesystem --builddir="c:\ler\build" </span><br><span \
class="quotelev1" style="color: rgb(153, 0, 153); ">> \
C:/RTI/devroot/packages-src/boost/tools/build/v2/build\project.jam:292: in \
load-jamfile </span><br><span class="quotelev1" style="color: rgb(153, 0, 153); ">> \
*** argument  error </span><br><span class="quotelev1" style="color: rgb(153, 0, \
153); ">> * rule path.parent ( path ) </span><br><span class="quotelev1" \
style="color: rgb(153, 0, 153); ">> * called with: ( project-root.jam Jamroot ) \
</span><br></p><p><i>This means some directory has both project-root.jam and Jamroot. \
'project-root.jam' is old <br>spelling, and Jamroot is new, and Boost.Build naturally \
cannot load both. Are you sure <br>you're not unpacking 1.37 over some old tree? \
<br></i></p><p><i>I have committed a fix to improve this error message, like so: \
<br></i></p><p><i>        error: Multiple Jamfiles found at '.' <br>        error: \
Filenames are: Jamroot jamroot.jam <br></i></p><p><i>- Volodya \
</i></p><p><br></p><p>That is EXACTLY what I was doing.... I'm checking the source \
into our own repository so our devs can always check it out and build it and I simply \
copied 1.37 over 1.35. Thanks Volodya.</p><p><br></p><p>The improved  error messages \
will help, but since we mostly use old school style perforce jam files I doubt I \
would have figured it out. (Though someone else less clueless than I might \
have)</p><p><br></p><p><br></p><p>Larry</p></span></div><div \
style="position:fixed"></div></div><br>

      </body></html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic