OSGeo / libgeotiff

Official repository of the libgeotiff project
182 stars 70 forks source link

last three releases cannot be built... #10

Closed edhartnett closed 5 years ago

edhartnett commented 5 years ago

When I try to follow your build instructions I get:

./configure --prefix=/usr/local/libgeotiff-1.4.3 && make bash: ./configure: No such file or directory

That's because you allowed github to package your build, and github does not know how to deal with autoconf.

Instead, do a "make dist" and then upload the tarballs it creates to the github release page.

edhartnett commented 5 years ago

And then when I try and run autoreconf -i I get:

ed@mikado:~/Downloads/libgeotiff-1.4.3/libgeotiff$ autoreconf -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
autoheader: warning: missing template: GEO_NORMALIZE_DISABLE_TOWGS84
autoheader: Use AC_DEFINE([GEO_NORMALIZE_DISABLE_TOWGS84], [], [Description])
autoheader: warning: missing template: HAVE_PROJECTS_H
autoreconf: /usr/bin/autoheader failed with exit status: 1

Is there a working way to build your library?

hobu commented 5 years ago

Is there a working way to build your library?

Maybe try cmake?

edhartnett commented 5 years ago

cmake is awful. I will git it a try. Shame that the standard build can't be maintained.

rouault commented 5 years ago

You should download the tarball from https://download.osgeo.org/geotiff/libgeotiff/

edhartnett commented 5 years ago

@rouault thanks! That release works. You guys should load it up on your github releases page. And I didn't have to mess around with cmake! ;-)