Hello,

So does anyone know what the correct method using python-config is? On
my system I have python-config, which links to python-config-2.4. And
I guess python 2.5 now uses python2.5-config.

If no one knows of standard mechanism to get the python build flags,
then I'll have to resort to a bunch of tests in the SConstruct file.

thanks,

-nate



On 6/6/07, Brett Graham <[EMAIL PROTECTED]> wrote:
> Hi, I believe that I ran into a similar problem with python-config and
> SVN Gazebo. I'm running Ubuntu (Fiesty) and had to change the main
> SConstruct file to read:
>
> 'python2.5-config --cflags --libs']
>
> rather than
>
> 'python-config']
>
> After that everything went fine however looking back on it, maybe I
> should have used python2.4-config. Hope this helps!
>
> > Date: Wed, 6 Jun 2007 09:43:43 -0400
> > From: "Nate Koenig" <[EMAIL PROTECTED]>
> > Subject: Re: [PlayerStage-Gazebo] python-config problem in SVN Gazebo
> > To: "Gazebo developers" <[email protected]>
> > Message-ID:
> >         <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Hello,
> >
> > Thanks for the patches. I should have them integrated this week.
> >
> > As to your compilations problem. What is the output when you run
> > python-config on the command line?
> >
> > It's also interesting that you don't have libboost_python.so and
> > libboost_python.a. What linux distro are you running, and how did you
> > install boost?
> >
> > -nate
> >
> > On 6/1/07, Mihai Emanuel Dolha <[EMAIL PROTECTED]> wrote:
> > > Hey!
> > >
> > > I updated my SVN Gazebo to revision 29 and I can't compile it now. it's
> > > something about python-config:
> > >
> > > #scons intall
> > > scons: Reading SConscript files ...
> > > /bin/sh: python-config: command not found
> > > Unable to parse config [python-config]
> > >
> > > I have python2.4 and python2.5 and if I'm creating a link from
> > > python2.4-config or python2.5-config I get:
> > >
> > > # scons install
> > > scons: Reading SConscript files ...
> > > Usage: /usr/bin/python-config
> > > [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help]
> > > Unable to parse config [python-config]
> > >
> > >
> > > If I comment python-config, after throwing a impressive number of
> > > warnings, I'm getting:
> > >
> > > /usr/bin/ld: cannot find -lboost_python
> > > collect2: ld returned 1 exit status
> > > scons: *** [libgazebo/libgazebo.so] Error 1
> > > scons: building terminated because of errors.
> > >
> > > I have the following libboost-python packages installed:
> > >
> > > libboost-python-dev               1.34.0-1
> > > libboost-python1.33.1            1.33.1-10
> > > libboost-python1.34.0            1.34.0-1
> > >
> > > /# ls -1 /usr/lib/libboost_python-*
> > > /usr/lib/libboost_python-gcc-1_33_1.so.1.33.1
> > > /usr/lib/libboost_python-gcc41-1_34.a
> > > /usr/lib/libboost_python-gcc41-1_34.so
> > > /usr/lib/libboost_python-gcc41-1_34.so.1.34.0
> > > /usr/lib/libboost_python-gcc41-d-1_34.so.1.34.0
> > > /usr/lib/libboost_python-gcc41-mt-1_34.a
> > > /usr/lib/libboost_python-gcc41-mt-1_34.so
> > > /usr/lib/libboost_python-gcc41-mt-1_34.so.1.34.0
> > > /usr/lib/libboost_python-gcc41-mt-d-1_34.so.1.34.0
> > > /usr/lib/libboost_python-gcc-mt-1_33_1.so.1.33.1
> > > /usr/lib/libboost_python-mt.a
> > > /usr/lib/libboost_python-mt.so
> > > /usr/lib/libboost_python-st.a
> > > /usr/lib/libboost_python-st.so
> > >
> > >
> > > Why is this happening? I was using the SVN version of revision 25 and
> > > everything was OK.
> > >
> > > I also uploaded two patches on sourceforge.net: one that implements the
> > > actarray and gripper interfaces and another for TriMeshGeom support.
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to