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

List:       boost-users
Subject:    Re: [Boost-users] Problem detecting python
From:       Juergen Hunold <juergen.hunold () ivembh ! de>
Date:       2009-09-30 8:06:51
Message-ID: 200909301006.51577.juergen.hunold () ivembh ! de
[Download RAW message or body]

Hi ,

On Wednesday 30 September 2009, Christian O'Reilly wrote:
> I seem to have a problem similar to the one first spoke about in this
>  thread, however I have it with the version 1.4.0.I try co compile
>  boost_python library with MinGW under XP. Here is the command I use

> Notice that the informations obtained from the command '"E:\Program
> Files\pythonxy\python\python"
> -c "from sys import *; print
> 'version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix
> =%s\nexecutable=%s' %
> (version_info[0],version_info[1],platform,prefix,exec_pref
> ix,executable)" 2>&1'  are correct.

If you run it from the command line ?

> Any idea how to solve this?

>'"E:\Program Files\pythonxy\python\python"

This path contains spaces, which is most likely the problem here.
The quotes are added by the debug output, so I guess the path is not 
quoted correctly.
Try setting up python manually in user-config.jam with

using python : : "E:/Program Files/pythonxy" ;

Note the quotes and the forward slashes.

In case you need more help, just follow up on the Boost.Build mailing 
list.

Yours, 

Jürgen
-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold@ivembh.de        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

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

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