-
Notifications
You must be signed in to change notification settings - Fork 2
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
installing storm via homebrew #2
Comments
Can you post the output of |
the output of 'ls -l /usr/local/lib/libcarl*' is: and of 'cat ~/.cmake/packages/carl/': |
@cdehnert Is it possible that the build options for dependencies must include "with", i.e., |
@cdehnert This is still not working for me if
I think brew has pretty strange ideas about how to handle dependencies. In particular they want to kill off build options for dependencies, and I think because of this, the optional dependency cocoalib depends_on "moves-rwth/misc/cocoalib" if build.with?("ginac") will not be installed recursively when @LeuLinda If you’re having the problem I describe here, please install cocoalib manually with |
I also had to manually install cocoalib, but after this it worked fine.
Thank you!
Am 17.08.17 um 15:59 schrieb Tom Janson:
…
@cdehnert <https://github.com/cdehnert> This is still not working for
me if |cocoalib| isn’t already installed.
|$ brew install --verbose stormchecker ==> Installing stormchecker from
moves-rwth/storm ==> Installing dependencies for
moves-rwth/storm/stormchecker: moves-rwth/misc/carl ==> Installing
moves-rwth/storm/stormchecker dependency: moves-rwth/misc/carl
/usr/bin/sandbox-exec -f /tmp/homebrew20170817-58225-1tdvsgg.sb nice
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
-W0 -I /usr/local/Homebrew/Library/Homebrew --
/usr/local/Homebrew/Library/Homebrew/build.rb
/usr/local/Homebrew/Library/Taps/moves-rwth/homebrew-misc/Formula/carl.rb
--verbose --with-thread-safe --with-cocoalib --with-cln --with-ginac
Error: /usr/local/opt/cocoalib not present or broken Please reinstall
moves-rwth/misc/cocoalib. Sorry :( |
I think brew has pretty strange ideas about how to handle
dependencies. In particular they want to kill off build options for
dependencies <Homebrew/brew#2482>, and I think
because of this, the optional dependency cocoalib
depends_on"moves-rwth/misc/cocoalib" if build.with?("ginac")
will not be installed recursively when |brew install stormchecker| is run.
@LeuLinda <https://github.com/leulinda> If you’re having the problem I
describe here, please install cocoalib manually with |brew install
cocoalib|, then |brew install stormchecker|. I hope that will work for
you.
Thanks for bearing with us.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdpvSoGHrp9o3keRaHBpwIIavY0FKWNtks5sZEdFgaJpZM4O6Hgm>.
--
Linda Leuschner
Technische Universität Dresden
Fakultät für Informatik, Institut für Theoretische Informatik
Lehrstuhl für algebraische und logische Grundlagen der Informatik
Tel.: +49 (0) 351 463-38293
E-Mail: [email protected]
|
I’m not entirely sure; maybe this is a bug after all, because this behavior seems really broken. (If I can specify a dependency with build-options, then of course it needs to build correctly including the necessary recursive dependencies! Regardless of whether that’s deprecated or not.) If this behavior is indeed as intended, then the way I interpret these two comments (1) (2) is that we’d need to have a separate A different, still pretty ugly workaround would be to make |
Actually, I'm pretty sure that I tried installing the whole chain by installing Anyway, I just introduced the direct dependency to I really dislike the direction into which homebrew is heading here as for some packages this is going to be major hassle. |
hello, I tried to install storm but I get the following error messages 👍 can somebody help me out? |
Hi zaloogarcia, first of all, you might want to open a new issue for this, so we can better keep track of your particular problems. Secondly, can you try installing Storm like this:
This way, there is going to be a lot of debug output. If you provide that to us, we can more closely analyze what's going wrong in your particular case. |
Hi,
I try to install storm via homebrew (on MacOS Sierra), however, I get the error message 'Cannot use CLN numbers if carl is build without'
This happens with both, the HEAD and the default branch. Also removing carl from homebrew and
reinstall via storm installation routine gives the same error message. The output (with uninstalled carl) is:
linda$ brew install stormchecker --HEAD
==> Installing stormchecker from moves-rwth/storm
==> Installing dependencies for moves-rwth/storm/stormchecker: moves-rwth/misc/carl
==> Installing moves-rwth/storm/stormchecker dependency: moves-rwth/misc/carl
==> Downloading https://github.com/smtrat/carl/archive/17.08.zip
Already downloaded: /Users/linda/Library/Caches/Homebrew/carl-17.08.zip
==> cmake /private/tmp/carl-20170817-7545-1ff61n5/carl-17.08 -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/car
==> make install
🍺 /usr/local/Cellar/carl/17.08: 288 files, 2.8MB, built in 2 minutes 29 seconds
==> Installing moves-rwth/storm/stormchecker --HEAD
==> Cloning https://github.com/moves-rwth/storm.git
Updating /Users/linda/Library/Caches/Homebrew/stormchecker--git
==> Checking out branch master
==> cmake /private/tmp/stormchecker-20170817-8576-2lwwer -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/stormch
Last 15 lines from /Users/linda/Library/Logs/Homebrew/stormchecker/01.cmake:
-- Found z3: /usr/local/lib/libz3.dylib
-- Storm - Linking with Z3. (Z3 version supports optimization)
-- Storm - Using system version of glpk.
-- Storm - Linking with glpk 4.63
-- Storm - Linking with CUDD 3.0.0.
-- Storm - Use system version of carl.
-- Storm - Linking with preinstalled carl 17.08 (include: /usr/local/lib/cmake/carl/../../../include, library lib_carl, CARL_USE_CLN_NUMBERS: OFF, CARL_USE_GINAC: OFF).
CMake Error at resources/3rdparty/CMakeLists.txt:292 (message):
Cannot use CLN numbers if carl is build without.
Call Stack (most recent call first):
CMakeLists.txt:347 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/stormchecker-20170817-8576-gq41ff/CMakeFiles/CMakeOutput.log".
running 'brew info stormchecker' gives the following information:
moves-rwth/storm/stormchecker: stable 1.1.0, HEAD
A modern probabilistic model checker.
https://moves-rwth.github.io/storm/
Not installed
From: https://github.com/moves-rwth/homebrew-storm/blob/master/Formula/stormchecker.rb
==> Dependencies
Required: cmake ✔, boost --c++11 ✔, gmp --c++11 ✔, z3 ✔, automake ✔, xerces-c ✔, glpk ✔, hwloc ✔, moves-rwth/misc/carl --thread-safe --cln --ginac --cocoa ✔
==> Requirements
Required: macOS >= 10.9 ✔
==> Options
--with-tbb
Build Storm with Intel Thread Building Blocks (TBB) support.
--HEAD
Install HEAD version
The log file 'CMakeOutput.txt' and the verbose console output ('out.txt') are attached.
Thanks in advance,
Linda
CMakeOutput.txt
out.txt
The text was updated successfully, but these errors were encountered: