Установка pstoedit через macports не удалась

609
mike

Я нахожусь в процессе установки октавы через macports (что, кстати, было очень больно днем), после компиляции в течение почти дня, macports устанавливает некоторые последние зависимости, одна из них - pstoedit .

Но установка не удалась, потому что хранилище кажется сломанным. Установка его вручную через macports с флагом -v выдает следующий результат.

---> Computing dependencies for pstoedit. ---> Verifying checksums for pstoedit ---> Checksumming pstoedit-3.70.tar.gz Error: org.macports.checksum for port pstoedit returned: pstoedit-3.70.tar.gz does not exist in /opt/local/var/macports/distfiles/pstoedit Warning: targets not executed for pstoedit: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Please see the log file for port pstoedit for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_pstoedit/pstoedit/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pstoedit failed 

Вот полный вывод, но он не содержит больше связанной информации.

Что я могу сделать, чтобы удовлетворить зависимости октавы? Можно ли решить проблему с pstoedit? Будет ли этого достаточно для macports, если я сам скомпилирую и установлю pstoedit, или есть какие-то требования со стороны macports?

1

1 ответ на вопрос

1
j-beda

I also have pstoedit installed as a consequence of the MacPorts installation of Octave and I had similar problems today with building pstoedit 3.70_3 (when doing a "sudo port upgrade outdated") and found success with temporarily renaming /usr/local to /usr/local-temp

This temporary renaming of /usr/local can be seen as a suggestion in various places such as https://trac.macports.org/wiki/FAQ#usrlocal

What worked for me was:

sudo port clean --all pstoedit sudo mv /usr/local /usr/local-temp sudo port install --unrequested pstoedit sudo mv /usr/local-temp /usr/local 

The --unrequested flag was used since pstoedit is not something I need by itself, but only as dependant for some of my requested ports (namely Octave).

Probably we should report somewhere that this was necessary.

It is possible that the same effect could have been accomplished by using the "-t" flag as referenced in the FAQ linked above, but I did not try that.

sudo port -t install --unrequested pstoedit