On Sun, Dec 20, 2009 at 9:10 AM, Quan Zongliang <quanzongliang@gmail.com> wrote:
> hi all
>
> I pushed import 's source code to:
> git://git.postgresql.org/git/users/quan74/pgadmin-import.git
>
> web:
> http://git.postgresql.org/gitweb?p=users/quan74/pgadmin-import.git;a=summary
>
> To suport ODBC, please define preprocessor __WITHODBC3__.
> Under *nix, __WITHIODBC__ or __WITHUNIXODBC is needed.
>
> Archive file: Only zip and tar file is supported.
>
> All of them only tested under WindowsXP.
Not so good on Mac yet :-(
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/pgsql/include -DSSL
-I/usr/local/lib/wx/include/mac-unicode-release-static-2.8
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXMAC__ -O2 -DEMBED_XRC -no-cpp-precomp -arch ppc -arch i386
-I/usr/local//include/libxml2 -I/usr/local/include
-I/usr/local//include/libxml2 -Wall -Wno-non-virtual-dtor
-fno-strict-aliasing -I../pgadmin/include -c -o frmMain.o `test -f
'./frm/frmMain.cpp' || echo './'`./frm/frmMain.cpp
In file included from ./frm/frmMain.cpp:61:
../pgadmin/include/frm/frmImport.h:118: error: ‘wxSpinEvent’ has not
been declared
In file included from ./frm/frmMain.cpp:61:
../pgadmin/include/frm/frmImport.h:118: error: ‘wxSpinEvent’ has not
been declared
lipo: can't figure out the architecture type of:
/var/folders/wn/wnM76L9ZF6agsFkWcNv6pk+++TI/-Tmp-//ccBdhNrR.out
make[2]: *** [frmMain.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Seems like oyu need to add <wx/spinctrl.h> to frmImport.h.
<continuing with build now...>
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com