[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Support #PXI-813137]: setuids



Brian,

> We are having problems getting LDM data through our for wall we had to
> open sunrpc and port 24511. I think it might be a setuids problem.
> 
> 
> This is the make error:
> [root@compute1 src]# make install_setuids
> make[1]: Entering directory `/home/ldmadmin/ldm-6.4.5/src'
> 
> Making `install_setuids' in directory /home/ldmadmin/src/ulog
> 
> make[2]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> make[3]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> make PROGRAM=hupsyslog \
> /home/ldmadmin/ldm-6.4.5/bin/hupsyslog
> make[4]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> c89 -o hupsyslog -O -m64 -DNDEBUG  -I.. -I../config
> hupsyslog.c ../libldm.a
> gcc: ../libldm.a: No such file or directory
> make[4]: *** [hupsyslog] Error 1
> make[4]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> make[3]: *** [setuid_program] Error 2
> make[3]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> make[2]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/ulog'
> 
> Returning to directory /home/ldmadmin/src
> 
> make[1]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src'
> make[1]: Entering directory `/home/ldmadmin/ldm-6.4.5/src'
> 
> Making `install_setuids' in directory /home/ldmadmin/src/server
> 
> make[2]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/server'
> make[3]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/server'
> make PROGRAM=rpc.ldmd \
> /home/ldmadmin/ldm-6.4.5/bin/rpc.ldmd
> make[4]: Entering directory `/home/ldmadmin/ldm-6.4.5/src/server'
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I../misc -I../ulog -
> I../protocol -I../pq abbr.c
> abbr.c:13:17: ldm.h: No such file or directory
> abbr.c: In function `set_abbr_ident':
> abbr.c:31: error: `HOSTNAMESIZE' undeclared (first use in this function)
> abbr.c:31: error: (Each undeclared identifier is reported only once
> abbr.c:31: error: for each function it appears in.)
> make[4]: *** [abbr.o] Error 1
> make[4]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/server'
> make[3]: *** [setuid_program] Error 2
> make[3]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/server'
> make[2]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src/server'
> 
> Returning to directory /home/ldmadmin/src
> 
> make[1]: Leaving directory `/home/ldmadmin/ldm-6.4.5/src'
> [root@compute1 src]#

It appears from the "make" output that either the "configure"
script wasn't executed as part of the build procedure or that
a "make" wasn't executed before the "make install_setuids".

I suggest starting from scratch and following the instructions
at 
<http://www.unidata.ucar.edu/software/ldm/ldm-6.6.4/basics/source-install-steps.html>

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: PXI-813137
Department: Support LDM
Priority: Normal
Status: Closed