Hi Nilay,

It is adding the library (with the appropriate path) by running the
following line in the SConstruct file:

py_ld_flags = readCommand(['python-config', '--ldflags'],
exception='').split()


Could you give "python-config --ldflags" a go with your appropriate PATH
and make sure it returns what it should?

All the system's I've tried this on return the right thing (also the ones
using a non-default Python installation).

Thanks,

Andreas

On 03/07/2013 18:19, "Nilay Vaish" <[email protected]> wrote:

>On Wed, 3 Jul 2013, Andreas Hansson wrote:
>
>> Do you have the right python-config in your PATH?
>
>Yes.
>
>>
>> With this patch you can no longer rely on "python-x.y scons". Instead
>>you
>> have to set your PATH appropriately such that python and python-config
>>can
>> be found.
>>
>
>Note that you are no longer appending anything to the main environment
>that has the path to the python library.
>
>--
>Nilay
>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to