Gentoo Archives: gentoo-dev

From: Kevin Gordon <kgordon@××××××××××××.nz>
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] GLIB error
Date: Mon, 27 Aug 2001 00:36:23
Message-Id: 000301c12ec2$d242c990$0501010a@kgpro
1 Hi Everyone,
2 I have three queries which I hope you are able to help me with:
3 (1) Tried to emerge portage-1.6 file not found (yesterday). Must try 1.6.1?
4
5 (2) Tried to install gftp (first emerge rsync)
6
7 configure:2778: checking for GLIB - version >= 1.2.3
8 configure:2877: gcc -o
9 conftest -mcpu=i686 -march=i686 -O3 -pipe -I/usr/include/glib-1.2 -I/usr/lib
10 /glib/include conftest.c -L/usr/lib -lglib 1>&5
11 In file included from /usr/include/bits/posix1_lim.h:126,
12 from /usr/include/limits.h:144,
13 from
14 /usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/limits.h:117,
15 from
16 /usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/syslimits.h:7,
17 from
18 /usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/limits.h:11,
19 from /usr/lib/glib/include/glibconfig.h:9,
20 from /usr/include/glib-1.2/glib.h:66,
21 from configure:2803:
22 /usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
23 configure: failed program was:
24 #line 2801 "configure"
25 #include "confdefs.h"
26
27 (3) Tried to install glib
28
29 gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_DISABLE
30 _ASSERT -DG_DISABLE_CHECKS -mcpu=i686 -march=i686 -O3 -pipe -Wall -posix -D_
31 REENTRANT -c giounix.c -fPIC -DPIC -o .libs/giounix.lo
32 In file included from /usr/include/errno.h:36,
33 from giounix.c:37:
34 /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
35 giounix.c: In function `g_io_unix_read':
36 giounix.c:166: `EINVAL' undeclared (first use in this function)
37 giounix.c:166: (Each undeclared identifier is reported only once
38 giounix.c:166: for each function it appears in.)
39 giounix.c:168: `EAGAIN' undeclared (first use in this function)
40 giounix.c:167: warning: unreachable code at beginning of switch statement
41 giounix.c: In function `g_io_unix_write':
42 giounix.c:197: `EINVAL' undeclared (first use in this function)
43 giounix.c:199: `EAGAIN' undeclared (first use in this function)
44 giounix.c:198: warning: unreachable code at beginning of switch statement
45 giounix.c: In function `g_io_unix_seek':
46 giounix.c:243: `EINVAL' undeclared (first use in this function)
47 giounix.c:244: warning: unreachable code at beginning of switch statement
48 make[2]: *** [giounix.lo] Error 1
49 make[2]: *** Waiting for unfinished jobs....
50 mv -f .libs/ghook.lo ghook.lo
51 make[2]: Leaving directory `/tmp/portage/glib-1.2.10/work/glib-1.2.10'
52 make[1]: *** [all-recursive] Error 1
53 make[1]: Leaving directory `/tmp/portage/glib-1.2.10/work/glib-1.2.10'
54 make: *** [all-recursive-am] Error 2
55
56 !!! ERROR: the pmake command did not complete successfully.
57 !!! ("pmake")
58 !!! Since this is a critical task, ebuild will be stopped.
59
60 !!! emerge aborting on /usr/portage/dev-libs/glib/glib-1.2.10.ebuild .
61
62 Any suggestions most appreciated.
63
64 Regards
65 Kevin Gordon

Replies

Subject Author
Re: [gentoo-dev] GLIB error Mikael Hallendal <hallski@g.o>