bugGNU Octave - Bugs: bug #49626, mxe-octave: add support for gsl...

 
 

bug #49626: mxe-octave: add support for gsl libraries and Octave gsl package

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Wed 16 Nov 2016 08:43:09 PM UTC
   
 
Category:  Configuration and Build System Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Fixed Assigned to:  lostbard
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * 4.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 10 Dec 2016 10:01:47 AM UTC, comment #14: 

Works find now.

Closing as fixed. Thanks John.

Avinoam Kalma <avinoam>
Group Member
Wed 23 Nov 2016 10:03:07 PM UTC, comment #13: 

The patch works fine, except the fact the I had to download
gsl-2.0.0 manually, (see bug ##49672).

Marking this report as fixed.
I will close it when the downloading will work again.

Avinoam Kalma <avinoam>
Group Member
Mon 21 Nov 2016 08:44:32 PM UTC, comment #12: 
John Donoghue <lostbard>
Group Member
Fri 18 Nov 2016 12:59:53 PM UTC, comment #11: 

I also cross-built with gsl-2.2.1.
The only warning I get is


warning: octave_config_info is obsolete and will be removed from a future version of Octave, please use __have_feature__ or __octave_config_info__ instead.


The updated patch attached

Thanks


(file #39009)

Avinoam Kalma <avinoam>
Group Member
Fri 18 Nov 2016 12:43:33 PM UTC, comment #10: 

I'll update the patchfor 2.2.1 then and push it when gsl gets released

John Donoghue <lostbard>
Group Member
Fri 18 Nov 2016 12:10:09 PM UTC, comment #9: 

I just cross-built with gsl-2.2.1. (indeed an easy change)
No gsl-specific warnings in the log files.
Result:

>> gsl_sf_test

PASSES 25 out of 25 tests


Philip Nienhuis <philipnienhuis>
Group Member
Fri 18 Nov 2016 11:27:21 AM UTC, comment #8: 

I stayed with latest of the version already being used by mxe.cc

SHould be realatively easy to change to use 2.21 - I will try it out later today.

John Donoghue <lostbard>
Group Member
Fri 18 Nov 2016 10:35:48 AM UTC, comment #7: 

Thanks John, it's working fine.
I had to download manually io package (why??) and gsl package (as expected), and could install gsl package.

I had some warnings, which I will report.

Why did you use gsl version 1.16 and not 2.21?
I think that's the reason for some missing functions.

Avinoam Kalma <avinoam>
Group Member
Thu 17 Nov 2016 06:49:13 PM UTC, comment #6: 

You will have to manually download the forge gsl package and place it in the pkg folder as the download will fail (until the new version is released onto octave forge)

I grabbed a copy from the release tracker ti test against: https://sourceforge.net/p/octave/package-releases/282/

John Donoghue <lostbard>
Group Member
Thu 17 Nov 2016 06:32:29 PM UTC, comment #5: 

Thanks John, I will check it.

Avinoam Kalma <avinoam>
Group Member
Thu 17 Nov 2016 02:07:55 PM UTC, comment #4: 

Patch for adding gsl-2.0.0 (when released)

Cross compiling and then running test from octave install, I get

PASS 25
FAIL 0

(file #39003)

John Donoghue <lostbard>
Group Member
Thu 17 Nov 2016 12:47:17 PM UTC, comment #3: 

looking at the repo log, I guess so :)

John Donoghue <lostbard>
Group Member
Thu 17 Nov 2016 12:45:25 PM UTC, comment #2: 

gsl appears under the unmaintained packages in octave forge - is someone planning on maintaining it?

John Donoghue <lostbard>
Group Member
Thu 17 Nov 2016 01:30:41 AM UTC, comment #1: 

Updating severity, this is a feature request since mxe-octave supports, but has never built or installed libgsl or the gsl package.

Mike Miller <mtmiller>
Group Member
Wed 16 Nov 2016 08:43:09 PM UTC, original submission:  


trying to install gsl package:


>> pkg install gsl-2.0.0.tar.gz
....
checking for cblas_dgemm in -lgslcblas... no

pkg: error running the configure script for gsl.


gslcblas should be added to MXE environment for gsl package.

Avinoam Kalma <avinoam>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #39009:  add_gsl2.patch added by avinoam (3KiB - application/octet-stream)
file #39003:  add-gsl.patch added by lostbard (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  • -email is unavailable- added by avinoam
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-10 avinoam Open/ClosedOpen Closed
    2016-11-23 avinoam StatusReady For Test Fixed
    2016-11-21 lostbard StatusPatch Submitted Ready For Test
    2016-11-18 avinoam Attached File- Added add_gsl2.patch, #39009
    2016-11-17 lostbard Attached File- Added add-gsl.patch, #39003
        StatusIn Progress Patch Submitted
    2016-11-17 lostbard StatusNone In Progress
        Assigned toNone lostbard
    2016-11-17 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupBuild Failure Feature Request
        Summarygslcblas is missing in MXE Octave mxe-octave: add support for gsl libraries and Octave gsl package
    2016-11-16 avinoam Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code