jcaiuwyo / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

return of scons install problem #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. scons build optimize=n blas_lapack_libs=blas,lapack prefix=/opt/cantera 
matlab_path=/home/jasper/MATLAB/R2012a
2. sudo scons install

What is the expected output? What do you see instead?

I expect cantera to be installed (it has already successfully been compiled and 
the tests ran successfully, with negligible errors), instead I get the 
following error:

scons: *** [interfaces/matlab/ctpath.m] KeyError : 'python_module_loc'
Traceback (most recent call last):
  File "/usr/lib/scons/SCons/Action.py", line 1062, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "/home/jasper/sources/cantera/src/matlab/SConscript", line 85, in copy_var
    env['python_module_loc_sc'] = env['python_module_loc']
  File "/usr/lib/scons/SCons/Environment.py", line 2287, in __getitem__
    return self.__dict__['__subject'].__getitem__(key)
  File "/usr/lib/scons/SCons/Environment.py", line 412, in __getitem__
    return self._dict[key]
KeyError: 'python_module_loc'

What version of the product are you using? On what operating system?

Cantera Revision 2561, Xubuntu with Linux 3.8.0-31 x86_64, scons 2.2.0-1, 
python 2.7.4-0ubuntu1, python3.3 3.3.1-1ubuntu5.2

Please provide any additional information below.

I have looked at https://code.google.com/p/cantera/issues/detail?id=170
which is very similar to this issue apparently.
I have applied the last patch mentioned in the post and tried again -> no 
change in output.

Original issue reported on code.google.com by Jasper...@gmail.com on 16 Oct 2013 at 7:16

GoogleCodeExporter commented 9 years ago
Can you attach the contents of your 'cantera.conf' file and the output of the 
'scons build ...' and 'scons install' commands?

Original comment by yarmond on 16 Oct 2013 at 2:53

GoogleCodeExporter commented 9 years ago
Also, can you clarify whether you are using the '2.1' branch or the 'trunk' 
branch?

Original comment by yarmond on 16 Oct 2013 at 2:55

GoogleCodeExporter commented 9 years ago
This issue cannot be verified / resolved without additional information.

Original comment by yarmond on 15 Nov 2013 at 11:06