Re: Mac OS X configuration

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Jyrki Wahlstedt <jyrki(dot)wahlstedt(at)hut(dot)fi>
Cc: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Mac OS X configuration
Date: 2003-12-11 10:13:35
Message-ID: 3FD8434F.1010704@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Jyrki Wahlstedt wrote:

> Hi,
> wxwindows (20031010-7) builds all right, pgadmin is yet the problem.
> On Mac OS X (with 10.3.1 and gcc 3.3) the compilation stops with:
> utils/utffile.cpp: In member function `off_t
> wxUtfFile::Read(wxString&, long
> long int)':
> utils/utffile.cpp:86: error: no matching function for call to
> `wxMBConv::MB2WC(
> wxStringBuffer, char*&, long unsigned int)'
> /usr/local/include/wx/strconv.h:46: error: candidates are: virtual size_t
> wxMBConv::MB2WC(wchar_t*, const char*, long unsigned int) const
> make[2]: *** [utffile.o] Error 1

That's a compiler problem; it suspected already the right method, but
failed to apply the wxChar* cast operator of wxStringBuffer. Try to
cast explicitely to (wxChar*), this probably helps.

>
> On FreeBSD I made a successful build by
> 1) downloading the source from CVS
> 2) bootstrapping it
> 3) making distclean
> 4) configuring it
> 5) making it
> I suspect 1&2 are not totally necessary, but earlier, when I didn't
> make distclean, I got tons of undefined references to wx objects,
> because in configure the libraries were not picked up for some reason.
> Now, after the basic 'make install' pgadmin does not work too well,
> but I am now happy after 'ln -s $(builddir)/src/pgadmin3
> /usr/local/bin/pgadmin3' (it seems to require some resources from the
> ui directory, the location of which should be what? Perhaps relative
> to the executable?)

make install should fix this for you.

Regards,
Andreas

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-12-11 10:33:10 7.4 build problem on Linux Vserver
Previous Message Jyrki Wahlstedt 2003-12-11 09:47:15 Re: Mac OS X configuration