Re: [pgadmin-hackers] Mac OS X configuration
Andreas Pflug wrote: Didn't 10.3 supply wchar_t (in contrast to 10.2, which lacks it)?!? I believe that it does, but since I don't have 10.3 yet, I can't say for sure. What I can say is that the error we're talking about has to do with the lack of Unicode support compiled into wxWindows on Mac OS X. Perhaps a --with-unicode might solve the problem? ahp ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings
Re: [pgadmin-hackers] Mac OS X configuration
Adam H. Pendleton wrote: 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. Actually, the problem here is the lack of Unicode functions on Mac OS X, not a compiler problem, per se. Didn't 10.3 supply wchar_t (in contrast to 10.2, which lacks it)?!? Regards, Andreas ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings
Re: [pgadmin-hackers] Mac OS X configuration
Andreas Pflug wrote: 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. Actually, the problem here is the lack of Unicode functions on Mac OS X, not a compiler problem, per se. ahp ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [pgadmin-hackers] 7.4 build problem on Linux Vserver
Ack, ignore that! Wrong hackers list... > -Original Message- > From: Dave Page > Sent: 11 December 2003 10:33 > To: [EMAIL PROTECTED] > Subject: [pgadmin-hackers] 7.4 build problem on Linux Vserver > > Hi Guys, > > I get the following build error when attempting to build 7.4 > in a Linux Vserver (like a FreeBSD jail) built on Slackware > 9.1 with the 2.4.22 > kernel: > > make -C doc all > make[1]: Entering directory `/usr/local/src/postgresql-7.4/doc' > gzip -d -c man.tar.gz | /bin/tar xf - > for file in man1/*.1; do \ > mv $file $file.bak && \ > sed -e 's/\\fR(l)/\\fR(7)/' $file.bak >$file && \ > rm -f $file.bak || exit; \ > done > /bin/sh ../config/mkinstalldirs man7 > mkdir man7 > for file in manl/*.l; do \ > sed -e '/^\.TH/s/"l"/"7"/' \ > -e 's/\\fR(l)/\\fR(7)/' \ > $file >man7/`basename $file | sed 's/.l$/.7/'` || exit; \ done > make[1]: Leaving directory `/usr/local/src/postgresql-7.4/doc' > make -C src all > make[1]: Entering directory `/usr/local/src/postgresql-7.4/src' > make -C port all > make[2]: Entering directory `/usr/local/src/postgresql-7.4/src/port' > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes > -Wmissing-declarations prod -I../../src/include -D_GNU_SOURCE > -I/usr/include -c -o path.o path.c > gcc: cannot specify -o with -c or -S and multiple compilations > make[2]: *** [path.o] Error 1 > make[2]: Leaving directory `/usr/local/src/postgresql-7.4/src/port' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/postgresql-7.4/src' > make: *** [all] Error 2 > > [EMAIL PROTECTED]:/usr/local/src/postgresql-7.4# uname -a Linux > developer.pgadmin.org 2.4.22-vs1.20 #14 SMP Wed Dec 10 > 19:49:23 GMT 2003 i686 unknown unknown GNU/Linux > > [EMAIL PROTECTED]:/usr/local/src/postgresql-7.4# gcc --version > gcc (GCC) 3.2.3 Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or > FITNESS FOR A PARTICULAR PURPOSE. > > Configured with: ./configure --with-openssl=/usr > > Any ideas what may be causing this? > > Thanks, Dave. > > ---(end of > broadcast)--- > TIP 8: explain analyze is your friend > ---(end of broadcast)--- TIP 8: explain analyze is your friend
[pgadmin-hackers] 7.4 build problem on Linux Vserver
Hi Guys, I get the following build error when attempting to build 7.4 in a Linux Vserver (like a FreeBSD jail) built on Slackware 9.1 with the 2.4.22 kernel: make -C doc all make[1]: Entering directory `/usr/local/src/postgresql-7.4/doc' gzip -d -c man.tar.gz | /bin/tar xf - for file in man1/*.1; do \ mv $file $file.bak && \ sed -e 's/\\fR(l)/\\fR(7)/' $file.bak >$file && \ rm -f $file.bak || exit; \ done /bin/sh ../config/mkinstalldirs man7 mkdir man7 for file in manl/*.l; do \ sed -e '/^\.TH/s/"l"/"7"/' \ -e 's/\\fR(l)/\\fR(7)/' \ $file >man7/`basename $file | sed 's/.l$/.7/'` || exit; \ done make[1]: Leaving directory `/usr/local/src/postgresql-7.4/doc' make -C src all make[1]: Entering directory `/usr/local/src/postgresql-7.4/src' make -C port all make[2]: Entering directory `/usr/local/src/postgresql-7.4/src/port' gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations prod -I../../src/include -D_GNU_SOURCE -I/usr/include -c -o path.o path.c gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [path.o] Error 1 make[2]: Leaving directory `/usr/local/src/postgresql-7.4/src/port' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/postgresql-7.4/src' make: *** [all] Error 2 [EMAIL PROTECTED]:/usr/local/src/postgresql-7.4# uname -a Linux developer.pgadmin.org 2.4.22-vs1.20 #14 SMP Wed Dec 10 19:49:23 GMT 2003 i686 unknown unknown GNU/Linux [EMAIL PROTECTED]:/usr/local/src/postgresql-7.4# gcc --version gcc (GCC) 3.2.3 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Configured with: ./configure --with-openssl=/usr Any ideas what may be causing this? Thanks, Dave. ---(end of broadcast)--- TIP 8: explain analyze is your friend
Re: [pgadmin-hackers] Mac OS X configuration
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 ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
Re: [pgadmin-hackers] Mac OS X configuration
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 8mob. +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 ") 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 [EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]