[Again: please Cc [email protected] in your replies]

Please see the following link for how to install this on OS X 10.9:

http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-10-9-mavericks-how-to/

Johannes

On Mon, Jan 6, 2014 at 3:30 PM, 盛华山 <[email protected]> wrote:
> I have cut the picture of Downloads tab within the Xcode Preferences. But I'm 
> not sure does the Pic2 mean that Xcode Command Line Tools have installed.
> Thanks!
>
> ----- 原始邮件 -----
> 发件人: "Johannes Ring" <[email protected]>
> 收件人: "盛华山" <[email protected]>
> 抄送: [email protected]
> 发送时间: 星期一, 2014年 1 月 06日 下午 10:04:32
> 主题: Re: [FEniCS-support] Install problem on macbook pro os 10.9
>
> On Mon, Jan 6, 2014 at 2:28 PM, 盛华山 <[email protected]> wrote:
>>
>> Thanks!
>> there is no /include/python 2.7 ,and even /include/ does not exist. Am I 
>> missing some step when installing
>
> It looks like the Python framework was removed in OS X 10.9:
>
> https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/index.html
>
> You said in your initial post that you have Xcode and "the command
> line tool seems installed by itself". Are you sure you have installed
> the Xcode Command Line Tools?
>
> Anyway, we do not currently have a binary package for OS X 10.9 and it
> is unlikely that the package for 10.8 will work on 10.9.
>
> Johannes
>
>> ----- 原始邮件 -----
>> 发件人: "Johannes Ring" <[email protected]>
>> 收件人: "盛华山" <[email protected]>
>> 抄送: [email protected]
>> 发送时间: 星期一, 2014年 1 月 06日 下午 9:14:28
>> 主题: Re: [FEniCS-support] Install problem on macbook pro os 10.9
>>
>> [Please keep fenics-support in Cc]
>>
>> In your compile.log I see this:
>>
>> [100%] Building CXX object
>> CMakeFiles/_d90675a333a0cf9426be4e77462853b0f4a37678.dir/d90675a333a0cf9426be4e77462853b0f4a37678PYTHON_wrap.cxx.o
>> /usr/bin/g++   -D_d90675a333a0cf9426be4e77462853b0f4a37678_EXPORTS
>> -fPIC -I/Applications/FEniCS.app/Contents/Resources/include
>> -I/usr/include/python2.7
>> -I/private/var/folders/fl/qv13001n0050ptwf_vc5g8680000gn/T/tmpLKiUDP2014-1-6-16-16_instant/d90675a333a0cf9426be4e77462853b0f4a37678
>>    -o 
>> CMakeFiles/_d90675a333a0cf9426be4e77462853b0f4a37678.dir/d90675a333a0cf9426be4e77462853b0f4a37678PYTHON_wrap.cxx.o
>> -c 
>> /private/var/folders/fl/qv13001n0050ptwf_vc5g8680000gn/T/tmpLKiUDP2014-1-6-16-16_instant/d90675a333a0cf9426be4e77462853b0f4a37678/d90675a333a0cf9426be4e77462853b0f4a37678PYTHON_wrap.cxx
>> /private/var/folders/fl/qv13001n0050ptwf_vc5g8680000gn/T/tmpLKiUDP2014-1-6-16-16_instant/d90675a333a0cf9426be4e77462853b0f4a37678/d90675a333a0cf9426be4e77462853b0f4a37678PYTHON_wrap.cxx:150:10:
>> fatal error: 'Python.h' file not found
>> #include <Python.h>
>>          ^
>> 1 error generated.
>> make[2]: *** 
>> [CMakeFiles/_d90675a333a0cf9426be4e77462853b0f4a37678.dir/d90675a333a0cf9426be4e77462853b0f4a37678PYTHON_wrap.cxx.o]
>> Error 1
>> make[1]: *** [CMakeFiles/_d90675a333a0cf9426be4e77462853b0f4a37678.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> The problem is that it cannot find Python.h, however, this file should
>> be in /usr/include/python2.7, which is included on the compile line
>> (-I/usr/include/python2.7). Can you verify that you have Python.h in
>> /usr/include/python2.7?
>>
>> Johannes
>>
>> [compile.log attached for reference]
>>
>> On Mon, Jan 6, 2014 at 1:11 PM, 盛华山 <[email protected]> wrote:
>>> Thanks so much!
>>>
>>> ----- 原始邮件 -----
>>> 发件人: "Johannes Ring" <[email protected]>
>>> 收件人: "盛华山" <[email protected]>
>>> 抄送: [email protected]
>>> 发送时间: 星期一, 2014年 1 月 06日 下午 8:05:20
>>> 主题: Re: [FEniCS-support] Install problem on macbook pro os 10.9
>>>
>>> On Mon, Jan 6, 2014 at 12:53 PM, 盛华山 <[email protected]> wrote:
>>>> Hi
>>>>   Thanks for helping me.
>>>>   When I test demo_poisson.py (python demo_poisson.py) in Terminal, there 
>>>> are some errors.
>>>>
>>>> I have installed :
>>>>
>>>> Xcode (the command line tool seems installed by itself) ;
>>>>
>>>> Xquartz(the connection of X11 on Download webside ?);
>>>>
>>>> sudo xcodebuild -license  also done
>>>>
>>>> but still some errors: the message are
>>>>
>>>> Calling FFC just-in-time (JIT) compiler, this may take some time.
>>>> In instant.recompile: The module did not compile with command 'make 
>>>> VERBOSE=1 ', see 
>>>> '/Users/HSSheng/.instant/error/d90675a333a0cf9426be4e77462853b0f4a37678/compile.log'
>>>> Traceback (most recent call last):
>>>> File "demo_poisson.py", line 41, in
>>>> V = FunctionSpace(mesh, "Lagrange", 1)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
>>>>  line 390, in init
>>>> FunctionSpaceBase.init(self, mesh, element, constrained_domain)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
>>>>  line 84, in init
>>>> ufc_element, ufc_dofmap = jit(self._ufl_element)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
>>>>  line 66, in mpi_jit
>>>> return local_jit(*args, **kwargs)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
>>>>  line 154, in jit
>>>> return jit_compile(form, parameters=p, common_cell=common_cell)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
>>>>  line 75, in jit
>>>> return jit_element(ufl_object, parameters)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
>>>>  line 244, in jit_element
>>>> compiled_form, module, form_data, prefix = jit_form(form, parameters)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
>>>>  line 212, in jit_form
>>>> cache_dir = cache_dir)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ufc_utils/build.py",
>>>>  line 64, in build_ufc_module
>>>> **kwargs)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
>>>>  line 541, in build_module
>>>> recompile(modulename, module_path, new_compilation_checksum, build_system)
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
>>>>  line 150, in recompile
>>>> instant_error(msg % (cmd, compile_log_filename_dest))
>>>> File 
>>>> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/output.py",
>>>>  line 49, in instant_error
>>>> raise RuntimeError(text)
>>>> RuntimeError: In instant.recompile: The module did not compile with 
>>>> command 'make VERBOSE=1 ', see 
>>>> '/Users/HSSheng/.instant/error/d90675a333a0cf9426be4e77462853b0f4a37678/compile.log'
>>>
>>> Please attach the compile.log file.
>>>
>>> Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to