-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #178
Comments
I also tried to run the first example in the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rubyc .
Auto-update Failed: failed to find a Location header
-> Project root not supplied, /Users/alirezamosavi/Desktop/Programming/RubyP/projects/cli/projects/p1 assumed.
Ruby Compiler (rubyc) v0.4.0
-> mkdir -p /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc
-> cd /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ruby-2.4.1-0.4.0
-> Running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib/libffi-3.2.1/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/include ", "LDFLAGS"=>" -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib/libz.a -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "./configure --prefix=/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ruby-2.4.1-0.4.0/build --enable-bundled-libyaml --without-gmp --disable-dtrace --enable-debug-env --disable-install-rdoc"]
checking for ruby... /Users/alirezamosavi/.rbenv/shims/ruby
config.guess already exists
config.sub already exists
checking build system type... x86_64-apple-darwin22.5.0
checking host system type... x86_64-apple-darwin22.5.0
checking target system type... x86_64-apple-darwin22.5.0
checking for clang... clang
checking for gcc... (cached) clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether clang needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... no
checking whether clang -E accepts -o... yes
checking for real target cpu... x86_64
checking for ranlib... ranlib
checking for ar... ar
checking for ar D option... no
checking for as... as
checking for objdump... objdump
checking for objcopy... no
checking for gobjcopy... no
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... -d
use 'mkdir -p' as MKDIR_P
checking for dtrace... dtrace
checking for dot... no
checking for doxygen... no
checking for pkg-config... pkg-config
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
➜ p1 rubyc .
Auto-update Failed: failed to find a Location header
-> Project root not supplied, /Users/alirezamosavi/Desktop/Programming/RubyP/projects/cli/projects/p1 assumed.
Ruby Compiler (rubyc) v0.4.0
-> mkdir -p /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc
-> cd /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ruby-2.4.1-0.4.0
-> Running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib/libffi-3.2.1/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/include ", "LDFLAGS"=>" -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib/libz.a -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "./configure --prefix=/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ruby-2.4.1-0.4.0/build --enable-bundled-libyaml --without-gmp --disable-dtrace --enable-debug-env --disable-install-rdoc"]
checking for ruby... /Users/alirezamosavi/.rbenv/shims/ruby
config.guess already exists
config.sub already exists
checking build system type... x86_64-apple-darwin22.5.0
checking host system type... x86_64-apple-darwin22.5.0
checking target system type... x86_64-apple-darwin22.5.0
checking for clang... clang
checking for gcc... (cached) clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether clang needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... no
checking whether clang -E accepts -o... yes
checking for real target cpu... x86_64
checking for ranlib... ranlib
checking for ar... ar
checking for ar D option... no
checking for as... as
checking for objdump... objdump
checking for objcopy... no
checking for gobjcopy... no
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... -d
use 'mkdir -p' as MKDIR_P
checking for dtrace... dtrace
checking for dot... no
checking for doxygen... no
checking for pkg-config... pkg-config
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... no
configure: error: something wrong with LDFLAGS=" -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib/libz.a -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/lib "
Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib/libffi-3.2.1/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/include -I/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/include ", "LDFLAGS"=>" -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib /var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/zlib/libz.a -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/openssl -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/gdbm/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/yaml/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/libffi/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ncurses/build/lib -L/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "./configure --prefix=/var/folders/fh/0sd9f2bd5jd12pxd8wbb4_qh0000gn/T/rubyc/ruby-2.4.1-0.4.0/build --enable-bundled-libyaml --without-gmp --disable-dtrace --enable-debug-env --disable-install-rdoc"]
Whats wrong with the rubyc it says
configure: error: something wrong with LDFLAGS=
The text was updated successfully, but these errors were encountered: