[pgadmin-hackers] problem with build on Solaris

2006-10-26 Thread Zdenek Kotala
I'm trying compile (gcc/g++ 3.4.3) pgadminIII 1.6 beta3 on Solaris 
Nevada with wx1.7.1 and I received following error:


./base/factory.cpp: In member function `int pgaFactory::addIcon(char**)':
./base/factory.cpp:120: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: error: forward 
declaration of `struct wxImageList'
./base/factory.cpp: In static member function `static void 
pgaFactory::RealizeImages()':
./base/factory.cpp:128: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: error: forward 
declaration of `struct wxImageList'
./base/factory.cpp:131: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: error: forward 
declaration of `struct wxImageList'

gmake[2]: *** [factory.o] Error 1


Any idea what is wrong? Is it problem with wx1.7.1?

Thanks Zdenek

---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [pgadmin-hackers] problem with build on Solaris

2006-10-26 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Zdenek Kotala
 Sent: 26 October 2006 07:31
 To: pgadmin-hackers@postgresql.org
 Subject: [pgadmin-hackers] problem with build on Solaris
 
 I'm trying compile (gcc/g++ 3.4.3) pgadminIII 1.6 beta3 on Solaris 
 Nevada with wx1.7.1 and I received following error:
 
 ./base/factory.cpp: In member function `int 
 pgaFactory::addIcon(char**)':
 ./base/factory.cpp:120: error: invalid use of undefined type `struct 
 wxImageList'
 /tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
 error: forward 
 declaration of `struct wxImageList'
 ./base/factory.cpp: In static member function `static void 
 pgaFactory::RealizeImages()':
 ./base/factory.cpp:128: error: invalid use of undefined type `struct 
 wxImageList'
 /tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
 error: forward 
 declaration of `struct wxImageList'
 ./base/factory.cpp:131: error: invalid use of undefined type `struct 
 wxImageList'
 /tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
 error: forward 
 declaration of `struct wxImageList'
 gmake[2]: *** [factory.o] Error 1
 
 
 Any idea what is wrong? Is it problem with wx1.7.1?

Yes - I spotted that yesterday. I've just committed the fix to SVN.

You might find other problems with wx2.7.1 anyway - I've only found it
to work well on Windows - Linux was unstable and Mac wouldn't compile.
2.7.0 should be OK though.

Regards, Dave.

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [pgadmin-hackers] problem with build on Solaris

2006-10-26 Thread Zdenek Kotala

Dave Page napsal(a):
 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Zdenek Kotala

Sent: 26 October 2006 07:31
To: pgadmin-hackers@postgresql.org
Subject: [pgadmin-hackers] problem with build on Solaris

I'm trying compile (gcc/g++ 3.4.3) pgadminIII 1.6 beta3 on Solaris 
Nevada with wx1.7.1 and I received following error:


./base/factory.cpp: In member function `int 
pgaFactory::addIcon(char**)':
./base/factory.cpp:120: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
error: forward 
declaration of `struct wxImageList'
./base/factory.cpp: In static member function `static void 
pgaFactory::RealizeImages()':
./base/factory.cpp:128: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
error: forward 
declaration of `struct wxImageList'
./base/factory.cpp:131: error: invalid use of undefined type `struct 
wxImageList'
/tmp/hlipa/wx17/include/wx-2.7/wx/generic/listctrl.h:16: 
error: forward 
declaration of `struct wxImageList'

gmake[2]: *** [factory.o] Error 1


Any idea what is wrong? Is it problem with wx1.7.1?


Yes - I spotted that yesterday. I've just committed the fix to SVN.


OK, Thanks.


You might find other problems with wx2.7.1 anyway - I've only found it
to work well on Windows - Linux was unstable and Mac wouldn't compile.
2.7.0 should be OK though.


I have problem with WX contrib compilation as well 
(animate.h/animate.cpp), but it looks that it is not necessary for pgAdmin.


Zdenek

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] problem with build on Solaris

2006-10-26 Thread Dave Page
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: 26 October 2006 09:22
 To: Dave Page
 Cc: pgadmin-hackers@postgresql.org
 Subject: Re: [pgadmin-hackers] problem with build on Solaris
 
  You might find other problems with wx2.7.1 anyway - I've 
 only found it
  to work well on Windows - Linux was unstable and Mac 
 wouldn't compile.
  2.7.0 should be OK though.
 
 I have problem with WX contrib compilation as well 
 (animate.h/animate.cpp), but it looks that it is not 
 necessary for pgAdmin.

No - we only use STC and OGL at the moment. It's just easier to tell
people to build and install all of /contrib.

Regards, Dave.

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings