Opened 9 years ago

Closed 9 years ago

#47919 closed defect (invalid)

Problems installing Octave

Reported by: spongda@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: octave

Description

I have tried to install octave, but it fails for reasons that are not clear to me. The log file is attached. I am running under MacOS 10.10.3, Macports 2.3.3 on a MacBook Pro, 2.6GHz Intel Core i7, 16GB memory.

Attachments (1)

main_octave.log (9.9 MB) - added by spongda@… 9 years ago.
main.log file for Octave install

Change History (5)

Changed 9 years ago by spongda@…

Attachment: main_octave.log added

main.log file for Octave install

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: octave removed
Owner: changed from macports-tickets@… to michaelld@…

In the future, please Cc the port maintainers (port info --maintainers octave), if any.

comment:2 Changed 9 years ago by michaelld (Michael Dickens)

The key debug info is:

:info:build ld: warning: ignoring file /usr/local/lib/libfftw3.a, file was built for archive which is not the architecture being linked (x86_64): /usr/local/lib/libfftw3.a
:info:build ld: warning: ignoring file /usr/local/lib/libgfortran.dylib, file was built for i386 which is not the architecture being linked (x86_64): /usr/local/lib/libgfortran.dylib

Looks like you have cruft (32-bit i386 stuff) installed info /usr/local. Homebrew generally installs into /usr/local, so maybe you have old HB cruft around?

MacPorts tries to restrict search locations for dependencies as best possible, but we can't get everything all the time. Hence, we highly recommend picking a specific package installed (MacPorts, Fink, Homebrew) and sticking with it alone.

If you have no idea what the stuff there is, then I'd advise removing anything unnecessary in /usr/local.

comment:3 in reply to:  2 Changed 9 years ago by spongda@…

Replying to michaelld@…:

I deleted the files you mentioned and unstalled fink and homebrew. Now the octave port completes OK. Thank for the help.

The key debug info is:

:info:build ld: warning: ignoring file /usr/local/lib/libfftw3.a, file was built for archive which is not the architecture being linked (x86_64): /usr/local/lib/libfftw3.a
:info:build ld: warning: ignoring file /usr/local/lib/libgfortran.dylib, file was built for i386 which is not the architecture being linked (x86_64): /usr/local/lib/libgfortran.dylib

Looks like you have cruft (32-bit i386 stuff) installed info /usr/local. Homebrew generally installs into /usr/local, so maybe you have old HB cruft around?

MacPorts tries to restrict search locations for dependencies as best possible, but we can't get everything all the time. Hence, we highly recommend picking a specific package installed (MacPorts, Fink, Homebrew) and sticking with it alone.

If you have no idea what the stuff there is, then I'd advise removing anything unnecessary in /usr/local.

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: newclosed

I'm glad that worked for you; thanks for replying!

Note: See TracTickets for help on using tickets.