bugGNU Octave - Bugs: bug #50258, Cannot build MXE-Octave

 
 

bug #50258: Cannot build MXE-Octave

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Wed 08 Feb 2017 09:34:03 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/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.

 

(Jump to the original submission Jump to the original submission)

Tue 14 Feb 2017 09:57:04 PM UTC, comment #11:

Your fix works for me also.
Closing as fixed.

Avinoam Kalma <avinoam>
Project Member
Tue 14 Feb 2017 07:38:51 PM UTC, comment #10:

I made the change suggested in comment #9 and it works for me. I pushed it to the Mercurial archive for MXE so this is now ready for test.

Rik <rik5>
Project Administrator
Sat 11 Feb 2017 03:01:12 AM UTC, comment #9:

Now I see the issue

mxe-octave has set up UIC=...., MOC=xxxx etc in the default-octave.mk to make sure it uses the cross tools.

However recent changes to the default branch octave uses RCC_QTVER etc as the initial check.

So if default-octave.mk is modified to change the tool setting in its configure to XXX_QTVER for each, it should work.

John Donoghue <lostbard>
Project Member
Fri 10 Feb 2017 07:42:56 PM UTC, comment #8:

Very possibly. In order to build MXE octave I use a tcsh script which puts the mxe bin/ directory ahead of the native stuff.

Checking for qtchooser shows

but using find in the mxe-octave directory shows that there is no qtchooser present there.

Is that another package that needs to be added to MXE?

Rik <rik5>
Project Administrator
Fri 10 Feb 2017 06:48:58 PM UTC, comment #7:

Is it finding qtchooser (native install) and then the mxe qt tools for the qt commands ?

John Donoghue <lostbard>
Project Member
Fri 10 Feb 2017 03:19:20 PM UTC, comment #6:

Indeed, checking the patch from comment #4, did not work,
even after changing the else line to

Avinoam Kalma <avinoam>
Project Member
Fri 10 Feb 2017 03:07:42 PM UTC, comment #5:

I'm seeing the same issue as Avinoam, although my system use Qt5 by default so the objection is that '-qt5' option is not supported. I applied John D.'s patch from comment #4 but it doesn't help. Again, because it is not the option, but the fact that uic doesn't seem to accept '-qt5'.

I tried changing directories to 'mxe-octave/usr/bin' and executing 'uic -qt5' and it fails.

By contrast, the native uic in '/usr/bin/' supplied by Ubuntu does support this option.

I'm trying to test out the patch I have for bug #50234 and file_stat but I can't build MXE Octave to test.

Rik <rik5>
Project Administrator
Fri 10 Feb 2017 11:13:39 AM UTC, comment #4:

See attached patch

(file #39716)

John Donoghue <lostbard>
Project Member
Fri 10 Feb 2017 06:49:28 AM UTC, comment #3:

How can I add "--with-qt=4" to default-octave.mk?

Avinoam Kalma <avinoam>
Project Member
Fri 10 Feb 2017 01:10:04 AM UTC, comment #2:

what happens is you add --with-qt=4 to the configure opions in default-octave.mk (or --with-qt=5 if it was that was what was chosen in the top level configure)

John Donoghue <lostbard>
Project Member
Thu 09 Feb 2017 09:38:29 AM UTC, comment #1:

Could be related to bug #50214?

Anonymous
Wed 08 Feb 2017 09:34:03 PM UTC, original submission:
Avinoam Kalma <avinoam>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Feb 2017 09:57:04 PM UTCavinoamStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 14 Feb 2017 07:38:51 PM UTCrik5StatusNone=>Ready For Test
    Fri 10 Feb 2017 11:13:39 AM UTClostbardAttached File-=>Added default-octave-with-qt.patch, #39716
    Wed 08 Feb 2017 09:34:03 PM UTCavinoamCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1