Managers,
I am trying to compile a PH server (qi-3.1B7 - most recent version?) from
UIUC on a DU 4.0B machine. I'm chasing anyone who's installed it
successfully and who can let me know what they've done to make it work.
My problem is that when compiling, I'm getting a "(null command)" from
gcc when compiling two utilities "build" and "brute". The binaries compile
and run, but they do not work to expectations (no core dump either). All
other binaries, including the server (as far as I can test it without an
actual database) and client work fine.
To make the compilation work to this point, I made the following
modifications to the configs/defaults file.
$Cflags = "-I$SrcDir/include -D_BSD -DOSF1 -DNO_STRDUP -DNO_MKSTEMP";
$Lflags = "-lbsd -L$LibDir -L/usr/shlib -L/usr/lib";
$CC = "gcc";
%OtherDefines=(
"Log_Qilog", "LOG_LOCAL0", # Syslog facility
"Sig_Type", "void", # signal() return type
"Mem_Type", "void", # *malloc() return type <-------
"INT32", "int", # 32-bit integer type <-------
"Cpu_Limit", "20", # limit for CPU time
"Drecsize", 400, # size of .dir record
"Dovrsize", 400, # size of .dov record
"Max_Key_len",16, # max # chars to index
"NIChars", 32, # size of .idx record
"NOChars", 1024, # size of .iov record
"PersonLimit","25", # max # of people to return
# "Use_Uid", "10", # setuid to this
# "Use_Gid", "15", # setgid to this
);
Any advice/tips/pointers/(binaries :) would be much appreciated.
Damien.
Damien Malczewski
UNIX Systems Manager
Information Technology Division
Central Queensland University, Australia
Email : d.malczewski_at_cqu.edu.au
Received on Wed Jan 07 1998 - 02:58:13 NZDT