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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jan 21 2004 - 02:01:34 MET


Hi Boris,

  could you try just:

./configure linuxdeb
or
./configure linuxdeb2

and let me know what happens.

I've no Debian myself. Any debian specialists out there who can help?
Till now I've no heard of any problems from die hard Debian users, so it
must be something with your setup.

Cheers, Fons.



On Tue, 2004-01-20 at 21:31, 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
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



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