Re: Mac OS X configuration - Mailing list pgadmin-hackers

From Jyrki Wahlstedt
Subject Re: Mac OS X configuration
Date
Msg-id 00A465E6-2BBF-11D8-83D2-000393074210@hut.fi
Whole thread Raw
In response to Re: Mac OS X configuration  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
Responses Re: Mac OS X configuration
List pgadmin-hackers
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

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?)
!
! Jyrki Wahlstedt
! Viialankatu 15 as 8        mob. +358-40-502 0164
! FI-32700 Huittinen
!
! Our life is no dream; but it ought to become one and perhaps will.

On 10.12.2003, at 18:34, Adam H. Pendleton wrote:

> Jyrki Wahlstedt wrote:
>
>> I recently downloaded pgadmin3 sources (from CVS) and bootstrapped
>> and started to configure it (./configure --enable-static
>> --enable-debug). It however stopped while checking pgsql. I checked
>> the configure script and noticed that in LIBS "-lcrypt" is specified.
>> This is wrong in OS X, as the needed functions exist in the system
>> (just "#include <unistd.h>") and no libcrypt exists!
>> Compiling stopped with some error, have to see what that is…
>
> Have you looked at the wxMac wiki:
>
> http://wiki.wxwindows.org/wiki.pl?Installing_WxMac
>
> ahp
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
>


pgadmin-hackers by date:

Previous
From: Leon Out
Date:
Subject: Re: Building wxWindows on MacOS X
Next
From: Andreas Pflug
Date:
Subject: Re: Mac OS X configuration