Andreas Pflug wrote:
Akbar wrote:
I use Gentoo and I have installed wxWidgets 2.5.3 version....... But I have wxWidgets 2.4 version too. But when I Iook into configure script of pgadmin:
{wx_home}/include/wx-2.5
Yes, my wxwidget 2.5 version is installed in this directory..... My wxwidget 2.4 installed in this /usr/include/wx......
This might conflict. Try renaming /usr/include/wx to /usr/include/wx-moved-away.
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
I tried that.... and still got error......
Any idea?????
This is the error:
In file included from /usr/lib/wx/include/gtk2-2.4/wx/setup.h:1144,
from /usr/include/wx-2.5/wx/platform.h:206,
from /usr/include/wx-2.5/wx/defs.h:25,
from /usr/include/wx-2.5/wx/wx.h:15,
from pgAdmin3.cpp:15:
/usr/include/wx-2.5/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/include/wx-2.5/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/include/wx-2.5/wx/chkconf.h:296:9: #error "wxUSE_CHOICEBOOK must be defined."
/usr/include/wx-2.5/wx/chkconf.h:344:9: #error "wxUSE_DISPLAY must be defined."
/usr/include/wx-2.5/wx/chkconf.h:416:9: #error "wxUSE_XRC must be defined."
/usr/include/wx-2.5/wx/chkconf.h:428:13: #error "wxUSE_LIBMSPACK must be defined."
/usr/include/wx-2.5/wx/chkconf.h:469:9: #error "wxUSE_LISTBOOK must be defined."/usr/include/wx-2.5/wx/chkconf.h:517:9: #error "wxUSE_MDI must be defined."
/usr/include/wx-2.5/wx/chkconf.h:621:9: #error "wxUSE_SOUND must be defined."
/usr/include/wx-2.5/wx/chkconf.h:918:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
/usr/include/wx-2.5/wx/chkconf.h:1431:14: #error "MDI requires wxUSE_MDI"
In file included from /usr/include/wx-2.5/wx/platform.h:209,
from /usr/include/wx-2.5/wx/defs.h:25,
from /usr/include/wx-2.5/wx/wx.h:15,
from pgAdmin3.cpp:15:
/usr/include/wx-2.5/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/include/wx-2.5/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/include/wx-2.5/wx/chkconf.h:296:9: #error "wxUSE_CHOICEBOOK must be defined."
/usr/include/wx-2.5/wx/chkconf.h:344:9: #error "wxUSE_DISPLAY must be defined."
/usr/include/wx-2.5/wx/chkconf.h:416:9: #error "wxUSE_XRC must be defined."
/usr/include/wx-2.5/wx/chkconf.h:428:13: #error "wxUSE_LIBMSPACK must be defined."
/usr/include/wx-2.5/wx/chkconf.h:469:9: #error "wxUSE_LISTBOOK must be defined."/usr/include/wx-2.5/wx/chkconf.h:517:9: #error "wxUSE_MDI must be defined."
/usr/include/wx-2.5/wx/chkconf.h:621:9: #error "wxUSE_SOUND must be defined."
/usr/include/wx-2.5/wx/chkconf.h:918:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
/usr/include/wx-2.5/wx/chkconf.h:1431:14: #error "MDI requires wxUSE_MDI"
In file included from /usr/include/wx-2.5/wx/string.h:44,
from /usr/include/wx-2.5/wx/memory.h:20,
from /usr/include/wx-2.5/wx/object.h:25,
from /usr/include/wx-2.5/wx/wx.h:16,
from pgAdmin3.cpp:15:
/usr/include/stdio.h:357: error: declaration of `int vsnprintf(char*, size_t, const char*, char*) throw ()' throws different exceptions
/usr/include/wx-2.5/wx/wxchar.h:749: error: than previous declaration `int vsnprintf(char*, size_t, const char*, char*)'
In file included from /usr/include/wx-2.5/wx/memory.h:20,
from /usr/include/wx-2.5/wx/object.h:25,
from /usr/include/wx-2.5/wx/wx.h:16,
from pgAdmin3.cpp:15:
/usr/include/wx-2.5/wx/string.h:165:4: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from /usr/include/wx-2.5/wx/memory.h:20,
from /usr/include/wx-2.5/wx/object.h:25,
from /usr/include/wx-2.5/wx/wx.h:16,
from pgAdmin3.cpp:15:
/usr/include/wx-2.5/wx/string.h: In function `int Stricmp(const char*, const char*)':
/usr/include/wx-2.5/wx/string.h:167: warning: no return statement in function returning non-void
In file included from pgAdmin3.cpp:54:
../src/include/xh_calb.h: At global scope:
../src/include/xh_calb.h:21: error: expected class-name before '{' token
../src/include/xh_calb.h:26: error: `wxXmlNode' has not been declared
../src/include/xh_calb.h:26: error: ISO C++ forbids declaration of `node' with no type
In file included from pgAdmin3.cpp:55:
../src/include/xh_timespin.h:21: error: expected class-name before '{' token
../src/include/xh_timespin.h:26: error: `wxXmlNode' has not been declared
../src/include/xh_timespin.h:26: error: ISO C++ forbids declaration of `node' with no type
In file included from pgAdmin3.cpp:56:
../src/include/xh_sqlbox.h:21: error: expected class-name before '{' token
../src/include/xh_sqlbox.h:26: error: `wxXmlNode' has not been declared
../src/include/xh_sqlbox.h:26: error: ISO C++ forbids declaration of `node' with no type
In file included from ../src/include/xh_ctlcombo.h:18,
from pgAdmin3.cpp:57:
/usr/include/wx-2.5/wx/xrc/xh_combo.h:23: error: expected class-name before '{' token
/usr/include/wx-2.5/wx/xrc/xh_combo.h:28: error: `wxXmlNode' has not been declared
/usr/include/wx-2.5/wx/xrc/xh_combo.h:28: error: ISO C++ forbids declaration of `node' with no type
/usr/include/wx-2.5/wx/xrc/xh_combo.h:23: warning: `class wxComboBoxXmlHandler' has virtual functions but non-virtual destructor
In file included from pgAdmin3.cpp:57:
../src/include/xh_ctlcombo.h:27: error: `wxXmlNode' has not been declared
../src/include/xh_ctlcombo.h:27: error: ISO C++ forbids declaration of `node' with no type
../src/include/xh_ctlcombo.h:22: warning: `class ctlComboBoxXmlHandler' has virtual functions but non-virtual destructor
pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':
pgAdmin3.cpp:350: error: `wxXmlResource' has not been declared
pgAdmin3.cpp:350: error: `Get' undeclared (first use this function)
pgAdmin3.cpp:350: error: (Each undeclared identifier is reported only once for each function it appears in.)
pgAdmin3.cpp:351: error: `wxXmlResource' has not been declared
pgAdmin3.cpp:352: error: `wxXmlResource' has not been declared
pgAdmin3.cpp:353: error: `wxXmlResource' has not been declared
pgAdmin3.cpp:354: error: `wxXmlResource' has not been declared
pgAdmin3.cpp:475: error: `wxXmlResource' has not been declared
make[2]: *** [pgAdmin3.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])