Re: problem with build on Solaris

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: problem with build on Solaris
Date: 2006-10-26 08:22:07
Message-ID: 4540702F.2060104@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page napsal(a):
>
>
>> -----Original Message-----
>> From: pgadmin-hackers-owner(at)postgresql(dot)org
>> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
>> Zdenek Kotala
>> Sent: 26 October 2006 07:31
>> To: pgadmin-hackers(at)postgresql(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2006-10-26 08:25:53 Re: problem with build on Solaris
Previous Message svn 2006-10-26 08:21:48 SVN Commit by dpage: r5543 - trunk/pgadmin3