Closed bredelings closed 4 years ago
Will look into it but the recommended way to install is with automatic dependency installation:
./scripts/install.py --dependencies --threads 16
Note that this installs everything within the octopus/build
directory so won't pollute any existing installations that you have.
I tried this, but the homebrew installation doesn't work on my cluster because (i) the C library is too old and (ii) homebrew is not being installed in the "standard location".
==> Installing curl dependency: pkg-config
Warning: Building pkg-config from source:
The bottle only works in the default /home/linuxbrew/.linuxbrew location.
/gpfs/fs1/data/wraycompute/malaria/Applications/octopus2/git/build/brew/opt/gcc/bin/gcc-5: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /gpfs/fs1/data/wraycompute/malaria/Applications/octopus2/git/build/brew/opt/gcc/bin/gcc-5)
/gpfs/fs1/data/wraycompute/malaria/Applications/octopus2/git/build/brew/opt/gcc/bin/gcc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /gpfs/fs1/data/wraycompute/malaria/Applications/octopus2/git/build/brew/opt/gcc/bin/gcc)
Error: An exception occurred within a child process:
CompilerSelectionError: pkg-config cannot be built with any available compilers.
Install Clang or run `brew install gcc`.
I tried to install linuxbrew on my own, but that doesn't work either. Supplying g++-9 that I built myself just results in linuxbrew saying that there is no g++-9 installed via linuxbrew. So it looks like it is refusing to use any compilers except (i) /usr/bin/gcc or (ii) linuxbrew.
If I run the following command line, then Cmake says that gmp is not found:
./scripts/install.py -c gcc-9 -cxx g++-9 --boost /data/wraycompute/malaria/Applications/boost/current --htslib /data/wraycompute/malaria/Applications/htslib/local.new/ --threads 16 --dependencies
I have a patch to fix this that mostly works. I will submit a pull request, though it might take a few days.
What OS version are you using? I can try to replicate in Docker. Also, I fixed an issue with Homebrew complaining about old glibc a couple of weeks ago. Are you using this or a later commit?
I'm using a later commit.
/etc/issue
shows 'Centos 6.8 (Final)'
uname -a
shows:
2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
The problem looks something like this:
/home/linuxbrew/.linuxbrew
Homebrew refuses to use any compilers besides /usr/bin/gcc or its own compilers even if given with -cxx
and -c
, so the gcc-9 compiler that I manually installed cannot be used.
This is the same problem that I had trying to install linuxbrew manually. It would be rather nice to have a working linuxbrew installation -- I've installed quite a lot of libraries manually.
Any problems with PR #122 ?
Merged.
Describe the bug
Hi, I tried to install octopus from the development branch, and hit a snag. I used the
install.py
script as follows:This works initially, but eventually fails at:
I added
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
I see entries like this:It looks like the include directories for boost and htslib are there, but the include directory for GMP is not.
(BTW, curious if you've looked at meson: https://mesonbuild.com/)