Package Details: lhs2tex 1.19-3

Git Clone URL: https://aur.archlinux.org/lhs2tex.git (read-only)
Package Base: lhs2tex
Description: Preprocessor for typesetting Haskell sources with LaTeX
Upstream URL: https://www.andres-loeh.de/lhs2tex/
Licenses: GPL
Submitter: favonia
Maintainer: favonia
Last Packager: favonia
Votes: 2
Popularity: 0.000500
First Submitted: 2016-05-04 18:04
Last Updated: 2017-07-19 13:57

Latest Comments

favonia commented on 2017-07-19 14:09

anjefu: I believe I fixed the linking issue. Please report again if it is still failing. For the ambiguous interface, since it is an upstream bug, I believe the best approach is to push the developers on GitHub, but I am all ears. Thank you again for reporting.

favonia commented on 2017-07-19 12:05

Updates: for the first issue (ambiguous interface for ‘Text.Regex’), see https://github.com/kosmikus/lhs2tex/pull/39.

favonia commented on 2017-07-19 11:50

Thanks for reporting. I am not sure how to address the issue in 'src/Main.lhs', but the second issue is due to https://wiki.archlinux.org/index.php/haskell#Problems_with_linking. I will update the PKGBUILD to force the dynamic linking.

anjefu commented on 2017-07-18 18:36

The build seems to fail when haskell-regex-compat-tdfa is also installed, with this error:

src/Main.lhs:15:3: error:
Ambiguous interface for ‘Text.Regex’:
it was found in multiple packages:
regex-compat-0.95.1 regex-compat-tdfa-0.95.1.4

After removing that package, it gets further, but fails to link:

Linking lhs2TeX ...
/usr/bin/ld: cannot find -lHSregex-compat-0.95.1-7IGKoiHTSKL3opdpEZ0pO8
/usr/bin/ld: cannot find -lHSregex-posix-0.95.2-KQJt29lnRa45d6bFn9XkFO
/usr/bin/ld: cannot find -lHSregex-base-0.93.2-AYjYAsBidAc8f5XNm9b2Aa
/usr/bin/ld: cannot find -lHScontainers-0.5.7.1
/usr/bin/ld: cannot find -lHSprocess-1.4.3.0
/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0
/usr/bin/ld: cannot find -lHSunix-2.7.2.1
/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1
/usr/bin/ld: cannot find -lHStime-1.6.0.1
/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1
/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0
/usr/bin/ld: cannot find -lHSarray-0.5.1.1
/usr/bin/ld: cannot find -lHSmtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6
/usr/bin/ld: cannot find -lHStransformers-0.5.2.0
/usr/bin/ld: cannot find -lHSbase-4.9.1.0
/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1
/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0
/usr/bin/ld: cannot find -lHSrts
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
make: *** [Makefile:110: lhs2TeX] Error 1