简体   繁体   English

八度 io package 在 macOS 上的安装

[英]Octave io package installation on macOS

I've searched the web high and low to no avail so I'm resorting to asking here..我搜索了 web 高低都无济于事,所以我求助于这里..

I want to install the io package to Octave 4.4.1 on MacOS Catalina (10.15.5).我想在 MacOS Catalina (10.15.5) 上将 io package 安装到 Octave 4.4.1。 I've tried installing directly from the Forge and again from the.gz file, but I get the following error every time:我尝试直接从 Forge 安装并再次从 .gz 文件安装,但每次都出现以下错误:

configure: error: in `/var/folders/rh/y2fddn916sg3v_8pkln9z7jr0000gq/T/oct-JsL8yQ/io-2.6.1/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for mkoctfile... /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1
checking for octave-config... /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/octave-config-4.4.1
checking whether the C++ compiler works... no

pkg: error running the configure script for io.
error: called from
    configure_make at line 82 column 9
    install at line 184 column 7
    pkg at line 437 column 9

I know I need to provide the config.log file to troubleshoot but I cannot for my life find this anywhere.我知道我需要提供 config.log 文件来进行故障排除,但我终生无法在任何地方找到它。 So:所以:

  1. Where do I find the config file?我在哪里可以找到配置文件?
  2. How do I get io to install?如何安装 io?

I don't pretend to know anything about programming so less-technical answers appreciated if possible.我不会假装对编程一无所知,因此如果可能的话,技术性较低的答案将受到赞赏。 I installed Octave using the native mac app version from the website.我使用网站上的本机 mac 应用程序版本安装了 Octave。

configure: error: C++ compiler cannot create executables
...
checking whether the C++ compiler works... no

This generally means that either you have Xcode installed but have not yet run it and accepted the EULA (which you must do once before using Xcode for anything, including command line work), and/or don't have the Xcode Command Line Tools installed (which you can do using sudo xcode-select --install ).这通常意味着您要么安装了 Xcode 但尚未运行它并接受了 EULA(在使用 Xcode 之前必须执行一次,包括命令行工作),和/或没有安装 ZA3B5EBD2E 命令行工具805A7A (您可以使用sudo xcode-select --install来完成)。

That being said, there are outstanding issues with installing several Octave Forge packages on macOS.话虽如此,在 macOS 上安装多个 Octave Forge 软件包存在一些突出问题。 If you have further trouble with it, you can drop by the Octave.app repo on GitHub for support.如果您还有其他问题,可以通过GitHub 上的 Octave.app 存储库获取支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM