On 11/16/2002 03:51 AM, David A. Bandel wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 15 Nov 2002 19:27:49 -0800
begin  "Net Llama!" <[EMAIL PROTECTED]> spewed forth:


On 11/15/2002 06:59 PM, [EMAIL PROTECTED] wrote:

On Fri, Nov 15, 2002 at 11:16:24AM -0500, Net Llama! wrote:


I'm trying to build glibc-2.2.5 from the pristine source, and its
bombing>about 10 minutes in with the error:

exec: illegal option: -C

If something is invoking exec, perhaps it means "exec -c". That said,
"make" accepts a "-C" option which might be buggering something up.
Well, i found this patch for scripts/cpp:

--- scripts/cpp.~1.2.~ Thu Dec 6 10:20:25 2001
+++ scripts/cpp Fri Jan 11 10:34:56 2002
@@ -15,8 +15,12 @@
fi
fi
fi
+if test -z "$cpp"; then
+ echo "cpp not found" >&2
+ exit 1
+fi

-exec $cpp $*
+exec "$cpp" ${1+"$@"}
Local Variables:
mode: sh
End:

And things got a bit further on the next attempt, until it bombed here:

/usr/src/glibc-build/elf/ld-linux.so.2 --library-path /usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf
:/usr/src/glibc-build/dlfcn:/usr/src/glibc-build/nss:/usr/src/glibc-bui
ld/nis:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/gli
bc-build/crypt:/usr/src/glibc-build/linuxthreads
/usr/src/glibc-build/sunrpc/rpcgen -Y ../scripts -c
rpcsvc/bootparam_prot.x -o /usr/src/glibc-build/sunrpc/xbootparam_prot.T
cpp not found/usr/src/glibc-build/sunrpc/rpcgen: C preprocessor failed
with exit code 1 make[2]: ***
[/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Error 1 make[2]:
Leaving directory `/usr/src/glibc-2.2.5/sunrpc' make[1]: ***
[sunrpc/others] Error 2 make[1]: Leaving directory
`/usr/src/glibc-2.2.5' make: *** [all] Error 2

You're trying to build glibc without cpp installed?  Well that won't work.
Actually, cpp was installed, but oddly, wasn't in root's $PATH. Once i fixed that, the build completed successfully, and glibc installed without incident.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman [EMAIL PROTECTED]
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com

8:25am up 34 days, 21:40, 3 users, load average: 0.02, 0.34, 0.57

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to