Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Jellyfish brew bottle does not symlink? #58

Open
BernardoBelloOrti opened this issue May 11, 2016 · 4 comments
Open

Why Jellyfish brew bottle does not symlink? #58

BernardoBelloOrti opened this issue May 11, 2016 · 4 comments

Comments

@BernardoBelloOrti
Copy link

BernardoBelloOrti commented May 11, 2016

Why an installed brew bottle does not symlink?

Seems Jellyfish manual says I need GCC 4.8. As far as I know I have GCC 4.2.1

    dhcp17-207:minikraken_20141208 bernardo$ gcc -v
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
    Apple LLVM version 7.0.2 (clang-700.1.81)
    Target: x86_64-apple-darwin15.4.0
    Thread model: posix

From Jellyfish manual:

To install on Mac OS X: Jellyfish 2.0 does not compile with Apple's
Xcode GCC 4.2. Instead, the easiest thing to do is to install GCC 4.8
using MacPorts (http://www.macports.org) using the following commands:

And the brew install of Jellyfish

    dhcp17-207:minikraken_20141208 bernardo$ brew install jellyfish-1.1
    ==> Installing jellyfish-1.1 from homebrew/science
    ==> Downloading http://www.cbcb.umd.edu/software/jellyfish/jellyfish-1.1.11.tar.gz
    Already downloaded: /Library/Caches/Homebrew/jellyfish-1.1-1.1.11.tar.gz
    ==> ./configure --prefix=/usr/local/Cellar/jellyfish-1.1/1.1.11
    ==> make
    ==> make install
    ==> Caveats
    This formula is keg-only, which means it was not symlinked into /usr/local.

    It conflicts with jellyfish.

    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/jellyfish-1.1/lib
        CPPFLAGS: -I/usr/local/opt/jellyfish-1.1/include

    ==> Summary
    🍺  /usr/local/Cellar/jellyfish-1.1/1.1.11: 62 files, 2.3M, built in 22 seconds
    dhcp17-207:minikraken_20141208 bernardo$ jellyfish
    -bash: /usr/local/bin/jellyfish: No such file or directory

An alternative is to install from source, but I would need to install GCC 4.8 and don't know the posible consequences to my system.

@gmarcais
Copy link
Owner

Hi,

I don't have a lot of experience installing on Mac OS. That said, brew in general though should not interfere with the basic functionality of your system. Installing a new compiler with brew should be safe.

Now, any reason why you are installing version 1.1 of Jellyfish, instead of the current version (2.2.5)?

@culpinnis
Copy link

Hi,

I am working on OS X, too. You are installing a keg-only formula, which means that it will not be symlinked because it could conflict with other versions (brewed or provided by the system) of the same software. Jellyfish-1.1 is keg only, because a newer version is available in homebrew/science. By the way Jellyfish-1.1 is no bottle, only the newer version is bottled (which means precompiled).
I think they kept Jellyfish-1.1 for the installation of the Quake.
You can install a newer version (which is Jellyfish 2.4.x) just with brew install jellyfish. Being precompiled, the newer Version of Jellyfish does not require the newer version of the compiler at all (except you do not want the precompiled version, because of the SWIG integration).

Cheers
Chris

ps. It is already said, but the installation of the newer GCC with brew does not affect your system.

@gmarcais
Copy link
Owner

gmarcais commented Jul 5, 2016

Hi,

can you clarify your statement about the precompiled version and SWIG integration? Is it that the precompiled version does NOT have the SWIG bindings? Or that it does have the SWIG bindings and that somehow creates problems?

@culpinnis
Copy link

Hi,

as far as I can tell, the bottled (precompiled) version in brew has no integration of the SWIG bindings. The Jellyfish formula (https://github.com/Homebrew/homebrew-science/blob/master/jellyfish.rb) has not the necessary flags on the configure script as mentioned at Jellyfishs homepage.
Maybe they left the SWIG bindings out, because it is not clear where to integrate them (I think they should be integrated in brews version of perl/python/ruby instead of the ones which are provided by the system).
I am currently compiling Jellyfish from the Master branch of the git repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants