2025-07-30 08:41 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001302Spring engineLinuxpublic2009-01-26 16:08
Reporterrictor 
Assigned Toimbaczek 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.78.2.1 
Target VersionFixed in Version 
Summary0001302: [PATCH] scons configure fail on Archlinux x86_64
Descriptionscons configure fail on find python
----------------------------------
...
Checking for C++ header file Python.h... no
Could not find one of these headers: ['Python.h']
Checking for C++ header file jni.h... yes
Not all tests finished succesfully. You are probably missing one of the
build dependencies. See config.log for details.
[rictor@j2000 spring_0.78.2.1]$
----------------------------------------

Last versions of ArchLinux x86_64 only include python 2.6 and scons only search for python 2.5 and 2.4
Additional InformationFor solution do next changes on file
    spring_0.78.2.1-temp/rts/build/sconsconfig.py

diff output:
-------------------------------------------
[rictor@j2000 scons]$ diff config.py.old config.py
199a200,202
> print "Checking for Python 2.6...",
> print ""
> guess_include_path(env, conf, 'Python', 'python2.6')
318c321
< d += [Dependency(['python2.5', 'python25', 'python2.4', 'python24'], ['Python.h'])]
---
> d += [Dependency(['python2.6', 'python26','python2.5', 'python25', 'python2.4', 'python24'], ['Python.h'])]
---------------------------------------

i attach my config.py
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003238

imbaczek (reporter)

committed a fix, thanks for the report. please use unified diff in the future (diff -u).
+Notes

-Issue History
Date Modified Username Field Change
2009-01-24 23:31 rictor New Issue
2009-01-24 23:31 rictor File Added: config.py
2009-01-26 16:08 imbaczek Note Added: 0003238
2009-01-26 16:08 imbaczek Status new => resolved
2009-01-26 16:08 imbaczek Resolution open => fixed
2009-01-26 16:08 imbaczek Assigned To => imbaczek
+Issue History