Problem compiling with mingw

From: Juan Manuel Diaz Lara <jmdiazlr(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Problem compiling with mingw
Date: 2006-04-01 23:44:14
Message-ID: 20060401234414.80945.qmail@web60311.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I run configure (no complains about bison o flex), after a few seconds I receive the next errors:

make[4]: Leaving directory `/pgsql/src/backend/access/nbtree'
make -C transam SUBSYS.o
make[4]: Entering directory `/pgsql/src/backend/access/transam'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory `/pgsql/src/backend/access/transam'
make[3]: Leaving directory `/pgsql/src/backend/access'
make -C bootstrap all
make[3]: Entering directory `/pgsql/src/backend/bootstrap'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing -I. -I../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../src/include/port/win32" -DBUILDING_DLL -c -o bootparse.o bootparse.c
bootparse.y:101:10: "b4_file_name" is not a valid filename
make[3]: *** [bootparse.o] Error 1
make[3]: Leaving directory `/pgsql/src/backend/bootstrap'
make[2]: *** [bootstrap-recursive] Error 2
make[2]: Leaving directory `/pgsql/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/pgsql/src'
make: *** [all] Error 2


My enviroment, installed in that order:

MSYS-1.0.8.exe --> d:\msys
inGW-3.1.0-1.exe --> d:\msys\mingw
msysDTK-1.0.1.exe -> d:\msys
bison-2.1.exe --> d:\gnuwin32
flex-2.5.4a-1.exe --> d:\gnuwin32

fstab
------
#Win32_Path Mount_Point
#c:/mingw /mingw
#c:/ActiveState/perl /perl
d:/gnuwin32 /gnuwin32

profile
-------
...
if [ $MSYSTEM == MINGW32 ]; then
export PATH=".:/usr/local/bin:/mingw/bin:/bin:/gnuwin32/bin:$PATH"
else
export PATH=".:/usr/local/bin:/bin:/mingw/bin:/gnuwin32/bin:$PATH"
fi
...

S.O. : Windows 2003 server

Can any body help ? Thanks in advance.




Atte.

Juan Manuel Díaz Lara

---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Wheeler 2006-04-01 23:45:39 Re: Suggestion: Which Binary?
Previous Message David Wheeler 2006-04-01 23:39:04 Re: Suggestion: Which Binary?