[pkg-boinc-devel] BOINC Compile failed

Peter Stoddard peter at stoddard.name
Mon Mar 20 05:42:11 UTC 2006


Hi folks

I am running Debian sarge on a pentium 4 with kernel 2.6.14.3-smp. 

I followed the instructions in the wiki:

http://wiki.debian.org/BOINC#head-b729364a6b5e64e82b8708b8e9e6c39e95afaff6

I added 

deb-src http://pkg-boinc.alioth.debian.org/debian/ sarge main

to /etc/apt/sources.list, and executed the command

# apt-get build-dep boinc

Everything seemed to go fine.

Then I tried to compile the boinc client but it didn't work.  I followed the 
instructions in the wiki, which advised sending failed build experiences to 
this list.

Here are some things I did to prepare for the build:

##############################

# /usr/bin/gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)

# export CXXFLAGS=CFLAGS
# export CFLAGS="-mtune=pentium-4"

##############################

The Debian wiki cited above recommended setting the environmental variables 
CFLAGS and CXXFLAGS.  I made the =pentium-4 part up because I have no idea 
what value to put in the variable CFLAGS.

I tried the build and it choked on the "rfakeroot" option:

##############################

# dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package is boinc
dpkg-buildpackage: source version is 5.2.5-1sarge2
dpkg-buildpackage: source maintainer is Frank S. Thomas 
<frank at thomas-alfeld.de>
dpkg-buildpackage: host architecture is amd64
 fakeroot debian/rules clean
/usr/bin/dpkg-buildpackage: line 175: fakeroot: command not found

##############################

So I removed the "rfakeroot" option and executed the command again 
(#dpkg-buildpackage -us -uc), and the build eventually failed.  Here are the 
highlights:

configure:2205: checking whether to enable maintainer-specific portions of 
Makefiles
configure:2214: result: no

configure:2559: gcc -V </dev/null >&5
gcc: `-V' option must have argument

configure:2585: checking for C compiler default output file name
configure:2588: gcc -mtune=pentium-4 -g -Wall -O3 -ffast-math   conftest.c  
>&5
cc1: error: invalid option `tune=pentium-4'

configure:2559: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h.  */

configure:2630: error: C compiler cannot create executables
See `config.log' for more details.

MAKEINFO='${SHELL} /home/peter/src/boinc/boinc-5.2.5/missing --run makeinfo'

I would be happy to send the whole config.log if anyone is interested.

If anyone has any sugestions, I sure would appreciate hearing them.

Regards

Pete



More information about the pkg-boinc-devel mailing list