Re: Mac OS X configuration
От | Andreas Pflug |
---|---|
Тема | Re: Mac OS X configuration |
Дата | |
Msg-id | 3FD8434F.1010704@pse-consulting.de обсуждение исходный текст |
Ответ на | Re: Mac OS X configuration (Jyrki Wahlstedt <jyrki.wahlstedt@hut.fi>) |
Ответы |
Re: Mac OS X configuration
|
Список | 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
В списке pgadmin-hackers по дате отправления: