Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pgadmin_patch.diff
Description: text/x-patch (1.3 KB)

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group