[MacPorts] #35409: Processing of port octave failed on Mountain Lion
#35409: Processing of port octave failed on Mountain Lion ----------------------------------+----------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: octave mountain lion | Port: octave ----------------------------------+----------------------------------------- When trying to install port octave on Mountain Lion I'm getting an error: "Error: org.macports.build for port octave returned: command execution failed" And finally: Error: Processing of port octave failed This is on Mountain Lion. I have tried the following, without success: 1. Removed MacPorts completely 2. Reinstalled MacPorts using 2.1.2 Mountain Lion package 3. Confirmed Xcode command line tools have been installed 4. sudo xcodebuild -license (this fixed some prior problems) 5. sudo port clean octave and then attempted to reinstall 6. Changed the server in sources.conf to “http://www.macports.org/files/ports.tar.gz [default]“ (this fixed other prior problems) This all helped with problems getting dependencies built. But no luck yet with octave or octave-devel. I will attach the log file. -- Ticket URL: <https://trac.macports.org/ticket/35409> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: octave mountain lion => mountainlion Old description:
When trying to install port octave on Mountain Lion I'm getting an error:
"Error: org.macports.build for port octave returned: command execution failed"
And finally:
Error: Processing of port octave failed
This is on Mountain Lion. I have tried the following, without success:
1. Removed MacPorts completely 2. Reinstalled MacPorts using 2.1.2 Mountain Lion package 3. Confirmed Xcode command line tools have been installed 4. sudo xcodebuild -license (this fixed some prior problems) 5. sudo port clean octave and then attempted to reinstall 6. Changed the server in sources.conf to “http://www.macports.org/files/ports.tar.gz [default]“ (this fixed other prior problems)
This all helped with problems getting dependencies built. But no luck yet with octave or octave-devel. I will attach the log file.
New description: When trying to install port octave on Mountain Lion I'm getting an error: {{{ Error: org.macports.build for port octave returned: command execution failed }}} And finally: {{{ Error: Processing of port octave failed }}} This is on Mountain Lion. I have tried the following, without success: 1. Removed MacPorts completely 2. Reinstalled MacPorts using 2.1.2 Mountain Lion package 3. Confirmed Xcode command line tools have been installed 4. sudo xcodebuild -license (this fixed some prior problems) 5. sudo port clean octave and then attempted to reinstall 6. Changed the server in sources.conf to “http://www.macports.org/files/ports.tar.gz [default]“ (this fixed other prior problems) This all helped with problems getting dependencies built. But no luck yet with octave or octave-devel. I will attach the log file. -- Comment: The relevant error in the log seems to be: {{{ fatal error: curl/types.h: No such file or directory }}} Try the port octave-devel instead; it's a newer version that might work better. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Comment(by bobm.dsp@…): Thank you. I tried octave-devel and got an error as well. The main.log file is attached here. I'd prefer to use octave-devel, but when I tried octave-devel on Lion I was unable to get it to recognize the functions from the octave-signal port. With the octave port, I was able to use the octave-signal functions. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Comment(by vic@…): I cannot compile octave-devel on Mountain Lion. I have recompiled MacPorts from scratch and compiled all the dependencies for octave-devel, but octave-devel won't compile. I'm attaching the log of my (clean) installation attempt -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Comment(by lawrence.ong@…): One solution is to remove the line {{{ #include <curl/types.h> }}} in {{{ /opt/local/var/macports/build/_Users_lolc_macports_svn.macports.org_trunk_dports_math_octave/octave/work/octave-3.2.4/src /DLD-FUNCTIONS/urlwrite.cc }}} This solution was documented at [http://lists.gnu.org/archive/html/octave- bug-tracker/2011-07/msg00031.html]. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: jmosorioguillen@… (added) Comment: Has duplicate #35527. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Comment(by kitchen.andy@…): Attaching patch and Portfile to make octave compile with newer curl. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory --------------------------------+------------------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: octave --------------------------------+------------------------------------------- Comment(by MacPorts@…): The above advice did not work for me (my change in the source was ignored), but the following hack did work:
sudo touch /opt/local/include/curl/types.h
-- Ticket URL: <https://trac.macports.org/ticket/35409#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35409: octave: fatal error: curl/types.h: No such file or directory -------------------------+-------------------------------- Reporter: bobm.dsp@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: octave | -------------------------+-------------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Patch committed in r97830. -- Ticket URL: <https://trac.macports.org/ticket/35409#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts