-
Notifications
You must be signed in to change notification settings - Fork 7
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
libcfu :: compilation error #58
Comments
FIY libcfu-0.0.3 from sourceforge: https://sourceforge.net/projects/libcfu/files/libcfu/libcfu-0.03/libcfu-0.03.tar.gz compiles fine on the same system unsing the same tools, libcfu.a is generated
etc etc.... eric |
Hi,
Unfortunately BamM is no longer supported - instead it would be best to switch to CoverM
https://github.com/wwood/CoverM
If you really need BamM, you might try installing according to the guix recipe, available here, which compiles as I understand.
https://guix.gnu.org/packages/bamm-1.7.3/
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bioinformatics.scm#n183
Hope that helps.
ben
Ben WoodcroftMicrobial informatics team leader
Centre for Microbiome Research, Level 3, Translational Research Institute, Queensland University of Technology (https://maps.google.com/?q=Centre%20for%20Microbiome%20Research%2C%20Level%203%2C%20Translational%20Research%20Institute%2C%20Queensland%20University%20of%20Technology)
…On Jun 20 2020, at 12:19 am, Eric Deveaud ***@***.***> wrote:
FIY libcfu-0.0.3 from sourceforge: https://sourceforge.net/projects/libcfu/files/libcfu/libcfu-0.03/libcfu-0.03.tar.gz
compiles fine on the same system unsing the same tools, libcfu.a is generated
examples compilation fails on hash_usage.c
hash_usage.c:39:33: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Werror=format=]
39 | sprintf(list[i][0], "test_var%d", i);
| ~^ ~
| | |
| int size_t {aka long unsigned int}
| %ld
hash_usage.c:40:30: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Werror=format=]
40 | sprintf(list[i][1], "value%d", i);
| ~^ ~
| | |
| int size_t {aka long unsigned int}
| %ld
etc etc....
eric
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#58 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAADX5H72XFF6LMHFESJ64LRXNXYZANCNFSM4OCYP5YQ).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to install Bamm from release tag 1.7.3 (https://github.com/Ecogenomics/BamM/archive/1.7.3.tar.gz)
on a centos-8.2 system, using gcc/9.2.0 and pythton/2.7.17
I have a compilation error while building libcfu
in order to have a smaller error log and for you to be abble to reproduce the problem
I've done the following
tar xf 1.7.3.tar.gz
cd BamM-1.7.3/c/libcfu
autoreconf -fiv
./configure
make
here is the errror I have
loog int vs unsigned int is not a prpble to fix using a cast, but I'm not abble to track down the
duplicate unsigned
errorcan you help. ?
regards
Eric
The text was updated successfully, but these errors were encountered: