LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-28-2004, 07:37 AM   #1
acer_peri
Member
 
Registered: Nov 2003
Location: Beijing, China
Distribution: Tettnang
Posts: 38

Rep: Reputation: 15
Where is the Qt library, how to let kmid installer recognize it's path?


[ryland@localhost kmid-1.7]$ ls
acconfig.h config.h.in COPYING Makefile.cvs stamp-h.in
acinclude.m4 configure INSTALL Makefile.in subdirs
aclocal.m4 configure.in kmid po
admin configure.in.in Makefile.am README
[ryland@localhost kmid-1.7]$ su
Password:
[root@localhost kmid-1.7]# ./configure
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 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 ) works... yes
checking whether the C compiler (gcc ) 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++ -s) works... yes
checking whether the C++ compiler (g++ -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking whether ln -s works... yes
checking for object suffix... o
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC 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 if g++ static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
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 socket in -lsocket... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for main in -lcompat... no
checking for main 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 Qt... configure: error: Qt >= 1.42 (libraries) not found. Please check your installation!

my distro: Fedora Core 2
how can i solve this problem?
 
Old 05-28-2004, 08:24 AM   #2
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
The following things are possible:

1) You may not have installed the Qt libs. Try looking for an RPM from www.rpmfind.com or www.rpmseek.com. Alternatively u can try using the package manager. (Run system-config-packages from the "run" command or a terminal). Go to the appropriate section (probably KDE or something). Here you can check if the Qt libs are installed. If necessary u can install them.

2) If the Qt libs are already installed, then the kmid installer/compiler is not able to locate it in the default path. Somehow, you may need to change the path, unfortunately I dont know how. But if u know where the "configure" program is searching for the libs, then u can make symbolic links into this folder.

The best solution, according to me, would be to use RPMs instead of installing from source. U can download RPMs from the sites I have mentioned above. Kmid RPM is probably there in the Fedora CDs.

Note: I'm a newbie myself, so dont blame me if your CPU gets fried.
 
Old 05-28-2004, 08:38 AM   #3
acer_peri
Member
 
Registered: Nov 2003
Location: Beijing, China
Distribution: Tettnang
Posts: 38

Original Poster
Rep: Reputation: 15
thanks,akudewan,I find out that qt is in /usr/lib/qt-3.3
but where the "configure" program is searching for the libs, and how can I make symbolic links into the folder?
 
Old 05-28-2004, 10:09 AM   #4
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 245

Rep: Reputation: 31
Make sure that "/usr/lib/qt3.3" is in the file "/etc/ld.so.conf" then, as root, run "ldconfig"

(You may only neeed "/usr/lib" in there, but it seems like that should already be there.
 
Old 05-29-2004, 11:34 AM   #5
acer_peri
Member
 
Registered: Nov 2003
Location: Beijing, China
Distribution: Tettnang
Posts: 38

Original Poster
Rep: Reputation: 15
where to run "ldconfig"?

[root@localhost ryland]# ldconfig
bash: ldconfig: command not found
[root@localhost ryland]#
 
  


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
Redhat 9 installer doesnt recognize keyboard snowinferno Linux - Laptop and Netbook 6 01-21-2009 10:08 AM
Installer does not recognize USB external Hard Drive pktFishHooks Fedora - Installation 1 05-03-2005 10:52 AM
How do you get the 9.2 installer to recognize an optical mouse? hfinger Mandriva 1 03-26-2004 12:56 AM
Fedora installer wont recognize hard drive mjl3434 Linux - Newbie 5 01-21-2004 08:46 PM
Unreal Tournament installer doesn't recognize CD-ROM Baldorg Linux - Games 1 11-17-2003 07:19 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
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