dbTalk Databases Forums  

[BUGS] BUG #1369: RC3 Compilation fails on mingw

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1369: RC3 Compilation fails on mingw in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
T.J.
 
Posts: n/a

Default [BUGS] BUG #1369: RC3 Compilation fails on mingw - 01-01-2005 , 08:29 PM







The following bug has been logged online:

Bug reference: 1369
Logged by: T.J.
Email address: tjtoocool (AT) phreaker (DOT) net
PostgreSQL version: 8.0
Operating system: Windows XP
Description: RC3 Compilation fails on mingw
Details:

Tested RC2 and RC3 --with-openssl configured. RC2 makes and installs fine.
RC3, however, has this to say when trying make:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
-fno-strict-aliasing -DFRONTEND -I../..
/../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq
-I../../.. /../src/port -I../../../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o path.o path.c
path.c: In function `get_share_path':
path.c:375: error: `PGSHAREDIR' undeclared (first use in this function)
path.c:375: error: (Each undeclared identifier is reported only once
path.c:375: error: for each function it appears in.)
path.c:375: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_etc_path':
path.c:384: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_include_path':
path.c:393: error: `INCLUDEDIR' undeclared (first use in this function)
path.c:393: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkginclude_path':
path.c:402: error: `PKGINCLUDEDIR' undeclared (first use in this function)
path.c:402: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_includeserver_path':
path.c:411: error: `INCLUDEDIRSERVER' undeclared (first use in this
function)
path.c:411: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_lib_path':
path.c:420: error: `LIBDIR' undeclared (first use in this function)
path.c:420: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkglib_path':
path.c:429: error: `PKGLIBDIR' undeclared (first use in this function)
path.c:429: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_locale_path':
path.c:438: error: `LOCALEDIR' undeclared (first use in this function)
path.c:438: error: `PGBINDIR' undeclared (first use in this function)
make[4]: *** [path.o] Error 1
make[4]: Leaving directory
`/c/postgresql-8.0.0rc3/src/interfaces/ecpg/ecpglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/postgresql-8.0.0rc3/src'
make: *** [all] Error 2

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply With Quote
  #2  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] BUG #1369: RC3 Compilation fails on mingw - 01-02-2005 , 07:32 AM






I just rebuilt RC3 from scratch without any problems on MingW. I don't
see any problems.

The paths it's complaining about should be in
src/port/pg_config_paths.h, and this file should automatically be
rebuilt. Check if it's corrupted, and try removing it and rebuild that
directory (first, then the ecpg dir that is failing).

//Magnus

Quote:
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org=20
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of T.J.
Sent: den 2 januari 2005 03:26
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] BUG #1369: RC3 Compilation fails on mingw



The following bug has been logged online:

Bug reference: 1369
Logged by: T.J.
Email address: tjtoocool (AT) phreaker (DOT) net
PostgreSQL version: 8.0
Operating system: Windows XP
Description: RC3 Compilation fails on mingw
Details:=20

Tested RC2 and RC3 --with-openssl configured. RC2 makes and=20
installs fine.
RC3, however, has this to say when trying make:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition=20
-Wendif-labels
-fno-strict-aliasing -DFRONTEND -I../..=20=20=20=20=20=20=20
/../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq
-I../../.. /../src/port -I../../../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND=20=20=20=20=20=20=20=20=20
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o=20
path.o path.c
path.c: In function `get_share_path':
path.c:375: error: `PGSHAREDIR' undeclared (first use in this function)
path.c:375: error: (Each undeclared identifier is reported only once
path.c:375: error: for each function it appears in.)
path.c:375: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_etc_path':
path.c:384: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_include_path':
path.c:393: error: `INCLUDEDIR' undeclared (first use in this function)
path.c:393: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkginclude_path':
path.c:402: error: `PKGINCLUDEDIR' undeclared (first use in=20
this function)
path.c:402: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_includeserver_path':
path.c:411: error: `INCLUDEDIRSERVER' undeclared (first use in this
function)
path.c:411: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_lib_path':
path.c:420: error: `LIBDIR' undeclared (first use in this function)
path.c:420: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkglib_path':
path.c:429: error: `PKGLIBDIR' undeclared (first use in this function)
path.c:429: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_locale_path':
path.c:438: error: `LOCALEDIR' undeclared (first use in this function)
path.c:438: error: `PGBINDIR' undeclared (first use in this function)
make[4]: *** [path.o] Error 1
make[4]: Leaving directory
`/c/postgresql-8.0.0rc3/src/interfaces/ecpg/ecpglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/postgresql-8.0.0rc3/src'
make: *** [all] Error 2

---------------------------(end of=20
broadcast)---------------------------
TIP 8: explain analyze is your friend

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #3  
Old   
T.J.
 
Posts: n/a

Default Re: [BUGS] BUG #1369: RC3 Compilation fails on mingw - 01-04-2005 , 12:40 AM



Yeah, I redownloaded and tried again with no problems...weird...sorry
for the false positive

Magnus Hagander wrote:

Quote:
I just rebuilt RC3 from scratch without any problems on MingW. I don't
see any problems.

The paths it's complaining about should be in
src/port/pg_config_paths.h, and this file should automatically be
rebuilt. Check if it's corrupted, and try removing it and rebuild that
directory (first, then the ecpg dir that is failing).

//Magnus



-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of T.J.
Sent: den 2 januari 2005 03:26
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] BUG #1369: RC3 Compilation fails on mingw



The following bug has been logged online:

Bug reference: 1369
Logged by: T.J.
Email address: tjtoocool (AT) phreaker (DOT) net
PostgreSQL version: 8.0
Operating system: Windows XP
Description: RC3 Compilation fails on mingw
Details:

Tested RC2 and RC3 --with-openssl configured. RC2 makes and
installs fine.
RC3, however, has this to say when trying make:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition
-Wendif-labels
-fno-strict-aliasing -DFRONTEND -I../..
/../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq
-I../../.. /../src/port -I../../../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o
path.o path.c
path.c: In function `get_share_path':
path.c:375: error: `PGSHAREDIR' undeclared (first use in this function)
path.c:375: error: (Each undeclared identifier is reported only once
path.c:375: error: for each function it appears in.)
path.c:375: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_etc_path':
path.c:384: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_include_path':
path.c:393: error: `INCLUDEDIR' undeclared (first use in this function)
path.c:393: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkginclude_path':
path.c:402: error: `PKGINCLUDEDIR' undeclared (first use in
this function)
path.c:402: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_includeserver_path':
path.c:411: error: `INCLUDEDIRSERVER' undeclared (first use in this
function)
path.c:411: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_lib_path':
path.c:420: error: `LIBDIR' undeclared (first use in this function)
path.c:420: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_pkglib_path':
path.c:429: error: `PKGLIBDIR' undeclared (first use in this function)
path.c:429: error: `PGBINDIR' undeclared (first use in this function)
path.c: In function `get_locale_path':
path.c:438: error: `LOCALEDIR' undeclared (first use in this function)
path.c:438: error: `PGBINDIR' undeclared (first use in this function)
make[4]: *** [path.o] Error 1
make[4]: Leaving directory
`/c/postgresql-8.0.0rc3/src/interfaces/ecpg/ecpglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/postgresql-8.0.0rc3/src'
make: *** [all] Error 2

---------------------------(end of
broadcast)---------------------------
TIP 8: explain analyze is your friend








---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.