hi,
i've been trying and trying to compile celestia 1.3.2 on Mac OS 10.3.7 and I've been getting a "zlib not found" message during the configure.
Here's how I configure it
./configure --with-glut
And here are the messages:
checking build system type... powerpc-apple-darwin7.7.0
checking host system type... powerpc-apple-darwin7.7.0
checking target system type... powerpc-apple-darwin7.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
/Applications/Celestia/C++: /Applications/Celestia/C++: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
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... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c -p
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking for ANSI C header files... yes
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 the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common 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... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.7.0 dyld
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 whether the g++ linker (/usr/bin/ld) supports shared libraries... no
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.7.0 dyld
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fno-common
checking if gcj PIC flag -fno-common works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.7.0 dyld
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to enable GLUT... yes
checking whether to enable GTK... no
checking whether to enable Gnome... no
checking whether to enable KDE... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
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 g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for X... no
checking for deflate in -lz... no
configure: error: zlib not found.
Thanks in advance for any help,
Arlene
compiling celestia 1.3.2 on mac os 10.3.7
compiling celestia 1.3.2 on mac os 10.3.7
arlene ducao
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
You need to install the zlib development package so that the appropriate libraries are available.
Sorry: I'm not a Mac expert, so I can't tell you where to get the Mac specific version. However, you can start at http://www.gzip.org/zlib/
Sorry: I'm not a Mac expert, so I can't tell you where to get the Mac specific version. However, you can start at http://www.gzip.org/zlib/
Selden
I did install zlib-- that's why I'm so puzzled!
arlene ducao
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
I installed the dev package and specified its directory when I went to configure Celestia:
./configure --with-glut --with-zlib-dir=/usr/local
I put my config.log online if you'd like a look:
http://www2.sva.edu/~arlene/3dAnim/AMNH/config.log
thanks, Arlene
./configure --with-glut --with-zlib-dir=/usr/local
I put my config.log online if you'd like a look:
http://www2.sva.edu/~arlene/3dAnim/AMNH/config.log
thanks, Arlene
arlene ducao
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org
The relevant part seems to be:
Probably X11 development packages are missing.
steffens
Code: Select all
configure:17947: checking for X
configure:18049: gcc -E conftest.c
configure:18045:27: X11/Intrinsic.h: No such file or directory
configure:18055: $? = 1
configure: failed program was:
#line 18044 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:18153: result: no
configure:19125: checking for deflate in -lz
configure:19158: gcc -o conftest -DNDEBUG -O2 -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer conftest.c -lz -lm -lXmu -lXi -lXext -lX11 -lm -lz >&5
ld: can't locate file for: -lXmu
Probably X11 development packages are missing.
steffens