Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed during make #496

Closed
yogatriardhana opened this issue Feb 15, 2019 · 5 comments
Closed

Failed during make #496

yogatriardhana opened this issue Feb 15, 2019 · 5 comments

Comments

@yogatriardhana
Copy link

checking for stdlib.h... (cached) yes
checking for inflateInit_ in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for jinit_compress_master in -ljpeg... yes
checking for TIFFOpen in -ltiff... no
configure: error: failed to link with -ltiff to find TIFFOpen
make[3]: Entering directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external/work_dir/libgeotiff/libgeotiff-1.2.2'
make[3]: *** No rule to make target 'libgeotiff.a'. Stop.
make[3]: Leaving directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external/work_dir/libgeotiff/libgeotiff-1.2.2'
make[3]: Entering directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external/work_dir/libgeotiff/libgeotiff-1.2.2'
d
make[3]: d: Command not found
Makefile:2: recipe for target 'asf_install' failed
make[3]: [asf_install] Error 127 (ignored)
libgeotiff.a
make[3]: libgeotiff.a: Command not found
Makefile:2: recipe for target 'asf_install' failed
make[3]: *** [asf_install] Error 127
make[3]: Leaving directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external/work_dir/libgeotiff/libgeotiff-1.2.2'
Makefile:21: recipe for target 'build_stamp' failed
make[2]: *** [build_stamp] Error 2
make[2]: Leaving directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external/work_dir/libgeotiff'
Makefile:33: recipe for target 'libs' failed
make[1]: *** [libs] Error 2
make[1]: Leaving directory '/home/zectre/Downloads/mapready-3.2.1-src/asf_tools/external'
Makefile:464: recipe for target 'external_libs' failed
make: *** [external_libs] Error 2

I failed when did the make process. Maybe anyone know how to solve this? Thank you

@csallen2
Copy link

csallen2 commented Feb 15, 2019 via email

@rudigens
Copy link
Contributor

Looks like you don't have all the required libraries on your system. Please have a look at the list of library requirements. Chances are your current list is not complete. In particular, make sure that you have the developer version of libraries, since the build will look and check for header information as well.

@yogatriardhana
Copy link
Author

yogatriardhana commented Feb 17, 2019 via email

@khogenso
Copy link
Contributor

It looks like you have a pretty old verison, if 3.1.24 is right. Looks like it still includes and tries to build a bunch of "external_tools", these have been removed in more recent versions.

I would start with the latest version from git. Make sure you have all the dependencies listed in the README installed. (Though the list there probably could use an update, too, for Ubuntu 18.04)

So, something like this to install all the dependencies (list from README):

sudo apt-get install gcc g++ bison flex libcunit1-dev libexif-dev libfftw3-dev libgdal-dev libgeotiff-dev libglade2-dev libglib2.0-dev libgsl-dev libgtk2.0-dev libjpeg-dev libpng-dev libproj-dev libshp-dev libtiff5-dev libxml2-dev

Then, clone the latest:

git clone git@github.com:asfadmin/ASF_MapReady.git ASF_MapReady
cd ASF_MapReady
./configure
make

@csallen2
Copy link

csallen2 commented Feb 17, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants