octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53571] QT 4.6.2 configure fails for most rece


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53571] QT 4.6.2 configure fails for most recent 4.3.0+
Date: Fri, 6 Apr 2018 05:11:14 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #53571 (project octave):

I was just about to post a similar bug report, but I'll copy it here
instead...

Summary: Recent Qt configure dependencies not quite right, also suitesparse
dependency

I'm trying to build on Mageia at the moment (almost got it), but ran into a
couple issues.

1) With the recent changes I kept getting no Qt GUI during configure because
of missing utilities:


  Build Octave Qt GUI:                  no (missing:moc uic rcc lrelease
qcollectiongenerator qhelpgenerator)


The situation is that some of these aren't present on my system:


checking for gl2ps.h... yes
checking for gl2psLineJoin... yes
checking Qt version 5... checking for QT... yes
checking for qtchooser... no
checking for moc-qt5... no
checking for moc... moc
checking for uic-qt5... no
checking for uic... uic
checking for rcc-qt5... no
checking for rcc... rcc
checking for lrelease-qt5... no
checking for lrelease... lrelease
checking for qcollectiongenerator-qt5... no
checking for qcollectiongenerator... qcollectiongenerator
checking for qhelpgenerator-qt5... no
checking for qhelpgenerator... qhelpgenerator
configure: WARNING: Your installation of Qt version 5 appears incomplete or
broken in some way.  Fix that or use --with-qt=VER to use another version.
configure: WARNING: one or more of the Qt utilities moc, uic, rcc, lrelease,
qcollectiongenerator, and qhelpgenerator not found; disabling Qt GUI


It could be some of these are in some other package on this Mageia package
system, but I've searched and searched and could not find qtchooser anywhere. 
Figuring it might not be needed, I took that dependency out of the
m4/acinclude.m4 file and tried again.  No longer was configure searching for
that file, but configure still failed, I think because moc-qt5, and the like
weren't found (see above).  Is that supposed to be a "moc || moc-qt5" rather
than "moc && moc-qt5" perhaps?

So I checked out a version prior to the recent Qt changes, again taking the
qtchooser dependency out of acinclude.m4.  Compilation then continued to the
end (almost, read next issue).  That's why I'm wondering if qtchooser,
moc-qt5, etc. are necessary.  Maybe all that is needed now is moc, uic, ...,
lrealease.

2) As I just alluded to, the older version of the configuration passed and
compile, until it hit this:


  CXXLD    libinterp/corefcn/libcorefcn.la
  CXXLD    src/mkoctfile
  CXXLD    src/octave
  TEXI2PDF doc/liboctave/liboctave.pdf
  CXXLD    liboctave/liboctave.la
/bin/ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status


Here's what is missing but doesn't cause a fatal error:


configure:81740: WARNING: AMD library not found.  This will result in some
lack of functionality for sparse matrices.
configure:81745: WARNING: CAMD library not found.  This will result in some
lack of functionality for sparse matrices.
configure:81750: WARNING: COLAMD library not found.  This will result in some
lack of functionality for sparse matrices.
configure:81755: WARNING: CCOLAMD library not found.  This will result in some
lack of functionality for sparse matrices.
configure:81760: WARNING: CHOLMOD library not found.  This will result in some
lack of functionality for sparse matrices.
configure:81765: WARNING: CXSparse library not found.  This will result in
some lack of functionality for sparse matrices.
configure:81770: WARNING: UMFPACK not found.  This will result in some lack of
functionality for sparse matrices.
configure:81775: WARNING: KLU library not found.  This will result in some
lack of functionality for sparse matrices.


I set about installing the above packages, then found the package
suitesparse-devel and installed that because it includes most of the above,
i.e.:


To satisfy dependencies, the following package(s) also need to be installed:

- lib64amd2-4.4.4-3.mga6.x86_64
- lib64btf1-4.4.4-3.mga6.x86_64
- lib64camd2-4.4.4-3.mga6.x86_64
- lib64ccolamd2-4.4.4-3.mga6.x86_64
- lib64cholmod3-4.4.4-3.mga6.x86_64
- lib64colamd2-4.4.4-3.mga6.x86_64
- lib64cxsparse3-4.4.4-3.mga6.x86_64
- lib64klu1-4.4.4-3.mga6.x86_64
- lib64ldl2-4.4.4-3.mga6.x86_64
- lib64rbio2-4.4.4-3.mga6.x86_64
- lib64spqr2-4.4.4-3.mga6.x86_64
- lib64suitesparseconfig4-4.4.4-3.mga6.x86_64
- lib64tbb-devel-4.3-1.20140724.5.mga6.x86_64
- lib64tbb2-4.3-1.20140724.5.mga6.x86_64
- lib64umfpack5-4.4.4-3.mga6.x86_64
- suitesparse-4.4.4-3.mga6.x86_64

5MB of additional disk space will be used.


With that suitesparse install, compilation completed successfully.  So the
second issue is that suitesparse may be a dependency rather than just an
option.  Maybe it should cause a configure fail.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53571>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]