From: | Bryan Wilkerson <bryanwilkerson(at)yahoo(dot)com> |
---|---|
To: | Dave Page <dpage(at)postgresql(dot)org>, Devrim GUNDUZ <devrim(at)CommandPrompt(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Can not build pgadmin3-1.6.0 |
Date: | 2006-11-24 18:53:02 |
Message-ID: | 20061124185302.43746.qmail@web57009.mail.re3.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Thanks for the tips. That got me past the ./configure of pgadmin3. Now I get an error during compile:
./pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’:
./pgAdmin3.cpp:365: error: ‘wxOGLInitialize’ was not declared in this scope
Is there another flag I need to configure wxWidgets with? Again, I used
./configure --with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=yes
to build wxWidgets-2.8.0-rc1. I can't find the documents on compiling and installing. I'm sure I missed them.
Full text of ./configure and make of pgAdmin below...
bryanw(at)f177a:~/src/pgadmin3-1.6.0> ./configure --with-wx-version=2.8
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working strtod... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for PQexec in -lpq... yes
checking for SSL_connect in -lpq... no
checking for krb5_free_principal in -lpq... no
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking PostgreSQL in /usr/local/pgsql... ok
checking wxWidgets in /usr/local... ok
checking libxml2 in /usr... ok
checking libxml2 version... ok
checking libxslt in /usr... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating i18n/Makefile
config.status: creating src/Makefile
config.status: creating pkg/Makefile
config.status: creating pkg/debian/Makefile
config.status: creating pkg/mac/Makefile
config.status: creating pkg/mandrake/Makefile
config.status: creating pkg/redhat/Makefile
config.status: creating pkg/slackware/Makefile
config.status: creating pkg/src/Makefile
config.status: creating pkg/suse/Makefile
config.status: creating pkg/win32/Makefile
config.status: creating xtra/Makefile
config.status: creating xtra/pgagent/Makefile
config.status: creating xtra/pgagent/pgaevent/Makefile
config.status: creating xtra/wx-build/Makefile
config.status: creating config.h
config.status: executing depfiles commands
PostgreSQL directory: /usr/local/pgsql
PostgreSQL pg_config binary: /usr/local/pgsql/bin/pg_config
PostgreSQL version: PostgreSQL 8.1.5
PostgreSQL SSL support: Missing
wxWidgets directory: /usr/local
wxWidgets wx-config binary: /usr/local/bin/wx-config
wxWidgets version: wxWidgets 2.8.0
Building a debug version of pgAdmin: No
Statically linking pgAdmin: No
Building a Mac OS X appbundle: No
Include documentation: Yes
pgAdmin configuration is now complete. You can now compile and
install pgAdmin using 'make; make install'.
bryanw(at)f177a:~/src/pgadmin3-1.6.0> make
make all-recursive
make[1]: Entering directory `/home/bryanw/src/pgadmin3-1.6.0'
Making all in i18n
make[2]: Entering directory `/home/bryanw/src/pgadmin3-1.6.0/i18n'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bryanw/src/pgadmin3-1.6.0/i18n'
Making all in src
make[2]: Entering directory `/home/bryanw/src/pgadmin3-1.6.0/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=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -I/usr/local/pgsql/include -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/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=\"/usr/local/pgadmin3/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=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -I/usr/local/pgsql/include -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/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=\"/usr/local/pgadmin3/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 ../src/include/pgAdmin3.h:22,
from ./pgAdmin3.cpp:13:
../src/include/ctl/ctlSQLBox.h:17:24: error: wx/stc/stc.h: No such file or directory
./pgAdmin3.cpp:65:24: error: wx/ogl/ogl.h: No such file or directory
/usr/local/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/usr/local/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/local/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/local/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/gdicmn.h: In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/local/include/wx-2.8/wx/gdicmn.h:540: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/image.h: In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:
/usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/filesys.h: In member function ‘wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const’:
/usr/local/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
../src/include/ctl/ctlSQLBox.h: At global scope:
../src/include/ctl/ctlSQLBox.h:25: error: expected class-name before ‘{’ token
../src/include/ctl/ctlSQLBox.h:52: error: ‘wxStyledTextEvent’ has not been declared
../src/include/frmMain.h:155: error: ‘wxStyledTextEvent’ has not been declared
../src/include/frmMain.h: In member function ‘void frmMain::OnCopy(wxCommandEvent&)’:
../src/include/frmMain.h:149: error: ‘class ctlSQLBox’ has no member named ‘Copy’
/usr/include/libxml2/libxml/xmlerror.h: At global scope:
/usr/include/libxml2/libxml/xmlerror.h:837: error: typedef ‘xmlGenericErrorFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/xmlerror.h:868: error: function ‘void xmlParserError(void*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlerror.h:872: error: function ‘void xmlParserWarning(void*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlerror.h:876: error: function ‘void xmlParserValidityError(void*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlerror.h:880: error: function ‘void xmlParserValidityWarning(void*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/valid.h:44: error: typedef ‘xmlValidityErrorFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/valid.h:59: error: typedef ‘xmlValidityWarningFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:595: error: typedef ‘warningSAXFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:605: error: typedef ‘errorSAXFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:617: error: typedef ‘fatalErrorSAXFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/relaxng.h:30: error: typedef ‘xmlRelaxNGValidityErrorFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/relaxng.h:31: error: typedef ‘xmlRelaxNGValidityWarningFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/xmlschemas.h:90: error: typedef ‘xmlSchemaValidityErrorFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/xmlschemas.h:91: error: typedef ‘xmlSchemaValidityWarningFunc’ is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/xmlwriter.h:73: error: function ‘int xmlTextWriterWriteFormatComment(xmlTextWriter*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:78: error: function ‘int xmlTextWriterWriteVFormatComment(xmlTextWriter*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:108: error: function ‘int xmlTextWriterWriteFormatElement(xmlTextWriter*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:114: error: function ‘int xmlTextWriterWriteVFormatElement(xmlTextWriter*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:126: error: function ‘int xmlTextWriterWriteFormatElementNS(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:134: error: function ‘int xmlTextWriterWriteVFormatElementNS(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:151: error: function ‘int xmlTextWriterWriteFormatRaw(xmlTextWriter*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:155: error: function ‘int xmlTextWriterWriteVFormatRaw(xmlTextWriter*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:166: error: function ‘int xmlTextWriterWriteFormatString(xmlTextWriter*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:172: error: function ‘int xmlTextWriterWriteVFormatString(xmlTextWriter*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:207: error: function ‘int xmlTextWriterWriteFormatAttribute(xmlTextWriter*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:213: error: function ‘int xmlTextWriterWriteVFormatAttribute(xmlTextWriter*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:225: error: function ‘int xmlTextWriterWriteFormatAttributeNS(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:233: error: function ‘int xmlTextWriterWriteVFormatAttributeNS(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:260: error: function ‘int xmlTextWriterWriteFormatPI(xmlTextWriter*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:265: error: function ‘int xmlTextWriterWriteVFormatPI(xmlTextWriter*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:290: error: function ‘int xmlTextWriterWriteFormatCDATA(xmlTextWriter*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:294: error: function ‘int xmlTextWriterWriteVFormatCDATA(xmlTextWriter*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:318: error: function ‘int xmlTextWriterWriteFormatDTD(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:325: error: function ‘int xmlTextWriterWriteVFormatDTD(xmlTextWriter*, const xmlChar*, const xmlChar*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:356: error: function ‘int xmlTextWriterWriteFormatDTDElement(xmlTextWriter*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:362: error: function ‘int xmlTextWriterWriteVFormatDTDElement(xmlTextWriter*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:386: error: function ‘int xmlTextWriterWriteFormatDTDAttlist(xmlTextWriter*, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:392: error: function ‘int xmlTextWriterWriteVFormatDTDAttlist(xmlTextWriter*, const xmlChar*, const char*, char*)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:417: error: function ‘int xmlTextWriterWriteFormatDTDInternalEntity(xmlTextWriter*, int, const xmlChar*, const char*, ...)’ is initialized like a variable
/usr/include/libxml2/libxml/xmlwriter.h:424: error: function ‘int xmlTextWriterWriteVFormatDTDInternalEntity(xmlTextWriter*, int, const xmlChar*, const char*, char*)’ is initialized like a variable
../src/include/frmQuery.h:69: error: ‘wxStyledTextEvent’ has not been declared
../src/include/frmQuery.h:70: error: ‘wxStyledTextEvent’ has not been declared
/usr/local/include/wx-2.8/wx/fs_arc.h: In member function ‘wxArchiveFilenameHashMap_wxImplementation_HashTable::Node** wxArchiveFilenameHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/local/include/wx-2.8/wx/fs_arc.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
./pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’:
./pgAdmin3.cpp:365: error: ‘wxOGLInitialize’ was not declared in this scope
make[2]: *** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/home/bryanw/src/pgadmin3-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bryanw/src/pgadmin3-1.6.0'
make: *** [all] Error 2
----- Original Message ----
From: Dave Page <dpage(at)postgresql(dot)org>
To: Devrim GUNDUZ <devrim(at)CommandPrompt(dot)com>
Cc: Bryan Wilkerson <bryanwilkerson(at)yahoo(dot)com>; pgadmin-support(at)postgresql(dot)org
Sent: Thursday, November 23, 2006 12:23:14 AM
Subject: Re: [pgadmin-support] Can not build pgadmin3-1.6.0
Devrim GUNDUZ wrote:
> Hello,
>
> On Wed, 2006-11-22 at 12:10 -0800, Bryan Wilkerson wrote:
>
>> I'm trying to build & install pgadmin3-1.6.0 on a SuSE Linux
>> Enterprise Desktop 10 distro. The distro does not include wxWidgets
>> so I downloaded and installed wxWidgets 2.8.0 and then noticed the
>> pgadmin3 requirement for wxWidgets 2.6.x so I did a 'make uninstall'
>> on wxWidgets 2.8.0. I didn't see any signs of wxWidgets on the
>> machine. So I then configured, built and installed wxWidgets
>> 2.6.3.
>
> You need to stick to wx 2.7.0+, or better, 2.8.0rc1 (current version)
> pgAdmin requires 2.7.0 and above.
If you use 2.8, you will need to configure pgAdmin with
--with-wx-version=2.8.
Regards, Dave.
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-11-24 19:08:04 | Re: Can not build pgadmin3-1.6.0 |
Previous Message | Ezequias Rodrigues da Rocha | 2006-11-24 14:35:48 | PgAgent [where is it?] |