Compiling pgAdmin on SuSE 10.1

From: Miha Radej <miha(dot)radej(at)siix(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Compiling pgAdmin on SuSE 10.1
Date: 2006-05-27 15:03:03
Message-ID: 44786A27.2080505@siix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi!

I tried to compile pgAdmin on a Suse 10.1 system, using a fresh SVN
checkout (rev 5210).

Attached is a patch with changes I had to apply in order to be able to
compile pgAdmin.

I also got the following warnings while compiling pgAdmin - got them
before and after adding the headers, only line numbers differ:

./frm/frmReport.cpp: In member function ‘virtual void
reportObjectDataDictionaryFactory::GenerateReport(frmReport*, pgObject*)’:
./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1341: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1389: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1389: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime
./frm/frmReport.cpp:1389: warning: cannot pass objects of non-POD type
‘class wxString’ through ‘...’; call will abort at runtime

Suse 10.1 comes with gcc v 4.1.0 if this info is of any help and with
some headaches in order to compile pgAdmin, at least for someone like me :)

Regards,
Miha

--
"... the small primitive tribes joined up and became huge, powerful
primitive tribes with more sophisticated weapons."
-- Terry Pratchett, Small Gods

Attachment Content-Type Size
pgadmin_patch.diff text/x-patch 1.3 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-05-29 19:11:23 SVN Commit by dpage: r5211 - in trunk/pgadmin3/src: frm include/ctl
Previous Message svn 2006-05-26 15:19:21 SVN Commit by dpage: r5210 - in trunk/pgadmin3: . docs/en_US src/dlg src/frm src/include src/schema