HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

Ticket #288 (closed task: fixed)

Opened 6 years ago

Last modified 5 years ago

[gdal] add

Reported by: michaelvoliveira Owned by: michaelvoliveira
Priority: normal Milestone: Unscheduled
Component: sci-libs/gdal Version:
Severity: normal Keywords: gdal geo ogr
Cc:

Description

GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for data translation and processing. The NEWS page describes the November 2009 GDAL/OGR 1.6.3 release.

The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data.

Attachments

gdal-1.6.3.bep​ (275 bytes) - added by michaelvoliveira 6 years ago.
bep file. builds with gcc2 and gcc4 too
gdal-1.6.3.OptionalPackageDescription​ (140 bytes) - added by michaelvoliveira 6 years ago.
optpkgfile. So this game is ready to review before commit
gdal-1.6.3.2.bep​ (312 bytes) - added by michaelvoliveira 6 years ago.
oops! I did horrible mistakes here! the previous bep file would never get the file nor builds or installs! Fixed. I'll take some rest now
gdal.OptionalPackageDescription​ (278 bytes) - added by michaelvoliveira 5 years ago.
corrected .opd file
gdal-1.7.2.bep​ (582 bytes) - added by michaelvoliveira 5 years ago.
Duh! was missing the './configure' command. Definitely I have to sleep more
gdal-1.7.2.patch​ (994 bytes) - added by michaelvoliveira 5 years ago.
Patch to make sure that Haiku don't will use WIN32 function, generating a broken lib

Download all attachments as: .zip

Change History

Changed 6 years ago by michaelvoliveira

  • attachment gdal-1.6.3.bep​ added

bep file. builds with gcc2 and gcc4 too

Changed 6 years ago by michaelvoliveira

  • attachment gdal-1.6.3.OptionalPackageDescription​ added

optpkgfile. So this game is ready to review before commit

comment:1 Changed 6 years ago by michaelvoliveira

list of softwares that uses GDAL

 http://trac.osgeo.org/gdal/wiki/SoftwareUsingGdal

Changed 6 years ago by michaelvoliveira

  • attachment gdal-1.6.3.2.bep​ added

oops! I did horrible mistakes here! the previous bep file would never get the file nor builds or installs! Fixed. I'll take some rest now

comment:2 Changed 5 years ago by scottmc

  • Summary changed from [gdal] add to [gdal] add - files attached needs review

Changed 5 years ago by michaelvoliveira

  • attachment gdal.OptionalPackageDescription​ added

corrected .opd file

comment:3 Changed 5 years ago by augiedoggie

This doesn't build for me:

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
+ aclocal -I ./m4
+ autoconf
GNUmakefile:2: GDALmake.opt: No such file or directory
make: *** No rule to make target `config.status', needed by `GDALmake.opt'.  Stop.

Changed 5 years ago by michaelvoliveira

  • attachment gdal-1.7.2.bep​ added

Duh! was missing the './configure' command. Definitely I have to sleep more

comment:4 Changed 5 years ago by michaelvoliveira

You can test now augiedoggie:

It builds with GCC2 and GCC4

comment:5 Changed 5 years ago by scottmc

for me when trying to build gdal on haiku r1a2 with gcc2 I get:

libtool: compile:  g++ -g -O2 -Wall -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/alg -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/ogr -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port -DPAM_ENABLED -c rasterio.cpp  -DPIC -o .libs/rasterio.o
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port/cpl_string.h: In method `const char & CPLString::operator [](long unsigned int) const':
In file included from /boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/gdal_priv.h:56,
                 from /boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:31:
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port/cpl_string.h:234: warning: returning reference to temporary
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port/cpl_string.h: In method `const char & CPLString::operator [](int) const':
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/port/cpl_string.h:244: warning: returning reference to temporary
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp: In function `void {anonymous}::GetDataLimits(Tin &, Tin &)':
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:594: parse error before `>'
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:595: parse error before `>'
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:598: parse error before `>'
/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:609: confused by earlier errors, bailing out
make[1]: *** [rasterio.lo] Error 1
make[1]: Leaving directory `/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore'
make: *** [core-target] Error 2

comment:6 Changed 5 years ago by scottmc

Added in r874. Builds in gcc4, not so sure about gcc2 yet.

comment:7 Changed 5 years ago by michaelvoliveira

Here with GCC2 I'm getting a compiler error:

/boot/develop/haikuports/sci-libs/gdal/work/gdal-1.7.2/gcore/rasterio.cpp:36: limits: No such file or directory

Seems that _MSC_VER macro found a GCC4 header

Changed 5 years ago by michaelvoliveira

  • attachment gdal-1.7.2.patch​ added

Patch to make sure that Haiku don't will use WIN32 function, generating a broken lib

comment:8 Changed 5 years ago by scottmc

that 1.7.2 patch isn't needed, as we removed the defining of O_BINARY in Haiku last week.

comment:9 Changed 5 years ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from [gdal] add - files attached needs review to [gdal] add
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/