hkmoffat / cantera

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

Installation error #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.scons build

What is the expected output? What do you see instead?
ERROR: Failed to determine Sundials version.

What version of the product are you using? On what operating system?
cantera-2.0.0 ; sundials-2.4.0

Please provide any additional information below.
Sundials was installed and lib and include folders were added in the 
corresponding /usr directories. 

Original issue reported on code.google.com by ajinkya....@gmail.com on 6 Aug 2012 at 1:32

GoogleCodeExporter commented 9 years ago
(1) Can you attach the config.log and cantera.conf files that were generated?
(2) What options did you use to compile Sundials (from the config.log in the 
Sundials source directory)

Original comment by yarmond on 6 Aug 2012 at 10:12

GoogleCodeExporter commented 9 years ago
Thanks for your interest. 

1. I have attached the required files.
2. I have used the precompiled libraries available on this website 
(sundials-2.4.x) pasted the sub files/folders in the respective /usr/lib and 
/usr/include folders.

Thanks,
Ajinkya

Original comment by ajinkya....@gmail.com on 7 Aug 2012 at 6:44

Attachments:

GoogleCodeExporter commented 9 years ago
A couple issues:
(1) Something is wrong with the configuration of your C++ compiler, as 
indicated from the line 'CXX=None' in the cantera.conf file. Do you have g++ 
installed? What is the output of running 'g++ --version' from the command line? 
What happens if you try to build with 'scons build CXX=g++'?

(2) Those Sundials binaries are for Windows only (and are labeled as such). You 
will need to either install Sundials using your Linux distribution's package 
manager or build Sundials from source. See 
http://cantera.github.com/docs/sphinx/html/compiling.html#other-required-softwar
e for details.

Original comment by yarmond on 7 Aug 2012 at 3:13

GoogleCodeExporter commented 9 years ago
Hey,

Issue resolved! 

1. As you said, something was wrong with the C++ compiler configuration 
although I had the latest version of g++, adding the argument 'CXX=g++' solved 
it and compilation was successful, with out the SUNDIALS suite
2. I downloaded the correct version of SUNDIALS and cantera was installed with 
SUNDIALS without any errors.

Thanks for devoting your time to resolve the issue.
Ajinkya

Original comment by ajinkya....@gmail.com on 8 Aug 2012 at 10:58

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 8 Aug 2012 at 6:07