Re: Building pgAdmin3 with MinGW - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Building pgAdmin3 with MinGW
Date
Msg-id 3EFF36C2.8010308@web.de
Whole thread Raw
List pgadmin-hackers
Hallo Darko,


>Darko Prenosil wrote:
>
>
>I tried to compile pgAdmin3 from current CVS with MinGW and here are
>results:
>
>AUTOCONF&CONFIGURE:
>pgAdmin requires autoconf-2.57, unfortunately with MSYSdtk comes 2.56, so
>the only way I could think of was building autoconf from sources.
>Problem was that "make distclean" must be done before configure
>(that is if You don't want default --prefix=/usr/local).
>After that autoconf and configure part passes without problems.
>
Yes, 2.57 is required at the moment, can't say much more about it.

>I suggest :
> #ifdef __WXMSW__
>     void OnContextMenu(wxContextMenuEvent& event)
>         { wxPoint pt=ScreenToClient(event.GetPosition());
>ExecRightClick(pt); }
> #else
>     void OnRightUp(wxMouseEvent& event)
>         { wxPoint pt=event.GetPosition(); ExecRightClick(pt); }
> #endif
>
>Same thing for frmQueryBuilder.h
>
>
Done as you proposed.

>LINKING:
>I have whole bunch of undefined references(all to libwx).
>I guess something is wrong with my wxWindows installation or
>wx-config. I think this has nothing to do with pgAdmin Makefiles.
>Hope I'll soon figure out what is wrong !
>
Check whether all three wx libs are linked (LIBS in makefile), could be
a autoconf/configure problem.

>P.S. I hope You don't have nothing against posting to Your address.
>I'm not a member of a list and My mails get stucked on input filters.
>
>
Actually, I'd prefer if you'd use the list at least CC(maybe with the
digest-option to reduce traffic), for three reasons:
1. My mail management will not handle private messages. There are about
200 messages/day for pgsql and pgadmin at the moment, you may guess that
I could spend hours every day reading mails, so I'm quite happy if these
arrive sorted.
2. Mails will be archived for later reference.
3. Other people might help better than me. In the case of autoconf, I
can't really say anything, Adam is in charge of this.

Regards,
Andreas



pgadmin-hackers by date:

Previous
From: Weiping He
Date:
Subject: zh_CN NLS support
Next
From: "Dave Page"
Date:
Subject: Re: First Polish translation