Compilation - Mailing list pgsql-ports

From Ferenc Tamas Gyurcsan
Subject Compilation
Date
Msg-id 99032815451301.00349@agate
Whole thread Raw
List pgsql-ports
Dear Postgres,

I tried compiling postgresql 6.4.2, but without luck. I am using Debian 2.1
i386 Linux, and kernel 2.2.1.
 The libs are:
    libc6           2.0.7.19981211
    libg++272
    libstdc++2.9    2.91.60-5

With configure:
>./configure  --with-tcl  --with-perl --with-odbc  --enable-hba
    --x-libraries=/usr/X11R6/lib

checking for X... (cached) libraries /usr/X11R6/bin, headers
/usr/X11R6/include/
..........
configure: warning: The X11 library '-lX11' could not be found,
But it's there:-( :    /usr/X11R6/lib/libX11.so

And the compilation :
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c postmaster.c -o postmaster.o
postmaster.c: In function `ServerLoop':
postmaster.c:627: too few arguments to function `gettimeofday'
postmaster.c:666: too few arguments to function `gettimeofday'
postmaster.c:625: warning: unused variable `tz'
postmaster.c: In function `DoBackend':
postmaster.c:1452: too few arguments to function `gettimeofday'
postmaster.c:1407: warning: unused variable `tz'

And it stops here. Could You please help me? I would like to compile my own
postgres because this way I know what is in it, and the one (6.3) in the
distribution doesn't have everything, I guess (pgaccess, odbc for example). Let
me know if I can be anymore help.

Regards, Ferenc


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report:
Next
From: postgres@violet.nci.nih.gov
Date:
Subject: Successful Postgres installation report