Opened 6 years ago
Closed 6 years ago
#56659 closed defect (fixed)
Fails to install any octave-* packages (possible reason: "unable to find the mkoctfile command")
Reported by: | alatina (Andrea L) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.2 |
Keywords: | highsierra | Cc: | alatina (Andrea L), Schamschula (Marius Schamschula) |
Port: | octave-general |
Description
My macports fails to install any octave-* packages. Example:
sudo port install octave-general ---> Computing dependencies for octave-general ---> Configuring octave-general Error: Failed to configure octave-general: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port octave-general failed
If I try the same within octave, it also fails but explains why:
octave:1> pkg install -forge general pkg: unable to find the mkoctfile command, Octave installation is incomplete error: called from __gripe_missing_component__ at line 53 column 3 configure_make at line 40 column 7 install at line 184 column 7 pkg at line 437 column 9
Apparently it does not find the 'mkoctfile' command....
I do have the very latest macport of octave installed.
Attachments (1)
Change History (19)
comment:1 Changed 6 years ago by alatina (Andrea L)
Port: | octave-general added; octave-* removed |
---|
comment:2 Changed 6 years ago by alatina (Andrea L)
Cc: | alatina added |
---|
comment:3 Changed 6 years ago by jmroot (Joshua Root)
Owner: | set to Schamschula |
---|---|
Status: | new → assigned |
comment:4 Changed 6 years ago by jmroot (Joshua Root)
comment:6 Changed 6 years ago by Schamschula (Marius Schamschula)
Why are you installing a package from within octave?
Under MacPorts, octave packages are supplied as ports. Thus, if you want to install the general package you run the following command:
sudo port install octave-general
This will install any other octave package dependencies, if needed.
comment:7 Changed 6 years ago by alatina (Andrea L)
Yes, I know I should do it through macports. My attempt to install the package from within octave was just because
sudo port install octave-general
fails.
The attempt from within octave failed as well, with the same error: "unable to find the mkoctfile command, Octave installation is incomplete" main.log file, line 140.
comment:8 Changed 6 years ago by Schamschula (Marius Schamschula)
What does
ls -l /opt/local/bin/mkoctfile
say?
comment:9 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:10 follow-up: 12 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | alatina removed |
---|
There is no need to CC the reporter.
I believe this error is a result of a recent change to octave.
I am working on a fix.
comment:11 Changed 6 years ago by Schamschula (Marius Schamschula)
Cc: | alatina Schamschula added; MarcusCalhoun-Lopez removed |
---|---|
Owner: | changed from Schamschula to MarcusCalhoun-Lopez |
Even though octave @4.4.0_4 shows the correct path to mkoctfile
, in my case /opt/local/bin/mkoctfile
, which is a symlink to /opt/local/bin/mkoctfile-4.x.x
, the pkg
command can't find it.
comment:12 follow-up: 14 Changed 6 years ago by raimue (Rainer Müller)
Replying to MarcusCalhoun-Lopez:
There is no need to CC the reporter.
Off topic: As of Trac 1.2 users can opt-out from notifications, while reporters where forced to receive notifications before. Please no longer remove the reporter from CC, as you cannot know their Trac preferences.
comment:13 follow-up: 15 Changed 6 years ago by alatina (Andrea L)
Indeed, mkoctfile exists and is a symlink to mkoctfile-4.x.x. It works, at least from the command line:
macbe16641:~ andrea$ ls -l /opt/local/bin/mkoctfile lrwxr-xr-x 1 root wheel 15 Jun 13 09:57 /opt/local/bin/mkoctfile -> mkoctfile-4.x.x macbe16641:~ andrea$ /opt/local/bin/mkoctfile --version mkoctfile, version 4.4.0
comment:14 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to raimue:
Off topic: As of Trac 1.2 users can opt-out from notifications, while reporters where forced to receive notifications before. Please no longer remove the reporter from CC, as you cannot know their Trac preferences.
Thank you for the information.
I was unaware of the change and was giving out bad advice.
comment:15 follow-up: 16 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to alatina:
Indeed, mkoctfile exists and is a symlink to mkoctfile-4.x.x. It works, at least from the command line:
This is definitely a problem with the octave port.
mkoctfile-4.x.x
exists, but octave is looking for mkoctfile-4.4.0
, which does not exist.
This is due to a mistake in a recent change, which in turn was trying to fix another problem.
I think I know a fix to both problems, but it may take me a day or two to find the time to implement it.
comment:16 follow-up: 17 Changed 6 years ago by alatina (Andrea L)
Replying to MarcusCalhoun-Lopez:
Replying to alatina:
Indeed, mkoctfile exists and is a symlink to mkoctfile-4.x.x. It works, at least from the command line:
This is definitely a problem with the octave port.
mkoctfile-4.x.x
exists, but octave is looking formkoctfile-4.4.0
, which does not exist.
This is due to a mistake in a recent change, which in turn was trying to fix another problem.I think I know a fix to both problems, but it may take me a day or two to find the time to implement it.
Alright, take your time.
At least now I know what workaround I can use to temporarily fix the problem. Thanks a lot!
comment:17 Changed 6 years ago by alatina (Andrea L)
Replying to alatina:
Replying to MarcusCalhoun-Lopez:
Replying to alatina:
Indeed, mkoctfile exists and is a symlink to mkoctfile-4.x.x. It works, at least from the command line:
This is definitely a problem with the octave port.
mkoctfile-4.x.x
exists, but octave is looking formkoctfile-4.4.0
, which does not exist.
This is due to a mistake in a recent change, which in turn was trying to fix another problem.I think I know a fix to both problems, but it may take me a day or two to find the time to implement it.
Alright, take your time.
At least bow I know what workaround I can use to temporarily fix the problem. Thanks a lot!
For the records, the workaround (i.e. creating a link to mkoctfile-4.x.x called mkoctfile-4.4.0) didn't really work. So, I will just wait for your fix.
comment:18 Changed 6 years ago by Marcus Calhoun-Lopez <marcuscalhounlopez@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Please attach the log for octave-general.