bugGNU Octave - Bugs: bug #51815, rcc: Unknown option: '-qt4'

 
 

bug #51815: rcc: Unknown option: '-qt4'

Submitted by:  David Laxer <dbl001>
Submitted on:  Mon 21 Aug 2017 07:11:40 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: Works For MeAssigned to: None
Originator Name: dbl001Open/Closed: Closed
Release: 3.8.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 21 Aug 2017 08:43:35 PM UTC, comment #3:

Using Octave with Jupyter is as supported as the README says, which doesn't say much: https://github.com/Calysto/octave_kernel/blob/master/README.rst

There are no Octave developers or community members that I know of working on Jupyter integration, it's entirely external to us.

Mike Miller <mtmiller>
Project Administrator
Mon 21 Aug 2017 08:30:35 PM UTC, comment #2:

>> Octave successfully built. Now choose from the following:

Thank You!

>> Try again after either removing qtchooser or removing the Qt that is not managed by Ubuntu.

Thanks for letting me know these 'qt' environments don't play well together.

I removed the Ubuntu 'qt' (which impacts kde) - I'll see what happens.

I use Jupyter (iPython) with an Octave kernel.
The Anaconda stack (iPython) has it's own version of 'qt'.

Is the use of an 'octave' kernel with Jupyter an unsupported build configuration?

David Laxer <dbl001>
Mon 21 Aug 2017 07:21:19 PM UTC, comment #1:

Do you have the qtchooser package installed from Ubuntu? And then do you also have a separate Qt installation installed in /home/ubuntu/anaconda? That's one too many Qt libraries and they are not set up to work with each other.

If Octave's configure detects that you have qtchooser installed, then it assumes that the program executed when you run "moc" or "rcc" is set up for qtchooser.

Try again after either removing qtchooser or removing the Qt that is not managed by Ubuntu.

This is the third bug you have reported which is caused by having duplicate tools or libraries installed on your system. The bug tracker is not the place to ask for help or support. Can you try to get your system back to a more clean state using packages provided by Ubuntu, and if you run into these types of build problems, ask for help on the help mailing list? I am building Octave routinely on Ubuntu 14.04 using stock packages with no problems, so I doubt there are any actual bugs if you are just aiming for a vanilla build.

Mike Miller <mtmiller>
Project Administrator
Mon 21 Aug 2017 07:11:40 PM UTC, original submission:

I'm building 'octave' on Ubuntu 14.04 LTS.

...

GEN libgui/src/qrc-resource.cc
Qt resource compiler
rcc: Unknown option: '-qt4'
Usage: rcc [options] <inputs>

Options:
-o file write output to file rather than stdout
-name name create an external initialization function with name
-threshold level threshold to consider compressing files
-compress level compress input files by level
-root path prefix resource access path with root path
-no-compress disable all compression
-binary output a binary file for use as a dynamic resource
-namespace turn off namespace macros
-project Output a resource file containing all
files from the current directory
-version display version
-help display this information
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory `/home/ubuntu/octave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/octave'

...

ubuntu@ip-10-0-1-107:~/octave$ rcc -version
Qt Resource Compiler version 4.8.7
ubuntu@ip-10-0-1-107:~/octave$ moc -version
Qt Meta Object Compiler version 63 (Qt 4.8.7)
ubuntu@ip-10-0-1-107:~/octave$ which rcc
/home/ubuntu/anaconda/bin/rcc

file /home/ubuntu/anaconda/bin/rcc
/home/ubuntu/anaconda/bin/rcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

Any ideas?

David Laxer <dbl001>

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by dbl001 (Submitted the item)
  • -unavailable- added by dbl001
  •  

    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
    Mon 21 Aug 2017 08:43:35 PM UTCmtmillerOpen/ClosedOpen=>Closed
    Mon 21 Aug 2017 07:21:19 PM UTCmtmillerStatusNone=>Works For Me
    Mon 21 Aug 2017 07:11:40 PM UTCdbl001Carbon-Copy-=>Added dbl001

    Back to the top


    Powered by Savane 3.1-cleanup1