Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Windows issue with vagrant-junos and vagrant-host-shell #6

Open
lamoni opened this issue Jul 2, 2015 · 0 comments
Open

Windows issue with vagrant-junos and vagrant-host-shell #6

lamoni opened this issue Jul 2, 2015 · 0 comments

Comments

@lamoni
Copy link

lamoni commented Jul 2, 2015

Seems Windows machines are having issues installing the two required vagrant plugins for this course.

C:\Users\206371\Downloads\JNPRAutomateDemo-Student-master>vagrant plugin install
 vagrant-junos
Installing the 'vagrant-junos' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.10'` succeeds before bundling.

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
.

    C:/HashiCorp/Vagrant/embedded/bin/ruby.exe extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile

make "DESTDIR="
generating ffi_c-i386-mingw32.def
Configuring libffi
make -C "/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi-i386-m
ingw32"
make[1]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-Wall -fexceptions" "CXXFLAGS=" "CFLAGS
_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/u
sr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=
/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=-LC:\HashiCorp\Vagrant\embedded\lib" "
LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /c/Users/20637
1/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/missing --run makeinfo " "PIC
FLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr/l
ocal" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "mandir=/usr/local
/share/man" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=c:/hashic
orp/vagrant/embedded/mingw/i686-w64-mingw32/bin/ld.exe" "NM=/usr/mingw/bin/nm" "
RANLIB=ranlib" "DESTDIR=" all-recursive
make[2]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32'
Making all in include
make[3]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32/include'
Making all in testsuite
make[3]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32/testsuite'
Making all in man
make[3]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32/man'
make[3]: Entering directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext
/ffi_c/libffi-i386-mingw32'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/debug.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10
/ext/ffi_c/libffi/src/debug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/debug.c  -DDLL_EXPORT
-DPIC -o src/.libs/debug.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/prep_cif.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/src/prep_cif.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/prep_cif.c  -DDLL_EXPO
RT -DPIC -o src/.libs/prep_cif.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/types.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10
/ext/ffi_c/libffi/src/types.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/types.c  -DDLL_EXPORT
-DPIC -o src/.libs/types.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/raw_api.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.
10/ext/ffi_c/libffi/src/raw_api.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/raw_api.c  -DDLL_EXPOR
T -DPIC -o src/.libs/raw_api.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/java_raw_api.lo /c/Users/206371/.vagrant.d/gems/gems/ffi
-1.9.10/ext/ffi_c/libffi/src/java_raw_api.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/java_raw_api.c  -DDLL_
EXPORT -DPIC -o src/.libs/java_raw_api.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/closures.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/src/closures.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/closures.c  -DDLL_EXPO
RT -DPIC -o src/.libs/closures.o
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/2
06371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.v
agrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/2063
71/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extco
nf.h\" -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -g  -Wall
 -fexceptions -c -o src/x86/ffi.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.
10/ext/ffi_c/libffi/src/x86/ffi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -g -Wall -fexceptions -c /c/Users/20
6371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/x86/ffi.c  -DDLL_EXPOR
T -DPIC -o src/x86/.libs/ffi.o
/bin/sh ./libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.va
grant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi  -I. -I/c/Users/206371/.vagrant.d/
gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagra
nt.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -D
FD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64  -I. -I/c/Users/206
371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/User
s/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src  -c -o src/x86/win
32.lo /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src/x86/w
in32.S
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/c/Users/206371/.vagrant.d/gems/gem
s/ffi-1.9.10/ext/ffi_c/libffi -I. -I/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9
.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.d/gems/gems/ff
i-1.9.10/ext/ffi_c/libffi/src -DRUBY_EXTCONF_H=\"extconf.h\" -DFD_SETSIZE=2048 -
D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -I. -I/c/Users/206371/.vagrant.d/gem
s/gems/ffi-1.9.10/ext/ffi_c/libffi/include -Iinclude -I/c/Users/206371/.vagrant.
d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi/src -c /c/Users/206371/.vagrant.d/gems/g
ems/ffi-1.9.10/ext/ffi_c/libffi/src/x86/win32.S  -DDLL_EXPORT -DPIC -o src/x86/.
libs/win32.o
/bin/sh ./libtool --tag=CC   --mode=link gcc -g  -Wall -fexceptions -version-inf
o `grep -v '^#' /c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi
/libtool-version`  -no-undefined -bindir "/usr/local/bin" -LC:\HashiCorp\Vagrant
\embedded\lib -o libffi.la -rpath /usr/local/lib src/debug.lo src/prep_cif.lo sr
c/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo    src/x86/ffi.lo
src/x86/win32.lo
./libtool: line 5988: cd: C:HashiCorpVagrantembeddedlib: No such file or directo
ry
libtool: link: cannot determine absolute directory name of `C:HashiCorpVagrantem
beddedlib'
make[3]: *** [libffi.la] Error 1
make[3]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/
ffi_c/libffi-i386-mingw32'
make: *** ["/c/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/libffi-i38
6-mingw32"/.libs/libffi_convenience.a] Error 2


Gem files will remain installed in C:/Users/206371/.vagrant.d/gems/gems/ffi-1.9.
10 for inspection.
Results logged to C:/Users/206371/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/gem_
make.out
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant