Thread: pgadmin3+Fedora Core 2 status report
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've successfully compiled latest wx snapshot on FC2. At last! :) Anyway, pgadmin3 failed to compile: ====================================================================== if g++ -DHAVE_CONFIG_H -I. -I. -I.. - -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g - -I../src/include -I../src/agent/include -I/usr/include -DSSL - -I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__ - -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include - -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g - -I../src/include -I../src/agent/include -g -O2 -MT frmQuery.o -MD -MP -MF ".deps/frmQuery.Tpo" \ -c -o frmQuery.o `test -f 'ui/frmQuery.cpp' || echo './'`ui/frmQuery.cpp; \ then mv -f ".deps/frmQuery.Tpo" ".deps/frmQuery.Po"; \ else rm -f ".deps/frmQuery.Tpo"; exit 1; \ fi ui/frmQuery.cpp: In member function `void frmQuery::execQuery(const wxString&, int, bool, int, bool)': ui/frmQuery.cpp:988: error: `wxMilliSleep' undeclared (first use this function) ui/frmQuery.cpp:988: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [frmQuery.o] Error 1 make[2]: Leaving directory `/root/system/pgadmin3/pgadmin3/SOURCES/pgadmin3-1.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/system/pgadmin3/pgadmin3/SOURCES/pgadmin3-1.1.0' make: *** [all] Error 2 ====================================================================== Any comments? Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPbgPtl86P3SPfQ4RAr6QAJ0cMnO/J/P0neszAyTEbB6jT9adWwCg0/+1 3LTahyvNCrWN1tr/C27gTNA= =DaEZ -----END PGP SIGNATURE-----
Devrim GUNDUZ wrote: > -----BEGIN PGP SIGNED MESSAGE----- > else rm -f ".deps/frmQuery.Tpo"; exit 1; \ > fi > ui/frmQuery.cpp: In member function `void frmQuery::execQuery(const > wxString&, > int, bool, int, bool)': > ui/frmQuery.cpp:988: error: `wxMilliSleep' undeclared (first use this > function) You have a wx header problem, you're using old versions. Dave just fixed the path for it. Regards, Andreas
> -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of > Devrim GUNDUZ > Sent: 07 September 2004 14:31 > To: pgadmin-hackers@postgresql.org > Subject: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > I've successfully compiled latest wx snapshot on FC2. At last! :) :-) > Anyway, pgadmin3 failed to compile: Did you 'cvs update' and 'make clean'? I don't see that error on developer.pgadmin.org using the same wx snapshot. Regards, Dave
Hi, On Tue, 7 Sep 2004, Andreas Pflug wrote: >> wxString&, >> int, bool, int, bool)': >> ui/frmQuery.cpp:988: error: `wxMilliSleep' undeclared (first use this >> function) > > You have a wx header problem, you're using old versions. Dave just fixed the > path for it. :( You are right. My desktop system is like a mixed soup! Ok, trying it again. Removed wxGTK packages, modified ld.so.conf and rebuilding... -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Tue, 7 Sep 2004, Dave Page wrote: >> Anyway, pgadmin3 failed to compile: > > Did you 'cvs update' and 'make clean'? I don't see that error on > developer.pgadmin.org using the same wx snapshot. I've downloaded the latest snap. Ok, now checking out CVS. Will report the latest status in 1 hour. Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPb4btl86P3SPfQ4RAmZDAKDg6L7qsSUqkkZ0vmp2/rymNGRGKACgg1Zf d/NklZbQzLfEed2meAK9Y3U= =C60z -----END PGP SIGNATURE-----
> -----Original Message----- > From: Devrim GUNDUZ [mailto:devrim@gunduz.org] > Sent: 07 September 2004 14:57 > To: Dave Page > Cc: pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > On Tue, 7 Sep 2004, Dave Page wrote: > > >> Anyway, pgadmin3 failed to compile: > > > > Did you 'cvs update' and 'make clean'? I don't see that error on > > developer.pgadmin.org using the same wx snapshot. > > I've downloaded the latest snap. Ok, now checking out CVS. > Will report the latest status in 1 hour. It might be worth clearing out /usr/local/[lib|include] of wx stuff and re-running make install for wx, stc and xrc. They moved the headers to a new dir as I found this morning. /D
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Tue, 7 Sep 2004, Dave Page wrote: > Did you 'cvs update' and 'make clean'? I don't see that error on > developer.pgadmin.org using the same wx snapshot. I've made a fresh co and ran configure with the following paramaters: ./configure --with-wx-config=/usr/local/bin/wx-config --enable-static - --with-pgsql=/usr But I get: checking pgsql in /usr... ok checking for wxWindows... yes configure: error: Could not find /usr/local/bin/wx-conf Am I too stupid? :( What am I missing here? Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPcaMtl86P3SPfQ4RAs7KAJ0TCX73tXZv3TWuTo52wMow3klnlwCgsuYQ IOIHK8O2hJluFYLC0GngXys= =f73p -----END PGP SIGNATURE-----
> -----Original Message----- > From: Devrim GUNDUZ [mailto:devrim@gunduz.org] > Sent: 07 September 2004 15:33 > To: Dave Page > Cc: pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > On Tue, 7 Sep 2004, Dave Page wrote: > > > Did you 'cvs update' and 'make clean'? I don't see that error on > > developer.pgadmin.org using the same wx snapshot. > > I've made a fresh co and ran configure with the following paramaters: > > ./configure --with-wx-config=/usr/local/bin/wx-config --enable-static > - --with-pgsql=/usr > > But I get: > > checking pgsql in /usr... ok > checking for wxWindows... yes > configure: error: Could not find /usr/local/bin/wx-conf > > Am I too stupid? :( What am I missing here? Dunno - I have: root@developer:/usr/local/bin# ls -al total 11620 drwxr-xr-x 2 root bin 4096 Sep 7 08:52 ./ drwxr-xr-x 14 root root 4096 Dec 12 2003 ../ lrwxrwxrwx 1 root root 15 Aug 12 13:01 msgfmt -> /usr/bin/msgfmt* -rwxr-xr-x 1 root root 666 Dec 12 2003 pear* -rwxr-xr-x 1 root root 6987772 Dec 12 2003 php* -rwxr-xr-x 1 root root 701 Dec 12 2003 php-config* -rwxr-xr-x 1 root root 593 Dec 12 2003 phpextdist* -rwxr-xr-x 1 root root 2123 Dec 12 2003 phpize* -rwxr-xr-x 1 root root 1263371 May 6 13:04 rsync* ---s--x--x 1 root root 81980 Feb 9 2004 sudo* lrwxrwxrwx 1 root root 13 Sep 7 08:50 wx-config -> wx-config-2.5* -rwxr-xr-x 1 root root 4558 Sep 7 08:50 wx-config-2.5* lrwxrwxrwx 1 root root 9 Sep 7 08:50 wxgtk2ud-2.5-config -> wx-config* -rwxr-xr-x 1 root root 3498033 Sep 7 08:52 wxrc* What have you got in /usr/local/bin? Regards, Dave.
Hi, On Tue, 7 Sep 2004, Dave Page wrote: <snip> > What have you got in /usr/local/bin? [devrim@devrim devrim]$ ls -al /usr/local/bin/ total 9692 drwxr-xr-x 2 root root 4096 Sep 7 17:32 . drwxr-xr-x 18 root root 4096 Aug 16 14:26 .. lrwxrwxrwx 1 root root 7 Jul 12 16:01 gmplayer -> mplayer -rwxr-xr-x 1 root root 4591348 Jul 12 16:01 mencoder -rwxr-xr-x 1 root root 5191020 Jul 12 16:01 mplayer -rwxr-xr-x 1 root root 50096 Jul 19 12:50 sabcmd -rwxr-xr-x 1 root root 952 Jul 19 12:50 sablot-config -rwxr-xr-x 1 root root 15520 Jul 23 16:29 sim -rwxr-xr-x 1 root root 19797 Jul 23 16:43 simctrl lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> wx-config-2.5 -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> wx-config Regards, -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org
----Message d'origine---- >Date: Tue, 7 Sep 2004 17:53:27 +0300 (EEST) >De: Devrim GUNDUZ <devrim@gunduz.org> >A: Dave Page <dpage@vale-housing.co.uk> >Copie à: pgadmin-hackers@postgresql.org >Sujet: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > >On Tue, 7 Sep 2004, Dave Page wrote: > ><snip> >> What have you got in /usr/local/bin? > >[devrim@devrim devrim]$ ls -al /usr/local/bin/ >total 9692 >drwxr-xr-x 2 root root 4096 Sep 7 17:32 . >drwxr-xr-x 18 root root 4096 Aug 16 14:26 .. >lrwxrwxrwx 1 root root 7 Jul 12 16:01 gmplayer -> mplayer >-rwxr-xr-x 1 root root 4591348 Jul 12 16:01 mencoder >-rwxr-xr-x 1 root root 5191020 Jul 12 16:01 mplayer >-rwxr-xr-x 1 root root 50096 Jul 19 12:50 sabcmd >-rwxr-xr-x 1 root root 952 Jul 19 12:50 sablot-config >-rwxr-xr-x 1 root root 15520 Jul 23 16:29 sim >-rwxr-xr-x 1 root root 19797 Jul 23 16:43 simctrl >lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> wx-config-2.5 >-rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 >lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> >wx-config Just another thing, (nothing to do with your current failure) shouldn't it be wxgtk2ud-2.5-config instead of wxgtk2-2.5-config ? To me, you forgot to enable unicode in you wxWidget build. Regards, Raphaël
> -----Original Message----- > From: Devrim GUNDUZ [mailto:devrim@gunduz.org] > Sent: 07 September 2004 15:53 > To: Dave Page > Cc: pgadmin-hackers@postgresql.org > Subject: RE: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > > lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> > wx-config-2.5 > -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 > lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> > wx-config Hmm, well it's obviously there. Does it work if you try to run it? Is there any reason you can see why it might not be found (or be accessible) when you are compiling pgAdmin? Regards, Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Tue, 7 Sep 2004, Dave Page wrote: >> lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> >> wx-config-2.5 >> -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 >> lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> >> wx-config > > Hmm, well it's obviously there. Does it work if you try to run it? Is > there any reason you can see why it might not be found (or be > accessible) when you are compiling pgAdmin? Yep, it works: [devrim@devrim devrim]$ /usr/local/bin/wx-config [devrim@devrim devrim]$ I don't know why it is not found, It has the right permissions, but still not accessible. Anyone on this list running FC2? Could you please try? Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPd4Dtl86P3SPfQ4RAloAAJsHJgvjFzFTOkdu+3ifAmbu+XqR/gCePgg9 rVSj0kBdF0MfnNMxXgZSjDQ= =AGon -----END PGP SIGNATURE-----
Hi, same problem in my FC2 box. Diego. El mar, 07-09-2004 a las 13:12, Devrim GUNDUZ escribió: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > On Tue, 7 Sep 2004, Dave Page wrote: > > >> lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> > >> wx-config-2.5 > >> -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 > >> lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> > >> wx-config > > > > Hmm, well it's obviously there. Does it work if you try to run it? Is > > there any reason you can see why it might not be found (or be > > accessible) when you are compiling pgAdmin? > > Yep, it works: > > [devrim@devrim devrim]$ /usr/local/bin/wx-config > [devrim@devrim devrim]$ > > I don't know why it is not found, It has the right permissions, but still > not accessible. > > Anyone on this list running FC2? Could you please try? > > Regards, > - -- > Devrim GUNDUZ > devrim~gunduz.org devrim.gunduz~linux.org.tr > http://www.tdmsoft.com > http://www.gunduz.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQFBPd4Dtl86P3SPfQ4RAloAAJsHJgvjFzFTOkdu+3ifAmbu+XqR/gCePgg9 > rVSj0kBdF0MfnNMxXgZSjDQ= > =AGon > -----END PGP SIGNATURE----- > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > >
Devrim GUNDUZ wrote: > > Hi, > > On Tue, 7 Sep 2004, Dave Page wrote: > >>>> lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> >>>> wx-config-2.5 >>>> -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 >>>> lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> >>>> wx-config >>> >>> >>> Hmm, well it's obviously there. Does it work if you try to run it? Is >>> there any reason you can see why it might not be found (or be >>> accessible) when you are compiling pgAdmin? > > > Yep, it works: > [devrim@devrim devrim]$ /usr/local/bin/wx-config > [devrim@devrim devrim]$ > I don't know why it is not found, It has the right permissions, but still > not accessible. > > Anyone on this list running FC2? Could you please try? what gives the config.log ?
Here is my config.log. Diego. El mar, 07-09-2004 a las 14:16, Raphaël Enrici escribió: > Devrim GUNDUZ wrote: > > > > Hi, > > > > On Tue, 7 Sep 2004, Dave Page wrote: > > > >>>> lrwxrwxrwx 1 root root 13 Sep 7 17:32 wx-config -> > >>>> wx-config-2.5 > >>>> -rwxr-xr-x 1 root root 4564 Sep 7 17:32 wx-config-2.5 > >>>> lrwxrwxrwx 1 root root 9 Sep 7 17:32 wxgtk2-2.5-config -> > >>>> wx-config > >>> > >>> > >>> Hmm, well it's obviously there. Does it work if you try to run it? Is > >>> there any reason you can see why it might not be found (or be > >>> accessible) when you are compiling pgAdmin? > > > > > > Yep, it works: > > [devrim@devrim devrim]$ /usr/local/bin/wx-config > > [devrim@devrim devrim]$ > > I don't know why it is not found, It has the right permissions, but still > > not accessible. > > > > Anyone on this list running FC2? Could you please try? > > what gives the config.log ? > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >
Attachment
Diego A. Gil wrote: > Here is my config.log. > > Diego. > > El mar, 07-09-2004 a las 14:16, Raphaël Enrici escribió: > It was created by pgadmin3 configure 1.1.0, which was > generated by GNU Autoconf 2.57. Invocation command line was > > $ ./configure --enable-static --enable-debug --with-wx-config=/usr/local/bin/wx-config-2.5 > > configure:4918: checking for wxWindows > configure:4935: result: yes > configure:4961: error: Could not find /usr/local/bin/wx-config-2.5 > Can you retry with the following configure line and tell us if it works better ? ./configure --enable-static --enable-debug --with-wx=/usr/local --with-wx-config=wx-config-2.5 Regards, Raphaël
Raphaël Enrici wrote: > Diego A. Gil wrote: > >> Here is my config.log. >> >> Diego. >> >> El mar, 07-09-2004 a las 14:16, Raphaël Enrici escribió: >> It was created by pgadmin3 configure 1.1.0, which was >> generated by GNU Autoconf 2.57. Invocation command line was >> >> $ ./configure --enable-static --enable-debug >> --with-wx-config=/usr/local/bin/wx-config-2.5 >> >> configure:4918: checking for wxWindows >> configure:4935: result: yes >> configure:4961: error: Could not find /usr/local/bin/wx-config-2.5 >> > > Can you retry with the following configure line and tell us if it works > better ? > ../configure --enable-static --enable-debug --with-wx=/usr/local > --with-wx-config=wx-config-2.5 Please also make sure that wx-config-2.5 is a real file and not a symlink... For the rest of the build you should also make sure you enabled unicode (which is not the case of Devrim if I believe the filenames I saw in his previous mail). Regards, Raphaël
> -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of > Diego A. Gil > Sent: 07 September 2004 19:32 > To: PgAdmin Hackers > Subject: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > Here is my config.log. > Thanks Diego - I notice this is running in /bin/sh. Can you try /bin/bash (I assume FC2 has bash)? Cheers, Dave.
Raphaël Enrici wrote: > Raphaël Enrici wrote: > >> Diego A. Gil wrote: >> >>> Here is my config.log. >>> >>> Diego. >>> >>> El mar, 07-09-2004 a las 14:16, Raphaël Enrici escribió: >>> It was created by pgadmin3 configure 1.1.0, which was >>> generated by GNU Autoconf 2.57. Invocation command line was >>> >>> $ ./configure --enable-static --enable-debug >>> --with-wx-config=/usr/local/bin/wx-config-2.5 >>> >>> configure:4918: checking for wxWindows >>> configure:4935: result: yes >>> configure:4961: error: Could not find /usr/local/bin/wx-config-2.5 >>> >> >> Can you retry with the following configure line and tell us if it >> works better ? >> ../configure --enable-static --enable-debug --with-wx=/usr/local >> --with-wx-config=wx-config-2.5 > > > Please also make sure that wx-config-2.5 is a real file and not a > symlink... > For the rest of the build you should also make sure you enabled unicode > (which is not the case of Devrim if I believe the filenames I saw in his > previous mail). bad news for debian too. For all my debian builds I use a wxWid package I made which installs files in /usr (not /usr/local) and I must say that since this new snapshot, everything is broken. pgAdmin3 configure script is currently unable to detect my configuration correctly. I may try a more simple way of building the stuff by installing wxWidgets files in a separate place but I think it won't help us when one day Ron will have a package uploaded to experimental with all its stuf in /usr. So, unless I'm totally tired (and I must say, I am... ;p) it seems we have quite some stuff to work on before releasing this beta. I'll send feedbacks on the list asap. Regards, Raphaël P.S. The good news is that the wx snap builds ok with gcc 3.3.x
Now ./configure ends OK. I starting to compile. /usr/local/bin/wx-config-2.5 is a real file. /usr/local/bin/wx-config is the symbolic link. Diego. El mar, 07-09-2004 a las 16:20, Raphaël Enrici escribió: > Raphaël Enrici wrote: > > Diego A. Gil wrote: > > > >> Here is my config.log. > >> > >> Diego. > >> > >> El mar, 07-09-2004 a las 14:16, Raphaël Enrici escribió: > >> It was created by pgadmin3 configure 1.1.0, which was > >> generated by GNU Autoconf 2.57. Invocation command line was > >> > >> $ ./configure --enable-static --enable-debug > >> --with-wx-config=/usr/local/bin/wx-config-2.5 > >> > >> configure:4918: checking for wxWindows > >> configure:4935: result: yes > >> configure:4961: error: Could not find /usr/local/bin/wx-config-2.5 > >> > > > > Can you retry with the following configure line and tell us if it works > > better ? > > ../configure --enable-static --enable-debug --with-wx=/usr/local > > --with-wx-config=wx-config-2.5 > > Please also make sure that wx-config-2.5 is a real file and not a symlink... > For the rest of the build you should also make sure you enabled unicode > (which is not the case of Devrim if I believe the filenames I saw in his > previous mail). > > Regards, > Raphaël > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >
Hi, I just realized that I used wrong option with wxWidgets's ./configure script, so I am starting to compile wxWidget again. This time I will use wxWidgets-pgAdmin3-20040907.tar.bz2. After that I wil try to compile CVS pgadmin. I will keep you informed. Diego.
Hi, I compiled sucessfully wxWidgets-pgAdmin3-20040907.tar.bz2 and pgadmin3-src-20040907.tar.gz following instructions in pgadmin3-1.1.0/docs/en_US/unix_compilation.html. There was just a little problem: wxWidget's include files were installed in /usr/local/include/wx-2.5/wx, not in /usr/local/include/wx. When running pgadmin configure script I got an error saying stc was not installed and that I have to install it. Searching a little, I realized that the script was expecting to find stc include files in /usr/loca/include/wx, so I made a symlink from /usr/local/include/wx-2.5/wx to /usr/local/include/wx and run again configure script. This time everything was OK. Then I compiled and installed pgadmin and is running as expected: very well !!. Any idea about this ? Diego.
Hi Diego. From: "Diego A. Gil" <diego@adminsa.com> > Searching a little, I realized that the script was expecting to find stc > include files in /usr/loca/include/wx, so I made a symlink from > /usr/local/include/wx-2.5/wx to /usr/local/include/wx and run again > configure script. This time everything was OK. Then I compiled and > installed pgadmin and is running as expected: very well !!. > > Any idea about this ? Adam may solve a problem as for whether to be the figure which originally this should be if it is taken into consideration though it isn't certain. regards, Hiroshi Saito
Attachment
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Tue, 7 Sep 2004, [ISO-8859-1] Raphaël Enrici wrote: > what gives the config.log ? I've uploaded it to: http://www.gunduz.org/config.log Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPqZGtl86P3SPfQ4RAkoZAKCfXNqnZQnUeQZuNAo1DsBHG/20FwCfZ6Gp zhePSkhLBh0zLzGV1F3Vq4Y= =awRR -----END PGP SIGNATURE-----
> -----Original Message----- > From: Diego A. Gil [mailto:diego@adminsa.com] > Sent: 08 September 2004 02:07 > To: Dave Page > Cc: PgAdmin Hackers; Devrim GUNDUZ > Subject: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > Hi, > > I compiled sucessfully wxWidgets-pgAdmin3-20040907.tar.bz2 > and pgadmin3-src-20040907.tar.gz following instructions in > pgadmin3-1.1.0/docs/en_US/unix_compilation.html. > > There was just a little problem: wxWidget's include files > were installed in /usr/local/include/wx-2.5/wx, not in > /usr/local/include/wx. When running pgadmin configure script > I got an error saying stc was not installed and that I have > to install it. > > Searching a little, I realized that the script was expecting > to find stc include files in /usr/loca/include/wx, so I made > a symlink from /usr/local/include/wx-2.5/wx to > /usr/local/include/wx and run again configure script. This > time everything was OK. Then I compiled and installed pgadmin > and is running as expected: very well !!. > > Any idea about this ? I fixed that yesterday in CVS (it should be in last nights snapshot). It's probably best to remove the symlink as soon as possible to ensure that pgAdmin always finds the correct version of wx. Glad to hear it's working btw, and thanks for spending time on it! Interesting that the configure script cannot seem to follow a symlink on FC2... Regards, Dave
> -----Original Message----- > From: Hiroshi Saito [mailto:saito@inetrt.skcapi.co.jp] > Sent: 08 September 2004 02:24 > To: Dave Page; Diego A. Gil > Cc: Adam H. Pendleton; Devrim GUNDUZ; PgAdmin Hackers > Subject: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > Adam may solve a problem as for whether to be the figure > which originally this should be if it is taken into > consideration though it isn't certain. Ack - I fixed most of that yesterday but managed to miss a couple that you didn't! I've applied the missing bits - thanks. Regards, Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Tue, 7 Sep 2004, Diego A. Gil wrote: > There was just a little problem: wxWidget's include files were installed > in /usr/local/include/wx-2.5/wx, not in /usr/local/include/wx. When > running pgadmin configure script I got an error saying stc was not > installed and that I have to install it. > > Searching a little, I realized that the script was expecting to find stc > include files in /usr/loca/include/wx, so I made a symlink from > /usr/local/include/wx-2.5/wx to /usr/local/include/wx and run again > configure script. This time everything was OK. Then I compiled and > installed pgadmin and is running as expected: very well !!. I still can't compile! :-( ================================= if g++ -DHAVE_CONFIG_H -I. -I. -I.. - -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g - -I../src/include -I../src/agent/include -I/usr/include -DSSL - -I/usr/local/lib/wx/include/gtk2-2.5 -I/usr/local/include/wx-2.5 - -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES - -I/usr/local/include/wx-2.5 - -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g - -I../src/include -I../src/agent/include -Wall -g -O0 -MT utffile.o -MD -MP - -MF ".deps/utffile.Tpo" -c -o utffile.o `test -f 'utils/utffile.cpp' || echo './'`utils/utffile.cpp; \ then mv -f ".deps/utffile.Tpo" ".deps/utffile.Po"; else rm -f ".deps/utffile.Tpo"; exit 1; fi 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*&, unsigned int)' /usr/local/include/wx-2.5/wx/strconv.h:46: error: candidates are: virtual size_t wxMBConv::MB2WC(wchar_t*, const char*, unsigned int) const make[2]: *** [utffile.o] Error 1 make[2]: Leaving directory `/root/system/pgadmin3/pgadmin3/SOURCES/pgadmin3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/system/pgadmin3/pgadmin3/SOURCES/pgadmin3' make: *** [all] Error 2 ====================================== This is the latest CVS... umm I hour ago. If I was using Windos, maybe a format c:/ and reinstall could solve this problem :-D :( Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPsiZtl86P3SPfQ4RAiNXAJ9vb/rGNyi3uEQkIERcDrLGc1qYrwCZAYMf CCiI24/IdE8gwri+36UoGcY= =eHhe -----END PGP SIGNATURE-----
----Message d'origine---- >Date: Wed, 8 Sep 2004 11:53:43 +0300 (EEST) >De: Devrim GUNDUZ <devrim@gunduz.org> >A: PgAdmin Hackers <pgadmin-hackers@postgresql.org> >Sujet: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > > >Hi, > >On Tue, 7 Sep 2004, Diego A. Gil wrote: > >I still can't compile! :-( > >================================= >if g++ -DHAVE_CONFIG_H -I. -I. -I.. >- -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g >- -I../src/include -I../src/agent/include -I/usr/include -DSSL >- -I/usr/local/lib/wx/include/gtk2-2.5 -I/usr/local/include/wx-2.5 >- -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES >- -I/usr/local/include/wx-2.5 >- -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g >- -I../src/include -I../src/agent/include -Wall -g -O0 -MT utffile.o -MD -MP >- -MF ".deps/utffile.Tpo" -c -o utffile.o `test -f 'utils/utffile.cpp' || >echo './'`utils/utffile.cpp; \ >then mv -f ".deps/utffile.Tpo" ".deps/utffile.Po"; else rm -f >".deps/utffile.Tpo"; exit 1; fi >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*&, unsigned int)' >/usr/local/include/wx-2.5/wx/strconv.h:46: error: candidates are: virtual > size_t wxMBConv::MB2WC(wchar_t*, const char*, unsigned int) const Did you recheck you enabled unicode in the wxWidgets build ? Cheers, Raphaël
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Wed, 8 Sep 2004 blacknoz@club-internet.fr wrote: <snip> > Did you recheck you enabled unicode in the wxWidgets build ? Sorry Raphaël :( I've missed it. Ok, rebuilding again... - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPtxotl86P3SPfQ4RAiwBAJ9vM/7gyYWLh5XN0EUooJ/umuXipACfesbH uxtbYtrnfN3I3JA6s5bbnDw= =JiQ6 -----END PGP SIGNATURE-----
Dave: Maybe there are some paths in acinclude.m4 that still needs changes. I did not change the ones related to /usr/local/wx2. Diego.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Wed, 8 Sep 2004, Devrim GUNDUZ wrote: >> Did you recheck you enabled unicode in the wxWidgets build ? > > Sorry Raphaël :( I've missed it. > > Ok, rebuilding again... :-( It failed again, giving the same error. I cannot understand why the same problem does not exist for Diego. Regards, - -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBPywCtl86P3SPfQ4RAovTAKCy5ey5FElx8IiCXb1BSOmQNaR7mQCg00P8 rXokeAnsd7cM9iG3VvXUXRc= =hFxh -----END PGP SIGNATURE-----
> -----Original Message----- > From: Diego A. Gil [mailto:diego@adminsa.com] > Sent: 08 September 2004 16:26 > To: Dave Page > Cc: PgAdmin Hackers; Devrim GUNDUZ > Subject: Re: [pgadmin-hackers] pgadmin3+Fedora Core 2 status report > > I have atthached acinclude.m4.diego and config.log. Please > make a diff with current version to see changes (I know, I > have to learn it too !). OK, you fixed one error, but missed an identical one a couple of lines above :-) I *think* I've got them all now - would appreciate it if you could double check. Thanks, Dave PS: cvs -z9 diff -u acinclude.m4 (Assuming you're working in a cvs tree.)
Devrim: If you are using : ./configure --with-wx-config=/usr/local/bin/wx-config --enable-static --with-pgsql=/usr try with : ./configure --enable-static --enable-debug --with-wx=/usr/local --with-wx-config=wx-config-2.5 If stil fails, check the following : Which wxWidgets snapshot are you using ? Mine is http://developer.pgadmin.org/snapshots/wxWidgets/wxWidgets-pgAdmin3-20040907.tar.bz2 Which pagadmin snapshot are you using ? I use cvs checkout: CVSROOT=:pserver:anonymous@cvs.pgadmin.org:/projects export CVSROOT cvs login cvs -z9 checkout pgadmin3 cd pgadmin3 sh bootstrap I suggest clean all: rm -rf /usr/local/lib/libwx* rm -rf /usr/local/lib/wx rm -rf /usr/local/include/wx-2.5 rm -rf /usr/local/include/wx in each package: make clean make distclean Read carefuly ./docs/en_US/unix_compilation.html under pagadmin source dir. 1. download wxWidgets snapshot. 2. download or checkou pgadmin sources. 3. follow unix_compilation.html instructions. If you still have problems, upload again you config.log file and send me a mail. Diego.
Dave: I made a fresh cvs tree (a new checkout), configure it with --enable-static and --enable-debug and compiled OK. I saw in acinclude.m4 that you fixed wx2 related path too. Everything seems to work ok now. Thanks. Diego.