Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 13:07:28 -0800
From:      Milo Hyson <milo@cyberlifelabs.com>
To:        FreeBSD Ports Mailing List <freebsd-ports@freebsd.org>
Subject:   pgAdmin3 fails to build -- missing wxWindows include file
Message-ID:  <400D9890.2090007@cyberlifelabs.com>

next in thread | raw e-mail | index | archive | help
I'm unable to install pgAdmin3 from ports. It dies during the 
compilation phase with a complaint that wx/chkconf.h does not exist. I 
did a bit of digging and it appears that include file is supposed to be 
installed with wxWindows, but it doesn't seem to have been. wxWindows 
was also installed from ports as one of pgAdmin3's dependent packages. 
Below is the dump of the failure:

===>  Building for pgadmin3-1.0.1_1
make  all-recursive
Making all in src
source='pgAdmin3.cpp' object='pgAdmin3.o' libtool=no  
depfile='.deps/pgAdmin3.Po ' tmpdepfile='.deps/pgAdmin3.TPo'  
depmode=gcc /bin/sh ../config/depcomp  c++ -D HAVE_CONFIG_H -I. -I. 
-I..   -DDATA_DIR=\"/usr/local/share/pgadmin3/\" -Wall -g 
-I../src/include -I -DSSL -I/usr/local/pgsql/include 
-I/usr/X11R6/include/wx/gtk 2-2.4 -I/usr/X11R6/include 
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS= 64 -D_LARGE_FILES 
-I/usr/X11R6/include -D_THREAD_SAFE -DDATA_DIR=\"/usr/local/sh 
are/pgadmin3/\" -Wall -g -I../src/include -I -O2 -pipe -march=k6 -c -o 
pgAdmin3. o `test -f 'pgAdmin3.cpp' || echo './'`pgAdmin3.cpp
In file included from /usr/X11R6/include/wx/defs.h:224,
                 from /usr/X11R6/include/wx/wx.h:15,
                 from pgAdmin3.cpp:14:
/usr/X11R6/include/wx/gtk2-2.4/wx/setup.h:1144: wx/chkconf.h: No such 
file or di rectory
In file included from pgAdmin3.cpp:18:
/usr/X11R6/include/wx/xrc/xmlres.h:27: wx/artprov.h: No such file or 
directory
In file included from ../src/include/frmMain.h:23,
                 from pgAdmin3.cpp:36:
../src/include/ctlSQLBox.h:17: wx/fdrepdlg.h: No such file or directory
In file included from pgAdmin3.cpp:18:
/usr/X11R6/include/wx/xrc/xmlres.h:416: syntax error before `&'
/usr/X11R6/include/wx/xrc/xmlres.h:421: syntax error before `&'
In file included from pgAdmin3.cpp:33:
../src/include/misc.h:56: syntax error before `('
In file included from ../src/include/ctlSQLBox.h:16,
                 from ../src/include/frmMain.h:23,
                 from pgAdmin3.cpp:36:
/usr/X11R6/include/wx/stc/stc.h:1180: syntax error before `&'
/usr/X11R6/include/wx/stc/stc.h:1221: syntax error before `('
/usr/X11R6/include/wx/stc/stc.h:2309: `wxContextMenuEvent' was not 
declared in t his scope
/usr/X11R6/include/wx/stc/stc.h:2309: `evt' was not declared in this scope
/usr/X11R6/include/wx/stc/stc.h:2309: variable or field `OnContextMenu' 
declared  void
In file included from ../src/include/frmMain.h:23,
                 from pgAdmin3.cpp:36:
../src/include/ctlSQLBox.h:30: syntax error before `;'
../src/include/ctlSQLBox.h:35: `wxFindDialogEvent' was not declared in 
this scop e
../src/include/ctlSQLBox.h:35: `event' was not declared in this scope
../src/include/ctlSQLBox.h:35: variable or field `OnFindDialog' declared 
void
In file included from ../src/include/pgConn.h:22,
                 from ../src/include/pgServer.h:19,
                 from ../src/include/frmMain.h:24,
                 from pgAdmin3.cpp:36:
../src/include/pgSet.h:77: syntax error before `('
pgAdmin3.cpp: In method `bool pgAdmin3::OnInit()':
pgAdmin3.cpp:135: syntax error before `*'
pgAdmin3.cpp:157: `langInfo' undeclared (first use this function)
pgAdmin3.cpp:157: (Each undeclared identifier is reported only once
pgAdmin3.cpp:157: for each function it appears in.)
pgAdmin3.cpp:157: no method `wxLocale::GetLanguageInfo'
pgAdmin3.cpp:175: syntax error before `='
pgAdmin3.cpp:177: `langId' undeclared (first use this function)
pgAdmin3.cpp:177: `wxLANGUAGE_UNKNOWN' undeclared (first use this function)
pgAdmin3.cpp:179: `wxLANGUAGE_DEFAULT' undeclared (first use this function)
pgAdmin3.cpp:195: no method `wxLocale::GetLanguageInfo'
pgAdmin3.cpp:204: `wxLanguage' undeclared (first use this function)
pgAdmin3.cpp:204: syntax error before `::'
pgAdmin3.cpp:233: no matching function for call to `frmSplash::Update ()'
pgAdmin3.cpp:286: no method `wxDir::GetAllFiles'
pgAdmin3.cpp:333: confused by earlier errors, bailing out
*** Error code 1
 
Stop in /usr/ports/databases/pgadmin3/work/pgadmin3-1.0.1/src.
*** Error code 1
 
Stop in /usr/ports/databases/pgadmin3/work/pgadmin3-1.0.1.
*** Error code 1
 
Stop in /usr/ports/databases/pgadmin3/work/pgadmin3-1.0.1.
*** Error code 1
 
Stop in /usr/ports/databases/pgadmin3.

-- 
Milo Hyson
Chief "Mad" Scientist
CyberLife Labs, LLC




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?400D9890.2090007>