|
Home > Archive > Porting PostgreSQL > February 2006 > mingw 8.1.3 build error: conftest.c: Permission denied
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
mingw 8.1.3 build error: conftest.c: Permission denied
|
|
| Matt England 2006-02-28, 8:31 pm |
| While running the following postgresql-base-8.1.3 configure cmdline in mingw:
../configure --enable-thread-safety --prefix=/cgrid/local/postgresql
--without-zlib
I get the following error(s):
[...]
checking for waitpid... no
checking for wcstombs... yes
checking whether fdatasync is declared... no
checking for struct sockaddr_in6... ./configure: line 13792: conftest.c:
Permission denied
../configure: line 13795: conftest.c: Permission denied
../configure: line 13796: conftest.c: Permission denied
sed: can't read conftest.c: Permission denied
rm: cannot remove `conftest.c': Permission denied
no
checking for PS_STRINGS... ./configure: line 13861: conftest.c: Permission
denied
../configure: line 13864: conftest.c: Permission denied
../configure: line 13865: conftest.c: Permission denied
sed: can't read conftest.c: Permission denied
rm: cannot remove `conftest.c': Permission denied
no
checking whether snprintf is declared... ./configure: line 14177:
conftest.c: Permission denied
../configure: line 14180: conftest.c: Permission denied
../configure: line 14181: conftest.c: Permission denied
sed: can't read conftest.c: Permission denied
rm: cannot remove `conftest.c': Permission denied
no
[...]
And more like them.
Any ideas? Should this be cause for concern? The script just continues; I
killed it before proceeding.
Could the fact that /cgrid/local/postgresql does not exist have something
to do with this? Maybe the --without-zlib?
More details:
$ uname -a
MINGW32_NT-5.1 MATTS-LAPTOP 1.0.11(0.46/3/2) 2004-04-30 18:55 i686 unknown
mengland@MATTS-LAPTOP
/e/data.online/data.cleversafe/svnwork/swdev-external-src/postgresql/dist/mingw/postgresql-8.1.3
$ g++ --version
g++.exe (GCC) 3.4.4 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-Matt
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
| |
| Tom Lane 2006-02-28, 8:31 pm |
| Matt England <mengland@mengland.net> writes:
> While running the following postgresql-base-8.1.3 configure cmdline in mingw:
> ./configure --enable-thread-safety --prefix=/cgrid/local/postgresql
> --without-zlib
> I get the following error(s):
> [...]
> checking for waitpid... no
> checking for wcstombs... yes
> checking whether fdatasync is declared... no
> checking for struct sockaddr_in6... ./configure: line 13792: conftest.c:
> Permission denied
> ./configure: line 13795: conftest.c: Permission denied
Interesting ... that test isn't doing anything much that the preceding
tests didn't do. Maybe some brain-dead "antivirus" code kicking in
to deny file writes?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
| |
| Tom Lane 2006-02-28, 8:31 pm |
| Matt England <mengland@mengland.net> writes:
> At 2/27/2006 11:10 AM, Tom Lane wrote:
[color=darkred]
> Can I just disregard these errors then? The ./configure script appears to
> proceed ok independent of the error.
Yeah, but it will treat that test as failed which may be (probably is,
in this case) the wrong answer. In any case, random file-permission
failures constitute a platform instability that you do not want to just
live with. You might have trouble getting through the build step without
more of them, to take just one point.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
|
|
|
|
|