I would argue that this suggests your Python installation is faulty. The command should include both -L<path> and the flags you mention. Google seems to agree.
Any chance you could try and resolve it? It would be a good addition to the wiki/comments as well if anyone else happens to stumble on what ever is causing the faulty python-config behaviour. Andreas On 03/07/2013 18:39, "Nilay Vaish" <[email protected]> wrote: >On Wed, 3 Jul 2013, Andreas Hansson wrote: > >> 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). >> > >On the machine I am using, "python-config --ldflags" returns "-lpthread >-ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic". > >-- >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
