Building xastir on Redhat 8 Before we get started we will be compiling into /usr/local/lib which is not the default library directory on Redhat. Edit /etc/ld.so.conf and put at the top of the file /usr/local/lib then as root run # ldconfig Now setup our LD_LIBRARY_CONFIG for configure # LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/X11R6/lib:/usr/lib/sane:/usr/kerberos/lib:/usr/lib/qt-3.0.5/lib:/usr/lib/qt2/lib:/usr/lib/wine:/usr/lib/mysql; export LD_LIBRARY_PATH # export LDFLAGS="-L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib" *** Compiling xastir *** First we need to remove old rpms if they exist: # rpm -e w3m-el-1.3.1-1 # rpm -e w3m-el-common-1.3.1-1 # rpm -e w3m-el-xemacs-1.3.1-1 # rpm -e w3m-0.3.1-4 # rpm -e xfig-3.2.3d-10 # rpm -e ImageMagick-c++-devel-5.4.7-5 # rpm -e ImageMagick-c++-5.4.7-5 # rpm -e ImageMagick-devel-5.4.7-5 # rpm -e ImageMagick-perl-5.4.7-5 # rpm -e ImageMagick-5.4.7-5 And make sure the following rpms are installed: # rpm -qa | grep XFree86 XFree86-xfs-4.2.0-72 XFree86-75dpi-fonts-4.2.0-72 XFree86-xdm-4.2.0-72 XFree86-libs-4.2.0-72 XFree86-Mesa-libGL-4.2.0-72 XFree86-font-utils-4.2.0-72 XFree86-100dpi-fonts-4.2.0-72 XFree86-base-fonts-4.2.0-72 XFree86-4.2.0-72 XFree86-tools-4.2.0-72 XFree86-truetype-fonts-4.2.0-72 XFree86-Mesa-libGLU-4.2.0-72 XFree86-xauth-4.2.0-72 XFree86-twm-4.2.0-72 XFree86-devel-4.2.0-72 # rpm -qa | grep bz bzip2-libs-1.0.2-5 bzip2-1.0.2-5 bzip2-devel-1.0.2-5 # rpm -qa | grep -i motif openmotif-2.2.2-12 openmotif-devel-2.2.2-12 or equivalent version Compile ImageMagick and it's dependances: Build Color Management System (libcms): http://www.littlecms.com/ Download http://www.littlecms.com/lcms-1.10.tar.gz to /build # cd /build # gzip -d lcms-1.10.tar.gz # tar xvf lcms-1.10.tar # cd /build/lcms-1.10 # make all Look for "Sucess." # make test Ditto. # make install In unix ignore the following... cp: cannot stat `icctrans.exe': No such file or directory cp: cannot stat `icc2ps.exe': No such file or directory cp: cannot stat `icclink.exe': No such file or directory Build Exif http://sourceforge.net/projects/libexif Download (libexif) http://unc.dl.sourceforge.net/sourceforge/libexif/libexif-0.5.12.tar.gz to /build # cd /build # gzip -d libexif-0.5.12.tar.gz # tar xvf libexif-0.5.12.tar # cd /build/libexif-0.5.12 # ./configure --prefix=/usr/local --enable-shared # make # make install Build Freetype http://sourceforge.net/projects/freetype/ # cd /build # gzip -d freetype-2.1.4.tar.gz # tar xvf freetype-2.1.4.tar # cd /build/freetype-2.1.4 # ./configure --prefix=/usr/local --enable-shared # make # make install Build ImageMagick http://www.imagemagick.org/ ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-5.5.7-10.tar.gz # cd /build # gzip -d ImageMagick-5.5.7-10.tar.gz # tar xvf ImageMagick-5.5.7-10.tar # cd /build/ImageMagick-5.5.7 # ./configure --prefix=/usr/local --without-perl --without-dps --enable-shared # make # make install configuring ImageMagick 5.5.7 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for an ANSI C-conforming const... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking dynamic linker characteristics... GNU/Linux ld.so checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib checking for objdir... .libs checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output from object... ok checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognise dependent libraries... pass_all checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking whether to enable maintainer-specific portions of Makefiles... no checking whether gcc needs -traditional... no checking whether large file support needs explicit enabling... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for inline... inline checking whether byte ordering is bigendian... no checking for working long double with more range or precision than double... yes checking for short... yes checking size of short... 2 checking for unsigned short... yes checking size of unsigned short... 2 checking for int... yes checking size of int... 4 checking for unsigned int... yes checking size of unsigned int... 4 checking for long... yes checking size of long... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for long long... yes checking size of long long... 8 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for C compiler __func__ support... yes yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for ftime... yes checking for getexecname... no checking for getpagesize... (cached) yes checking for mkstemp... yes checking for poll... yes checking for pread... yes checking for pwrite... yes checking for raise... yes checking for sbrk... yes checking for select... yes checking for strerror... yes checking for setvbuf... yes checking for sysconf... yes checking for sigemptyset... yes checking for sigaction... yes checking for times... yes checking for vsprintf... yes checking for vsnprintf... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking whether the compiler recognizes bool as a built-in type... yes checking whether the compiler supports const_cast<>... yes checking whether the compiler supports default template parameters... yes checking whether the compiler supports exceptions... yes checking whether the compiler implements namespaces... yes checking whether the compiler supports the explicit keyword... yes checking whether the compiler supports ISO C++ standard library... yes checking whether the compiler supports Standard Template Library... yes checking whether the compiler supports the mutable keyword... yes checking whether the compiler accepts the new for scoping rules... yes checking whether the compiler supports static_cast<>... yes checking whether the compiler supports basic templates... yes checking whether C++ compiler is sufficient for Magick++... yes checking for X11 configure files... /usr/X11R6/lib/X11/ checking for sqrt in -lm... yes checking for POSIX thread support... yes checking for ZLIB support ... checking zconf.h usability... yes checking zconf.h presence... yes checking for zconf.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress in -lz... yes checking for uncompress in -lz... yes checking for deflate in -lz... yes checking for inflate in -lz... yes checking for gzseek in -lz... yes checking for gztell in -lz... yes checking if ZLIB package is complete... yes checking for BZLIB support ... checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzCompress in -lbz2... yes checking for BZ2_bzDecompress in -lbz2... yes checking if BZLIB package is complete... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XShmAttach in -lXext... yes checking for XShmAttach in -lXext... (cached) yes checking for XShapeCombineMask in -lXext... yes checking for XShapeCombineMask in -lXext... (cached) yes checking for FlashPIX components ... checking fpxlib.h usability... no checking fpxlib.h presence... no checking for fpxlib.h... no checking for FPX_OpenImageByFilename in -lfpx... no checking if FlashPIX package is complete... no checking for LCMS support ... checking lcms.h usability... yes checking lcms.h presence... yes checking for lcms.h... yes checking for cmsOpenProfileFromMem in -llcms... yes checking if LCMS package is complete... yes checking for PNG support ... checking png.h usability... no checking png.h presence... no checking for png.h... no checking for png_get_io_ptr in -lpng... no checking if PNG package is complete... no checking for JPEG support ... checking jconfig.h usability... no checking jconfig.h presence... no checking for jconfig.h... no checking jerror.h usability... no checking jerror.h presence... no checking for jerror.h... no checking jmorecfg.h usability... no checking jmorecfg.h presence... no checking for jmorecfg.h... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no checking for jpeg_read_header in -ljpeg... no checking for JPEG library is version 6b or later... no no checking if JPEG package is complete... no checking for JPEG version 2 support ... checking jasper/jasper.h usability... no checking jasper/jasper.h presence... no checking for jasper/jasper.h... no checking for jas_stream_fopen in -ljasper... no checking if JPEG version 2 support package is complete... no checking for EXIF tag parsing support ... checking libexif/exif-data.h usability... yes checking libexif/exif-data.h presence... yes checking for libexif/exif-data.h... yes checking for exif_ifd_get_name in -lexif... yes checking if EXIF tag parsing support package is complete... yes checking for FreeType 2.0 ... checking for freetype-config... freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking freetype/freetype.h usability... yes checking freetype/freetype.h presence... yes checking for freetype/freetype.h... yes checking if FreeType package is complete... yes checking for TIFF support ... checking tiff.h usability... yes checking tiff.h presence... yes checking for tiff.h... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFOpen in -ltiff... yes checking for TIFFClientOpen in -ltiff... yes checking for TIFFIsByteSwapped in -ltiff... yes checking for TIFFReadRGBATile in -ltiff... yes checking for TIFFReadRGBAStrip in -ltiff... yes checking if TIFF package is complete... yes checking tiffconf.h usability... yes checking tiffconf.h presence... yes checking for tiffconf.h... yes checking for JBIG support ... checking jbig.h usability... no checking jbig.h presence... no checking for jbig.h... no checking for jbg_dec_init in -ljbig... no checking if JBIG package is complete... no checking for XML support ... checking for xml2-config... xml2-config checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking for xmlParseExternalEntity in -lxml2... yes checking if XML package is complete... yes checking for WMF support ... checking libwmf/ipa.h usability... no checking libwmf/ipa.h presence... no checking for libwmf/ipa.h... no checking if WMF package is complete... no checking for autotrace... autotrace checking for bzip2... /usr/bin/bzip2 checking for netscape... netscape checking for ralcgm... ralcgm checking for cat... /bin/cat checking for dcraw... dcraw checking for dot... dot checking for dvips... /usr/bin/dvips checking for echo... /bin/echo checking for xterm... /usr/bin/X11/xterm checking for fig2dev... fig2dev checking for convert... /usr/local/bin/convert checking for display... /usr/local/bin/display checking for modify... modify checking for gnuplot... /usr/bin/gnuplot checking for hp2xx... hp2xx checking for html2ps... html2ps checking for ilbmtoppm... /usr/bin/ilbmtoppm checking for ppmtoilbm... /usr/bin/ppmtoilbm checking for lp... /usr/bin/lp checking for lpr... /usr/bin/lpr checking for uncompress... uncompress checking for compress... compress checking for gimp... /usr/bin/gimp checking for groff... /usr/bin/groff checking for mpeg2decode... mpeg2decode checking for mpeg2encode... mpeg2encode checking for mv... /bin/mv checking for pgpv... pgpv checking for povray... povray checking for gs... /usr/bin/gs checking for ra_ppm... ra_ppm checking for rawtorle... rawtorle checking for rm... /bin/rm checking for scanimage... /usr/bin/scanimage checking for enscript... enscript checking for wmf2eps... wmf2eps checking for wget... /usr/bin/wget checking for gzip... /bin/gzip checking for txt2html... txt2html checking for Ghostscript fonts directory... /usr/share/fonts/default/Type1/ checking for Ghostscript version... 7.05 checking for gs color device... pnmraw checking for gs mono device... pbmraw checking for gs PDF writing device... pdfwrite checking for gs PS writing device... pswrite checking for gs EPS writing device... epswrite configure: creating ./config.status config.status: creating Makefile config.status: creating magick/Makefile config.status: creating coders/delegates.mgk config.status: creating coders/Makefile config.status: creating utilities/Makefile config.status: creating tests/Makefile config.status: creating coders/type-ghostscript.mgk config.status: creating coders/type-solaris.mgk config.status: creating coders/type-windows.mgk config.status: creating coders/type.mgk config.status: creating filters/Makefile config.status: creating locale/Makefile config.status: creating ltdl/Makefile config.status: creating magick/version.h config.status: creating magick/Magick-config config.status: creating magick/ImageMagick.pc config.status: creating Magick++/Makefile config.status: creating Magick++/bin/Magick++-config config.status: creating Magick++/bin/Makefile config.status: creating Magick++/demo/Makefile config.status: creating Magick++/lib/ImageMagick++.pc config.status: creating Magick++/lib/Makefile config.status: creating Magick++/lib/Magick++/Makefile config.status: creating Magick++/tests/Makefile config.status: creating PerlMagick/Makefile.PL config.status: creating PerlMagick/Magick.pm config.status: creating magick/magick_config.h config.status: executing depfiles commands ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type : i686-pc-linux-gnu Option Configure option Configured value ----------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=yes yes GNU ld --with-gnu-ld=yes yes LZW support --enable-lzw=no no Quantum depth --with-quantum-depth=16 16 Delegate Configuration: BZLIB --with-bzlib=yes yes DPS --with-dps=no no EXIF --with-exif=yes yes FlashPIX --with-fpx=yes no FreeType 2.0 --with-ttf=yes yes Ghostscript None /usr/bin/gs (7.05) Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/ Ghostscript lib --with-gslib=no no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes no JPEG-2000 --with-jp2=yes no LCMS --with-lcms=yes yes Magick++ --with-magick-plus-plus=yes yes PERL --with-perl=no no PNG --with-png=yes no TIFF --with-tiff=yes yes Windows fonts --with-windows-font-dir= none WMF --with-wmf=yes no X11 --with-x= yes XML --with-xml=yes yes ZLIB --with-zlib=yes yes X11 Configuration: X_CFLAGS = -I/usr/X11R6/include X_PRE_LIBS = -lSM -lICE X_LIBS = -L/usr/X11R6/lib X_EXTRA_LIBS = Options used to compile and link: CC = gcc CFLAGS = -g -O2 -Wall CPPFLAGS = -I/usr/local/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/include/libxml2 CXX = g++ CXXFLAGS = -g -O2 LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib LIBS = -llcms -ltiff -lfreetype -lexif -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm Build the ImageMagick Perl module: Image::Magick Notes: http://search.cpan.org/src/JCRISTY/PerlMagick-5.57/README.txt Download http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/PerlMagick-5.57.tar.gz to /build # cd /build # gzip -d PerlMagick-5.57.tar.gz # tar xvf PerlMagick-5.57.tar # cd /build/PerlMagick-5.57 # perl -w Makefile.PL WARNING: LDFLAGS is not a known parameter. Checking if your kit is complete... Looks good Writing Makefile for Image::Magick # make # make test # make install Build AX-25 Tools: http://freshmeat.net/projects/ax25-tools/ http://ax25.sourceforge.net/ http://prdownloads.sourceforge.net/ax25/ Download http://unc.dl.sourceforge.net/sourceforge/ax25/libax25-0.0.11.tar.gz to /build # cd /build # gzip -d libax25-0.0.11.tar.gz # tar xvf libax25-0.0.11.tar # cd /build/libax25-0.0.11 # ./configure --prefix=/usr/local # make # make install Download http://unc.dl.sourceforge.net/sourceforge/ax25/ax25-tools-0.0.8.tar.gz # cd /build # gzip -d ax25-tools-0.0.8.tar.gz # tar xvf ax25-tools-0.0.8.tar # cd /build/ax25-tools-0.0.8 # ./configure --prefix=/usr/local # make # make install Download http://unc.dl.sourceforge.net/sourceforge/ax25/ax25-apps-0.0.6.tar.gz # cd /build # gzip -d ax25-apps-0.0.6.tar.gz # tar xvf ax25-apps-0.0.6.tar # cd /build/ax25-apps-0.0.6 # ./configure --prefix=/usr/local # make # make install Building Libtiff Download ftp://ftp.remotesensing.org/libtiff/tiff-v3.6.0-beta2.tar.gz to /build # cd /build # gzip -d tiff-v3.6.0-beta2.tar.gz # tar xvf tiff-v3.6.0-beta2.tar # cd /build/tiff-v3.6.0-beta2 # ./configure --prefix=/usr/local TIFF configuration parameters are: [ 1] Directory for tools: /usr/local/bin [ 2] Directory for libraries: /usr/local/lib [ 3] Directory for include files: /usr/local/include [ 4] Directory for manual pages: /usr/local/man [ 5] Directory for HTML documents: /usr/local/doc/libtiff [ 6] Manual page installation scheme: bsd-source-cat Are these ok [yes]? Answer "yes". # make # make install Building proj http://remotesensing.org/proj/ Download ftp://ftp.remotesensing.org/pub/proj/proj-4.4.7.tar.gz to /build # cd /build # gzip -d proj-4.4.7.tar.gz # tar xvf proj-4.4.7.tar # cd /build/proj-4.4.7 # ./configure --prefix=/usr/local # make # make install Building GeoTiff http://www.remotesensing.org/geotiff/geotiff.html Download ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/libgeotiff-1.2.1.tar.gz to /build # cd /build # gzip -d libgeotiff-1.2.1.tar.gz # tar xvf libgeotiff-1.2.1.tar # cd /build/libgeotiff-1.2.1 # ./configure --prefix=/usr/local --with-libtiff=/usr/local/lib --enable-shared # make # make install Build ShapeLib http://gdal.velocet.ca/projects/shapelib/index.html Download ftp://gdal.velocet.ca/pub/outgoing/shapelib-1.2.10.tar.gz to /build # cd /build # gzip -d shapelib-1.2.10.tar.gz # tar xvf shapelib-1.2.10.tar # cd /build/shapelib-1.2.10 # make # make lib # make lib_install Install GPSMan http://www.ncc.up.pt/gpsman/gpsman.html Download http://www.ncc.up.pt/gpsman/gpsmanhtml/gpsman-6.0.1.tgz to /build # cd /build # gzip -d gpsman-6.0.1.tgz # tar xvf gpsman-6.0.1.tar # cd /build/gpsman-6.0.1 # mkdir -p /usr/local/gpsman # cp -r . /usr/local/gpsman/. # chmod +x -R /usr/local/gpsman Compile xastir: Download http://unc.dl.sourceforge.net/sourceforge/xastir/xastir121-2003-Aug-07.tgz to /build # cd build # gzip -d xastir121-2003-Aug-07.tgz # tar xvf xastir121-2003-Aug-07.tar # cd /build/xastir-1.2.1 # export LDFLAGS="-L/usr/local/lib" # ./configure --prefix=/usr/local --with-geotiff=/usr/local/lib --with-imagemagik=/usr/local/lib --without-festival # make # make install # ldconfig