2015-08-24 5 views
0

Я не уверен, могу ли я задать этот вопрос здесь.Установите Qutip на Mac os x 10.10 через MacPorts

Я попытался установить QuTips на мой mac osx 10.10. Следуйте этим двум документам для установки Qutip и MacPorts. Теперь я пытаюсь установить gcc49.

Когда я выполнить эту команду sudo port install py34-scipy я получил следующую ошибку

Admins-iMac-2:base admin$ sudo port install py27-scipy 
---> Computing dependencies for py27-scipy 
The following dependencies will be installed: 
gcc49 
py27-numpy 
swig 
swig-python 
Continue? [Y/n]: y 
---> Building gcc49 
Error: Failed to build gcc49: command execution failed 
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log for details. 
Error: Follow http://guide.macports.org/#project.tickets to report a bug. 
Error: Processing of port py27-scipy failed 
Admins-iMac-2:base admin$ sudo port install py34-numpy 
---> Computing dependencies for py34-numpy 
The following dependencies will be installed: gcc49 
Continue? [Y/n]: y 
---> Building gcc49 
Error: Failed to build gcc49: command execution failed 
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log for details. 
Error: Follow http://guide.macports.org/#project.tickets to report a bug. 
Error: Processing of port py34-numpy failed 
Admins-iMac-2:base admin$ vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log 
Admins-iMac-2:base admin$ 

я пойти и посмотреть на main.log файл. В конце этого файла я попал ниже ошибок

:info:build gcc/vtable-verify.o differs 
:info:build make[2]: *** [compare] Error 1 
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/work/build' 
:info:build make[1]: *** [stage3-bubble] Error 2 
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/work/build' 
:info:build make: *** [bootstrap] Error 2 
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/work/build' 
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/work/build" && /usr/bin/make -j4 -w bootstrap 
:info:build Exit code: 2 
:error:build Failed to build gcc49: command execution failed 
:debug:build Error code: CHILDSTATUS 2595 2 
:debug:build Backtrace: command execution failed 
:debug:build  while executing 
:debug:build "system {*}$notty {*}$nice $fullcmdstring" 
:debug:build  invoked from within 
:debug:build "command_exec build" 
:debug:build  (procedure "portbuild::build_main" line 8) 
:debug:build  invoked from within 
:debug:build "$procedure $targetname" 
:debug:build Registry error: gcc49 not registered as installed & active. 
:debug:build  invoked from within 
:debug:build "registry_active $subport" 
:debug:build  invoked from within 
:debug:build "$workername eval registry_active \$subport" 
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log for details. 

Не знаком с этим. Я не могу завершить установку без этого gcc49. Кроме того, я устанавливаю gcc48, но не работает для меня. Каждый раз, когда он автоматически пытался установить gcc49.

У кого-нибудь есть предложение, оно будет действительно оценено.

+0

Вы были правы в вставив файл журнала, но соответствующий вывод ошибок на самом деле отсутствует, потому что это случилось до вашего обрезания. Если вам нужен ответ, вам нужно будет заполнить весь main.log. Вы также можете попробовать список рассылки пользователей MacPorts для поддержки: https://www.macports.org/contact.php#Lists – neverpanic

ответ

1

Я могу ответить на мой вопрос

запустить sudo port clean gcc49, затем попробуйте еще раз