Lists: | pgadmin-support |
---|
From: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | Compilation error |
Date: | 2004-08-16 12:46:40 |
Message-ID: | 16711.200.181.210.22.1092660400.squirrel@webmail.bs2.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Hi,
I'm trying to compile pgadmin3-src-20040816.tar.gz with
wxWidgets-pgAdmin3-20040711-1.tar.bz2 on a Fedora Core 3 (test1) system
and I get the following error:
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/wxwidgets-2.5/lib/wx/include/gtk-2.5
-I/usr/local/wxwidgets-2.5/include -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
-I/usr/local/wxwidgets-2.5/include
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I../src/agent/include -g -O2 -MT frmBackup.o -MD -MP
-MF ".deps/frmBackup.Tpo" \
-c -o frmBackup.o `test -f 'ui/frmBackup.cpp' || echo
'./'`ui/frmBackup.cpp; \
then mv -f ".deps/frmBackup.Tpo" ".deps/frmBackup.Po"; \
else rm -f ".deps/frmBackup.Tpo"; exit 1; \
fi
../src/include/dlgClasses.h:116: error: `void
ExternProcessDialog::OnClose(wxCloseEvent&)' is protected
ui/frmBackup.cpp:53: error: within this context
make[2]: ** [frmBackup.o] Erro 1
wxWidgets install finished successfuly. So did stc and xrc.
--
Giovanni P. Tirloni
From: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
---|---|
To: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error |
Date: | 2004-08-16 12:50:27 |
Message-ID: | 4120AD93.4090304@club-internet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Giovanni P. Tirloni wrote:
> Hi,
>
> I'm trying to compile pgadmin3-src-20040816.tar.gz with
> wxWidgets-pgAdmin3-20040711-1.tar.bz2 on a Fedora Core 3 (test1) system
> and I get the following error:
can you confirm you are using a gcc 3.4.X series ?
If yes, we are currently patching padmin III to be compliant with it.
Andreas submitted a patch recently but there are still some files to
patch. I'm currently working on this.
Regards,
Raphaël
>
> 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/wxwidgets-2.5/lib/wx/include/gtk-2.5
> -I/usr/local/wxwidgets-2.5/include -DGTK_NO_CHECK_CASTS -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
> -I/usr/local/wxwidgets-2.5/include
> -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
> -I../src/include -I../src/agent/include -g -O2 -MT frmBackup.o -MD -MP
> -MF ".deps/frmBackup.Tpo" \
> -c -o frmBackup.o `test -f 'ui/frmBackup.cpp' || echo
> './'`ui/frmBackup.cpp; \
> then mv -f ".deps/frmBackup.Tpo" ".deps/frmBackup.Po"; \
> else rm -f ".deps/frmBackup.Tpo"; exit 1; \
> fi
> .../src/include/dlgClasses.h:116: error: `void
> ExternProcessDialog::OnClose(wxCloseEvent&)' is protected
> ui/frmBackup.cpp:53: error: within this context
> make[2]: ** [frmBackup.o] Erro 1
>
>
> wxWidgets install finished successfuly. So did stc and xrc.
>
From: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
---|---|
To: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error |
Date: | 2004-08-16 13:21:35 |
Message-ID: | 4120B4DF.80802@club-internet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Giovanni P. Tirloni wrote:
> Raphaël Enrici disse:
>
>>Giovanni P. Tirloni wrote:
>>
>>>Hi,
>>>
>>> I'm trying to compile pgadmin3-src-20040816.tar.gz with
>>>wxWidgets-pgAdmin3-20040711-1.tar.bz2 on a Fedora Core 3 (test1) system
>>>and I get the following error:
>>
>>can you confirm you are using a gcc 3.4.X series ?
>>
>>If yes, we are currently patching padmin III to be compliant with it.
>>
>>Andreas submitted a patch recently but there are still some files to
>>patch. I'm currently working on this.
>
>
> Yep, 3.4.1.
Ok, so wait a day or two ;)
> Thank you for the fast answer.
You're welcome. I was on top of the screen :)
Cheers,
Raphaël
From: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
---|---|
To: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error |
Date: | 2004-08-16 14:54:03 |
Message-ID: | 4120CA8B.4040903@club-internet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Raphaël Enrici wrote:
> Giovanni P. Tirloni wrote:
>
>> Raphaël Enrici disse:
>>
>>> Giovanni P. Tirloni wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to compile pgadmin3-src-20040816.tar.gz with
>>>> wxWidgets-pgAdmin3-20040711-1.tar.bz2 on a Fedora Core 3 (test1) system
>>>> and I get the following error:
>>>
>>> can you confirm you are using a gcc 3.4.X series ?
>>> If yes, we are currently patching padmin III to be compliant with it.
>>> Andreas submitted a patch recently but there are still some files to
>>> patch. I'm currently working on this.
>>
>>
>>
>> Yep, 3.4.1.
>
> Ok, so wait a day or two ;)
The last patch has just been commited. So, try to checkout now or wait
for the next tarball snapshot (tomorrow morning).
For reference, the entire thread is available here:
http://www.mail-archive.com/pgadmin-hackers(at)postgresql(dot)org/msg04031.html
It would be nice if you could send a success report when you are ok with
the build.
Have a nice day and have fun!
Cheers,
Raphaël
From: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
---|---|
To: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error |
Date: | 2004-08-16 17:55:53 |
Message-ID: | 12712.200.181.210.22.1092678953.squirrel@webmail.bs2.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Raphaël Enrici disse:
> The last patch has just been commited. So, try to checkout now or wait
> for the next tarball snapshot (tomorrow morning).
>
> For reference, the entire thread is available here:
> http://www.mail-archive.com/pgadmin-hackers(at)postgresql(dot)org/msg04031.html
>
> It would be nice if you could send a success report when you are ok with
> the build.
>
> Have a nice day and have fun!
>
> Cheers,
> Raphaël
>
Hi Raphaël,
This is what I get from the code I checked out from CVS now:
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/wxwidgets-2.5/lib/wx/include/gtk-2.5
-I/usr/local/wxwidgets-2.5/include -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
-I/usr/local/wxwidgets-2.5//include
-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&,
off_t)':
utils/utffile.cpp:86: error: no matching function for call to
`wxMBConv::MB2WC(wxStringBuffer, char*&, unsigned int)'
/usr/local/wxwidgets-2.5/include/wx/strconv.h:46: note: candidates are:
virtual size_t wxMBConv::MB2WC(wchar_t*, const char*, size_t) const
make[2]: ** [utffile.o] Erro 1
I kept the same wxWidgets install that I had and just upgraded pgadmin3.
Good luck,
--
Giovanni P. Tirloni
From: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
---|---|
To: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org, Devrim GUNDUZ <devrim(at)gunduz(dot)org>, jm(at)poure(dot)com |
Subject: | Re: Compilation error |
Date: | 2004-08-16 22:25:09 |
Message-ID: | 41213445.7010008@club-internet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Giovanni P. Tirloni wrote:
>Raphaël Enrici disse:
>
>
>>For reference, the entire thread is available here:
>>http://www.mail-archive.com/pgadmin-hackers(at)postgresql(dot)org/msg04031.html
>>It would be nice if you could send a success report when you are ok with
>>the build.
>>
>>
> This is what I get from the code I checked out from CVS now:
>
> 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/wxwidgets-2.5/lib/wx/include/gtk-2.5
>-I/usr/local/wxwidgets-2.5/include -DGTK_NO_CHECK_CASTS -D__WXGTK__
>-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
>-I/usr/local/wxwidgets-2.5//include
>-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&,
>off_t)':
>utils/utffile.cpp:86: error: no matching function for call to
>`wxMBConv::MB2WC(wxStringBuffer, char*&, unsigned int)'
>/usr/local/wxwidgets-2.5/include/wx/strconv.h:46: note: candidates are:
>virtual size_t wxMBConv::MB2WC(wchar_t*, const char*, size_t) const
>make[2]: ** [utffile.o] Erro 1
>
>
> I kept the same wxWidgets install that I had and just upgraded pgadmin3.
>
>
:(
Can you precise which wxWidgets version you are using ? (it should be
http://pgadmin.postgresql.org/snapshots/wxWidgets/wxWidgets-pgAdmin3-20040711-1.tar.bz2)
Maybe it would help other hackers around to go further if you'd send
your configure line for both the wxWid and pgAdmin III products.
@Devrim, Jean-Michel: any try on FC3 (test1) ?
Regards,
Raphaël
From: | Devrim GUNDUZ <devrim(at)gunduz(dot)org> |
---|---|
To: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error |
Date: | 2004-08-16 22:59:51 |
Message-ID: | Pine.LNX.4.44.0408170155490.23696-100000@emo.org.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Tue, 17 Aug 2004, [ISO-8859-1] Raphaël Enrici wrote:
> @Devrim, Jean-Michel: any try on FC3 (test1) ?
No... Not yet. I just began downloading the isos with my 512K DSL, I can
give a try after the download finishes and.... on Friday, when I'll again
return home.
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)
iD8DBQFBITxrtl86P3SPfQ4RAhFAAKDTB/XkNgHqMn8MWa0SPwlfrJ3isgCgwfpw
UGpZ7DXIRc+q/gSruhvsNCo=
=7MWg
-----END PGP SIGNATURE-----
From: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Compilation error [solved] |
Date: | 2004-08-17 14:40:31 |
Message-ID: | 10211.200.181.210.22.1092753631.squirrel@webmail.bs2.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Raphaël Enrici disse:
> Can you precise which wxWidgets version you are using ? (it should be
> http://pgadmin.postgresql.org/snapshots/wxWidgets/wxWidgets-pgAdmin3-20040711-1.tar.bz2)
> Maybe it would help other hackers around to go further if you'd send
> your configure line for both the wxWid and pgAdmin III products.
Great idea, I probably missed the unicode option for wxWidgets. It works
now!
Thank you very much for the attention spent.
Great work! Congratulations..
So pgadmin 20040817-cvs works for the following environment:
Fedora Core 3 (test1)
GCC 3.4.1 20040714
--
Giovanni P. Tirloni
From: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
---|---|
To: | "Giovanni P(dot) Tirloni" <gpt(at)tirloni(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org, Devrim GUNDUZ <devrim(at)gunduz(dot)org> |
Subject: | Re: Compilation error [solved] |
Date: | 2004-08-17 17:57:00 |
Message-ID: | 412246EC.1020403@club-internet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Giovanni P. Tirloni wrote:
> Raphaël Enrici disse:
>
>>Can you precise which wxWidgets version you are using ? (it should be
>>http://pgadmin.postgresql.org/snapshots/wxWidgets/wxWidgets-pgAdmin3-20040711-1.tar.bz2)
>>Maybe it would help other hackers around to go further if you'd send
>>your configure line for both the wxWid and pgAdmin III products.
>
> Great idea, I probably missed the unicode option for wxWidgets. It works
> now!
Yeeepeeee! ;)
> Thank you very much for the attention spent.
> Great work! Congratulations..
> So pgadmin 20040817-cvs works for the following environment:
>
> Fedora Core 3 (test1)
> GCC 3.4.1 20040714
I'm glad we got it up :) Thank you for the report and the time you spent
building the all thing. It will give a breath of fresh air to Devrim :)
Regards,
Raphaël