Sat 13 Aug 2016 04:07:21 PM UTC, original submission:
This problem was first identified here:
https://savannah.gnu.org/bugs/?40252#comment30
and I don't see a new bug report for the issue so I'm creating one because a user has already run into this issue on Manjaro Linux.
Basically, for Qt5 it appears that there is not a single way in which the QScintilla library file is named. So far there is either:
libqt5scintilla2.so
libqscintilla2-qt5.so
but the Octave configure script has this name hard-coded as:
Note this comment about assumption:
is supposed to be a certainty. The documentation at the link below states "Installation As supplied QScintilla will be built as a shared library/DLL and installed in the same directories as the Qt libraries and include files.":
http://pyqt.sourceforge.net/Docs/QScintilla2/
So there are at least a couple ways to go about this.
1) Expand the definition of $LIBQSCINTILLA to be as many files as user report, i.e., start with the list I gave above. Then loop through that list of possible files. It wouldn't be too much work to add a list
2) Drop this script
in exchange for some script that simply searches the identified Qt library directories...hmm, this might not work so well simply because of the fact there could be Qt4 files still about and searching for "scintilla" is a problem. We don't know where the '5' is going to appear so we are again back to searching for very specific patterns.
3) Can the AC_SEARCH_LIBS script:
https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Libraries.html
be used to search for a routine we know exists in Qt5 but not in Qt4?
|