Skip to content

Instantly share code, notes, and snippets.

@theHamdiz
Created January 12, 2015 10:12
Show Gist options
  • Select an option

  • Save theHamdiz/32d7711d1405e0101b83 to your computer and use it in GitHub Desktop.

Select an option

Save theHamdiz/32d7711d1405e0101b83 to your computer and use it in GitHub Desktop.
libyaml installation error
Ahmads-Mac-Pro:~ a7madx7$ rvm remove all
Are you SURE you wish to 'remove' all rubies?
(anything other than 'yes' will cancel) > yes
ruby-2.2.0 - #removing src/ruby-2.2.0..
ruby-2.2.0 - #removing rubies/ruby-2.2.0..
Ahmads-Mac-Pro:~ a7madx7$ rvm pkg install libyaml
Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Fetching yaml-0.1.6.tar.gz to /Users/a7madx7/.rvm/archives
Extracting yaml to /Users/a7madx7/.rvm/src/yaml-0.1.6....
Prepare yaml in /Users/a7madx7/.rvm/src/yaml-0.1.6..
Error running '__rvm_autoreconf -is --force',
showing last 15 lines of /Users/a7madx7/.rvm/log/1421057390/yaml_autoreconf.log
[2015-01-12 12:09:50] __rvm_autoreconf
__rvm_autoreconf ()
{
\autoreconf "$@" || return $?
}
current path: /Users/a7madx7/.rvm/src/yaml-0.1.6
PATH=/usr/local/opt/pkg-config/bin:/usr/local/Cellar/libtool/2.4.2/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/a7madx7/.rbenv/shims:/Users/a7madx7/.rbenv/shims:/usr/local/bin:/bin:/usr/sbin:/sbin:/Users/a7madx7/.rvm/bin:/usr/bin
command(3): __rvm_autoreconf -is --force
+ autoreconf -is --force
configure.ac:56: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1
+ return 1
Configuring yaml in /Users/a7madx7/.rvm/src/yaml-0.1.6.......
Compiling yaml in /Users/a7madx7/.rvm/src/yaml-0.1.6...
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/a7madx7/.rvm/log/1421057390/yaml_make.log
command(3): __rvm_make -j 1
+ make -j 1
cd . && automake-1.14 --foreign
configure.ac:51: error: required file 'config/compile' not found
configure.ac:51: 'automake --add-missing' can install 'compile'
include/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:2: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:2: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:2: If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:2: its definition is in aclocal's search path.
parallel-tests: error: required file 'config/test-driver' not found
parallel-tests: 'automake --add-missing' can install 'test-driver'
make: *** [Makefile.in] Error 1
+ return 2
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment