Gentoo Archives: gentoo-dev

From: Ryan Phillips <ryan.phillips@××××.edu>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Compiling NetHack with qt
Date: Sat, 13 Apr 2002 16:19:26
Message-Id: 1018732608.9553.0.camel@trolocsis
In Reply to: [gentoo-dev] Compiling NetHack with qt by Jason Ritchie
1 Which version of nethack ebuild does this error out on?
2
3 -ryan
4
5 On Sat, 2002-04-13 at 12:02, Jason Ritchie wrote:
6 > When I have both QT2 and QT3 installed, nethack will not compile with qt
7 > support:
8 >
9 > -- begin paste (longer than it needs to be) --
10 >
11 > gcc -march=i686 -O3 -pipe -fomit-frame-pointer -I../include
12 > -I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome
13 > -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
14 > -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
15 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c
16 > ../win/gnome/gnyesno.c
17 > gcc -march=i686 -O3 -pipe -fomit-frame-pointer -I../include -c -o
18 > version.o version.c
19 > Loading ...
20 > /usr/i686-pc-linux-gnu/bin/ld: cannot find -lqt
21 > collect2: ld returned 1 exit status
22 > make: *** [Sysunix] Error 1
23 >
24 > !!! ERROR: The ebuild did not complete successfully.
25 > !!! Function src_compile, Line 13, Exitcode 2
26 > !!! (no error message)
27 >
28 > roland nethack #
29 >
30 > -- end paste --
31 >
32 > If I unmerge qt3, it compiles straight through and runs with qt support.
33 > Any suggestions on forcing it to use qt2 or ignore qt3?
34 >
35 > Thanks!
36 > Jason Ritchie
37 >
38 > _______________________________________________
39 > gentoo-dev mailing list
40 > gentoo-dev@g.o
41 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
42 >