On 12/12/2011 02:01 PM, Charles Curley wrote:
On Mon, 12 Dec 2011 18:12:15 +0100
[email protected] wrote:
Dear Charles,
I run Archlinux distribution and I compile Amanda from source code.
2.6.1p2 is also mine prefered version. I have to say that I'm a long
Amanda user.
I don't know Arch at all, so I don't even know if they have an Amanda
package to investigate. But that's the first thing I'd do.
What is more recent version than 3.3.0 ?
As far as I know (http://amanda.org/download.php), whatever is in
version control, which you probably don't want for production runs
(since you aren't Gene Heskett :-). Sorry, I meant, a more recent
version than 2.6.1.
Have you tried running ./configure and compiling since you made some
room on /tmp?
Error compiling:
gcc -DHAVE_CONFIG_H -I. -I../config -I../gnulib -fno-strict-aliasing
-D_GNU_SOURCE -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wall -Wextra -Wparentheses
-Wdeclaration-after-statement --Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Wformat --
-Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition
-- - -Wno-strict-aliasing -Wno-unknown-pragmas -march=i686
-mtune=generic -- - - -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -- - - - -D_FORTIFY_SOURCE=2
-fno-strict-aliasing -D_LARGEFILE_SOURCE -- - - - -
-D_FILE_OFFSET_BITS=64 -MT amxml.lo -MD -MP -MF .deps/amxml.Tpo -- -
- - - - -c amxml.c -fPIC -DPIC -o .libs/amxml.o In file included
from util.h:39:0, from amxml.c:34: glib-util.h:67:6: error:
conflicting types for
'g_list_free_full' /usr/include/glib-2.0/glib/glist.h:53:10: note:
previous declaration of / 'g_list_free_full' was here
glib-util.h:68:6: error: conflicting types for
'g_slist_free_full' /usr/include/glib-2.0/glib/gslist.h:52:10: note:
previous declaration of / 'g_slist_free_full' was here amxml.c:
Hmmm, sounds like a header file missing??? ./configure should catch
that sort of thing, but doesn't always.
older amanda defined g_list_free_full because older glib2 didn't, but
newer glib2 define it. this is the reason of the conflict.
This conflict is resolved in newer amanda.
We do not fix old branch, but if you send a patch, I will be happy to
commit it, you can look at the patch that was committed to trunk.
Jean-Louis