Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o, Michael Haubenwallner <michael.haubenwallner@×××××××.at>
Subject: [gentoo-osx] Latest adventures in PREFIX
Date: Thu, 22 Dec 2005 22:25:10
Message-Id: e36b84ee0512221424k365f1708l7f5437b78429ab3@mail.gmail.com
1 With some help on irc from kito and grobian I was able to progress
2 beyond configure being stuck.
3
4 It was caused by environment issues. (Using strace and grepping for
5 "access" proved very fruitful to find the missing files. A simple
6 symlink seemed to solve these issues).
7
8 Now on to the next problem, configure being confused. I've installed
9 gcc with toolsbox, yet somehow the it isn't being found....
10 Here's a line from configure:
11 checking whether we are using the GNU C compiler... no
12
13 strace is also showing that configure is looking for a few files and
14 not finding them:
15 .... [filtered strace output]
16 access("/data1/portage/dec21/prefix/toolsbox-4-patchespre.20051221/i686-pc-linux-gnu//usr/etc/config.site",
17 R_OK) = -1 ENOENT (No such file or directory)
18 access("/data1/portage/dec21/prefix/toolsbox-4-patchespre.20051221/i686-pc-linux-gnu//usr/share/config.site",
19 R_OK) = -1 ENOENT (No such file or directory)
20
21 I'm attaching my latest build script in case anyone is interested.
22
23 Any hints, send them my way.
24
25 thanks
26
27 matt
28
29
30 [complete configure output]
31 ./configure --prefix=/data1/portage/dec21/prefix/toolsbox-4-patchespre.20051221/
32 i686-pc-linux-gnu//usr --host=i686-pc-linux-gnu --mandir=/data1/portage/dec21/pr
33 efix/toolsbox-4-patchespre.20051221/i686-pc-linux-gnu//usr/share/man --infodir=/
34 data1/portage/dec21/prefix/toolsbox-4-patchespre.20051221/i686-pc-linux-gnu//usr
35 /share/info --datadir=/data1/portage/dec21/prefix/toolsbox-4-patchespre.20051221
36 /i686-pc-linux-gnu//usr/share --sysconfdir=/data1/portage/dec21/prefix/toolsbox-
37 4-patchespre.20051221/i686-pc-linux-gnu//etc --localstatedir=/data1/portage/dec2
38 1/prefix/toolsbox-4-patchespre.20051221/i686-pc-linux-gnu//var/lib --build=i686-
39 pc-linux-gnu
40 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
41 checking for C compiler default output... a.out
42 checking whether the C compiler works... yes
43 checking whether we are cross compiling... no
44 checking for suffix of executables...
45 checking for suffix of object files...
46 checking whether we are using the GNU C compiler... no
47 checking whether i686-pc-linux-gnu-gcc accepts -g... no
48 checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
49 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
50 checking for a BSD-compatible install... /data1/portage/dec21/prefix/toolsbox-4-
51 patchespre.20051221/i686-pc-linux-gnu//bin/ginstall -c
52 checking whether make sets $(MAKE)... no
53 checking for ed... ed
54 checking for egrep... grep -E
55 checking for AIX... no
56 checking for ANSI C header files... no
57 checking for sys/types.h... no
58 checking for sys/stat.h... no
59 checking for stdlib.h... no
60 checking for string.h... no
61 checking for memory.h... no
62 checking for strings.h... no
63 checking for inttypes.h... no
64 checking for stdint.h... no
65 checking for unistd.h... no
66 checking minix/config.h usability... no
67 checking minix/config.h presence... no
68 checking for minix/config.h... no
69 checking for library containing strerror... none required
70 checking for special C compiler options needed for large files... no
71 checking for _FILE_OFFSET_BITS value needed for large files... no
72 checking for _LARGE_FILES value needed for large files... no
73 checking for function prototypes... no
74 checking for an ANSI C-conforming const... no
75 checking for dirent.h that defines DIR... no
76 checking for sys/ndir.h that defines DIR... no
77 checking for sys/dir.h that defines DIR... no
78 checking for ndir.h that defines DIR... no
79 checking for library containing opendir... none required
80 checking for ANSI C header files... (cached) no
81 checking fcntl.h usability... no
82 checking fcntl.h presence... yes
83 configure: WARNING: fcntl.h: present but cannot be compiled
84 configure: WARNING: fcntl.h: check for missing prerequisite headers?
85 configure: WARNING: fcntl.h: proceeding with the preprocessor's result
86 configure: WARNING: ## ------------------------------------ ##
87 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
88 configure: WARNING: ## ------------------------------------ ##
89 checking for fcntl.h... yes
90 checking limits.h usability... no
91 checking limits.h presence... yes
92 configure: WARNING: limits.h: present but cannot be compiled
93 configure: WARNING: limits.h: check for missing prerequisite headers?
94 configure: WARNING: limits.h: proceeding with the preprocessor's result
95 configure: WARNING: ## ------------------------------------ ##
96 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
97 configure: WARNING: ## ------------------------------------ ##
98 checking for limits.h... yes
99 checking for string.h... (cached) no
100 checking for unistd.h... (cached) no
101 checking utime.h usability... no
102 checking utime.h presence... yes
103 configure: WARNING: utime.h: present but cannot be compiled
104 configure: WARNING: utime.h: check for missing prerequisite headers?
105 configure: WARNING: utime.h: proceeding with the preprocessor's result
106 configure: WARNING: ## ------------------------------------ ##
107 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
108 configure: WARNING: ## ------------------------------------ ##
109 checking for utime.h... yes
110 checking varargs.h usability... no
111 checking varargs.h presence... no
112 checking for varargs.h... no
113 checking for mode_t... no
114 checking for off_t... no
115 checking for pid_t... no
116 checking return type of signal handlers... int
117 checking for size_t... no
118 checking for stdbool.h that conforms to C99... no
119 checking for _Bool... no
120 checking sys/time.h usability... no
121 checking sys/time.h presence... yes
122 configure: WARNING: sys/time.h: present but cannot be compiled
123 configure: WARNING: sys/time.h: check for missing prerequisite headers?
124 configure: WARNING: sys/time.h: proceeding with the preprocessor's
125 resulconfigure: WARNING: ## ------------------------------------
126 ##
127 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
128 configure: WARNING: ## ------------------------------------ ##
129 checking for sys/time.h... yes
130 checking for utime.h... (cached) yes
131 checking whether time.h and sys/time.h may both be included... no
132 checking for struct utimbuf... no
133 checking whether closedir returns void... yes
134 checking for limits.h... (cached) yes
135 checking for stdlib.h... (cached) no
136 checking for string.h... (cached) no
137 checking whether getenv is declared... no
138 checking whether malloc is declared... no
139 checking whether system is Windows or MSDOS... no
140 checking for unistd.h... (cached) no
141 checking for d_ino member in directory struct... no
142 checking for long file names... (cached) yes
143 checking for pathconf... yes
144 checking for vprintf... yes
145 checking for _doprnt... no
146 checking for error_at_line... yes
147 checking for strerror... yes
148 checking whether strerror is declared... no
149 checking whether strerror_r is declared... no
150 checking for strerror_r... yes
151 checking whether strerror_r returns char *... yes
152 checking for memchr... yes
153 checking whether stat file-mode macros are broken... no
154 checking for rmdir... yes
155 checking for stdlib.h... (cached) no
156 checking for GNU libc compatible malloc... yes
157 checking for stdlib.h... (cached) no
158 checking for GNU libc compatible realloc... yes
159 checking stddef.h usability... no
160 checking stddef.h presence... yes
161 configure: WARNING: stddef.h: present but cannot be compiled
162 configure: WARNING: stddef.h: check for missing prerequisite headers?
163 configure: WARNING: stddef.h: proceeding with the preprocessor's result
164 configure: WARNING: ## ------------------------------------ ##
165 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
166 configure: WARNING: ## ------------------------------------ ##
167 checking for stddef.h... yes
168 checking wchar.h usability... no
169 checking wchar.h presence... yes
170 configure: WARNING: wchar.h: present but cannot be compiled
171 configure: WARNING: wchar.h: check for missing prerequisite headers?
172 configure: WARNING: wchar.h: proceeding with the preprocessor's result
173 configure: WARNING: ## ------------------------------------ ##
174 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
175 configure: WARNING: ## ------------------------------------ ##
176 checking for wchar.h... yes
177 checking wctype.h usability... no
178 checking wctype.h presence... yes
179 configure: WARNING: wctype.h: present but cannot be compiled
180 configure: WARNING: wctype.h: check for missing prerequisite headers?
181 configure: WARNING: wctype.h: proceeding with the preprocessor's result
182 configure: WARNING: ## ------------------------------------ ##
183 configure: WARNING: ## Report this to bug-autoconf@×××.org. ##
184 configure: WARNING: ## ------------------------------------ ##
185 checking for wctype.h... yes
186 checking for iswprint... yes
187 checking for mbsinit... yes
188 checking for mbstate_t... no
189 checking whether mbrtowc and mbstate_t are properly declared... yes
190 checking for pathconf... (cached) yes
191 checking for limits.h... (cached) yes
192 checking for string.h... (cached) no
193 checking for unistd.h... (cached) no
194 checking whether free is declared... no
195 checking whether getenv is declared... (cached) no
196 checking whether malloc is declared... (cached) no
197 checking whether mktemp is declared... no
198 checking for _doprintf... no
199 checking for geteuid... yes
200 checking for getuid... yes
201 checking for isascii... yes
202 checking for memcmp... yes
203 checking for mktemp... yes
204 checking for pathconf... (cached) yes
205 checking for raise... yes
206 checking for sigaction... yes
207 checking for sigprocmask... yes
208 checking for sigsetmask... yes
209 checking for strerror... (cached) yes
210 checking for mkdir... yes
211 checking for strncasecmp... yes
212 checking for _LARGEFILE_SOURCE value needed for large files... no
213 checking for fseeko... yes
214 checking whether clearerr_unlocked is declared... no
215 checking whether feof_unlocked is declared... no
216 checking whether ferror_unlocked is declared... no
217 checking whether fflush_unlocked is declared... no
218 checking whether fgets_unlocked is declared... no
219 checking whether fputc_unlocked is declared... no
220 checking whether fputs_unlocked is declared... no
221 checking whether fread_unlocked is declared... no
222 checking whether fwrite_unlocked is declared... no
223 checking whether getc_unlocked is declared... no
224 checking whether getchar_unlocked is declared... no
225 checking whether putc_unlocked is declared... no
226 checking whether putchar_unlocked is declared... no
227 checking whether closedir returns void... (cached) yes
228 checking for fcntl.h... (cached) yes
229 checking for unistd.h... (cached) no
230 checking for DOS-style setmode... no
231 checking for vprintf... (cached) yes
232 checking for _doprnt... (cached) no
233 checking for mkdir... (cached) yes
234 checking whether mkdir takes only one argument... no
235 checking whether system is Windows or MSDOS... (cached) no
236 checking for long file names... (cached) yes
237 configure: creating ./config.status
238 config.status: creating Makefile
239 config.status: creating config.h
240 sed -e 's/@''HAVE__BOOL''@/0/g' \
241 <./stdbool.h.in >stdbool.h
242 i686-pc-linux-gnu-gcc -o patch -DLINUX -D_XOPEN_SOURCE=500 addext. argmatch. b
243 ackupfile. basename. dirname. getopt. getopt1. inp. maketime. partime. patch. pc
244 h. quote. quotearg. quotesys. util. version. xmalloc.
245 i686-pc-linux-gnu-gcc: addext.: No such file or directory
246 i686-pc-linux-gnu-gcc: argmatch.: No such file or directory
247 i686-pc-linux-gnu-gcc: backupfile.: No such file or directory
248 i686-pc-linux-gnu-gcc: basename.: No such file or directory
249 i686-pc-linux-gnu-gcc: dirname.: No such file or directory
250 i686-pc-linux-gnu-gcc: getopt.: No such file or directory
251 i686-pc-linux-gnu-gcc: getopt1.: No such file or directory
252 i686-pc-linux-gnu-gcc: inp.: No such file or directory
253 i686-pc-linux-gnu-gcc: maketime.: No such file or directory
254 i686-pc-linux-gnu-gcc: partime.: No such file or directory
255 i686-pc-linux-gnu-gcc: patch.: No such file or directory
256 i686-pc-linux-gnu-gcc: pch.: No such file or directory
257 i686-pc-linux-gnu-gcc: quote.: No such file or directory
258 i686-pc-linux-gnu-gcc: quotearg.: No such file or directory
259 i686-pc-linux-gnu-gcc: quotesys.: No such file or directory
260 i686-pc-linux-gnu-gcc: util.: No such file or directory
261 i686-pc-linux-gnu-gcc: version.: No such file or directory
262 i686-pc-linux-gnu-gcc: xmalloc.: No such file or directory
263 i686-pc-linux-gnu-gcc: no input files
264 make: *** [patch] Error 1
265
266 !!! ERROR: sys-devel/patch-2.5.9-r1 failed.
267 !!! Function src_compile, Line 37, Exitcode 2
268 !!! emake failed
269 !!! If you need support, post the topmost build error, NOT this status message

Attachments

File name MIME type
bootstrap.sh application/x-sh

Replies

Subject Author
Re: [gentoo-osx] Latest adventures in PREFIX Grobian <grobian@g.o>