I am trying to build BLT on Darwin 1.3.7. I applied the changes in the patch and ran configure. It still does not get the host correct. It will not allow a guess and when I try to specify the host as :
powerpc-apple-Darwin-1.3.7 I get the following output. It appears that cf/configure.sub needs to be modified but I have not had any luck. modifying the file.
[localhost:DS9/saods9/blt2.4u] bruce% uname -m
Power Macintosh
[localhost:DS9/saods9/blt2.4u] bruce% ./configure --with-cc=cc --prefix /Users/bruce/Documents/DS9/saods9 --with-tcl=../tcl8.3.2 --with-tk=../tk8.3.2 --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib -host=powerpc-apple-Darwin-1.3.7
loading cache ./config.cache
checking host system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
checking target system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
checking build system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
./configure: read-only variable: PWD [763]
checking which C compiler... cc
checking how to run the C preprocessor... cc -E -traditional-cpp
checking if C compiler is really gcc... yes
checking default compiler flags... -O6
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for string.h... (cached) yes
checking for float.h... (cached) yes
checking for math.h... (cached) yes
checking for errno.h... (cached) yes
checking for ctype.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for waitflags.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for malloc.h... (cached) no
checking for memory.h... (cached) yes
checking for setjmp.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether strdup is declared in header files... (cached) yes
checking whether drand48 is declared in header files... (cached) no
checking whether srand48 is declared in header files... (cached) no
checking whether j1 is declared in header files... (cached) yes
checking for strdup... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for drand48... (cached) no
checking for srand48... (cached) no
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking whether byte ordering is bigendian... (cached) yes
checking whether union wait is defined correctly... (cached) yes
checking whether DBL_EPSILON is defined in float.h... (cached) yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for tclConfig.sh... ../tcl8.3.2/unix/tclConfig.sh
checking for tkConfig.sh... ../tk8.3.2/unix/tkConfig.sh
checking for main in -lsocket... (cached) no
checking for main in -lnsl... (cached) no
checking for main in -lm... (cached) yes
checking for XExtendedMaxRequestSize... (cached) yes
checking for mawk... (cached) awk
checking BLT major version number... (cached) 2
checking BLT minor version number... (cached) 4
Configuration results:
tcl.h found in /Users/bruce/Documents/DS9/saods9/include
tk.h found in /Users/bruce/Documents/DS9/saods9/include
X11/Xlib.h found in /usr/X11R6/include
libtcl.a found in /Users/bruce/Documents/DS9/saods9/lib
libtk.a found in /Users/bruce/Documents/DS9/saods9/lib
libX11.a found in /usr/X11R6/lib
Directories where BLT is to be installed:
"$prefix" is /Users/bruce/Documents/DS9/saods9
"$exec_prefix" is /Users/bruce/Documents/DS9/saods9
bltwish to be installed in ${exec_prefix}/bin
libBLT.a to be installed in /Users/bruce/Documents/DS9/saods9/lib
scripts to be installed in /Users/bruce/Documents/DS9/saods9/lib/blt2.4
manual pages to be installed in ${prefix}/man
I am trying to build BLT on Darwin 1.3.7. I applied the changes in the patch and ran configure. It still does not get the host correct. It will not allow a guess and when I try to specify the host as :
powerpc-apple-Darwin-1.3.7 I get the following output. It appears that cf/configure.sub needs to be modified but I have not had any luck. modifying the file.
[localhost:DS9/saods9/blt2.4u] bruce% uname -m
Power Macintosh
[localhost:DS9/saods9/blt2.4u] bruce% ./configure --with-cc=cc --prefix /Users/bruce/Documents/DS9/saods9 --with-tcl=../tcl8.3.2 --with-tk=../tk8.3.2 --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib -host=powerpc-apple-Darwin-1.3.7
loading cache ./config.cache
checking host system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
checking target system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
checking build system type... Invalid configuration `powerpc-apple-Darwin-1.3.7': machine `powerpc-apple-Darwin' not recognized
./configure: read-only variable: PWD [763]
checking which C compiler... cc
checking how to run the C preprocessor... cc -E -traditional-cpp
checking if C compiler is really gcc... yes
checking default compiler flags... -O6
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for string.h... (cached) yes
checking for float.h... (cached) yes
checking for math.h... (cached) yes
checking for errno.h... (cached) yes
checking for ctype.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for waitflags.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for malloc.h... (cached) no
checking for memory.h... (cached) yes
checking for setjmp.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether strdup is declared in header files... (cached) yes
checking whether drand48 is declared in header files... (cached) no
checking whether srand48 is declared in header files... (cached) no
checking whether j1 is declared in header files... (cached) yes
checking for strdup... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for drand48... (cached) no
checking for srand48... (cached) no
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking whether byte ordering is bigendian... (cached) yes
checking whether union wait is defined correctly... (cached) yes
checking whether DBL_EPSILON is defined in float.h... (cached) yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for tclConfig.sh... ../tcl8.3.2/unix/tclConfig.sh
checking for tkConfig.sh... ../tk8.3.2/unix/tkConfig.sh
checking for main in -lsocket... (cached) no
checking for main in -lnsl... (cached) no
checking for main in -lm... (cached) yes
checking for XExtendedMaxRequestSize... (cached) yes
checking for mawk... (cached) awk
checking BLT major version number... (cached) 2
checking BLT minor version number... (cached) 4
Configuration results:
tcl.h found in /Users/bruce/Documents/DS9/saods9/include
tk.h found in /Users/bruce/Documents/DS9/saods9/include
X11/Xlib.h found in /usr/X11R6/include
libtcl.a found in /Users/bruce/Documents/DS9/saods9/lib
libtk.a found in /Users/bruce/Documents/DS9/saods9/lib
libX11.a found in /usr/X11R6/lib
Directories where BLT is to be installed:
"$prefix" is /Users/bruce/Documents/DS9/saods9
"$exec_prefix" is /Users/bruce/Documents/DS9/saods9
bltwish to be installed in ${exec_prefix}/bin
libBLT.a to be installed in /Users/bruce/Documents/DS9/saods9/lib
scripts to be installed in /Users/bruce/Documents/DS9/saods9/lib/blt2.4
manual pages to be installed in ${prefix}/man
creating ./config.status
creating Makefile
creating src/Makefile
creating src/shared/Makefile
creating man/Makefile
creating library/Makefile
creating demos/Makefile
creating src/bltConfig.h
src/bltConfig.h is unchanged