Re: [ROOT] setresgid undeclared compilation error for RootdLogin()

From: Roberto Barbera (roberto.barbera@ct.infn.it)
Date: Fri Jan 24 2003 - 09:26:49 MET


Hi Fons,

I updated Root with the CVS HEAD of 5 mins ago on my RH 8.0 and, 
following your suggestion, I commented out all the stuff concerning 
freetype from my configuration file:

touch /cern/root/lib/libPythia.so /cern/root/lib/libPythia6.so 
/cern/root/lib/libVenus.so
chmod a+x /cern/root/lib/libPythia.so /cern/root/lib/libPythia6.so 
/cern/root/lib/libVenus.so
./configure linuxegcs \
                       --prefix=/cern/root \
                       --datadir=/cern/root \
                       --libdir=/cern/root/lib \
                       --incdir=/cern/root/include \
                       --etcdir=/cern/root/etc \
                       --enable-rfio \
                       --enable-thread \
                       --enable-cern \
                       --enable-pythia \
                       --enable-pythia6 \
                       --enable-venus \
                       --with-shift-libdir=/cern/extralibs/ \
                       --with-pythia6-libdir=/cern/extralibs/ \
                       --with-pythia-libdir=/cern/extralibs/


I made a "make distclean" but the make breaks:

....
....
....
-D_REENTRANT" cint/src/auxu.c > cint/src/auxu.d
make: *** No rule to make target `freetype/Module.mk'.  Stop.


Where am I wrong ?

Roberto

Fons Rademakers wrote:
> Hi Tony,
> 
>  this problem should be fixed in the head of today. Also notice that
> with the head of today you will get freetype 2 support built-in, no more
> need for the --enable--ttf and --with-ttf-fontdir flags.
> 
> Cheers, Fons.
> 
> 
> 
> On Thu, 2003-01-23 at 14:58, Tony Colley wrote:
> 
>>Fellow ROOTers:
>>
>>I searched on the ROOT website for a reference to "setresgid" or even
>>"RootDLogin", but it returned no hits.
>>
>>I am trying to compile the latest from CVS on a RedHat 8 Linux box with
>>gcc 3.2. My configure command was:
>>
>>./configure linux --prefix=/usr/local --etcdir=/usr/local/etc/root
>> --enable-thread --enable-shared --enable-soversion --enable-ttf
>> --enable-opengl --disable-table --disable-cern --disable-mysql
>> --disable-pgsql --disable-sapdb --disable-rfio --disable-dcache
>> --disable-alien --disable-srp --disable-afs --disable-pythia
>> --disable-pythia6 --disable-venus
>> --with-ttf-fontdir=/usr/share/fonts/default/TrueType
>>
>>The make continues for quite a while until it halts at the following
>>compilation:
>>
>>g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
>>  -D_REENTRANT -DR__SHADOWPW -DR__KRB5 -I/usr/kerberos/include
>>  -o rootd/src/rootd.o -c rootd/src/rootd.cxx
>>rootd/src/rootd.cxx: In function `void RootdLogin()':
>>rootd/src/rootd.cxx:897: `setresgid' undeclared (first use this
>>function)
>>rootd/src/rootd.cxx:897: (Each undeclared identifier is reported only
>>once for
>>   each function it appears in.)
>>rootd/src/rootd.cxx:900: `setresuid' undeclared (first use this
>>function)
>>make: *** [rootd/src/rootd.o] Error 1
>>
>>Anyone have an idea what the problem is?  "setresgid" *is* defined in my
>>/usr/include/unistd.h.
>>
>>Thanks,
>>Tony Colley
> 


-- 
Please, note the new phone/fax number at Catania !!!
Please, note the new office location at CERN !!!

Roberto Barbera (mailto:roberto.barbera@ct.infn.it)
Phone Catania: ++.39.095.378.5313      | Phone CERN: ++.41.22.76.79739
Fax Catania: ++.39.095.378.5231        | Fax CERN: ++.41.22.76.79480
WWW: http://alipc1.ct.infn.it          | Office CERN: 544-R-030





This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET