Tuesday, January 17, 2012

Installing asf_tools (Alaska Satellite Facility Map Ready) on Ubuntu 11.10 Oneiric Ocelot

http://www.asf.alaska.edu/downloads/software_tools

I assume the build-essential package and other basic tools are installed.

apt-get install zlib1g-dev flex bison

Edit asf_tools/src/to_sr/Makefile and asf_tools/src/fill_holes/Makefile and changes the line similar to:
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS)
with this line
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS) -lm
(add -lm at the end)

then do a normal configure / make / make install installation

No comments: