Gentoo Archives: gentoo-dev

From: Dave Lee <davel@××××××.com>
To: gentoo-dev@g.o
Cc: gentoo-user@g.o
Subject: [gentoo-dev] portage compile problem (xemacs)
Date: Sat, 06 Apr 2002 13:12:56
Message-Id: Pine.SGI.4.21.0204061200370.16201145-100000@the-gimp
1 So I was trying to compile xemacs and ./configure failed, here is there
2 error message
3
4 [snip]
5 checking for dbm_open in -lgdbm... no
6 Error: Required GNU DBM support cannot be provided.
7
8 !!! ERROR: The ebuild did not complete successfully.
9 [snip]
10
11 I do have gdbm, though
12
13 mj xemacs # qpkg -f /usr/lib/libgdbm.so
14 sys-libs/gdbm-1.8.0-r4 *
15
16 when I look in
17 /var/tmp/portage/xemacs-21.1.14/work/xemacs-21.1.14/config.log
18 it seems that gcc is only being passed -L/usr/X11R6/lib so I assume this
19 is why ./configure cant find "dbm_open in -lgdbm"
20
21 why is this happening? why cant portage find libgdbm? I tried editing
22 the xemacs ebuild file to remove the gdbm option to ./configure but then
23 ./configure failes when looking for dl_open and says the C compiler is
24 broken.
25
26 any help is much appreciated.
27 Dave
28
29 here is the relevant portion in config.log
30
31 configure:11451: checking for dbm_open in -lgdbm
32 configure:11467: gcc -o conftest -march=i686 -O3 -pipe
33 -I/usr/X11R6/includ
34 e -L/usr/X11R6/lib conftest.c -lgdbm -lXm -ltiff -lpng -ljpeg
35 -lz -lXp
36 m -lXmu -lXt -lXext -lX11 -lSM -lICE -lgpm -lncurses -lm -lgcc -lc
37 -lgcc /us
38 r/lib/crtn.o 1>&5
39 /usr/i686-pc-linux-gnu/bin/ld: cannot find -lgpm
40 collect2: ld returned 1 exit status
41 configure: failed program was:
42 #line 11456 "configure"
43 #include "confdefs.h"
44 /* Override any gcc2 internal prototype to avoid an error. */
45 /* We use char because int might match the return type of a gcc2
46 builtin and then its argument prototype would still apply. */
47 char dbm_open();
48
49 int main() {
50 dbm_open()
51 ; return 0; }

Replies

Subject Author
[gentoo-dev] Re: portage compile problem (xemacs) Dave Lee <davel@××××××.com>