Giter Club home page Giter Club logo

Comments (12)

pmq20 avatar pmq20 commented on August 28, 2024

v0.1.0 is pretty old. Let me release v0.2.0 now. Just a sec

from ruby-packer.

pmq20 avatar pmq20 commented on August 28, 2024

http://enclose.io/rubyc

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

@pmq20 Got another error

-> Running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe ", "LDFLAGS"=>""}, "make -j4"]
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /private/var/folders/8v/r_z7qgls0hzcc22yc8zmpdl40000gn/T/rubyc/gdbm/build-aux/missing aclocal-1.14 -I m4
/private/var/folders/8v/r_z7qgls0hzcc22yc8zmpdl40000gn/T/rubyc/gdbm/build-aux/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127
Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe ", "LDFLAGS"=>""}, "make -j4"]

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

I found I have aclocal(1.15)

$ aclocal --version
aclocal (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <[email protected]>
       and Alexandre Duret-Lutz <[email protected]>.

from ruby-packer.

pelted avatar pelted commented on August 28, 2024

Yup needed to brew install automake in order to get the aclocal dependency dealt with. But still failing.

configure: error: something wrong with LDFLAGS=" -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/zlib /var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/zlib/libz.a  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/openssl  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/gdbm/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/yaml/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/libffi/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/ncurses/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/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/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/zlib  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/openssl/include  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/gdbm/build/include  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/yaml/build/include  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/libffi/build/lib/libffi-3.2.1/include  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/ncurses/build/include  -I/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/readline/build/include ", "LDFLAGS"=>" -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/zlib /var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/zlib/libz.a  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/openssl  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/gdbm/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/yaml/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/libffi/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/ncurses/build/lib  -L/var/folders/z9/38cxxvz94y7_zf2m4_4rc7r40000gn/T/rubyc/readline/build/lib ", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "./configure

from ruby-packer.

pmq20 avatar pmq20 commented on August 28, 2024

@pelted @pelted auto tools should not be needed. This is indeed a bug. Thanks for reporting.

Git lost track of modification time of some source code, resulting in make thinking that auto-configure is needed to be re-run. Fixed in fa8db11

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

@pmq20 Great! I'll try when the new release is out.

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

@pmq20 Could you release the new version so that I can verify if it's fixed?

from ruby-packer.

pmq20 avatar pmq20 commented on August 28, 2024

@tony612 You could just clone the repo and try the master branch. Just use bin/rubyc instead of plain rubyc.

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

@pmq20 I tried to use the master branch, but got this error:

Fetching source index from https://gems.ruby-china.org/

Retrying fetcher due to error (2/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.ruby-china.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (3/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.ruby-china.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (4/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.ruby-china.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Could not verify the SSL certificate for https://gems.ruby-china.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Failed running [{"CI"=>"true", "PATH"=>"/var/folders/8v/r_z7qgls0hzcc22yc8zmpdl40000gn/T/rubyc/ruby/build/bin:/Users/tony/.rbenv/versions/2.4.1/bin:/usr/local/Cellar/rbenv/1.1.0/libexec:/Users/tony/.rbenv/plugins/rbenv-binstubs/bin:/Users/tony/scripts:/Users/tony/.rbenv/shims:/usr/local/heroku/bin:/usr/local/share/npm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin", "GEM_HOME"=>nil, "GEM_PATH"=>nil, "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "sh", "-c", "bundle install --deployment"]

I tried three times and got this error every time. When I run bundle install without rubyc, it works.

Then I change ruby-china gems to http, it works. But I'm not sure if it's the problem of ruby-compiler or gems.ruby-china.org.

from ruby-packer.

pmq20 avatar pmq20 commented on August 28, 2024

@tony612 Thanks for reporting. This is probably due to a problem with ruby-compiler since it is using a freshly-built local toolchain to do the bundle install process. Let me see if I could reproduce this locally.

from ruby-packer.

tony612 avatar tony612 commented on August 28, 2024

My problem should be fixed on master. Closing this. Thank you!

from ruby-packer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.