Skip site navigation (1) Skip section navigation (2)

Compilation

From: Ferenc Tamas Gyurcsan <tfg(at)ns(dot)vpszk(dot)bme(dot)hu>
To: pgsql-ports(at)postgresql(dot)org
Subject: Compilation
Date: 1999-03-28 13:32:40
Message-ID: 99032815451301.00349@agate (view raw or flat)
Thread:
Lists: 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

Next:From: postgresDate: 1999-03-28 19:17:40
Subject: Successful Postgres installation report
Previous:From: Unprivileged userDate: 1999-03-27 13:48:47
Subject: Port Bug Report:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group