Hey guys,
I want to try to set up a little Mailserver with the RPi, but can't manage to get libcitadel compiled.
$this->bbcode_second_pass_code('', '
...
zlib compression: yes
Character set conversion support: yes
LTCompile: /bin/sh ./libtool --silent --mode=compile armv6l-unknown-linux-gnueabihf-gcc -I./lib -I. -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -D HAVE_MMAP -D_FORTIFY_SOURCE=2 -o buildinfo -c
CC: lib/tools.c
In file included from /usr/include/string.h:638:0,
from lib/tools.c:29:
lib/tools.c: In function 'remove_token':
/usr/include/bits/string3.h:102:1: error: inlining failed in call to always_inline 'strcpy': function not inlinable
lib/tools.c:272:9: error: called from here
In file included from /usr/include/string.h:638:0,
from lib/tools.c:29:
lib/tools.c: In function 'is_msg_in_sequence_set':
/usr/include/bits/string3.h:102:1: error: inlining failed in call to always_inline 'strcpy': function not inlinable
lib/tools.c:629:10: error: called from here
In file included from /usr/include/string.h:638:0,
from lib/tools.c:29:
lib/tools.c: In function 'stripout':
/usr/include/bits/string3.h:102:1: error: inlining failed in call to always_inline 'strcpy': function not inlinable
lib/tools.c:773:23: error: called from here
In file included from /usr/include/string.h:638:0,
from lib/tools.c:29:
/usr/include/bits/string3.h:102:1: error: inlining failed in call to always_inline 'strcpy': function not inlinable
lib/tools.c:778:23: error: called from here
In file included from /usr/include/string.h:638:0,
from lib/tools.c:29:
lib/tools.c: In function 'is_msg_in_mset':
/usr/include/bits/string3.h:102:1: error: inlining failed in call to always_inline 'strcpy': function not inlinable
lib/tools.c:1126:10: error: called from here
make: *** [lib/tools.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
')
PKGBUILD
basically it's the PKGBUILD from the AUR, just changed to the latest version and the architecture to any
$this->bbcode_second_pass_code('', '
# Contributor: Marco Lima <cipparello gmail com>
# Maintainer: Mitchell Ferguson <teh.dawg at gmail dot com>
pkgname=libcitadel
pkgver=8.16
pkgrel=1
pkgdesc="Common code shared across all of the components of the Citadel system"
arch=('any')
url="http://www.citadel.org/"
license=('GPL3' 'custom')
depends=('glibc' 'zlib')
options=('!libtool')
source=("http://easyinstall.citadel.org/$pkgname-$pkgver.tar.gz")
md5sums=('236c9ef6443a1708c0499d7e66774642')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--build=${CHOST} \
--host=${CHOST}
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# custom license
install -D -m0644 COPYING "$pkgdir/"usr/share/licenses/$pkgname/COPYING
}
# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent
# kate: indent-mode normal; indent-width 8; tab-indents on; tab-width 8; word-wrap on; word-wrap-column 132
')
Are there any suggestions to get this working?