bugGNU Octave - Bugs: bug #47411, [MXE] GDAL library not built...

 
 

bug #47411: [MXE] GDAL library not built (needed for of-mapping)

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Mon 14 Mar 2016 09:27:20 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * other Operating System:  * Other
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Jul 2016 09:22:21 AM UTC, comment #5: 

Please open a new bug report. Or even better, ask at the help-octave mailing list first.

Re-using old and closed bugs isn't the proper way :-)

Philip Nienhuis <philipnienhuis>
Group Member
Fri 15 Jul 2016 09:55:47 PM UTC, comment #4: 

Hello there, I hope I am posting this in the right place:

error: gdalread: reading of raster file with GDAL was disabled during installation
error: called from
    rasterread at line 56 column 23
    rasterdraw at line 81 column 18

it happened once when GDAL wasn't yet installed.
then i got it with brew..
it exists there: /usr/local/Cellar/gdal/1.11.3_1/

then i uninstall mapping
pkg  uninstall  -verbose  mapping
and reinstall so that it now enables dgalread

but still it doesnt work....

i further looked at the install log
pkg  install  -verbose  -forge  mapping
.
.
checking for GDAL... yes
.
.
clang++ -c  -fPIC -I/usr/local/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/usr/local/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/usr/local/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/usr/local/opt/suite-sparse/lib -lsuitesparseconfig -L/usr/local/opt/metis/lib -lmetis -g  -O2  -I/usr/local/Cellar/gdal/1.11.3_1/include  -DHAVE_CONFIG_H misc.cpp -o misc.o
.
.
.

warning: library /Users/xxx/octave/mapping-1.2.1/x86_64-apple-darwin15.5.0-api-v50+/gdalread.oct not reloaded due to existing references


not sure if this last one is related or if it helps finding out why gdal is still disabled

Nabil <deafsoul>
Thu 17 Mar 2016 01:30:14 PM UTC, comment #3: 

Yep I see (in a fresh mxe-octave clone) that gdal is getting built fine, thanks.

I'll close this with "invalid"

Philip Nienhuis <philipnienhuis>
Group Member
Wed 16 Mar 2016 12:28:41 PM UTC, comment #2: 

There is also a make dependency for all forge packages $(OCTAVE_FORGE_DEPS) which includes all deps from all of-*.mk files, in mxe-octave, regardless of whether they are in the list of packages that get installed or not.

It does assume there is a .mk file for the octave forge package which has the PKG_DEPS variable set.

John Donoghue <lostbard>
Group Member
Tue 15 Mar 2016 10:13:05 PM UTC, comment #1: 

gdal is a dependancy of of-mapping, however several of the packages now in mxe-octave were not included in the rc4 package - I assume because they were not in the 4.0.1-rc1 package, so gdal was not included.


John Donoghue <lostbard>
Group Member
Mon 14 Mar 2016 09:27:20 PM UTC, original submission:  

AFAICS in mxe-octave the GDAL library isn't referenced as dependency for Octave and thus not built.
of-mapping-1.2.1 requires GDAL for the GIS raster file functions.

patch attached

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #36641:  mxe_gdal.cs added by philipnienhuis (3KiB - text/x-csharp)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-17 philipnienhuis StatusPatch Submitted Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-03-14 philipnienhuis Attached File- Added mxe_gdal.cs, #36641

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code