bugGNU Octave - Bugs: bug #37101, GUI build fails on Fedora or RHEL...

 
 

bug #37101: GUI build fails on Fedora or RHEL with qt3-devel installed

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Wed 15 Aug 2012 01:54:57 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: godfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 05 Sep 2012 05:00:12 AM UTC, comment #4:

I checked in a fix for the situation where qmake from Qt3 and qmake-qt4 are installed (http://hg.savannah.gnu.org/hgweb/octave/rev/704ab1b4c369).

Rik <rik5>
Project Administrator
Wed 15 Aug 2012 10:39:22 PM UTC, comment #3:

After a bit of work, it was discovered that the GUI
cannot be built using qmake (Qt3). So,

yum remove qt3-devel-3.3.8b-41.fc17.x86_64

got rid of it. Then ./configure found the Qt4
qmake-qt and the build completed and ran
make check correctly and the GUI came up with
./run-octave

Michael Godfrey <godfrey>
Project Member
Wed 15 Aug 2012 03:57:35 PM UTC, comment #2:

The problem was the presence of qmake from Qt version 3 in the PATH, which configure found and used before qmake-qt4.

Fedora and RHEL systems install Qt4 qmake as /usr/bin/qmake-qt4. Qt3 can be co-installed, and its qmake executable is just qmake.

For now,

is a workaround for this problem.

Validating the output of qmake should be enough to tell it's a version we can work with, here are some examples on a Fedora 17 64-bit:

If no valid paths are found from qmake, configure should keep searching for qmake candidates in PATH.

Mike Miller <mtmiller>
Project Administrator
Wed 15 Aug 2012 03:07:48 AM UTC, comment #1:

Try

and run configure and make again and see if the build completes with the right packages installed.

I've opened a separate bug for the problem of configure not detecting the required Qt libraries.

Mike Miller <mtmiller>
Project Administrator
Wed 15 Aug 2012 01:54:57 AM UTC, original submission:

build fails on FEdora 17 x86_64:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAVE_CONFIG_H -I -I/QtCore -I/QtGui -I./../qterminal/libqterminal -g -O2 -pthread -MT libqterminal_la-BlockArray.lo -MD -MP -MF .deps/libqterminal_la-BlockArray.Tpo -c -o libqterminal_la-BlockArray.lo `test -f '../qterminal/libqterminal/unix/BlockArray.cpp' || echo './'`../qterminal/libqterminal/unix/BlockArray.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -DHAVE_CONFIG_H -I -I/QtCore -I/QtGui -I./../qterminal/libqterminal -g -O2 -pthread -MT libqterminal_la-BlockArray.lo -MD -MP -MF .deps/libqterminal_la-BlockArray.Tpo -c ../qterminal/libqterminal/unix/BlockArray.cpp -fPIC -DPIC -o .libs/libqterminal_la-BlockArray.o
../qterminal/libqterminal/unix/BlockArray.cpp:27:18: fatal error: QtCore: No such file or directory
compilation terminated.
make[4]: *** [libqterminal_la-BlockArray.lo] Error 1
make[4]: Leaving directory `/media/GoFlex08/qss/d/src/octave/hg/octave/gui/src'

Build without gui and with jit works.

Michael Godfrey <godfrey>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by godfrey (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Sep 2012 05:00:12 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 15 Aug 2012 03:57:35 PM UTCmtmillerSummaryGUI build fails on FC 17 x86_64=>GUI build fails on Fedora or RHEL with qt3-devel installed

    Back to the top


    Powered by Savane 3.1-cleanup1