Author Topic: QT dependancies..  (Read 1369 times)

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
QT dependancies..
« on: 28 January 2003, 07:42 »
hi all,

I'm installing a package and it some errors regarding qt(log attached below). The following qt packages are already installed in the system:-

qt-3.0.5-17
qt2-2.3.1-8


Is there some other Qt package that needs to be installed?

thanks,
007

 
quote:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:604: checking host system type
configure:625: checking target system type
configure:643: checking build system type
configure:697: checking for a BSD compatible install
configure:750: checking whether build environment is sane
configure:788: checking whether make sets ${MAKE}
configure:834: checking for working aclocal
configure:847: checking for working autoconf
configure:860: checking for working automake
configure:873: checking for working autoheader
configure:886: checking for working makeinfo
configure:935: checking for a C-Compiler
configure:941: checking for gcc
configure:1047: checking whether the C compiler (gcc  ) works
configure:1063: gcc -o conftest    conftest.c  1>&5
configure:1089: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1094: checking whether we are using GNU C
configure:1103: gcc -E conftest.c
configure:1160: checking how to run the C preprocessor
configure:1181: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1222: checking for a C++-Compiler
configure:1228: checking for g++
configure:1344: checking whether the C++ compiler (g++  -s) works
configure:1360: g++ -o conftest   -s conftest.C  1>&5
configure:1386: checking whether the C++ compiler (g++  -s) is a cross-compiler
configure:1391: checking whether we are using GNU C++
configure:1400: g++ -E conftest.C
configure:1501: checking for ranlib
configure:1541: checking for ld used by GCC
configure:1598: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.13.90.0.2 20020802
configure:1614: checking for BSD-compatible nm
configure:1651: checking whether ln -s works
configure:1728: checking whether NLS is requested
configure:1756: checking for msgfmt
configure:1790: checking for gmsgfmt
configure:1832: checking for xgettext
configure:1879: checking for socket in -lsocket
configure:1901: g++ -o conftest -O2 -Wall  -s conftest.C -lsocket   1>&5
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 1887 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:1922: checking how to run the C++ preprocessor
configure:1940: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:1966: checking for X
configure:1983: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:2059: g++ -o conftest -O2 -Wall  -s conftest.C -lXt  1>&5
configure: In function `int main()':
configure:2055: `XtMalloc' undeclared (first use this function)
configure:2055: (Each undeclared identifier is reported only once for each
   function it appears in.)
configure: failed program was:
#line 2052 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:2206: checking for main in -lcompat
configure:2221: gcc -o conftest -O2 -Wall  -s conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 2214 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2242: checking for main in -lcrypt
configure:2257: gcc -o conftest -O2 -Wall  -s conftest.c -lcrypt   1>&5
configure:2278: checking for the third argument of getsockname
configure:2303: g++ -c -O2 -Wall  conftest.C 1>&5
configure:2360: checking for dnet_ntoa in -ldnet
configure:2382: g++ -o conftest -O2 -Wall  -s conftest.C -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2368 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2404: checking for dnet_ntoa in -ldnet_stub
configure:2426: g++ -o conftest -O2 -Wall  -s conftest.C -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2412 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2448: checking for gethostbyname
configure:2479: g++ -o conftest -O2 -Wall  -s conftest.C  1>&5
configure:2544: checking for connect
configure:2575: g++ -o conftest -O2 -Wall  -s conftest.C  1>&5
configure:2641: checking for remove
configure:2672: g++ -o conftest -O2 -Wall  -s conftest.C  1>&5
configure:2739: checking for shmat
configure:2770: g++ -o conftest -O2 -Wall  -s conftest.C  1>&5
configure:2839: checking for killpg in -lucb
configure:2861: g++ -o conftest -O2 -Wall  -s conftest.C -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 2847 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:2938: checking for QT
tried /usr/lib/qt/lib
tried /usr/X11R6/lib
configure:3038: g++ -o conftest -O2 -Wall -INO  -L/usr/lib -L/usr/X11R6/lib
conftest.C  -lqt -lXext -lX11  1>&5
conftest.C:2:20: qmovie.h: No such file or directory
conftest.C: In function `int main()':
conftest.C:4: `QMovie' undeclared (first use this function)
conftest.C:4: (Each undeclared identifier is reported only once for each
   function it appears in.)
conftest.C:4: parse error before `;' token
conftest.C:5: `m' undeclared (first use this function)
configure: failed program was:
#include "confdefs.h"
#include <qmovie.h>
int main() {
  QMovie m;
  m.setSpeed(20);
  return 0;
}

AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
QT dependancies..
« Reply #1 on: 28 January 2003, 07:42 »
get the devel packages or RTFM?

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
QT dependancies..
« Reply #2 on: 28 January 2003, 08:14 »
How can I RTFM if there is *no* manual??
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

beltorak0

  • Member
  • **
  • Posts: 223
  • Kudos: 0
    • http://www.angelfire.com/realm/beltorak
QT dependancies..
« Reply #3 on: 28 January 2003, 17:04 »
sounds more like you're missing a library, not a qt problem:
 
quote:

configure:1901: g++ -o conftest -O2 -Wall -s conftest.C -lsocket 1>&5
/usr/bin/ld: cannot find -lsocket



the "-l<name>" flag for ld is searching for any instance of <path>/lib<name>.so or <path>/lib<name>.a, where <path> is replaced by each line in "/etc/ld.so.conf".  If you can find the library (ie, /usr/lib/qt-2.3.1/lib/libsocket.so), then you might have to add that path to "/etc/ld.so.conf" and run ldconfig to update the cache.

do "man ld" and "man ldconfig" for more info.
from Attrition.Org
 
quote:
Like many times before, Microsoft is re-inventing the wheel and opting for something other than round.

-t.