Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Compiling SUMO with Python3 bindings
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Mon, 4 Mar 2019 09:10:47 +0100
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3HbQiTWljaGFlbCBC ZWhyaXNjaCA8b3NzQGJlaHJpc2NoLmRlPohjBBMRAgAjBQJS0sHSAhsjBwsJCAcDAgEGFQgC CQoLBBYCAwECHgECF4AACgkQPBD+ltFwpimlmQCdGgnYuHxoye4vFntyHRcE0Ij0318AoN3s szGyKcKdUmPpgXLhFcNfRGe4uQENBFLSvucQBACRAt3OW7eL8N3OJp2bZz/rRldtxjcViEcd +wpQcL9Ag0b6W7e4cbSc9oSU9MAdOvxR0UxualeRGz37W/VEC8cFZb3kFtRdl66gGygKb7gl 2S27495XEYqE7BBF1HfQDjL9sh5GfuIzORkqhCHSUTdkRuzRPxNQcEYFSrASEi9jQwADBQP9 FeuTC1SJHrX9tP3p4xrEa07XkCq+UzwNhDdezoQfT1CUbOv+LT66yLTXAaiHXelgaPMQO1Oo 76U2z0C1LudkAcDdwJbMuZ0RfDoRjsgfhfvM6kqiP4m0s2NR3Y3O+HKXjwtPbXuDwaYIAIvp aj8b59n7fQyfL6BZsO0QZc0i/t+ISQQYEQIACQUCUtK+5wIbDAAKCRA8EP6W0XCmKY1lAKCc 3miJueOXuvZJWV7qGBQxxyR83gCgxhGPL9OrP22rxNJSo1w5OOUxHsM=
  • Delivered-to: sumo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-dev>
  • List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Hi Enno,
cmake is the preferred way of building, autotools will phase out sooner
or later. It should not require more libraries than the autotools build.
Please post your error messages here.

Best regards,
Michael

Am 04.03.19 um 08:32 schrieb Enno Middelberg:
> Hello,
> 
>  
> 
>  
> 
> I have successfully compiled Sumo from source under Linux, including the
> GUI, but there are a few bits and pieces I don’t understand or that I
> find unsatisfactory:
> 
>  
> 
> I haven’t managed to compile Sumo with Python3 bindings. I have
> installed python3-dev and all, but according to config.log, configure
> only searches in /usr/include/python2.7. However, when I install
> python-dev, compilation will go through, and I can import libsumo even
> from a python3 prompt. But then again, I really would like to compile
> against python3 to avoid problems.
> 
>  
> 
> When I try to set Paths using CPPFLAGS, configure will not work, since
> CPPFLAGS won’t be added to the search path, but will replace it, ie,
> configure then searches for gcc in /usr/include/python3. This obviously
> fails.
> 
>  
> 
> Using cmake doesn’t work at all – it complains about a number of missing
> libraries (which I don’t want to install and don’t need) and I couldn’t
> find documentation about how to switch this off.
> 
>  
> 
>  
> 
> I’d be very grateful if someone could drop a few hints about how to get
> going!
> 
>  
> 
>  
> 
> Thanks,
> 
>  
> 
> Enno
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> ZOD Logo
> 
> 	
> 
> Dr. Enno Middelberg
> ZERO.ONE.DATA Data Scientist (T.IVVXZ / T.IPB16)
> 
> Team Kant
> 
>  
> 
> DB Systel GmbH
> Jürgen-Ponto-Platz 1, 60329 Frankfurt <x-apple-data-detectors://0/1> am Main
> Mobil: +49 (0) 152 3752 3652
> 
>  
> 
> Sitz der Gesellschaft: Frankfurt am Main
> Registergericht: Frankfurt am Main, HRB 78707
> USt-IdNr.: DE252204770
> Geschäftsführer: Christa Koenen (Vorsitzende), Bodo Gmel, Gerald Hofer,
> Dr. Klaus Rüffler
> Vorsitzende des Aufsichtsrates: Prof. Dr. Sabina Jeschke
> 
>  
> 
> 
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-dev
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top