tidalcycles/Tidal

tidal-link can't find abl_link.h

yaxu opened this issue · 0 comments

yaxu commented

It's there, though.. It seems the problem is that it thinks none of the include-dirs exist (they do).

alex@pop-os:~/src/tidal/tidal-link$ cabal v2-install --lib
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-1.8.0.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-parse-0.0.1.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-listener-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-link-1.0.tar.gz
Resolving dependencies...
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
 - tidal-link-1.0 (lib) (requires build)
Starting     tidal-link-1.0 (lib)
Building     tidal-link-1.0 (lib)

Failed to build tidal-link-1.0.
Build log (
/home/alex/.cabal/logs/ghc-8.8.4/tidal-link-1.0-ae90e9626323bad57fac3c95583832668cad6936a63cf7a2083c42a2e00614d0.log
):
Configuring library for tidal-link-1.0..
Warning: 'include-dirs: link/extensions/abl_link/include' directory does not
exist.
Warning: 'include-dirs: link/include' directory does not exist.
Warning: 'include-dirs: link/modules/asio-standalone/asio/include' directory
does not exist.
Preprocessing library for tidal-link-1.0..
compiling dist/build/Sound/Tidal/Link_hsc_make.c failed (exit code 1)
rsp file was: "dist/build/Sound/Tidal/hsc2hscall29018-0.rsp"
command was: /usr/bin/x86_64-linux-gnu-gcc -c dist/build/Sound/Tidal/Link_hsc_make.c -o dist/build/Sound/Tidal/Link_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=808 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Ilink/include -Ilink/modules/asio-standalone/asio/include -Ilink/extensions/abl_link/include -Idist/build/link/include -Idist/build/link/modules/asio-standalone/asio/include -Idist/build/link/extensions/abl_link/include -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/usr/lib/ghc/base-4.13.0.0/include -I/usr/lib/ghc/integer-gmp-1.0.2.0/include -I/usr/lib/ghc/include -I/usr/lib/ghc/include/
error: Link.hsc:5:10: fatal error: abl_link.h: No such file or directory
compilation terminated.

cabal: Failed to build tidal-link-1.0. See the build log above for details.

alex@pop-os:~/src/tidal/tidal-link$ ls link/extensions/abl_link/include/
abl_link.h