TELL ME WHY KDEVELOP ALWAYS HAS THIS ERROR (VERSION 1.2)

Benjamin Ellis bmellis at indifference.org
Wed Dec 13 23:04:26 UTC 2000


That's not KDevelop, KDevelop is an interface to your compiler (which you see 
below).  The problem you're having is that either you don't have an 
appropriate version of Qt (look like you need Qt 1.44) or you didn't run 
./configure properely and it's not finding the Qt you need.  In KDevelop, go 
to the build menu and click on "Configure..." and the very bottom, and add 
this option "--with-qt-dir=/opt/qt1.44"   or wherever your Qt 1.44 directory 
is located.

-Ben Ellis



On Wednesday 13 December 2000 05:21 pm, you wrote:
> When I want to make a kde application- THIS ARE THE ERRORS:
> ===========================================================================
>========================= I have tried all. All kinds of configuration, and
> the problem persist. I have tried installing KDevelop 1.3 but it had bugs.
> I have tried changing the versions of gcc compiler, make, egcs, etc...
> I have tried installing new qt versions.
> I have tried configuring the qt libraries with the correct paths.
> ===========================================================================
>=========================
> ===========================================================================
>========================= Starting with installation
> changing directory...
> changing directory...
> unzip file...
> untar file...
> changing files...
> Starting with configuration
> creating configuration files...
>
> >make -f Makefile.dist
>
> cat acinclude.m4.in libtool.m4.in >acinclude.m4
> aclocal
> autoheader
> automake
> perl am_edit
> autoconf
> make configure...
>
> >LDFLAGS=" " CFLAGS="-O0 -g3 -Wall" CXXFLAGS="-O0 -g3 -Wall"
> >./configure
>
> creating cache ./config.cache
> checking for extra includes...
> no
> checking for extra libs...
> no
> checking host system type...
> i586-pc-linux-gnu
> checking target system type...
> i586-pc-linux-gnu
> checking build system type...
> i586-pc-linux-gnu
> checking for a BSD compatible install...
> /usr/bin/install -c
> 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 a C-Compiler...
>
> checking for gcc...
> gcc
> checking whether the C compiler (gcc -O0 -g3 -Wall  ) works...
> yes
> checking whether the C compiler (gcc -O0 -g3 -Wall  ) is a
> cross-compiler...
> no
> checking whether we are using GNU C...
> yes
> checking how to run the C preprocessor...
> gcc -E
> checking for a C++-Compiler...
>
> checking for g++...
> g++
> checking whether the C++ compiler (g++ -O0 -g3 -Wall  ) works...
> yes
> checking whether the C++ compiler (g++ -O0 -g3 -Wall  ) is a
> cross-compiler...
> no
> checking whether we are using GNU C++...
> yes
> checking whether g++ supports -fexceptions...
> yes
> checking whether g++ supports -frtti...
> yes
> checking how to run the C++ preprocessor...
> g++ -E
> checking whether g++ supports -frepo...
> yes
> checking for Cygwin environment...
> no
> checking for mingw32 environment...
> no
> 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 object suffix...
> o
> checking for executable suffix...
> no
> checking for ranlib...
> ranlib
> checking for strip...
> strip
> updating cache ./config.cache
> loading cache ./config.cache within ltconfig
> checking for objdir...
> ..libs
> checking for g++ option to produce PIC...
> -fPIC
> checking if g++ PIC flag -fPIC works...
> yes
> checking if g++ static flag -static works...
> yes
> checking if g++ supports -c -o file.o...
> yes
> checking if g++ supports -c -o file.lo...
> 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...
> 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...
> no
> creating libtool
> updating cache ./config.cache
> loading cache ./config.cache
> checking whether NLS is requested... yes
> checking for msgfmt...
> /usr/bin/msgfmt
> checking for gmsgfmt...
> /usr/bin/msgfmt
> checking for xgettext...
> /usr/bin/xgettext
> checking for libz...
> -lz
> checking for dlopen in -ldl...
> (cached)
> yes
> checking for shl_unload in -ldld...
> no
> checking for X...
> libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for IceConnectionNumber in -lICE...
> yes
> checking for libXext...
> yes
> checking for libpng...
> -lpng -lz -lm
> checking for main in -lcompat...
> no
> checking for crypt in -lcrypt...
> yes
> checking for the third argument of getsockname...
> 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 killpg in -lucb...
> no
> checking for bool...
> yes
> checking for Qt...
> creating API documentation...
>
> >kdoc -p -d
> > /root/test/test5/test5/api/usr/share/doc/kdelibs-devel-1.1.2//kdoc-refere
> >nce
>
> Test5 *.h
> creating user documentation...
>
> >sgml2html index.sgml
>
> Processing file index.sgml
> creating test5.pot
>
> >make messages
>
> READY
> ===========================================================================
>========================= configure: error: Qt (>= 1.42 and < 2.0)
> (libraries) not found. Please check your installation!
> sh: kdoc: command not found
> make: ***
> No rule to make target `messages
> ..  Stop.
> ===========================================================================
>========================= When I compile...
> ===========================================================================
>========================= g++  -O0 -g3 -Wall      -c main.cpp -o main.o
> In file included from main.cpp:18:
> test5.h:21:18: kapp.h: No such file or directory
> test5.h:22:21: qwidget.h: No such file or directory
> make: *** [main.o] Error 1
> *** failed ***
> ===========================================================================
>==========================
>
>
>
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list