Closed MHoballah closed 4 years ago
Do you have flex
installed on the system?
yes, flex 2.6.4
Please try:
$ brew install flex --HEAD
$ brew install flex --HEAD
==> Installing dependencies for flex: automake, gnu-sed and libtool
==> Installing flex dependency: automake
==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz
Already downloaded: /home/hoballah/.cache/Homebrew/downloads/4d1b7ba97c39fced113b7993996a12d0a5d3c4f6f32a9f80232c4d1376a49ce5--automake-1.16.1.tar.xz
==> Downloading https://git.savannah.gnu.org/cgit/automake.git/patch/?id=a348d83
#=#=-# #
Error: An exception occurred within a child process:
ChecksumMismatchError: SHA256 mismatch
Expected: 7a57ca2b91f7f3c0b168cf5ffbc8a1b2168f3886bcadcc15412281472dace3ce
Actual: c048ce853eef073a5dfce34fcf9af786e8525e384e01dbbf4e6066623985d4c7
Archive: /home/hoballah/.cache/Homebrew/downloads/d1a7da67f605d4ecad31b6a1084d23e41059c58dbc9929a139cb461f36540c3d--596e9e130f38ae068ac6150b2d62eafd544900f6..a348d830659fffd2cfc42994524783b07e69b4b5.patch
To retry an incomplete download, remove the file above.
Thanks! Bear with me, just need to see if I can reproduce from scratch.
O.k., please run
$ brew update
$ brew install flex --HEAD
The bug in automake
is fixed, and I've bee able to install flex
on an Ubuntu box this way.
Thank you, I now have a successful installation. But the problem of
snemo-shell> flvisualize --help
flvisualize: error while loading shared libraries: libGraf.so.6.18: cannot open shared object file: No such file or directory
that is the bug in https://github.com/SuperNEMO-DBD/Falaise/issues/166 exists. I cant reach the fix of this issue proposed by you before.
Bug in flvisualise now fixed on the develop
branch of Falaise, will be in next release, but in the meantime you can do
$ brew update
$ brew install falaise --HEAD
which will install the latest version of Falaise at the current tip of the develop branch.
Okay, but now there is this, thanks in advance: `==> Installing falaise dependency: qt5-base ==> Downloading http://download.qt.io/official_releases/qt/5.12/5.12.6/submodule Already downloaded: /home/hoballah/.cache/Homebrew/downloads/20c583f798d75b345f916dc6db0e095366c50641b798f949714d643f002adb52--qtbase-everywhere-src-5.12.6.tar.xz ==> ./configure -verbose -prefix /home/hoballah/snemo-sdk/Cellar/qt5-base/5.12.6 Last 15 lines from /home/hoballah/.cache/Homebrew/Logs/qt5-base/01.configure: InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt Testlib: Tester for item models ................. yes
Note: Also available for Linux: linux-clang linux-icc
ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
READ THIS: https://github.com/SuperNEMO-DBD/brew/issues Please do not report this issue to Homebrew/brew or Homebrew/core, which support macOS only."
Installing falaise has failed! Homebrew Bundle failed! 1 Brewfile dependency failed to install. `
Ah I think that's due to Qt needing an extra package now. If you have admin access to the machine, try
$ sudo apt install libxkbcommon-dev
or ask the admin to install that package. Then try installing again.
now this... thanks in advance: `==> Installing falaise dependency: tbb ==> Downloading https://github.com/01org/tbb/archive/2019_U3.tar.gz Already downloaded: /home/hoballah/.cache/Homebrew/downloads/1e6ffd921a9c0d1c107b278265fcd7675ea687bf1ce5d2412889e9a7d1c0ca69--tbb-2019_U3.tar.gz Error: An exception occurred within a child process: ChecksumMismatchError: SHA256 mismatch Expected: 4cb6bde796ae056e7c29f31bfdc6cfd0cfe848925219e9c82a20f09158e81542 Actual: b2244147bc8159cdd8f06a38afeb42f3237d3fc822555499d7ccfbd4b86f8ece Archive: /home/hoballah/.cache/Homebrew/downloads/1e6ffd921a9c0d1c107b278265fcd7675ea687bf1ce5d2412889e9a7d1c0ca69--tbb-2019_U3.tar.gz To retry an incomplete download, remove the file above.
Installing falaise has failed! Homebrew Bundle failed! 1 Brewfile dependency failed to install. `
Try:
$ rm /home/hoballah/.cache/Homebrew/downloads/1e6ffd921a9c0d1c107b278265fcd7675ea687bf1ce5d2412889e9a7d1c0ca69--tbb-2019_U3.tar.gz
$ brew update
then reinstall. It works for me, so I suspect a partial/failed download.
Ok, so, now if i type "brew update" i get "Already up-to-date." and
$ brew install falaise --HEAD
Error: falaise 4.0.1 is already installed
To install HEAD, first run `brew unlink falaise`
should I "brew unlink falaise" ?
if I go into snemo-shell :
flsimulate --version
flsimulate 4.0.1
Copyright (C) 2013-2018 SuperNEMO Collaboration
flsimulate uses the following external libraries:
* Falaise : 4.0.1
* Bayeux : 3.4.1
* Boost : 106900
* Geant4 : 9.6.4
and if I try flvisualize:
snemo-shell> flvisualize --help
flvisualize: error while loading shared libraries: libGraf.so.6.18: cannot open shared object file: No such file or directory
Hello,
A problem installing falaise from brew snemo-bootstrap fails at automake and flex installation.
Thanks in advance, Malak
//////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////// $ brew snemo-bootstrap warning: You already have Formulae installed, expect warnings or error during bootstrap Skipping install of patchelf formula. It is already up-to-date. Using patchelf Installing flex formula. It is not currently installed. ==> Installing dependencies for flex: automake, gnu-sed and libtool ==> Installing flex dependency: automake ==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz Already downloaded: /home/hoballah/.cache/Homebrew/downloads/4d1b7ba97c39fced113b7993996a12d0a5d3c4f6f32a9f80232c4d1376a49ce5--automake-1.16.1.tar.xz ==> Downloading https://git.savannah.gnu.org/cgit/automake.git/patch/?id=a348d830659fffd2cfc42994524783b07e69b4b5
O=
Error: An exception occurred within a child process: ChecksumMismatchError: SHA256 mismatch Expected: 7a57ca2b91f7f3c0b168cf5ffbc8a1b2168f3886bcadcc15412281472dace3ce Actual: c048ce853eef073a5dfce34fcf9af786e8525e384e01dbbf4e6066623985d4c7 Archive: /home/hoballah/.cache/Homebrew/downloads/d1a7da67f605d4ecad31b6a1084d23e41059c58dbc9929a139cb461f36540c3d--596e9e130f38ae068ac6150b2d62eafd544900f6..a348d830659fffd2cfc42994524783b07e69b4b5.patch To retry an incomplete download, remove the file above.
Installing flex has failed! Skipping install of python formula. It is already up-to-date. Using python Skipping install of cmake formula. It is already up-to-date. Using cmake Skipping install of ninja formula. It is already up-to-date. Using ninja Installing falaise formula. It is not currently installed. ==> Installing dependencies for falaise: flex, doxygen, icu4c, boost, camp, clhep, curl, xerces-c, geant4, gsl, libpng, freetype, automake, gperf, libtool, json-c, util-linux, fontconfig, qt5-base, libxml2, xrootd, xxhash, lz4, tbb, root6 and bayeux ==> Installing falaise dependency: flex ==> Downloading https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz Already downloaded: /home/hoballah/.cache/Homebrew/downloads/4c923b0def66967b27bb97fc512c040d33b8c116a7a7bf01ffc4170e2a7aef41--flex-2.6.4.tar.gz ==> ./configure --disable-silent-rules --enable-shared --prefix=/home/hoballah/snemo-sdk/Cellar/flex/2.6.4 ==> make install Last 15 lines from /home/hoballah/.cache/Homebrew/Logs/flex/02.make: libtool: link: gcc-7 -shared -fPIC -DPIC .libs/libmain.o .libs/libyywrap.o -lm -g -O2 -Wl,-soname -Wl,libfl.so.2 -o .libs/libfl.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libfl.so.2" && ln -s "libfl.so.2.0.0" "libfl.so.2") libtool: link: (cd ".libs" && rm -f "libfl.so" && ln -s "libfl.so.2.0.0" "libfl.so") libtool: link: ar cru .libs/libfl.a libmain.o libyywrap.o ar:
u' modifier ignored since
D' is the default (see `U') libtool: link: ranlib .libs/libfl.a libtool: link: ( cd ".libs" && rm -f "libfl.la" && ln -s "../libfl.la" "libfl.la" ) /bin/bash ../libtool --tag=CC --mode=link gcc-7 -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o -lm libtool: link: gcc-7 -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o -lm ./stage1flex -o stage1scan.c ./scan.l Makefile:1696: recipe for target 'stage1scan.c' failed make[1]: [stage1scan.c] Segmentation fault (core dumped) make[1]: Leaving directory '/tmp/flex-20200207-7223-149joyq/flex-2.6.4/src' Makefile:533: recipe for target 'install-recursive' failed make: [install-recursive] Error 1READ THIS: https://github.com/SuperNEMO-DBD/brew/issues Please do not report this issue to Homebrew/brew or Homebrew/core, which support macOS only."
Installing falaise has failed! Homebrew Bundle failed! 2 Brewfile dependencies failed to install.