Thu 27 Feb 2014 01:31:33 AM UTC, comment #3:
Mike and John,
Thank you very much for your quick responses. I greatly appreciate the detailed notes and comments that help me learn more on the way... Here is my feedback after working on the various bits.
1. Indeed, the "-fPIC" option was the redundant element that broke the build. I clearly copied it from a different "configure" statement without knowing where it would lead.
2. The "--with-qhull" option I inserted explicitly during earlier attempts because "configure" was failing to locate the QHull library after manually building the package on the machine. Including the full QHull path in the flags did the trick, instead, and I just never got to remove the older option.
3. The "--enable-shared" option was also a left-over I found from earlier forum searches in the hope of getting Octave to locate some of the other libraries I used.
4. I believe I had just about all corners covered by specifying "--enable-64", particularly after having carefully reviewed the relevant reference that John sent me, too. However. later at the "make check" stage I got a panic in lu.cc, and this prompted me to try out a build without this option; see the end of my message.
Going past the hurdle caused by the "-fPIC" option, I got stuck a couple more times later in the build:
5. The first was caused by getting a core dump upon execution of:
lrelease -qm languages/be_BY.qm languages/be_BY.ts
I searched a bit, found that it is Qt4 related, but I have no idea what may have caused it to produce a segmentation fault on my system. I simply skipped over this part by blanking out the LOCALES= arguments in line 2084 and commenting out lines 4006-4008 in the libgui Makefile.
6. The last obstacle was my LaTeX default settings: While building the documentation, I got at some point the following error:
./octave.aux:4743: TeX capacity exceeded, sorry [save size=5000].
I searched and fixed it by going to line 526 of "/usr/share/texmf/web2c/texmf.cnf" and increasing the default limit of save_size. A 10x increase from 5000 to 50000 worked more than fine.
Finally, I ran "make check" and got the following results:
PASS 11463
FAIL 2
XFAIL 7
SKIPPED 58
The failed tests reported were:
scripts/sparse/svds.m ............... PASS 5/6 FAIL 1
scripts/testfun/assert.m ............ PASS 87/88 FAIL 1
and the skipped functions (clearly, due to skipping the Magick++ and JIT dependencies) are:
gui: uimenu
image: imformats, imread
optimization: qp
util: copyobj, findall, graphics_tookit
and the jit.tst
Many thanks again,
Alexander.
|