Ruby won't build on Jaguar

I know just enough about GNU make to wonder why anyone uses it instead
of Jam, http://www.perforce.com/jam/jam.html. So with Ruby not building

···

on the Jaguar, I’m in deep. Here is what make says:

[dslstat-bvi1-177:~/ruby-1.6.7] chrisg% make
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c array.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c bignum.c gcc: unrecognized option-no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c class.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c compar.c gcc: unrecognized option-no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c dir.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c dln.c gcc: unrecognized option-no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c enum.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c error.c gcc: unrecognized option-no-precomp’
error.c:472: conflicting types for sys_nerr' /usr/include/stdio.h:265: previous declaration ofsys_nerr’
make: *** [error.o] Error 1

gcc jumped to version 3.1 on Jaguar if that’s any help. I hope some
knowledgeable person sees an easy fix.
TIA
-Chris


The higher we soar the smaller we appear to those who cannot fly.
-Friedrich Wilhelm Nietzsche, philosopher (1844-1900)

Chris Gehlker wrote:

I know just enough about GNU make to wonder why anyone uses it instead
of Jam, Swarm - jam. So with Ruby not building

[dslstat-bvi1-177:~/ruby-1.6.7] chrisg% make
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c array.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c bignum.c gcc: unrecognized option -no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c class.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c compar.c gcc: unrecognized option -no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c dir.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c dln.c gcc: unrecognized option -no-precomp’
gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c enum.c
gcc: unrecognized option -no-precomp' gcc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c error.c gcc: unrecognized option -no-precomp’
error.c:472: conflicting types for sys_nerr' /usr/include/stdio.h:265: previous declaration of sys_nerr’
make: *** [error.o] Error 1

gcc jumped to version 3.1 on Jaguar if that’s any help. I hope some
knowledgeable person sees an easy fix.
TIA
-Chris


The higher we soar the smaller we appear to those who cannot fly.
-Friedrich Wilhelm Nietzsche, philosopher (1844-1900)

Isn’t 1.6.7 in Jaguar already?

···

on the Jaguar, I’m in deep. Here is what make says:

[…]

error.c:472: conflicting types for sys_nerr' /usr/include/stdio.h:265: previous declaration of sys_nerr’
make: *** [error.o] Error 1

Darwin 6.x declares sys_nerr (Darwin 5.x did not). As a workaround, you
can open error.c and comment out the declaration of sys_nerr. The
extremely simple real fix (which is in 1.7) is to conditionalize
sys_nerr based on a configure test.

Perhaps someone with more time than I have could backport the fix to
the 1.6 branch.

Chris

···

On Wednesday, August 28, 2002, at 02:55 PM, Chris Gehlker wrote:

Yes, but statically compiled w/out a shared library for the interpreter.

This is needed by Chris’s OS X IDE work and RubyCocoa.

-rich

···

-----Original Message-----
From: Bob X [mailto:bobx@linuxmail.org]
Sent: Wednesday, August 28, 2002 6:32 PM
To: ruby-talk ML
Subject: Re: Ruby won’t build on Jaguar

Chris Gehlker wrote:

I know just enough about GNU make to wonder why anyone uses it
instead
of Jam, Swarm - jam. So with Ruby
not building
on the Jaguar, I’m in deep. Here is what make says:

Isn’t 1.6.7 in Jaguar already?