![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hope this is the right group for this...please let me know if there is a better one. |
|
I have tried a whole bunch of things to get a windows build on 8.1.8 and am stuck in the beginning of the build. Downloaded the MinGW/Msys tools as specified. Downloaded the tar ball and unpacked it. Ran configure successfully with (--without-zlib option). Get the error running make - gcc.exe says gcc.exe: no input files on first file it tries to compile (details here): $ make c:/mingw/bin/make.exe -C doc all make.exe[1]: Entering directory `C:/MinGW/home/postgres/ postgresql-8.1.8/doc' [...] 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/mingw/include "-I../../src/include/port/ win32" -c -o crypt.o crypt.c gcc.exe: no input files make.exe[2]: *** [crypt.o] Error 1 make.exe[2]: Leaving directory `C:/MinGW/home/postgres/ postgresql-8.1.8/src/port' |
#3
| ||||
| ||||
|
|
Eric <fishw... (AT) comcast (DOT) net> wrote: Hope this is the right group for this...please let me know if there is a better one. This is the correct newsgroup. The mailing lists may also help you (http://www.postgresql.org/community/lists/). |
|
What strikes me as strange is the 'c:/mingw/bin/make.exe'. This a Windows Path and should not be there. On my system, the output starts with: make -C doc all make[1]: Entering directory `/home/lanadvall/postgres/doc' make[1]: Nothing to be done for `all'. So I guess there's something wrong with your MinGW setup. - Are you in an rxvt (correct) or on an MS-DOS prompt (wrong)? - What do you get when you say 'whichgcc'? |
|
Unfortunately I am not a MinGW expert... |
|
Yours, Laurenz Albe |
#4
| ||||
| ||||
|
|
Also found after much searching the pgsql.* newsgroups (e.g. pgsql.admin; not preceded by comp.databases)...amazingly it took me awhile to find those, they are relatively active...would be nice to let people know about these in the postgres docs (there is a link to "Community" I think). |
|
- Are you in an rxvt (correct) or on an MS-DOS prompt (wrong)? Not sure what rxvt is, but I'm using the msys shell, not dos (launched from dos command prompt with the runas postgres user - but also tried starting up with windows admin account - same error either way). |
|
Maybe it's time to reinstall mingw. I do remember the installation instructions as being a little vague. I think I installed mingw first, then msys, using the mingw directory in the second case (putting everything into the same bin dir I think). Thought that was what I was supposed to do but looking back the default may have been different. Do you have all your msys and mingw stuff in one bin dir or two? |
|
Next step is to try this on my wife's Mac under OS X or go out and buy a separate Linux box. A new can of worms. |
#5
| |||
| |||
|
|
Next step is to try this on my wife's Mac under OS X or go out and buy a separate Linux box. A new can of worms. |
#6
| |||
| |||
|
|
Begin <1173971187.402264.263680 (AT) y66g2000hsf (DOT) googlegroups.com On 2007-03-15, Eric <fishware (AT) comcast (DOT) net> wrote: Next step is to try this on my wife's Mac under OS X or go out and buy a separate Linux box. A new can of worms. What is your goal then? Compiling PostgreSQL? If so, why? Then a unix-y environment would probably be easier, altough it'd help if you'd spend some time learning about unix, its workings and its tools first. If you're more interested in running it, you could try http://www.postgresql.org/ftp/binary/v8.1.4/win32/ |
#7
| |||
| |||
|
|
Doesn't cygwin provide a prebuilt windows Postgre? |
![]() |
| Thread Tools | |
| Display Modes | |
| |