Tuesday, July 29, 2014

Gnuplot first attempt to install on old office iMac using homebrew

I couldn't figure out how to install the required command line tools, and finally found this: (http://stackoverflow.com/questions/20833542/installing-command-line-tools-xcode-5)

Using xcode-select --install in Terminal and choose install tools

(I was asked if I wanted to install command line tools.  Seemed to install fine.)

First attempt to install gnuplot with homebrew:

rdominguez5359:Library racheledominguez$ brew install gnuplot --cairo --latex --pdf --qt --tests --with-aquaterm --with-x --wx
==> Installing dependencies for gnuplot: lua, pkg-config, readline, libpng, jpeg, libti
==> Installing gnuplot dependency: lua
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/lua-5.1.5.mavericks.bottl
######################################################################## 100.0%
==> Pouring lua-5.1.5.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/lua/5.1.5: 15 files, 276K
==> Installing gnuplot dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.28.mavericks
######################################################################## 100.0%
==> Pouring pkg-config-0.28.mavericks.bottle.2.tar.gz
🍺  /usr/local/Cellar/pkg-config/0.28: 10 files, 604K
==> Installing gnuplot dependency: readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.3.6.mavericks.
######################################################################## 100.0%
==> Pouring readline-6.3.6.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/readline/lib
    CPPFLAGS: -I/usr/local/opt/readline/include

==> Summary
🍺  /usr/local/Cellar/readline/6.3.6: 40 files, 2.1M
==> Installing gnuplot dependency: libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.12.mavericks.b
######################################################################## 100.0%
==> Pouring libpng-1.6.12.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
==> Installing gnuplot dependency: jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mavericks.bottle.
######################################################################## 100.0%
==> Pouring jpeg-8d.mavericks.bottle.2.tar.gz
🍺  /usr/local/Cellar/jpeg/8d: 18 files, 780K
==> Installing gnuplot dependency: libtiff
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtiff-4.0.3.mavericks.b
######################################################################## 100.0%
==> Pouring libtiff-4.0.3.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libtiff/4.0.3: 254 files, 3.8M
==> Installing gnuplot dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.3_1.maverick
######################################################################## 100.0%
==> Pouring freetype-2.5.3_1.mavericks.bottle.1.tar.gz
🍺  /usr/local/Cellar/freetype/2.5.3_1: 60 files, 2.5M
==> Installing gnuplot dependency: fontconfig
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/fontconfig-2.11.1.maveric
######################################################################## 100.0%
==> Pouring fontconfig-2.11.1.mavericks.bottle.2.tar.gz
==> /usr/local/Cellar/fontconfig/2.11.1/bin/fc-cache -frv
🍺  /usr/local/Cellar/fontconfig/2.11.1: 448 files, 3.6M
==> Installing gnuplot dependency: gettext
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.19.2.mavericks.
######################################################################## 100.0%
==> Pouring gettext-0.19.2.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

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

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.2: 1920 files, 18M
==> Installing gnuplot dependency: libffi
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libffi-3.0.13.mavericks.b
######################################################################## 100.0%
==> Pouring libffi-3.0.13.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Some formulae require a newer version of libffi.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libffi/lib

==> Summary
🍺  /usr/local/Cellar/libffi/3.0.13: 13 files, 388K
==> Installing gnuplot dependency: glib
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/glib-2.40.0_1.mavericks.b
######################################################################## 100.0%
==> Pouring glib-2.40.0_1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/glib/2.40.0_1: 410 files, 18M
==> Installing gnuplot dependency: pixman
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pixman-0.32.6.mavericks.b
######################################################################## 100.0%
==> Pouring pixman-0.32.6.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/pixman/0.32.6: 11 files, 1.4M
==> Installing gnuplot dependency: cairo
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cairo-1.12.16_1.mavericks
######################################################################## 100.0%
==> Pouring cairo-1.12.16_1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/cairo/1.12.16_1: 105 files, 7.6M
==> Installing gnuplot dependency: icu4c
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-52.1.mavericks.bott
######################################################################## 100.0%
==> Pouring icu4c-52.1.mavericks.bottle.1.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

Conflicts; see: https://github.com/Homebrew/homebrew/issues/issue/167

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include

==> Summary
🍺  /usr/local/Cellar/icu4c/52.1: 239 files, 60M
==> Installing gnuplot dependency: harfbuzz
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/harfbuzz-0.9.33.mavericks
######################################################################## 100.0%
==> Pouring harfbuzz-0.9.33.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/0.9.33: 72 files, 2.9M
==> Installing gnuplot dependency: gobject-introspection
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gobject-introspection-1.4
######################################################################## 100.0%
==> Pouring gobject-introspection-1.40.0.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/gobject-introspection/1.40.0: 192 files, 9.9M
==> Installing gnuplot dependency: pango
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pango-1.36.5.mavericks.bo
######################################################################## 100.0%
==> Pouring pango-1.36.5.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/pango/1.36.5: 132 files, 4.7M
==> Installing gnuplot dependency: pdflib-lite
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pdflib-lite-7.0.5p3.maver
######################################################################## 100.0%
==> Pouring pdflib-lite-7.0.5p3.mavericks.bottle.tar.gz
==> Caveats
pdflib-lite is not open source software; usage restrictions apply!
Be sure to understand and obey the license terms, which can be found at:
http://www.pdflib.com/download/free-software/pdflib-lite-7/pdflib-lite-licensing/
==> Summary
🍺  /usr/local/Cellar/pdflib-lite/7.0.5p3: 8 files, 6.7M
==> Installing gnuplot dependency: gd
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gd-2.1.0_2.mavericks.bott
#######################################################################   99.6%
curl: (56) Recv failure: Connection reset by peer
Error: Failed to download resource "gd"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/gd-2.1.0_2.mavericks.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gd/2.1.0_2 --with-png=/usr/local/opt/libpng --with-
==> make install
🍺  /usr/local/Cellar/gd/2.1.0_2: 33 files, 1.3M, built in 20 seconds
==> Installing gnuplot dependency: wxmac
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/wxmac-3.0.1.mavericks.bot
######################################################################## 100.0%
==> Pouring wxmac-3.0.1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/wxmac/3.0.1: 777 files, 41M
==> Installing gnuplot dependency: qt
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/qt-4.8.6.mavericks.bottle
######################################################################## 100.0%
==> Pouring qt-4.8.6.mavericks.bottle.5.tar.gz
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.

.app bundles were installed.
Run `brew linkapps` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/qt/4.8.6: 2790 files, 119M
==> Installing gnuplot
==> Downloading https://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.5/gnuplot-4.6.5.
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/gnuplot/4.6.5 --with-readlin
==> make
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [gnuplot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

brew update said already up-to-date.

Since Canopy files were in my path, I did as Dr suggested change path:  echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile

This didn't get rid of the brew Dr recommendation.

Getting all kinds of clang crap upon install.  Did not build.  Maybe try before canopy install for new computer.


No comments:

Post a Comment