jcaiuwyo / cantera

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

Scons Cantera.mak Error: key mak_syslibs does not exist #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out latest SVN (r1791) on Mac OS X 10.7.4
2. scons build CC=llvm-gcc CXX=llvm-g++ 
extra_lib_dirs=/usr/local/lib/gcc/i686-apple-darwin11/4.2.1/x86_64

The extra_lib_dirs is needed to help llvm-gcc locate the -lgfortran library 
which is installed via homebrew into a folder that only gcc can find.

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

Quite a lot builds OK, but in the end it fails with:

Substituting vars from platform/posix/setup_cantera.in to 
build/platform/setup_cantera
Substituting vars from platform/posix/mixmaster.in to build/platform/mixmaster
Substituting vars from platform/posix/Cantera.mak.in to 
build/platform/Cantera.mak
scons: *** [build/platform/Cantera.mak] Error: key mak_syslibs does not exist
scons: building terminated because of errors.

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

Cantera from SVN r1791
Mac OS X 10.7.4
XCode 4.3.3
Sundials 2.5.0 (installed via HomeBrew)
gfortran gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
scons v2.1.0.r5357[MODIFIED]

Please provide any additional information below.

Original issue reported on code.google.com by r.h.w...@gmail.com on 14 Aug 2012 at 8:24

GoogleCodeExporter commented 9 years ago
This patch seems to fix it for me. Not sure if it's missing anything.

Original comment by r.h.w...@gmail.com on 14 Aug 2012 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r1792. Thanks for the patch.

Original comment by yarmond on 14 Aug 2012 at 9:49