Compile Error: pgA 1.6.3, WX 2.8.3, CentOS 5 - Mailing list pgadmin-support

From Joshua Kramer
Subject Compile Error: pgA 1.6.3, WX 2.8.3, CentOS 5
Date
Msg-id Pine.LNX.4.64.0705071327530.27052@localhost.localdomain
Whole thread Raw
List pgadmin-support
Hello,

Has anyone attempted to compile pgAdmin 1.6.3 under CentOS 5 and wxWidgets
2.8.3?  If so, have you seen the errors noted below?

Thanks,
-Josh

make  all-recursive
make[1]: Entering directory `/home/josh_dev/dev/pgadmin3-1.6.3'
Making all in i18n
make[2]: Entering directory `/home/josh_dev/dev/pgadmin3-1.6.3/i18n'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/josh_dev/dev/pgadmin3-1.6.3/i18n'
Making all in src
make[2]: Entering directory `/home/josh_dev/dev/pgadmin3-1.6.3/src'
test -f ./include/svnversion.cpp || touch ./include/svnversion.cpp
test -d ./.svn && ( V=`svnversion ./..` && OV=`cat ./include/svnversion.h | cut -d' ' -f3|tr -d '"'` ; if [ "$V" !=
"$OV"]; then echo "#define VERSION_SVN \"$V\"" > ./include/svnversion.h ; fi ) || true 
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDATA_DIR=\"/opt/pgadmin3-1.6.3-OR-EL5/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor-I../src/include -I../src/agent/include -I../src/slony/include -I/usr/include -DSSL
-I/opt/wxWidgets-2.8.3-OR-EL5/lib/wx/include/gtk2-unicode-release-2.8-I/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8
-D_FILE_OFFSET_BITS=64-D_LARGE_FILES -D__WXGTK__ -O2 -I/usr/include/libxml2 -I/usr/include/libxml2
-DDATA_DIR=\"/opt/pgadmin3-1.6.3-OR-EL5/share/pgadmin3/\"-Wall -Wno-non-virtual-dtor -I../src/include
-I../src/agent/include-I../src/slony/include  -MT svnversion.o -MD -MP -MF ".deps/svnversion.Tpo" -c -o svnversion.o
`test-f './include/svnversion.cpp' || echo './'`./include/svnversion.cpp; \    then mv -f ".deps/svnversion.Tpo"
".deps/svnversion.Po";else rm -f ".deps/svnversion.Tpo"; exit 1; fi 
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDATA_DIR=\"/opt/pgadmin3-1.6.3-OR-EL5/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor-I../src/include -I../src/agent/include -I../src/slony/include -I/usr/include -DSSL
-I/opt/wxWidgets-2.8.3-OR-EL5/lib/wx/include/gtk2-unicode-release-2.8-I/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8
-D_FILE_OFFSET_BITS=64-D_LARGE_FILES -D__WXGTK__ -O2 -I/usr/include/libxml2 -I/usr/include/libxml2
-DDATA_DIR=\"/opt/pgadmin3-1.6.3-OR-EL5/share/pgadmin3/\"-Wall -Wno-non-virtual-dtor -I../src/include
-I../src/agent/include-I../src/slony/include  -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o pgAdmin3.o `test -f
'./pgAdmin3.cpp'|| echo './'`./pgAdmin3.cpp; \    then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f
".deps/pgAdmin3.Tpo";exit 1; fi 
In file included from /opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/debug.h:18,                 from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/defs.h:527,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/wx.h:15,                from ../src/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13: 
/usr/include/assert.h:38:42: error: missing binary operator before token "("
/usr/include/assert.h:106:42: error: missing binary operator before token "("
In file included from /usr/include/libio.h:62,                 from /usr/include/stdio.h:72,                 from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/wxchar.h:21,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/debug.h:22,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/defs.h:527,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/wx.h:15,                from ../src/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13: 
/usr/include/sys/cdefs.h:46:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:50:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:138:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:196:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:205:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:214:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:223:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:235:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:245:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:254:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:262:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:276:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:286:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:291:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:298:19: error: missing binary operator before token "("
In file included from /opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/filefn.h:28,                 from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/utils.h:21,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/cursor.h:41,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/event.h:22,                from
/opt/wxWidgets-2.8.3-OR-EL5/include/wx-2.8/wx/wx.h:25,                from ../src/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13: 
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
/usr/include/assert.h:68: error: expected constructor, destructor, or type conversion before ‘extern’
/usr/include/assert.h:76: error: expected initializer before ‘__THROW’
/usr/include/assert.h:82: error: expected initializer before ‘__THROW’
/usr/include/assert.h:85: error: ‘__END_DECLS’ does not name a type
/usr/include/stdio.h:46: error: expected constructor, destructor, or type conversion before ‘typedef’
/usr/include/stdio.h:62: error: expected constructor, destructor, or type conversion before ‘typedef’
/usr/include/gconv.h:72: error: ‘size_t’ has not been declared
/usr/include/gconv.h:88: error: ‘size_t’ has not been declared
/usr/include/gconv.h:97: error: ‘size_t’ has not been declared
/usr/include/gconv.h:174: error: ‘size_t’ does not name a type
/usr/include/gconv.h:176: error: expected ‘;’ before ‘__flexarr’
/usr/include/libio.h:329: error: ‘size_t’ does not name a type
/usr/include/libio.h:333: error: ‘size_t’ was not declared in this scope
/usr/include/libio.h:361: error: ‘size_t’ has not been declared
/usr/include/libio.h:370: error: ‘size_t’ has not been declared
/usr/include/libio.h:486: error: ‘size_t’ does not name a type
/usr/include/stdio.h:171: error: expected initializer before ‘*’ token
/usr/include/stdio.h:213: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:213: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:218: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:218: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:248: error: expected initializer before ‘*’ token
/usr/include/stdio.h:254: error: expected initializer before ‘*’ token
/usr/include/stdio.h:303: error: variable or field ‘setbuf’ declared void
/usr/include/stdio.h:303: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:303: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:303: error: expected primary-expression before ‘char’
/usr/include/stdio.h:303: error: initializer expression list treated as compound expression
/usr/include/stdio.h:307: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:307: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:307: error: expected primary-expression before ‘char’
/usr/include/stdio.h:308: error: expected primary-expression before ‘int’
/usr/include/stdio.h:308: error: ‘size_t’ was not declared in this scope
/usr/include/stdio.h:308: error: initializer expression list treated as compound expression
/usr/include/stdio.h:327: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:327: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:328: error: expected primary-expression before ‘const’
/usr/include/stdio.h:328: error: expected primary-expression before ‘...’ token
/usr/include/stdio.h:328: error: initializer expression list treated as compound expression
/usr/include/stdio.h:342: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:342: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:342: error: expected primary-expression before ‘const’
/usr/include/stdio.h:343: error: expected primary-expression before ‘__arg’
/usr/include/stdio.h:343: error: initializer expression list treated as compound expression
/usr/include/stdio.h:399: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:399: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:400: error: expected primary-expression before ‘const’
/usr/include/stdio.h:400: error: expected primary-expression before ‘...’ token
/usr/include/stdio.h:400: error: initializer expression list treated as compound expression
/usr/include/stdio.h:441: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:441: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:442: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:442: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:483: error: ‘FILE’ has not been declared
/usr/include/stdio.h:484: error: ‘FILE’ has not been declared
/usr/include/stdio.h:532: error: ‘FILE’ has not been declared
/usr/include/stdio.h:590: error: ‘FILE’ has not been declared
/usr/include/stdio.h:603: error: ‘FILE’ has not been declared
/usr/include/stdio.h:610: error: ‘size_t’ does not name a type
/usr/include/stdio.h:616: error: ‘size_t’ does not name a type
/usr/include/stdio.h:650: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:650: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:650: error: expected primary-expression before ‘long’
/usr/include/stdio.h:650: error: expected primary-expression before ‘int’
/usr/include/stdio.h:650: error: initializer expression list treated as compound expression
/usr/include/stdio.h:655: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:655: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:660: error: variable or field ‘rewind’ declared void
/usr/include/stdio.h:660: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:660: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:699: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:699: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:699: error: expected primary-expression before ‘*’ token
/usr/include/stdio.h:699: error: expected primary-expression before ‘__restrict__’
/usr/include/stdio.h:699: error: initializer expression list treated as compound expression
/usr/include/stdio.h:704: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:704: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:704: error: expected primary-expression before ‘const’
/usr/include/stdio.h:704: error: initializer expression list treated as compound expression
/usr/include/stdio.h:727: error: variable or field ‘clearerr’ declared void
/usr/include/stdio.h:727: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:727: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:729: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:729: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:731: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:731: error: ‘__stream’ was not declared in this scope
/usr/include/stdio.h:844: error: expected declaration before ‘}’ token
make[2]: *** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/home/josh_dev/dev/pgadmin3-1.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/josh_dev/dev/pgadmin3-1.6.3'
make: *** [all] Error 2

pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: tutorial for starting development
Next
From: Dave Page
Date:
Subject: Re: tutorial for starting development