zlib not found when running ./configure
Hi All,
Okay, so I'm having this strange problem. I downloaded the source for Celestia at celestia.sourceforge.net and I'm attempting to compile it. I followed the instructions, and typed "./configure --with-kde" at the prompt, and it was going through the configure when it abruptly ended ends. Here's a paste of the latest few lines, ending in the error "zlib not found": ----------------------- checking whether to be pedantic... no checking whether to do profiling... no checking whether to enable GLUT... no checking whether to enable GTK... no checking whether to enable Gnome... no checking whether to enable KDE... yes 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) no checking whether g++ accepts -g... (cached) no checking dependency style of g++... (cached) none checking whether g++ supports -Wundef... no checking whether g++ supports -Wno-long-long... no checking whether g++ supports -Wnon-virtual-dtor... no checking how to run the C++ preprocessor... /lib/cpp checking whether g++ supports -frepo... no checking whether g++ supports -instances=explicit... no checking for X... no checking for deflate in -lz... no configure: error: zlib not found. ---------------------- At first I thought that zlib wasn't installed, so I downloaded it from www.zlib.org and compiled it and even ran the test program that came included with it and everything seems to be running properly on the zlib end. So, my question is, what is going wrong? How can I get this program to compile properly? I'm still relatively new at Linux so please understand if I'm missing something crucial here. If it's relevant, i'm running on the StartCom Multimedia distribution (based on RH9). ALSO: Please note the following thread for the latest info regarding this issue: http://www.linuxquestions.org/questi...43#post1269243 Thank you, Quordandis |
you need to install the zlib-devel rpm from your distro cd's.
|
Ok,
So I downloaded and installed the zlib-devel rpm.....it installed ok... I tried to compile again, and got the SAME freakin error "zlib not found" What SHOULD I DO?!? |
hmmm, ok. what i'd do next is (after ensuring that running "rpm -qa | grep zlib" returns reference to zlib-devel) open up the ./configure script in an editor and see what the test is actually doing. then try to replicate it on the command line.
|
When I typed the rpm -qa | grep zlib command, it listed both zlib and zlib-devel...as for the second part of the post about looking into the ./configure script....I don't really know what I'm looking at... I mean, I can open it and all...but it's all gibberish to me.... I don't know how to interpret the script....
--Quordandis |
You might find the configure.log slightly more legible. In any case, post the last couple dozen lines of it or so here -- it will show you exactly what test it ran and where it failed.
|
Well, here's a paste of the last few lines....
-------------------------------- ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_have_x=have_x=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_lib_z_deflate=no ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP=/lib/cpp ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnu ac_cv_target_alias=i686-pc-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=none lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.3.so' lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=no lt_cv_prog_compiler_c_o_GCJ=no lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_gnu_ld=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_max_cmd_len=32768 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"no"' lt_lt_cv_prog_compiler_c_o_GCJ='"no"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGISTW][ABCDGISTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "celestia" #define PACKAGE_TARNAME "celestia" #define PACKAGE_VERSION "1.3.2" #define PACKAGE_STRING "celestia 1.3.2" #define PACKAGE_BUGREPORT "celestia-developers@lists.sf.net" #define PACKAGE "celestia" #define VERSION "1.3.2" #ifdef __cplusplus void exit (int); #endif #define STDC_HEADERS 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_DLFCN_H 1 #ifdef __cplusplus void exit (int); #endif #define X_DISPLAY_MISSING 1 configure: exit 1 -------------------------------- If anyone could make heads or tails of this.....please let me know... :-) Thanks, Quordandis |
Try without zlib
./configure --without-zlib
|
I ran into a similar problem where zlib-devel was installed. Turns out it was looking for perl-Compress-Zlib .
|
i configured afther a litte fight celestia
[code] ~]$ whereis zlib zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz [/code[ Code:
]$ sh ./configure --prefix=/usr/ --with-gtk Code:
Code:
gcc --version Code:
~]$ rpm -qa | grep gcc https://celestia.svn.sourceforge.net...runk/celestia/ the svn version of celestia to get rid of the EOF Error whit the latest GCC version Code:
-DLUA_VER=0x050100 -DCELX -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.cpp http://en.wikibooks.org/wiki/Celesti...Linux_platform here they recommend to dir to the basic celestia build folder of your svn version than Code:
autoreconf -iv so i can start building from configure Code:
sh ./configure --with-gtk so ather i type Code:
make but it cannot permit so i do a Code:
sudo make install Code:
]$ celestia Quote:
but whit this i could do Code:
sh ./configure && make && sudo make install |
All times are GMT -5. The time now is 04:07 PM. |