@AndreasBWagner: Works fine, thank you!
Search Criteria
Package Details: libcomplearn 1.1.7-3
Package Actions
| Package Base: | libcomplearn |
|---|---|
| Description: | a library and utilities for compression-based learning |
| Upstream URL: | http://www.complearn.org/ |
| Category: | devel |
| Licenses: | |
| Submitter: | lowfatcomputing |
| Maintainer: | lowfatcomputing |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2011-06-11 15:16 |
| Last Updated: | 2014-04-09 23:56 |
Dependencies (1)
Required by (3)
Sources
Latest Comments
Comment by nslxndr
Comment by lowfatcomputing
dealexos, I have uploaded a patched version. It should work now.
Comment by nslxndr
Hi! I get this error during build:
In file included from anydecompress.c:32:0:
/usr/include/glib-2.0/glib/garray.h:31:2: error: #error "Only <glib.h> can be included directly."
#error "Only <glib.h> can be included directly."
^
[...]
Makefile:944: recipe for target 'anydecompress-anydecompress.o' failed
make[2]: *** [anydecompress-anydecompress.o] Error 1
make[2]: Leaving directory '/tmp/makepkg/libcomplearn/src/libcomplearn-1.1.7/src'
Makefile:465: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/makepkg/libcomplearn/src/libcomplearn-1.1.7/src'
Makefile:604: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build libcomplearn.
I reported the bug to developers, but in the meantime here is my patch to solve this problem:
--- src/anydecompress.c 2010-01-11 01:03:47.000000000 +0100
+++ src/anydecompress.c 2014-03-15 19:47:36.689283753 +0100
@@ -29,7 +29,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <glib/garray.h>
+#include <glib.h>
#include <getopt.h>
#include <locale.h>
#include <libintl.h>