Opened 6 years ago

Closed 6 years ago

#46604 closed defect (invalid)

octave @3.8.2_3 +atlas+gcc49+x11 fails, something to to with fltk

Reported by: jkordani (Joshua Kordani) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: octave

Description

build log attached

Attachments (1)

main.log (2.9 MB) - added by jkordani (Joshua Kordani) 6 years ago.
salient error message at line 25447 I believe

Change History (8)

comment:1 Changed 6 years ago by jkordani (Joshua Kordani)

I can get octave @3.8.2_3 +atlas+gcc49 to build and octave seems to work, but no plotting functions work, clearly. I am on 10.7

Changed 6 years ago by jkordani (Joshua Kordani)

Attachment: main.log added

salient error message at line 25447 I believe

comment:2 Changed 6 years ago by seanfarley (Sean Farley)

Interesting. Can you try building with the new +gui variant? Also, plotting is controlled via gnuplot. Do you have gnuplot +aquaterm installed? If not, try that first (i.e. install gnuplot +aquaterm then octave +atlas +gcc49). That works for me here.

comment:3 Changed 6 years ago by jkordani (Joshua Kordani)

Going with gnuplot +x11-aquaterm instead, which does work. Recently discovered this mess to do with the *-headers packages messing things up, so after nuking octave and octave-devel and fltk, I'm doing a fresh install of just octave +atlas+docs+x11. If it fails I'll try +gui instead.

comment:4 Changed 6 years ago by jkordani (Joshua Kordani)

And with plotting, when I would call the plotting functions in octave I'd get an error. I figured they were shipped out to gnuplot anyways, but I had a separate gnuplot window open. I tried setting octave term to x11 but the call would fail, so maybe aquaterm was baked in. At that time I'd switched gnuplot back over to x11 and didn't want to change it, but I guess if all else fails I'll try that.

comment:5 Changed 6 years ago by jkordani (Joshua Kordani)

Sorry for the noise on this ticket but the last octave @3.8.2_3+atlas+docs+x11 call succeeeded. My steps to correct this problem involved uninstalling CarbonHeaders, libunwind-headers,dyld_headers and some other *-headers library I can't remember at the moment. After that I uninstalled all octave and octave-devel packages and fltk, and a reinstall of octave seems to have done the trick.

edit: added a *-headers package I forgot

Last edited 6 years ago by jkordani (Joshua Kordani) (previous) (diff)

comment:6 Changed 6 years ago by jkordani (Joshua Kordani)

also in regards to plotting functions not working. I get a syntax error in octave when I invoke set term x11. If I now instead say setenv GNUPLOT x11, things work. does this have to do with aquaterm support in octave, as in, if aquaterm support is added then this command has enough support to work?

comment:7 Changed 6 years ago by seanfarley (Sean Farley)

Resolution: invalid
Status: newclosed

No idea about the octave side of things. That's probably better asked to an octave dev.

Note: See TracTickets for help on using tickets.