bugGNU Octave - Bugs: bug #42810, mxe-octave native build problem:...

 
 

bug #42810: mxe-octave native build problem: arpack, cholmod and umfpack were not correctly built

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Sat 19 Jul 2014 05:46:55 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Open/Closed: Closed
Release: 3.8.1Operating System: Microsoft Windows

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 29 Jul 2014 11:34:46 PM UTC, comment #8:

With changeset 95454fa2df8b, cholmod and umfpack were built successfully. Thank you for your efforts and patience.
So please close this post.

Tatsuro MATSUOKA <tmacchant>
Tue 29 Jul 2014 01:46:48 AM UTC, comment #7:

Pushed http://hg.octave.org/mxe-octave/rev/95454fa2df8b

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 28 Jul 2014 08:29:59 PM UTC, comment #6:

The issue will be the same as arpack.

Try this patch.

(file #31788)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 28 Jul 2014 10:45:40 AM UTC, comment #5:

Reopened

Check in the mxe-octave/usr folder for:
bin/libblas.dll
lib/libblass.dll.a

You cant change the libs that are linked with there, or you mess up the rest of the linking that goes on - as some of the libs in this package require more that just lapack and blas.

With suitesparse back to its original state, can you remake and attach the log file?

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 28 Jul 2014 05:28:13 AM UTC, comment #4:

This post is closed but cholmod and umfpack problem is not net solved.
(See the first submission for cholmod and umfpack)

I have tried the below:
(add LDFLAGS)

but however the error in making dynamic link library of cholmod and umfpack did not generated.

cholmod

umfpack

Perhaps my modification was not enough but I cannot find why the modification were not effective.

Tatsuro MATSUOKA <tmacchant>
Fri 25 Jul 2014 09:01:59 AM UTC, comment #3:

Thanks! With the changeset ec301e1de20f I confirmed libarpack.dll was generated.

Referring the changeset, I will try suuitespase building.

Tatsuro MATSUOKA <tmacchant>
Thu 24 Jul 2014 11:02:43 PM UTC, comment #2:

Pushed http://hg.octave.org/mxe-octave/rev/ec301e1de20f

John Donoghue <lostbard>
Project MemberIn charge of this item.
Sat 19 Jul 2014 11:22:28 AM UTC, comment #1:

Applying this patch fixes that for me - I had doe similar change to a few other packages, but had missed this one.

(file #31748)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Sat 19 Jul 2014 05:46:55 AM UTC, original submission:

With great help by John Donoghue, I could build negatively octave-stable branch using mxe-octave.

References:
http://octave.1599824.n4.nabble.com/Re-Windows-Octave-compilation-td4665267.html

http://octave.1599824.n4.nabble.com/How-can-I-make-patch-for-mxe-build-was-Re-Windows-Octave-compilation-td4665542.html

However, the configure reported that some dependencies were not recognized.

Full log is attached.

I have not used --enable-java so that java-related warning can be ignored.

I check the mxe-octave/usr/bin and mxe-octave/usr/lib
libarpack, libcholmod, and libumfpack dll and library files do not exist.

For arpack

LDFLAGS is missing so that link is failed.

For cholmod and umfpack

In this case building dll failed due to lack of LDFLAGS.

The script make-shared-from-static is better to be modified to include LDFLAGS.
But I do not enough knowledge how it would be modified.

Tatsuro MATSUOKA <tmacchant>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #31788:  suitesparse-fix.patch added by lostbard (5KiB - application/octet-stream)
file #31748:  nativearpack.patch added by lostbard (2KiB - application/octet-stream)
file #31744:  stable-octave.7z added by tmacchant (207KiB - application/octet-stream)
file #31745:  arpack.7z added by tmacchant (6KiB - application/octet-stream)
file #31746:  suitesparse.7z added by tmacchant (29KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lostbard (Updated the item)
  • -unavailable- added by tmacchant (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Jul 2014 12:04:23 AM UTClostbardOpen/ClosedOpen=>Closed
    Mon 28 Jul 2014 08:29:59 PM UTClostbardAttached File-=>Added suitesparse-fix.patch, #31788
    Mon 28 Jul 2014 10:45:40 AM UTClostbardOpen/ClosedClosed=>Open
    Mon 28 Jul 2014 12:47:18 AM UTClostbardStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 24 Jul 2014 11:02:43 PM UTClostbardStatusPatch Submitted=>Ready For Test
    Tue 22 Jul 2014 05:32:48 PM UTClostbardStatusNone=>Patch Submitted
      Assigned toNone=>lostbard
    Sat 19 Jul 2014 11:22:28 AM UTClostbardAttached File-=>Added nativearpack.patch, #31748
    Sat 19 Jul 2014 05:46:55 AM UTCtmacchantAttached File-=>Added stable-octave.7z, #31744
      Attached File-=>Added arpack.7z, #31745
      Attached File-=>Added suitesparse.7z, #31746

    Back to the top


    Powered by Savane 3.1-cleanup1