See config.log and check what the compiler flags are. Do you have a 32-bit or 64-bit kernel installed? If you have a 64-bit kernel installed and the configure script forces 32-bit (look for -m32 in the compiler args) you'll need the 32-bit zlib-devel package. Emon wrote: > Hello everyone > > I am trying to compile StarDict on my openSUSE10.3 (KDE desktop) machine > after failing to find a SUSE rpm for it. > > When I type the configure command it gives me this error... > > checking for zlibVersion in -lz... no > configure: error: zlib not found > > But from YAST I can see that I have both zlib & zlib-devel pkges installed!! > > So what could be the problem?? > > I am pasting the whole compile story below > > Emon > > ********************* > magicbox:/media/hd/MAGICSTORE/linux/pkgs/10.3/stardict-3.0.1 # > /configure --disable-gnome-support --prefix=/usr --disable-festival > --disable-espeak > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for gconftool-2... /usr/bin/gconftool-2 > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output file name... 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 ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for intltool >= 0.22... 0.36.2 found > checking for perl... /usr/bin/perl > checking for XML::Parser... ok > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ld used by gcc... /usr/i586-suse-linux/bin/ld > checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes > checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognize dependent libraries... pass_all > checking how to run the C preprocessor... gcc -E > 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 for g++... no > checking for c++... no > checking for gpp... no > checking for aCC... no > checking for CC... no > checking for cxx... no > checking for cc++... no > checking for cl.exe... no > checking for FCC... no > checking for KCC... no > checking for RCC... no > checking for xlC_r... no > checking for xlC... no > checking whether we are using the GNU C++ compiler... no > checking whether g++ accepts -g... no > checking dependency style of g++... none > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking whether we are using the GNU Fortran 77 compiler... no > checking whether accepts -g... no > checking the maximum length of command line arguments... 98304 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > configure: creating libtool > appending configuration tag "CXX" to libtool > appending configuration tag "F77" to libtool > checking for library containing strerror... none required > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > 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 for a BSD-compatible install... /usr/bin/install -c > checking whether make sets $(MAKE)... (cached) yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for getpagesize... no > checking for working mmap... no > checking locale.h usability... no > checking locale.h presence... no > checking for locale.h... no > checking libintl.h usability... no > checking libintl.h presence... no > checking for libintl.h... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for ENCHANT... yes > checking for GUCHARMAP... yes > checking for STARDICT... yes > Disable gnome support > checking for zlibVersion in -lz... no > configure: error: zlib not found > magicbox:/media/hd/MAGICSTORE/linux/pkgs/10.3/stardict-3.0.1 # > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39