I looked some more into this problem. I don't have it working yet, but
I know that Jam is failing while executing the MkDir rule. I
downloaded the latest version of Jam from Perforce, that too builds
fine on Ubuntu, but when trying to build the same code in a Scratchbox
session, it fails in the same way as boost fails, when trying to
create a directory bin.linuxarm. The failure messages are similar to
what I had sent earlier.

Timo, since you have built boost/jam in Scratchbox and have it
working, do you remember having any problems with Jam? Can you help me
resolve this issue? Don't understand why Jam is unable to create
directories under my Scratchbox home directory, I'm able to create
directories with the same name in the same location.
Would appreciate any suggestions regarding this.

Thanks,
Rohit

On 2/25/06, Rohit Chaudhri <[EMAIL PROTECTED]> wrote:
> Timo,
> Thanks for your response, I think I read your email in the boost-users
> list archives indicating that you've been able to build boost within
> Scratchbox. I'm pasting below parts of the console output when the
> boost build fails within scratchbox. A couple of plain text files are
> also attached that contain the detailed console output. While building
> bjam the "bootstrap" directory  gets created, however "bin.linuxarm"
> creation fails. From my scratchbox account I can create new
> directories, so don't understand why the build fails when trying to
> create the dirs. I've been able to build bjam by manually creating the
> bin.linuxarm directory, started  doing the same for python, but then
> realised that it will take too long and I need to fix this problem
> first.
>
> Would appreciate your help with this problem.
> Thanks!
> Rohit
> Errors pasted below, also see the attached file....
>
> bjam build failure:
>
> rm -rf bootstrap
> mkdir bootstrap
> gcc -o bootstrap/jam0 command.c compile.c debug.c execunix.c expand.c
> fileunix.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c
> jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c
> pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c
> variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c
> native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c
> modules/property-set.c modules/sequence.c modules/order.c execnt.c
> filent.c
> ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
> ...found 1 target...
> ...updating 1 target...
> ...updated 1 target...
> ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root=
> ...found 45 targets...
> ...updating 2 targets...
> [MKDIR] bin.linuxarm
>
>     mkdir bin.linuxarm
>
> ...failed [MKDIR] bin.linuxarm...
> ...skipped bjam for lack of bin.linuxarm...
> ...failed updating 1 target...
> ...skipped 1 target...
>
>
> boost_python build failure:
>
> ...found 1005 targets...
> ...updating 124 targets...
> MkDir1 ../../../bin/boost/libs/python
>
>     mkdir "../../../bin/boost/libs/python"
>
> ...failed MkDir1 ../../../bin/boost/libs/python...
> ...skipped <directory-grist>../../../bin/boost/libs/python/build for
> lack of <directory-grist>../../../bin/boost/libs/python...
> ...skipped 
> <directory-grist>../../../bin/boost/libs/python/build/libboost_python.so
> for lack of <directory-grist>../../../bin/boost/libs/python/build...
>
>
>
> On 2/25/06, Timo Savola <[EMAIL PROTECTED]> wrote:
> > On Fri, 2006-02-24 at 20:04 -0600, Rohit Chaudhri wrote:
> >
> > > I have recently started to work with Boost 1.33 (www.boost.org) on
> > > Scratchbox 1.0 running on a x86 based Ubuntu Linux machine.
> > > I'm able to build boost on Ubuntu, however when I try to do the same
> > > within Scratchbox using an arm-gcc-glibc toolchain, the Boost build
> > > scripts fail because mkdir commands are failing. I was able to build
> > > Boost.Jam by manually creating the required directories within
> > > Scratchbox. Now while building Boost 1.33, I'm trying to build the
> > > Boost.Python module and it fails in a similar way on MKDIR. I want to
> > > fix this mkdir failure problem because I can't manually keep creating
> > > each required directory.
> > > Would appreciate it someone could help me out with this. Looking at
> > > the boost maiiling list archives I've read emails that indicate Boost has 
> > > been
> > > successfully built within Scratchbox. This is probably a problem in my
> > > Scratchbox environment, but don't know how to fix it.
> >
> > Could you be more specific about the (mkdir) errors you got?
> >
> > timo
> >
> >
> >
>
>
>
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to