[Xastir] Libgeotiff & OS X

Jeff Wigal wy7q at arrl.net
Wed Aug 25 18:17:47 EDT 2004


I have xastir successfully installed from cvs source on OS X 10.2., but I am
having a hard time getting the xastir ./configure script to pick up on the
location of libgeotiff.  I'm pretty sure it's in /usr/local/lib

My config.log for xastir says this:

configure:12307: checking for Xm/XpmI.h
configure:12314: result: no
configure:12448: checking for pj_init in -lproj
configure:12479: gcc -o conftest -g -O2 -pipe -Wall  -I/usr/local/include
-I/sw/include  -I/usr/X11R6/include -L/usr/local/lib  -L/sw/lib
-L/usr/X11R6/lib conftest.c -lproj  -lintl -lXm -lXt -lXp -lXext   -lSM
-lICE -lX11  -lshp -lpcre >&5
configure:12482: $? = 0
configure:12485: test -s conftest
configure:12488: $? = 0
configure:12500: result: yes
configure:12527: checking for TIFFClose in -ltiff
configure:12558: gcc -o conftest -g -O2 -pipe -Wall  -I/usr/local/include
-I/sw/include  -I/usr/X11R6/include -L/usr/local/lib  -L/sw/lib
-L/usr/X11R6/lib conftest.c -ltiff  -lintl -lXm -lXt -lXp -lXext   -lSM
-lICE -lX11  -lshp -lpcre -lproj >&5
configure:12561: $? = 0
configure:12564: test -s conftest
configure:12567: $? = 0
configure:12579: result: yes
configure:12582: checking for pj_init in -lproj
configure:12634: result: yes
configure:12637: checking for GTIFNew in -lgeotiff
configure:12668: gcc -o conftest -g -O2 -pipe -Wall  -I/usr/local/include
-I/sw/include  -I/usr/X11R6/include -L/usr/local/lib  -L/sw/lib
-L/usr/X11R6/lib conftest.c -lgeotiff  -lintl -lXm -lXt -lXp -lXext   -lSM
-lICE -lX11  -lshp -lpcre -lproj >&5
ld: table of contents for archive: /usr/local/lib/libgeotiff.a is out of
date; rerun ranlib(1) (can't load from it)
configure:12671: $? = 1
configure: failed program was:
| #line 12644 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "xastir"
| #define PACKAGE_TARNAME "xastir"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "xastir 1.3.3"
| #define PACKAGE_BUGREPORT "xastir at xastir.org"
| #define PACKAGE "xastir"
| #define VERSION "1.3.3"
| #define XASTIR_TOCALL "APX133"
| #define _GNU_SOURCE 1
| #define TNC_PORT "none"
| #define GPS_PORT "none"
| #define HAVE_PTHREAD 1
| #define XASTIR_SYSTEM "Darwin"
| #define HAVE_WGET 1
| #define WGET_PATH "/sw/bin/wget"
| #define HAVE_CONVERT 1
| #define CONVERT_PATH "/sw/bin/convert"
| #define HAVE_LPR 1
| #define LPR_PATH "/usr/bin/lpr"
| #define HAVE_CP 1
| #define CP_PATH "/bin/cp"
| #define HAVE_CAT 1
| #define CAT_PATH "/bin/cat"
| #define STIPPLE 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXP 1
| #define HAVE_LIBXT 1
| #define HAVE_LIBXM 1
| #define WORDS_BIGENDIAN 1
| #define HAVE_ALLOCA 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_TM_GMTOFF
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define GETPGRP_VOID 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALARM 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRFTIME 1
| #define HAVE_ALARM 1
| #define HAVE_GETCWD 1
| #define HAVE_GETPGRP 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GETWD 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_POW 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SETTIMEOFDAY 1
| #define HAVE_SIGNAL 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRPBRK 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOUL 1
| #define HAVE_TZSET 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_LIBSHP_SHAPEFIL_H 1
| #define HAVE_DBFGETFIELDINDEX
| #define HAVE_LIBSHP
| #define HAVE_PCRE_H 1
| #define HAVE_LIBPCRE
| #define HAVE_X11_XPM_H 1
| #define HAVE_LIBXPM
| #define HAVE_LIBPROJ
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char GTIFNew ();
| int
| main ()
| {
| GTIFNew ();
|   ;
|   return 0;
| }
configure:12689: result: no


My /usr/local/lib directory has the following:

[Eleanor-Ois-Computer:/usr/local/lib] jeff% ls -a -l
total 7544
drwxr-xr-x  23 root  admin      782 Aug 25 06:41 .
drwxr-xr-x  11 root  admin      374 Jun 30 21:23 ..
-rwxr-xr-x   1 root  admin   173052 Aug 25 06:41 libgeotiff.a
-rwxr-xr-x   1 root  admin   111212 Jul 14 21:10 libpcre.0.0.1.dylib
lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libpcre.0.dylib ->
libpcre.0.0.1.dylib
-rw-r--r--   1 root  admin   126628 Jul 14 21:10 libpcre.a
lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libpcre.dylib ->
libpcre.0.0.1.dylib
-rwxr-xr-x   1 root  admin      718 Jul 14 21:10 libpcre.la
-rwxr-xr-x   1 root  admin    19324 Jul 14 21:10 libpcreposix.0.0.0.dylib
lrwxr-xr-x   1 root  admin       24 Aug 25 06:41 libpcreposix.0.dylib ->
libpcreposix.0.0.0.dylib
-rw-r--r--   1 root  admin    10356 Jul 14 21:10 libpcreposix.a
lrwxr-xr-x   1 root  admin       24 Aug 25 06:41 libpcreposix.dylib ->
libpcreposix.0.0.0.dylib
-rwxr-xr-x   1 root  admin      798 Jul 14 21:10 libpcreposix.la
-rwxr-xr-x   1 root  admin   747228 Aug 23 21:32 libproj.0.4.1.dylib
lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libproj.0.dylib ->
libproj.0.4.1.dylib
-rw-r--r--   1 root  admin  1080960 Aug 23 21:32 libproj.a
lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libproj.dylib ->
libproj.0.4.1.dylib
-rwxr-xr-x   1 root  admin      721 Aug 23 21:32 libproj.la
-r-xr-xr-x   1 root  admin   710044 Aug 23 21:28 libtiff.3.6.1.dylib
-r--r--r--   1 root  admin   822368 Aug 23 21:28 libtiff.a
lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libtiff.dylib ->
libtiff.3.6.1.dylib
lrwxr-xr-x   1 root  admin       13 Aug 25 06:41 libtiff.so -> libtiff.dylib
drwxr-xr-x  20 root  admin      680 Aug 21 07:41 xastir
[Eleanor-Ois-Computer:/usr/local/lib] jeff%

Any thoughts?





More information about the Xastir mailing list