LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-26-2003, 09:26 PM   #1
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Rep: Reputation: 15
Compiling Problems on Mandrake 9.0


Tried to compile ksetispy on mandrake 9.0. the tar unpacked fine but when i ran the configure i got the usual that i get from compiling programs (sry it's so long):

Code:
[russ@carolina ksetispy-0.5.2]$ configure --prefix=/user
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr//bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... no
checking for g++... g++
checking whether the C++ compiler (g++   ) works... yes
checking whether the C++ compiler (g++   ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... 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 ld used by GCC... /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... yes
checking for /usr//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 recognise dependant libraries... pass_all
checking for ranlib... ranlib
checking for strip... strip
checking for Cygwin environment... no
checking for mingw32 environment... no
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... yes
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
finding the maximum length of command line arguments... 73729
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
creating libtool
updating cache ./config.cache
loading cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
finding the maximum length of command line arguments... (cached) 73729
checking if g++ supports -c -o file.o... (cached) yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for msgfmt... /usr//bin/msgfmt
checking for gmsgfmt... /usr//bin/msgfmt
checking for xgettext... /usr//bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for res_init... no
checking for killpg in -lucb... no
checking size of int... 4
checking size of long... 4
checking size of char *... 4
checking size of char... 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log
 
Old 02-26-2003, 10:00 PM   #2
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Go into the Mandrake package manager and type in zlib to the installable packages section. If any packages come up that you haven't installed, install them, then in a terminal type "ldconfig" and try the configure again.

Some advice as well, in Mandy 8.2 anyway, there was the ability to search packages for filenames that matched. Select that option and if configure complains about missing something in the future, it's likely that you can solve the problem by typing in whatever is missing to the package manager and installing the result that looks right.
 
Old 02-27-2003, 06:21 AM   #3
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
yeah it has that. ok. why don't i have c++?
 
Old 02-27-2003, 06:40 AM   #4
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Uhm, because you don't installed it?
 
Old 02-27-2003, 06:47 AM   #5
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
lol which package is it?
 
Old 02-27-2003, 06:53 AM   #6
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
installed zlib...

Code:
[russ@carolina ksetispy-0.5.2]$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr//bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) g++
checking whether the C++ compiler (g++   ) works... yes
checking whether the C++ compiler (g++   ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether g++ supports -fno-exceptions... (cached) yes
checking whether g++ supports -fno-check-new... (cached) yes
checking whether g++ supports -fexceptions... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking whether g++ supports -frepo... (cached) yes
checking for ld used by GCC... (cached) /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... (cached) yes
checking for /usr//bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr//bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC...  -fPIC -DPIC
checking if gcc PIC flag  -fPIC -DPIC works... (cached) yes
checking if gcc static flag  works... (cached) no
finding the maximum length of command line arguments... (cached) 73729
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
creating libtool
loading cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
finding the maximum length of command line arguments... (cached) 73729
checking if g++ supports -c -o file.o... (cached) yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for msgfmt... /usr//bin/msgfmt
checking for gmsgfmt... /usr//bin/msgfmt
checking for xgettext... /usr//bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for res_init... no
checking for killpg in -lucb... no
checking size of int... 4
checking size of long... 4
checking size of char *... 4
checking size of char... 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for libpng... no
checking for libjpeg6b... no
checking for libjpeg... no
configure: warning: libjpeg not found. disable JPEG support.
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
[russ@carolina ksetispy-0.5.2]$
 
Old 02-27-2003, 08:39 AM   #7
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!

Did you read that? Did you install Qt 3x?
 
Old 02-27-2003, 06:25 PM   #8
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
and where do i get that?
 
Old 02-27-2003, 06:34 PM   #9
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
From any server you want

Serious: You are a Mandrake user, so use the 'urpmi' program (frontend is 'rpmdrake').
 
Old 02-27-2003, 08:37 PM   #10
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
some packages it tries to download and can't connect to the ftp server...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
alsa compiling problems on mandrake 10.0 fireproof Linux - Software 6 05-29-2004 03:16 AM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Compiling programs? [Mandrake] TiRaK Linux - Newbie 2 12-22-2003 02:36 AM
Problems compiling 2.4.19 Kernel using Mandrake 8.2 Doalwa Linux - Newbie 9 09-01-2002 04:58 AM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration