[NeXus-code-tickets] [NeXusCode] #38: PYTHONROOT missing in Makefile for swig bindings

NeXus Data Format Library and Applications noreply at nexusformat.org
Thu Mar 22 14:38:06 GMT 2007


#38: PYTHONROOT missing in Makefile for swig bindings
---------------------------+------------------------------------------------
Reporter:  Mark Koennecke  |       Owner:           
    Type:  defect          |      Status:  new      
Priority:  major           |   Milestone:  NeXus 4.1
 Version:                  |    Keywords:           
---------------------------+------------------------------------------------
 Hi,

 I used the --with-python option to configure in order to specify a more
 recent python version in
 another location. Compilation of the swig python-API failed with this
 because it could not
 find its python header files. Looking at the autogenerated Makefile, I
 found that PYTHONROOT was
 not defined but used to generate the CFLAGS for the python binding. My
 problem was resolved after
 setting PYTHONROOT. This is also the workaround but it should be fixed in
 the autoconf stuff
 eventually.

 Mark Koennecke

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/38>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list