iromu / vsfm-osx

VisualSFM OSX app builder
70 stars 33 forks source link

g++-4.9: command not found #27

Open bejocoh opened 7 years ago

bejocoh commented 7 years ago

Hi all,

I am very new to brew and Opensource programs in general, but I am really interested in VisualSFM and really need it to work. This is what I am getting when I run the "all" script:

Last login: Thu Feb 9 00:11:29 on ttys000 Benjamins-MBP:~ benjamin$ /Users/benjamin/Downloads/vsfm-osx-master/scripts/all ; exit; Installing Homebrew dependencies into /private/tmp/iromu/VisualSFM.app/Contents/Resources ==> Using the sandbox ==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar Already downloaded: /Users/benjamin/Library/Caches/Homebrew/pkg-config-0.29.1.tar.gz ==> ./configure --prefix=/Users/benjamin/Downloads/vsfm-osx-master/template_app/ ==> make ==> make check ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pkg-config/0.29.1_2: 11 files, 628.8K, built in 1 minute 23 seconds ==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.yosemite.bottle.2.t Already downloaded: /Users/benjamin/Library/Caches/Homebrew/jpeg-8d.yosemite.bottle.2.tar.gz ==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/jpeg/8d: 19 files, 731.3K ==> Installing dependencies for gdk-pixbuf: gettext, libffi, pcre, glib, libtiff, libpng, freetype, fontconfig, pixman, cairo, gobject-introspection, shared-mime-info ==> Installing gdk-pixbuf dependency: gettext ==> Using the sandbox ==> Downloading https://ftpmirror.gnu.org/gettext/gettext-0.19.8.1.tar.xz Already downloaded: /Users/benjamin/Library/Caches/Homebrew/gettext-0.19.8.1.tar.xz ==> ./configure --disable-silent-rules --prefix=/Users/benjamin/Downloads/vsfm-o ==> make ==> make install ==> Caveats This formula is keg-only, which means it was not symlinked into /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources.

macOS provides the BSD gettext library and some software gets confused if both are in the library path.

If you need to have this software first in your PATH run: echo 'export PATH="/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set: LDFLAGS: -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gettext/lib CPPFLAGS: -I/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gettext/include

==> Summary 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gettext/0.19.8.1: 1,935 files, 17.0M, built in 6 minutes 57 seconds ==> Installing gdk-pixbuf dependency: libffi ==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.yosemite.bott Already downloaded: /Users/benjamin/Library/Caches/Homebrew/libffi-3.0.13.yosemite.bottle.tar.gz ==> Pouring libffi-3.0.13.yosemite.bottle.tar.gz ==> Caveats This formula is keg-only, which means it was not symlinked into /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources.

Some formulae require a newer version of libffi.

For compilers to find this software you may need to set: LDFLAGS: -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/libffi/lib For pkg-config to find this software you may need to set: PKG_CONFIG_PATH: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/libffi/lib/pkgconfig

==> Summary 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/libffi/3.0.13: 15 files, 377.5K ==> Installing gdk-pixbuf dependency: pcre ==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.yosemite.bottle.t Already downloaded: /Users/benjamin/Library/Caches/Homebrew/pcre-8.39.yosemite.bottle.tar.gz ==> Pouring pcre-8.39.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pcre/8.39: 203 files, 5.4M ==> Installing gdk-pixbuf dependency: glib ==> Downloading https://download.gnome.org/sources/glib/2.50/glib-2.50.2.tar.xz Already downloaded: /Users/benjamin/Library/Caches/Homebrew/glib-2.50.2.tar.xz ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/59e4d Already downloaded: /Users/benjamin/Library/Caches/Homebrew/glib--patch-a4cb96b5861672ec0750cb30ecebe1d417d38052cac12fbb8a77dbf04a886fcb.diff ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/a39de Already downloaded: /Users/benjamin/Library/Caches/Homebrew/glib--patch-284cbf626f814c21f30167699e6e59dcc0d31000d71151f25862b997a8c8493d.patch ==> Patching ==> Applying hardcoded-paths.diff patching file gio/gdbusprivate.c Hunk #1 succeeded at 2070 (offset -29 lines). Hunk #2 succeeded at 2080 (offset -29 lines). patching file gio/xdgmime/xdgmime.c patching file glib/gutils.c Hunk #1 succeeded at 1959 (offset 21 lines). ==> Applying gio.patch patching file gio/Makefile.am patching file gio/Makefile.in ==> ./configure --disable-maintainer-mode --disable-silent-rules --disable-dtrac ==> make ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/glib/2.50.2: 443 files, 22.7M, built in 3 minutes 13 seconds ==> Installing gdk-pixbuf dependency: libtiff ==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.7_2.yosemite.bo Already downloaded: /Users/benjamin/Library/Caches/Homebrew/libtiff-4.0.7_2.yosemite.bottle.tar.gz ==> Pouring libtiff-4.0.7_2.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/libtiff/4.0.7_2: 248 files, 3.4M ==> Installing gdk-pixbuf dependency: libpng ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.28.yosemite.bott Already downloaded: /Users/benjamin/Library/Caches/Homebrew/libpng-1.6.28.yosemite.bottle.tar.gz ==> Pouring libpng-1.6.28.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/libpng/1.6.28: 26 files, 1.2M ==> Installing gdk-pixbuf dependency: freetype ==> Downloading https://homebrew.bintray.com/bottles/freetype-2.7.1.yosemite.bot Already downloaded: /Users/benjamin/Library/Caches/Homebrew/freetype-2.7.1.yosemite.bottle.tar.gz ==> Pouring freetype-2.7.1.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/freetype/2.7.1: 62 files, 2.5M ==> Installing gdk-pixbuf dependency: fontconfig Warning: Building fontconfig from source: The bottle needs to be installed into /usr/local. ==> Downloading https://www.freedesktop.org/software/fontconfig/release/fontconf Already downloaded: /Users/benjamin/Library/Caches/Homebrew/fontconfig-2.12.1.tar.bz2 ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/3790b Already downloaded: /Users/benjamin/Library/Caches/Homebrew/fontconfig--patch-e7c074109a367bf3966578034b20d11f7e0b4a611785a040aef1fd11359af04d.diff ==> Patching ==> Applying patch-2.12.1-fccache.diff patching file src/fccache.c ==> ./configure --disable-silent-rules --enable-static --with-add-fonts=/System/ ==> make install RUN_FC_CACHE_TEST=false ==> Regenerating font cache, this may take a while ==> /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Ce 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/fontconfig/2.12.1_2: 469 files, 3M, built in 2 minutes 19 seconds ==> Installing gdk-pixbuf dependency: pixman ==> Downloading https://homebrew.bintray.com/bottles/pixman-0.34.0.yosemite.bott Already downloaded: /Users/benjamin/Library/Caches/Homebrew/pixman-0.34.0.yosemite.bottle.tar.gz ==> Pouring pixman-0.34.0.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pixman/0.34.0: 12 files, 1.2M ==> Installing gdk-pixbuf dependency: cairo ==> Downloading https://cairographics.org/releases/cairo-1.14.8.tar.xz Already downloaded: /Users/benjamin/Library/Caches/Homebrew/cairo-1.14.8.tar.xz ==> ./configure --prefix=/Users/benjamin/Downloads/vsfm-osx-master/template_app/ ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/cairo/1.14.8: 119 files, 5.9M, built in 1 minute 48 seconds ==> Installing gdk-pixbuf dependency: gobject-introspection ==> Downloading https://download.gnome.org/sources/gobject-introspection/1.50/go Already downloaded: /Users/benjamin/Library/Caches/Homebrew/gobject-introspection-1.50.0.tar.xz ==> ./configure --prefix=/Users/benjamin/Downloads/vsfm-osx-master/template_app/ ==> make ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gobject-introspection/1.50.0: 230 files, 10.6M, built in 1 minute 9 seconds ==> Installing gdk-pixbuf dependency: shared-mime-info ==> Downloading https://homebrew.bintray.com/bottles/shared-mime-info-1.8.yosemi Already downloaded: /Users/benjamin/Library/Caches/Homebrew/shared-mime-info-1.8.yosemite.bottle.tar.gz ==> Pouring shared-mime-info-1.8.yosemite.bottle.tar.gz ==> /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Ce 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/shared-mime-info/1.8: 844 files, 6.8M Warning: gdk-pixbuf: this formula has no --use-llvm option so it will be ignored! ==> Installing gdk-pixbuf ==> Downloading https://download.gnome.org/sources/gdk-pixbuf/2.36/gdk-pixbuf-2. ==> Downloading from http://ftp.cse.buffalo.edu/pub/Gnome/sources/gdk-pixbuf/2.3 ######################################################################## 100.0% ==> ./configure --disable-maintainer-mode --enable-debug=no --prefix=/Users/benj ==> make ==> make install ==> /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Ce ==> Caveats Programs that require this module need to set the environment variable export GDK_PIXBUF_MODULE_FILE="/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gdk-pixbuf/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" export GDK_PIXBUF_MODULEDIR="/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/lib/gdk-pixbuf-2.0/2.10.0/loaders" If you need to manually update the query loader cache, set these variables then run /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gdk-pixbuf/bin/gdk-pixbuf-query-loaders --update-cache ==> Summary 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gdk-pixbuf/2.36.2: 226 files, 4.4M, built in 58 seconds Warning: cairo-1.14.8 already installed Warning: Already linked: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/cairo/1.14.8 To relink: brew unlink cairo && brew link cairo Warning: freetype-2.7.1 already installed Warning: Already linked: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/freetype/2.7.1 To relink: brew unlink freetype && brew link freetype ==> Installing dependencies for pango: icu4c, harfbuzz ==> Installing pango dependency: icu4c ==> Downloading https://homebrew.bintray.com/bottles/icu4c-58.2.yosemite.bottle. Already downloaded: /Users/benjamin/Library/Caches/Homebrew/icu4c-58.2.yosemite.bottle.tar.gz ==> Pouring icu4c-58.2.yosemite.bottle.tar.gz ==> Caveats This formula is keg-only, which means it was not symlinked into /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources.

macOS provides libicucore.dylib (but nothing else).

If you need to have this software first in your PATH run: echo 'export PATH="/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/icu4c/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set: LDFLAGS: -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/icu4c/lib CPPFLAGS: -I/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/icu4c/include For pkg-config to find this software you may need to set: PKG_CONFIG_PATH: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/icu4c/lib/pkgconfig

==> Summary 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/icu4c/58.2: 242 files, 65M ==> Installing pango dependency: harfbuzz ==> Using the sandbox ==> Downloading https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1 ######################################################################## 100.0% ==> ./configure --prefix=/Users/benjamin/Downloads/vsfm-osx-master/template_app/ ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/harfbuzz/1.4.2: 133 files, 5M, built in 48 seconds ==> Installing pango ==> Downloading https://download.gnome.org/sources/pango/1.40/pango-1.40.3.tar.x ==> Downloading from http://ftp.cse.buffalo.edu/pub/Gnome/sources/pango/1.40/pan ######################################################################## 100.0% ==> ./configure --disable-silent-rules --prefix=/Users/benjamin/Downloads/vsfm-o ==> make ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pango/1.40.3: 126 files, 5.1M, built in 54 seconds Warning: Already linked: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pixman/0.34.0 To relink: brew unlink pixman && brew link pixman Warning: Already linked: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/fontconfig/2.12.1_2 To relink: brew unlink fontconfig && brew link fontconfig ==> Installing dependencies for gtk+: atk, hicolor-icon-theme ==> Installing gtk+ dependency: atk ==> Using the sandbox ==> Downloading https://download.gnome.org/sources/atk/2.22/atk-2.22.0.tar.xz ==> Downloading from https://mirror.umd.edu/gnome/sources/atk/2.22/atk-2.22.0.ta ######################################################################## 100.0% ==> ./configure --prefix=/Users/benjamin/Downloads/vsfm-osx-master/template_app/ ==> make ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/atk/2.22.0: 207 files, 3.2M, built in 29 seconds ==> Installing gtk+ dependency: hicolor-icon-theme ==> Downloading https://homebrew.bintray.com/bottles/hicolor-icon-theme-0.15.yos Already downloaded: /Users/benjamin/Library/Caches/Homebrew/hicolor-icon-theme-0.15.yosemite.bottle.tar.gz ==> Pouring hicolor-icon-theme-0.15.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/hicolor-icon-theme/0.15: 6 files, 48.5K ==> Installing gtk+ ==> Downloading https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.31.tar.xz ==> Downloading from http://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/2.24/gtk+ ######################################################################## 100.0% ==> Downloading https://bug757187.bugzilla-attachments.gnome.org/attachment.cgi? ######################################################################## 100.0% ==> Patching ==> Applying attachment.cgi patching file gdk/quartz/gdkimage-quartz.c ==> ./configure --disable-silent-rules --prefix=/Users/benjamin/Downloads/vsfm-o ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gtk+/2.24.31_1: 1,199 files, 53.0M, built in 5 minutes 33 seconds ==> Downloading https://homebrew.bintray.com/bottles/glew-2.0.0.yosemite.bottle. ######################################################################## 100.0% ==> Pouring glew-2.0.0.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/glew/2.0.0: 33 files, 2.8M ==> Installing dependencies for devil: cmake, jasper, little-cms2 ==> Installing devil dependency: cmake ==> Downloading https://homebrew.bintray.com/bottles/cmake-3.7.2.yosemite.bottle ######################################################################## 100.0% ==> Pouring cmake-3.7.2.yosemite.bottle.tar.gz ==> Caveats Emacs Lisp files have been installed to: /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/share/emacs/site-lisp/cmake ==> Summary 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/cmake/3.7.2: 2,143 files, 29.3M ==> Installing devil dependency: jasper ==> Using the sandbox ==> Downloading https://github.com/mdadams/jasper/archive/version-2.0.10.tar.gz ==> Downloading from https://codeload.github.com/mdadams/jasper/tar.gz/version-2 ######################################################################## 100.0% ==> cmake .. -DGLUT_glut_LIBRARY=/Applications/Xcode.app/Contents/Developer/Plat ==> make ==> make test ==> make install 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/jasper/2.0.10: 39 files, 996.2K, built in 25 seconds ==> Installing devil dependency: little-cms2 ==> Downloading https://homebrew.bintray.com/bottles/little-cms2-2.8.yosemite.bo ######################################################################## 100.0% ==> Pouring little-cms2-2.8.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/little-cms2/2.8: 17 files, 1M ==> Installing devil ==> Downloading https://homebrew.bintray.com/bottles/devil-1.8.0.yosemite.bottle ######################################################################## 100.0% ==> Pouring devil-1.8.0.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/devil/1.8.0: 13 files, 522.5K ==> Downloading https://homebrew.bintray.com/bottles/gsl-2.3.yosemite.bottle.tar ######################################################################## 100.0% ==> Pouring gsl-2.3.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gsl/2.3: 273 files, 8.6M ==> Downloading https://homebrew.bintray.com/bottles/boost-1.63.0.yosemite.bottl ######################################################################## 100.0% ==> Pouring boost-1.63.0.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/boost/1.63.0: 12,491 files, 417.2M ==> Downloading https://homebrew.bintray.com/bottles/intltool-0.51.0.yosemite.bo ######################################################################## 100.0% ==> Pouring intltool-0.51.0.yosemite.bottle.tar.gz 🍺 /Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/intltool/0.51.0: 19 files, 186K Archive: VisualSFM_osx_64bit.zip creating: vsfm/ creating: vsfm/bin/ creating: vsfm/build/ creating: vsfm/lib/ inflating: vsfm/lib/blas.a
inflating: vsfm/lib/lapack.a
inflating: vsfm/lib/libf2c.a
inflating: vsfm/lib/libjpeg.a
inflating: vsfm/lib/VisualSFM.a
inflating: vsfm/makefile
inflating: vsfm/README
Patching vsfm makefile rm -f build/. rm -f bin/VisualSFM mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.9 -w -o bin/VisualSFM build/. -L/private/tmp/iromu/VisualSFM.app/Contents/Resources/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -lstdc++ -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gtk+/2.24.31_1/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/pango/1.40.3/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/atk/2.22.0/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/cairo/1.14.8/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/gdk-pixbuf/2.36.2/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/Cellar/glib/2.50.2/lib -L/Users/benjamin/Downloads/vsfm-osx-master/template_app/Contents/Resources/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a /bin/sh: g++-4.9: command not found make: *** [VisualSFM] Error 127 logout

[Process completed]

If someone could help me with this I'd really appreciate it.

Thanks!