[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106857] [Ruby master Bug#18442] Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
From:
"dklein (Dmitri Klein)" <noreply@...>
Date:
2021-12-28 00:52:08 UTC
List:
ruby-core #106857
Issue #18442 has been updated by dklein (Dmitri Klein).
Similar error by using gmake for other Ruby versions :
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
gmake[2]: *** [big2str.o] Error 1
----------------------------------------
Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
https://bugs.ruby-lang.org/issues/18442#change-95668
* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
make
...
cc: acomp failed for vm.c
*** Error code 2
The following command caused the error:
cc -D_STDC_C99= -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=600 -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
#
======
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: i386-solaris2.10
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: solaris2.10
* compiler: cc -D_STDC_C99=
* with pthread: yes
* with coroutine: ucontext
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L.
* debugflags: -g
* warnflags: -erroff=E_STATEMENT_NOT_REACHED \
-erroff=E_INIT_SIGN_EXTEND \
-erroff=E_INIT_DOES_NOT_FIT \
-erroff=E_INITIALIZATION_TYPE_MISMATCH
* strip command: gstrip -S -x
* install doc: rdoc
* JIT support: yes
* man page type: man
---
#
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>