You are not logged in.
Hi all
Ive been trying to compile the new stable verson of boinc 6.6.36 for my x86_64 system with a modfied pkgbuild script from abs boinc 6.4.5-3.
Just modfied the script a bit
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Michal Krenek <mikos@sg1.cz>
pkgname=boinc
pkgver=6.6.36
pkgrel=1
pkgdesc="Berkeley Open Infrastructure for Network Computing."
arch=('i686' 'x86_64')
url="http://boinc.berkeley.edu/"
license=('LGPL')
depends=('curl' 'wxgtk')
makedepends=('libxslt' 'pkgconfig' 'perl-xml-sax' 'subversion')
install=$pkgname.install
source=($pkgname.rc $pkgname.bash)
md5sums=('2fa7bcfaf4b03b118afe9e26b50f3a38'
'05ed267db973ef7cbaf1118bb20bf9ce')
_svnroot="http://boinc.berkeley.edu/svn/tags"
_svnmod="boinc_core_release_${pkgver//./_}"
build() {
cd "${srcdir}"
msg "Connecting to boinc.berkeley.edu SVN server..."
svn co ${_svnroot}/${_svnmod} || (error "SVN checkout failed" && return 1)
msg "SVN checkout done or server timeout"
msg "Starting make..."
#missing in 6.4.5 tag
rm -r "${srcdir}/$_svnmod-build"
cp -r "${srcdir}/$_svnmod" "${srcdir}/$_svnmod-build"
cd "${srcdir}/$_svnmod-build"
#configure
./_autosetup
./configure --prefix=/usr --disable-server --enable-static=no \
--disable-static-linkage --with-wxdir=/usr/lib \
--enable-unicode --with-x --with-wx-config=$(which wx-config) \
--enable-client --disable-static-client --with-ssl
sed -i 's|LDFLAGS = |LDFLAGS = -L../lib |g' */Makefile || return 1
make DESTDIR="${pkgdir}" install || return 1
#install rc-script
install -D -m755 "${srcdir}/$pkgname.rc" "${pkgdir}/etc/rc.d/$pkgname"
#install bash-completion
install -D -m644 "${srcdir}/$pkgname.bash" "${pkgdir}/etc/bash_completion.d/$pkgname"
#killing /etc/init.d directory
rm -rf "${pkgdir}/etc/init.d" || return 1
}The compiling stops with
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -march=x86-64 -mtune=generic -O2 -pipe -msse2 -march=opteron -mtune=generic -MT boincmgr-AdvancedFrame.o -MD -MP -MF .deps/boincmgr-AdvancedFrame.Tpo -c -o boincmgr-AdvancedFrame.o `test -f 'AdvancedFrame.cpp' || echo './'`AdvancedFrame.cpp
In file included from AdvancedFrame.cpp:29:
../lib/str_util.h:41: error: new declaration 'char* strcasestr(const char*, const char*)'
/usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
In file included from DlgAbout.h:31,
from AdvancedFrame.cpp:48:
hyperlink.h:15: warning: #pragma implementation for 'hyperlink.h' appears after file is included
make[1]: *** [boincmgr-AdvancedFrame.o] Error 1
make[1]: Leaving directory `/home/spoonie/abs/boinc/src/boinc_core_release_6_6_36-build/clientgui'
make: *** [install-recursive] Error 1
==> ERROR: Build Failed.
Aborting...After much googling I found a fix hear http://boinc.berkeley.edu/trac/ticket/908
I hope this helps anyone trying to build the latest stable build of boinc
Offline