compiling boost.python quickstart example under mac os x leopard

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

Parent Message unknown compiling boost.python quickstart example under mac os x leopard

by Andrea Interguglielmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've downloaded boost 1_34_1, I'm trying to compile the quickstart example located under libs/python/example/quickstart using the following command:
bjam toolset=gcc test

but the build process stops wit the following error:
gcc.link.dll ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/libboost_python-gcc40-d-1_34_1.dylib
ld: unknown option: -R
collect2: ld returned 1 exit status

What's weird is that the build system hasn't compiled any boost_python dylib yet, so why is it trying to link it already?

My configuration is very standard, mac os x leopard, bjam installed using darwinports.

Hope someone will be able to help...

Thanks,

Andrea


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

Re: compiling boost.python quickstart example under mac os x leopard

by Vladimir Prus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Interguglielmi wrote:

> Hi,
>
> I've downloaded boost 1_34_1, I'm trying to compile the quickstart example
> located under libs/python/example/quickstart using the following command:
> bjam toolset=gcc test
>
> but the build process stops wit the following error:
> gcc.link.dll ../../../../bin.v2/libs/python/build/gcc-4.0.1
> /debug/libboost_python-gcc40-d-1_34_1.dylib
> ld: unknown option: -R
> collect2: ld returned 1 exit status
>
> What's weird is that the build system hasn't compiled any boost_python dylib
> yet, so why is it trying to link it already?
>
> My configuration is very standard, mac os x leopard, bjam installed using
> darwinports.

I think you'd need

        bjam toolset=darwin test

- Volodya


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

Re: compiling boost.python quickstart example under mac os x leopard

by Andrea Interguglielmi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I tried that a couple  of times now, and it hangs at this line:
darwin.link.dll bin/darwin/debug/extending.so

Is now over thirty minutes that is stuck...


On Feb 5, 2008 6:57 AM, Vladimir Prus <ghost@...> wrote:
Andrea Interguglielmi wrote:

> Hi,
>
> I've downloaded boost 1_34_1, I'm trying to compile the quickstart example
> located under libs/python/example/quickstart using the following command:
> bjam toolset=gcc test
>
> but the build process stops wit the following error:
> gcc.link.dll ../../../../bin.v2/libs/python/build/gcc-4.0.1
> /debug/libboost_python-gcc40-d-1_34_1.dylib
> ld: unknown option: -R
> collect2: ld returned 1 exit status
>
> What's weird is that the build system hasn't compiled any boost_python dylib
> yet, so why is it trying to link it already?
>
> My configuration is very standard, mac os x leopard, bjam installed using
> darwinports.

I think you'd need

       bjam toolset=darwin test

- Volodya


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


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

Re: compiling boost.python quickstart example under mac os x leopard

by Vladimir Prus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Interguglielmi wrote:

> Hi,
>
> I tried that a couple  of times now, and it hangs at this line:
> darwin.link.dll bin/darwin/debug/extending.so
>
> Is now over thirty minutes that is stuck...

This probably means that your version of compiler is buggy, unfortunately.

- Volodya



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

Re: compiling boost.python quickstart example under mac os x leopard

by Andrea Interguglielmi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using the gcc that ships with leopard, does that means that boost.python can't be used on leopard?

On Feb 6, 2008 10:37 AM, Vladimir Prus <ghost@...> wrote:
Andrea Interguglielmi wrote:

> Hi,
>
> I tried that a couple  of times now, and it hangs at this line:
> darwin.link.dll bin/darwin/debug/extending.so
>
> Is now over thirty minutes that is stuck...

This probably means that your version of compiler is buggy, unfortunately.

- Volodya



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


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

Re: compiling boost.python quickstart example under mac os x leopard

by kaliver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don't give up yet.... I've been using an old version of the boost-build scripts (before m12) and compiles work on Leopard without a problem, as soon as i upgraded to m12 (tried a nightly today) it started to fail with the same options.
Andrea Interguglielmi wrote:
I'm using the gcc that ships with leopard, does that means that
boost.pythoncan't be used on leopard?

On Feb 6, 2008 10:37 AM, Vladimir Prus <ghost@cs.msu.su> wrote:

> Andrea Interguglielmi wrote:
>
> > Hi,
> >
> > I tried that a couple  of times now, and it hangs at this line:
> > darwin.link.dll bin/darwin/debug/extending.so
> >
> > Is now over thirty minutes that is stuck...
>
> This probably means that your version of compiler is buggy, unfortunately.
>
> - Volodya
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

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