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

 
 

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

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Mon 14 Mar 2016 09:27:20 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: InvalidAssigned to: None
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: otherOperating System: Other

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project 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>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
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
  • -unavailable- added by deafsoul (Posted a comment)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by philipnienhuis (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Mar 2016 01:30:14 PM UTCphilipnienhuisStatusPatch Submitted=>Invalid
      Open/ClosedOpen=>Closed
    Mon 14 Mar 2016 09:27:20 PM UTCphilipnienhuisAttached File-=>Added mxe_gdal.cs, #36641

    Back to the top


    Powered by Savane 3.1-cleanup1