make error during svn build (192)

J

john maclean

any pointers on this build error?

git svn clone http://svn.ruby-lang.org/repos/ruby/trunk ruby
--revision 22000:23142
cd ruby
gc clean

autoconf --verbose


/configure --prefix=3D/home/jayeola/ix -program-suffix=3D192

# snip

checking limits.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: see the Autoconf documentation
configure: WARNING: limits.h: section "Present But Cannot Be Compiled"
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING: limits.h: in the future, the compiler will take precede=
nce


# snip
version.h:42:23: error: revision.h: No such file or directory
checking for nroff... /usr/bin/nroff
config.h unchanged
ruby192 library version =3D 1.9.1
configure: creating ./config.status
config.status: creating Makefile


make
gcc -g -O2-O3 -g -Wall -Wno-unused-parameter -Wno-parentheses
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -I.
-I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o main.o -c
main.c
cc1: error: invalid option argument =91-O2-O3=92
make: *** [main.o] Error 1


--=20
John Maclean
07739 171 531
MSc (DIC)

Timezone: GMT
 
B

Brian Candler

john said:
any pointers on this build error?

You could start by describing your build environment (at minimum OS name
and version)
gcc -g -O2-O3 -g ...
cc1: error: invalid option argument �-O2-O3�

Looks like you have something in your environment which is adding
unwanted extra flags to the gcc command line. Try 'printenv' and look
for something which might be doing that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top