compiling postgres in winxp
От | Jaime Casanova |
---|---|
Тема | compiling postgres in winxp |
Дата | |
Msg-id | c2d9e70e0711302212m6a5cd30ap61285c50f6fbb5f7@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: compiling postgres in winxp
Re: compiling postgres in winxp |
Список | pgsql-hackers |
Hi, i'm trying to compile postgres in winxp for the first time in order to try recent Magnus patch discussed here http://archives.postgresql.org/pgsql-hackers/2007-11/msg01307.php i've installed mingw, msys and msysDTK i tried "./configure --without-zlib" and then "make install" and get this error. someone can give a me a clue here? make[2]: Entering directory `/home/General/postgresql-8.2.5/src/port' gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/port -DFRONTEND -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../src/include/port/win32" -c -o getrusage.o getrusage.c In file included from ../../src/include/rusagestub.h:17, from getrusage.c:18: /mingw/lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27: error: redefinition of `struct timezone' /mingw/lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofday' ../../src/include/port.h:292: error: previous declaration of 'gettimeofday' was here /mingw/lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofday' ../../src/include/port.h:292: error: previous declaration of 'gettimeofday' was here make[2]: *** [getrusage.o] Error 1 make[2]: Leaving directory `/home/General/postgresql-8.2.5/src/port' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/General/postgresql-8.2.5/src' make: *** [install] Error 2 -- regards, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." Richard Cook
В списке pgsql-hackers по дате отправления: