Re: [ROOT] Beginner - difficulty compiling root (3.10.02) on debian

From: Dejan Nikic (dejann@u.washington.edu)
Date: Wed Jan 21 2004 - 01:39:27 MET


I would delete the source and extract it again, just so you start clean
and then do the ./configure then make thing.



On Tue, 20 Jan 2004, Boris Barbour wrote:

> Hi,
>
> I'm having trouble compiling root from source. Any ideas on how I can progress
> would be gratefully received.
>
> Using:
>
> root 3.10.02
>
> Dell PC Intel P-III 1GHz, 256Mb
>
> Debian testing
> kernel 2.4.24-1-686 (debian kernel image, kernel-headers-2.4.24-1-686
> installed)
> gcc 3.3.2 (Debian)
> GNU Make version 3.79.1
>
> I configure thus
>
> $ ./configure --prefix=/usr/local --enable-soversion
> --enable-thread --disable-cern --disable-mysql --disable-sapdb
> --disable-rfio --disable-pythia --disable-pythia6 --disable-venus
> --disable-srp
>
> (I'm interested in trying out the root/cint system for analysis that has
> nothing to do with supercolliders.)
>
> then I enter
>
> $ make
>
> wait a long time (many messages)
>
> ...
>
> then the process shudders to a halt
>
> g++ -O1 -pipe -Wall -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT  -DR__SRP_1_1
> -DR__SHADOWPW      -o rootd/src/rootd.o -c rootd/src/rootd.cxx
> In file included from /usr/include/asm/sigcontext.h:4,
>                  from /usr/include/bits/sigcontext.h:28,
>                  from /usr/include/signal.h:326,
>                  from rootd/src/rootd.cxx:297:
> /usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
> /usr/include/sys/cdefs.h:195: warning: this is the location of the previous
> definition
> rootd/src/rootd.cxx: In function `void RootdAuthCleanup(const char *, int)':
> rootd/src/rootd.cxx:460: implicit declaration of function `int setresgid(...)'
> rootd/src/rootd.cxx:463: implicit declaration of function `int setresuid(...)'
> make: *** [rootd/src/rootd.o] Error 1
>
> [the warnings about cdefs.h and compiler.h have already been emitted
> about a thousand times by this point - are they important?]
>
> Best regards,
>
> Boris Barbour
>
>



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET