Re: [ROOT] problem with installation of root 3.10/02 on debian

From: Gerardo Ganis (
Date: Thu Nov 04 2004 - 19:12:42 MET

  Dear Ivan,

  Your problem is due to the fact the prototypes for setresuid/setresgid
  are not found in usual headers; configure tries to detect this, 
  but unfortunately the test does not always gives the correct
  answer. So, what you can do is to edit the include/config.h file
  and change the line

#define HAS_SETRESUID  /**/


#undef HAS_SETRESUID  /**/

  This enables a local definition of the prototypes and should solve 
  your problem.

  Let me know if this helps.


On Thu, 4 Nov 2004, Ivan Glushkov wrote:

> Hello,
> I am running Debian Linux 3, with kernel and
> %gcc --version
> %2.95.4
> and Z shell. I am trying to install root ver. 3.10/02 (I need this 
> perticular version ofr root):
> %./configure linuxdeb (i tried also the architectures linux and linuxdeb2 )
> %make
>  and the installation always finishes with:
> .....
> ==> lib/ done
> g++ -O1 -pipe -Wall -fPIC -Iinclude  -D_REENTRANT -o rootx/src/rootx.o 
> -c rootx/src/rootx.cxx
> g++ -O1 -pipe -Wall -fPIC -Iinclude  -D_REENTRANT -o rootx/src/rootxx.o 
> -c rootx/src/rootxx.cxx
> g++ -O1  -o bin/root rootx/src/rootx.o rootx/src/rootxx.o 
> -L/usr/X11R6/lib -lXpm  -lX11
> g++ -O1 -pipe -Wall -fPIC -Iinclude  -D_REENTRANT  -DR__SRP_1_1 
> -DR__SHADOWPW      -o rootd/src/rootd.o -c rootd/src/rootd.cxx
> 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
>  I searched in the root forum for something similar, but I couldn't 
> find. Any idea what can be the problem?
>     Thanks in advance,
>     Ivan

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