Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43396 closed defect (invalid)

octave-3.6.4_12 build fail in Mavericks 10.9.2

Reported by: kent.conover@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: octave

Description (last modified by mf2k (Frank Schima))

Error: org.macports.build for port octave returned: command execution failed

Here is the section of the log file containing the first and subsequent error messages:

:info:build /opt/local/bin/grep: /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build libtool: link: `/localscratch/compile/szip-2.1/szip/lib/libsz.la' is not a valid libtool archive
:info:build make[3]: *** [liboctinterp.la] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4" && /usr/bin/make -w all LANG="C" 
:info:build Exit code: 2
:error:build org.macports.build for port octave returned: command execution failed
:debug:build Error code: CHILDSTATUS 78954 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for octave: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port octave for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log

Attachments (6)

octave.log.bz2 (63.3 KB) - added by kent.conover@… 11 years ago.
octave.log.bz2
octave_log_suggestion_1_+szip.txt (2.5 MB) - added by kent.conover@… 11 years ago.
import log for first suggestion
octave_log_suggestion_2_-t.txt (144.4 KB) - added by kent.conover@… 11 years ago.
Import log for second suggestion
octave-config.log (31.9 KB) - added by kent.conover@… 11 years ago.
octave-info.tar.bz2 (156.4 KB) - added by kent.conover@… 11 years ago.
octave_usr_local-info.tar.bz2 (2.7 KB) - added by kent.conover@… 11 years ago.
octave_usr_local-info.tar.bz2

Change History (28)

comment:1 Changed 11 years ago by kent.conover@…

Cc: kent.conover@… added

Cc Me!

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Cc: kent.conover@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: octave added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers octave). As reporter, you do not need to Cc yourself.

Please attach the complete main.log.

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

Please do the following:

sudo port clean octave
sudo port selfupdate
sudo port install octave

and, if the final command fails, do:

cp `port logfile octave` ~/Desktop/octave.log
bzip2 ~/Desktop/octave.log

and then post the compressed log file to this ticket.

Changed 11 years ago by kent.conover@…

Attachment: octave.log.bz2 added

octave.log.bz2

comment:4 Changed 11 years ago by kent.conover@…

I have followed your instructions and attached the log file. Many Thanks -K

comment:5 Changed 11 years ago by michaelld (Michael Dickens)

Here's the error:

:info:build /opt/local/bin/grep: /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build libtool: link: `/localscratch/compile/szip-2.1/szip/lib/libsz.la' is not a valid libtool archive

Can you shed light on what "/localscratch/" is on your system? I've never heard of such a thing, on my system or needed/used by Octave.

comment:6 in reply to:  5 Changed 11 years ago by kent.conover@…

Replying to michaelld@…:

Right! In answer to your query, the folder /localscratch/ does not exist on my machine. I assume that it should be created by one of the port steps. I know little about it beyond the inkling that folders with this name are used by grid engines. for example: https://ugrgrid.ugr.es/index.php?page=aplicaciones&idioma=en. It is likely that someone wants to deploy "octave" in such a setting.

Here's the error:

:info:build /opt/local/bin/grep: /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /localscratch/compile/szip-2.1/szip/lib/libsz.la: No such file or directory
:info:build libtool: link: `/localscratch/compile/szip-2.1/szip/lib/libsz.la' is not a valid libtool archive

Can you shed light on what "/localscratch/" is on your system? I've never heard of such a thing, on my system or needed/used by Octave.

comment:7 Changed 11 years ago by michaelld (Michael Dickens)

OK; I've no idea why a grid engine might be in use. Octave, to the best of my knowledge, does not make use of such an engine; maybe one of its dependencies might, though. Hence, let's work that angle. What do the following return for you? Probably easiest to attach them as text files.

env
port installed | grep active

Also, do you know of anything else installed on your host computer, e.g., via Fink, HomeBrew, source, or downloaded binary? These sorts of installs often interfere with MacPorts; we do our best to keep interactions at a minimum, but sometimes it's difficult to do so.

comment:8 Changed 11 years ago by kent.conover@…

Here you are:

$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/fx/qsys9ft1565gwy_z0_2rmn380000gn/T/
FSLMULTIFILEQUIT=TRUE
Apple_PubSub_Socket_Render=/tmp/launch-ZcAXB3/Render
TERM_PROGRAM_VERSION=326
TERM_SESSION_ID=EEF3CB82-FC00-4DC7-BE4B-56637B39E90E
USER=conover
FSLGECUDAQ=cuda.q
SSH_AUTH_SOCK=/tmp/launch-oAtq4h/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
FSL_FIXDIR=/usr/local/fix1.06
VIRTUAL_ENV=/Users/conover/Library/Enthought/Canopy_64bit/User
FSL_FIX_FSLMATLAB=/usr/local/fsl/etc/matlab
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/fix1.06:/usr/abin://anaconda/bin:/Users/conover/Library/Enthought/Canopy_64bit/User/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/local/bx:/Users/conover/bin:/usr/local/bin/mricro:/sw/bin:/Applications/Afni/macosx_10.4_Intel:/opt/local/bin:/opt/local/sbin:/usr/local/fsl/bin:/Applications/Inkscape.app/Contents/MacOS:/usr/local/bic_tools/bic/bic/bin:/usr/local/bic_tools/bic/bin:/usr/local/bic/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
__CHECKFIX1436934=1
FSL_FIX_OCEVAL=--eval
PWD=/Users/conover
FSL_FIX_OCTAVE=/usr/local/octave/3.8.0/bin
LANG=en_CA.UTF-8
FSLTCLSH=/usr/local/fsl/bin/fsltclsh
FSLMACHINELIST=
FSL_FIX_MATLAB_MODE=2
FSLREMOTECALL=
FSLWISH=/usr/local/fsl/bin/fslwish
SHLVL=1
HOME=/Users/conover
FREESURFER_HOME=/Applications/freesurfer
LOGNAME=conover
FSLDIR=/usr/local/fsl
CBIG_ROOT=/Volumes/ada2/home/SHIZGAL_LAB/CBIG
_GOOGLE_GILD_RUNTIME_FRAMEWORK_ABSOLUTE_PATH_=/Library/Google/Frameworks/Gild.framework
DISPLAY=/tmp/launch-fINcrs/org.macosforge.xquartz:0
TORQUEHOME=/var/spool/torque
FSLLOCKDIR=
FSLOUTPUTTYPE=NIFTI_GZ
SECURITYSESSIONID=186c2
FSL_FIX_OCFILE=
FSL_FIX_OCOPTS=--traditional -q --no-window-system
_=/usr/bin/env
$ port installed | grep active
  aquaterm @1.1.1_0 (active)
  arpack @3.1.5_0+accelerate+gfortran (active)
  atlas @3.10.1_5+gcc47 (active)
  autoconf @2.69_2 (active)
  automake @1.14.1_2 (active)
  bison @2.7.1_0 (active)
  bzip2 @1.0.6_0 (active)
  cairo @1.12.16_2+x11 (active)
  cctools @845_1+llvm33 (active)
  cctools-headers @845_0 (active)
  cloog @0.18.0_0 (active)
  coreutils @8.22_0 (active)
  curl @7.36.0_0+ssl (active)
  curl-ca-bundle @7.36.0_0 (active)
  db46 @4.6.21_9 (active)
  db_select @0.1_2 (active)
  djvulibre @3.5.25_8 (active)
  docbook-xml @5.0_2 (active)
  docbook-xml-4.1.2 @5.0_1 (active)
  docbook-xml-4.2 @5.0_1 (active)
  docbook-xml-4.3 @5.0_1 (active)
  docbook-xml-4.4 @5.0_1 (active)
  docbook-xml-4.5 @5.0_1 (active)
  docbook-xml-5.0 @5.0_1 (active)
  docbook-xsl @1.78.1_0 (active)
  epstool @3.08_6 (active)
  expat @2.1.0_0 (active)
  fftw-3 @3.3.4_0 (active)
  fftw-3-single @3.3.4_0 (active)
  findutils @4.4.2_1 (active)
  flex @2.5.37_1 (active)
  fontconfig @2.11.1_0 (active)
  fop @1.1_0 (active)
  freetype @2.5.3_1 (active)
  gawk @4.1.0_0 (active)
  gcc47 @4.7.3_3 (active)
  gcc48 @4.8.2_0 (active)
  gcc_select @0.1_8 (active)
  gd2 @2.1.0_6+x11 (active)
  gdbm @1.11_0 (active)
  getopt @1.1.5_1 (active)
  gettext @0.18.3.2_0 (active)
  ghostscript @9.10_2+x11 (active)
  glib2 @2.40.0_0 (active)
  glpk @4.48_0 (active)
  gmp @6.0.0_0 (active)
  gnuplot @4.6.5_0+aquaterm+luaterm+pangocairo+wxwidgets+x11 (active)
  gobject-introspection @1.40.0_0 (active)
  gperf @3.0.4_2 (active)
  GraphicsMagick @1.3.19_0+q8 (active)
  graphite2 @1.2.4_0 (active)
  grep @2.18_0 (active)
  groff @1.22.2_1 (active)
  gsed @4.2.2_0 (active)
  harfbuzz @0.9.27_0 (active)
  harfbuzz-icu @0.9.27_0 (active)
  hdf5-18 @1.8.12_1+cxx (active)
  icu @51.2_1 (active)
  ImageMagick @6.8.9-0_0+x11 (active)
  isl @0.12_0 (active)
  jasper @1.900.1_10 (active)
  jbig2dec @0.11_1 (active)
  jbigkit @2.1_0 (active)
  jpeg @9a_1 (active)
  lcms2 @2.6_0 (active)
  ld64 @136_2+llvm33 (active)
  less @458_0 (active)
  libedit @20121213-3.0_0 (active)
  libffi @3.0.13_0 (active)
  libgcc @4.8.2_0 (active)
  libiconv @1.14_0 (active)
  libidn @1.26_0 (active)
  libmpc @1.0.2_0 (active)
  libpaper @1.1.24_0 (active)
  libpixman @0.32.4_0 (active)
  libpng @1.6.10_0 (active)
  libtool @2.4.2_3 (active)
  libvpx @1.3.0_1 (active)
  libxml2 @2.9.1_0 (active)
  libxslt @1.1.28_0 (active)
  libzzip @0.13.62_0 (active)
  llvm-3.3 @3.3_1 (active)
  llvm_select @0.2_0 (active)
  lua @5.2.3_0 (active)
  m4 @1.4.16_0 (active)
  mpfr @3.1.1-p2_0 (active)
  ncurses @5.9_2 (active)
  netpbm @10.66.01_0 (active)
  openjpeg15 @1.5.0_1 (active)
  openssl @1.0.1g_0 (active)
  pango @1.36.3_0+x11 (active)
  pcre @8.35_0 (active)
  perl5 @5.12.4_0+perl5_12 (active)
  perl5.12 @5.12.4_3 (active)
  pkgconfig @0.28_0 (active)
  plotutils @2.6_5 (active)
  poppler @0.24.5_0 (active)
  poppler-data @0.4.6_0 (active)
  ppl @1.0_2 (active)
  pstoedit @3.61_5 (active)
  psutils @p17_1 (active)
  python27 @2.7.6_0 (active)
  python_select @0.3_3 (active)
  qhull @2012.1_2 (active)
  qrupdate @1.1.2_2+atlas+gcc48 (active)
  readline @6.3.003_0 (active)
  sqlite3 @3.8.4.3_0 (active)
  SuiteSparse @4.2.1_2 (active)
  t1lib @5.1.2_2 (active)
  texinfo @5.2_0 (active)
  texlive-basic @30847_0+doc (active)
  texlive-bin @2013_5+x11 (active)
  texlive-common @2013_0 (active)
  texlive-latex @30738_0+doc (active)
  tiff @4.0.3_2 (active)
  transfig @3.2.5d_5 (active)
  urw-fonts @1.0.7pre44_0 (active)
  webp @0.4.0_0 (active)
  wxWidgets-3.0 @3.0.0_5 (active)
  wxWidgets_select @1.0_0 (active)
  Xft2 @2.3.1_1 (active)
  xmlcatmgr @2.2_1 (active)
  xmlto @0.0.25_1 (active)
  xorg-kbproto @1.0.6_0 (active)
  xorg-libice @1.0.8_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.1_0 (active)
  xorg-libX11 @1.6.2_0 (active)
  xorg-libXau @1.0.8_0 (active)
  xorg-libXaw @1.0.12_0+docs (active)
  xorg-libxcb @1.10_0+python27 (active)
  xorg-libXdmcp @1.1.1_0 (active)
  xorg-libXext @1.3.2_0 (active)
  xorg-libXmu @1.1.2_0+docs (active)
  xorg-libXp @1.0.2_0 (active)
  xorg-libXt @1.1.4_0 (active)
  xorg-printproto @1.0.5_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-sgml-doctools @1.11_0 (active)
  xorg-xcb-proto @1.10_0+python27 (active)
  xorg-xcb-util @0.3.9_0 (active)
  xorg-xextproto @7.3.0_0 (active)
  xorg-xproto @7.0.25_0 (active)
  xorg-xtrans @1.3.4_0 (active)
  xpm @3.5.11_0 (active)
  xrender @0.9.8_0 (active)
  xz @5.0.5_0 (active)
  zlib @1.2.8_0 (active)

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

You have some interesting stuff installed there! There's no reasonable way I can figure out what might be causing this issue, given what else is installed on your computer. Beyond "do a clean OS install and try again", here are my 2 current recommendations: 1) try

sudo port clean octave
sudo port install hdf5-18 +szip
sudo port install octave

and see if maybe that takes care of the szip issue. Maybe; maybe not. I've no idea. It won't hurt to have szip installed in that way, either way.

2) try:

sudo port clean octave
sudo port -t install octave

and see if maybe that works -- the "-t" should put the build into a sandbox without access to the rest of the already installed stuff. I have never tried this with octave; it does work with the vast majority of other ports.

If those don't work, report back here and I'll see if I can think of anything else.

Changed 11 years ago by kent.conover@…

import log for first suggestion

Changed 11 years ago by kent.conover@…

Import log for second suggestion

comment:10 Changed 11 years ago by michaelld (Michael Dickens)

A little more detective work: This has to do with the GNU libtool. I'm not yet sure why, how, nor how to fix it. My suggestions above are still worthwhile.

comment:11 Changed 11 years ago by michaelld (Michael Dickens)

OK; so my suggestions didn't work. No big surprises there. I'm pretty sure the issue comes when libtool is resolving libraries for linking purposes. For your install, the "system" libraries are: hdf5 z Carbon m. The former 2 should be provided by MacPorts, while the latter 2 are provided by the OS. What do the following return:

otool -L /opt/local/lib/libhdf5.dylib
otool -L /opt/local/lib/libz.dylib
otool -L /System/Library/Frameworks/Carbon.framework/Carbon

Also, if any of the following exist, can you attach them to this ticket?

ls `port work octave`/octave*/*/*.la

comment:12 Changed 11 years ago by kent.conover@…

Here you are:

$ otool -L /opt/local/lib/libhdf5.dylib
/opt/local/lib/libhdf5.dylib:
	/opt/local/lib/libhdf5.8.dylib (compatibility version 9.0.0, current version 9.1.0)
	/opt/local/lib/libsz.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
$ otool -L /opt/local/lib/libz.dylib
/opt/local/lib/libz.dylib:
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
$ otool -L /System/Library/Frameworks/Carbon.framework/Carbon
/System/Library/Frameworks/Carbon.framework/Carbon:
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 157.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels (compatibility version 1.0.0, current version 96.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (compatibility version 1.0.0, current version 696.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture (compatibility version 1.0.0, current version 5.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink (compatibility version 1.0.0, current version 207.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print (compatibility version 1.0.0, current version 260.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI (compatibility version 1.0.0, current version 55005.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
$ ls `port work octave`/octave*/*/*.la
ls: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave*/*/*.la: No such file or directory

comment:13 Changed 11 years ago by michaelld (Michael Dickens)

OK; the "otool" results look fine. Strange about no .la files. Can you post the following 2 files:

`port work octave`/octave*/libtool
`port work octave`/octave*/config.log

comment:14 Changed 11 years ago by kent.conover@…

Here you go (I hope I understand your request) :

$ `port work octave`/octave*/libtool
-bash: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave*/libtool: No such file or directory
$ `port work octave`/octave*/config.log
-bash: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4/config.log: Permission denied

comment:15 Changed 11 years ago by michaelld (Michael Dickens)

What does the following return:

/bin/ls -lAF `port work octave`/octave*/

Then, do

cp `port work octave`/octave*/config.log ~/Desktop/octave-config.log

and post the octave-config.log file here.

Changed 11 years ago by kent.conover@…

Attachment: octave-config.log added

comment:16 Changed 11 years ago by kent.conover@…

As per your request:

$ /bin/ls -lAF `port work octave`/octave*/
total 4864
-rw-r--r--    1 macports  admin     6524 21 Feb  2013 AUTHORS
-rw-r--r--    1 macports  admin    12391 21 Feb  2013 BUGS
-rw-r--r--    1 macports  admin    35147 21 Feb  2013 COPYING
-rw-r--r--    1 macports  admin   200478 21 Feb  2013 ChangeLog
-rw-r--r--    1 macports  admin    15750 21 Feb  2013 INSTALL
-rw-r--r--    1 macports  admin    33510 21 Feb  2013 INSTALL.OCTAVE
-rw-r--r--    1 macports  admin     3725 21 Feb  2013 Makefile.am
-rw-r--r--    1 macports  admin    93112 21 Feb  2013 Makefile.in
-rw-r--r--    1 macports  admin    45464 21 Feb  2013 NEWS
-rw-r--r--    1 macports  admin     3101 21 Feb  2013 README
-rw-r--r--    1 macports  admin    59566 21 Feb  2013 aclocal.m4
-rwxr-xr-x    1 macports  admin     1606 21 Feb  2013 autogen.sh*
drwxr-xr-x   17 macports  admin      578 21 Feb  2013 build-aux/
-rw-r--r--    1 macports  admin    90091 21 Feb  2013 config.h.in
-rw-r--r--    1 macports  admin    32642 22 Apr 11:54 config.log
-rwxr-xr-x    1 macports  admin  1751875 22 Apr 11:54 configure*
-rw-r--r--    1 macports  admin    76740 21 Feb  2013 configure.ac
drwxr-xr-x   11 macports  admin      374 21 Feb  2013 doc/
drwxr-xr-x   15 macports  admin      510 21 Feb  2013 etc/
drwxr-xr-x   36 macports  admin     1224 21 Feb  2013 examples/
drwxr-xr-x   20 macports  admin      680 21 Feb  2013 libcruft/
drwxr-xr-x  223 macports  admin     7582 21 Feb  2013 libgnu/
drwxr-xr-x  398 macports  admin    13532 22 Apr 11:54 liboctave/
drwxr-xr-x  187 macports  admin     6358 21 Feb  2013 m4/
-rw-r--r--    1 macports  admin     2653 21 Feb  2013 run-octave.in
drwxr-xr-x   35 macports  admin     1190 21 Feb  2013 scripts/
drwxr-xr-x  338 macports  admin    11492 22 Apr 11:54 src/
drwxr-xr-x   39 macports  admin     1326 21 Feb  2013 test/

comment:17 Changed 11 years ago by michaelld (Michael Dickens)

Ah; yes, we forgot to "clean" ... so, do:

sudo port clean octave
sudo port install octave

and then when that bombs out

cd `port work octave`/octave* && tar jcf ~/Desktop/octave-info.tar.bz2 */*.la config.log libtool

and then post the file "octave-info.tar.bz2" to this ticket. Hopefully that will provide more/useful info.

Changed 11 years ago by kent.conover@…

Attachment: octave-info.tar.bz2 added

comment:18 Changed 11 years ago by kent.conover@…

I have attached "octave-info.tar.bz2"

comment:19 Changed 11 years ago by michaelld (Michael Dickens)

OK; next up:

cd /usr/local/lib
tar jcf ~/Desktop/octave_usr_local-info.tar.bz2 *.la

and then post that file. We're getting closer to -why-; I'm not sure how to fix it yet ...

Changed 11 years ago by kent.conover@…

octave_usr_local-info.tar.bz2

comment:20 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: newclosed

Very good. So, what's happened is that you have cruft installed into /usr/local/lib which for some reason the Octave configure script is finding and passing on to libtool. In particular, the hdf5 library, which in /usr/local/lib/libhdf5.la depends on "/localscratch/compile/szip-2.1/szip/lib/libsz.la", which of course does not exist and libtool has no idea what to do next. Thus, the error you're getting.

Unless you -really- need the stuff in /usr/local, my recommendation is to hose it. One easy way to do this while preserving the contents "just in case" would be:

cd /usr
sudo mv local local_old

that way, if you need to get to the contents for some reason, they are still in /usr/local_old.

After you do the move (or removal), you'll need to start from scratch:

sudo port clean octave
sudo port install octave

Although there is probably a way to coerce the Octave configure script into ignoring /usr/local, I don't know what that is and I also don't have the time to deal with it right now. We (MacPorts folks) highly recommend against installing into standard locations, since it inevitably leaves cruft around that causes issues such as this one.

If you do need the files in /usr/local, then you'll have to hack your way around this issue -- it's beyond the scope of what I can reasonably do.

I'm closing this ticket as "invalid", but if you need more help getting rid of the cruft then please reply back and I'll help you as best I can.

comment:21 Changed 11 years ago by kent.conover@…

Thanks very much for your patient diligence! Octave has been successfully installed. FYI, I need many of the files in /usr/local; so following your lead I only removed those with the same modified date-time as the offending "libhdf5.la" file.

comment:22 Changed 11 years ago by michaelld (Michael Dickens)

You're welcome, and I'm glad you figured out what was required to get Octave running. Good luck!

Note: See TracTickets for help on using tickets.