Gentoo Archives: gentoo-dev

From: Jason Ritchie <jasonr@×××××××××.com>
To: gentoo-dev <gentoo-dev@g.o>
Subject: [gentoo-dev] Compiling NetHack with qt
Date: Sat, 13 Apr 2002 14:02:12
Message-Id: 3CB880B3.80609@myrealbox.com
1 When I have both QT2 and QT3 installed, nethack will not compile with qt
2 support:
3
4 -- begin paste (longer than it needs to be) --
5
6 gcc -march=i686 -O3 -pipe -fomit-frame-pointer -I../include
7 -I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome
8 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
9 -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
10 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c
11 ../win/gnome/gnyesno.c
12 gcc -march=i686 -O3 -pipe -fomit-frame-pointer -I../include -c -o
13 version.o version.c
14 Loading ...
15 /usr/i686-pc-linux-gnu/bin/ld: cannot find -lqt
16 collect2: ld returned 1 exit status
17 make: *** [Sysunix] Error 1
18
19 !!! ERROR: The ebuild did not complete successfully.
20 !!! Function src_compile, Line 13, Exitcode 2
21 !!! (no error message)
22
23 roland nethack #
24
25 -- end paste --
26
27 If I unmerge qt3, it compiles straight through and runs with qt support.
28 Any suggestions on forcing it to use qt2 or ignore qt3?
29
30 Thanks!
31 Jason Ritchie

Replies

Subject Author
Re: [gentoo-dev] Compiling NetHack with qt Ryan Phillips <ryan.phillips@××××.edu>