<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Instal%C2%B7laci%C3%B3_PgAdmin</id>
	<title>Instal·lació PgAdmin - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Instal%C2%B7laci%C3%B3_PgAdmin"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_PgAdmin&amp;action=history"/>
	<updated>2026-08-30T04:50:59Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_PgAdmin&amp;diff=257377&amp;oldid=prev</id>
		<title>Joan: Es crea la pàgina amb «http://www.susegeek.com/database/how-to-install-and-configure-pgadmin-iii-for-postgresql-in-opensuse/   wxGTK2 can be installed from YaST2 packages (wxGTK) however, it is...».</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_PgAdmin&amp;diff=257377&amp;oldid=prev"/>
		<updated>2018-05-30T18:46:50Z</updated>

		<summary type="html">&lt;p&gt;Es crea la pàgina amb «http://www.susegeek.com/database/how-to-install-and-configure-pgadmin-iii-for-postgresql-in-opensuse/   wxGTK2 can be installed from YaST2 packages (wxGTK) however, it is...».&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;http://www.susegeek.com/database/how-to-install-and-configure-pgadmin-iii-for-postgresql-in-opensuse/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wxGTK2 can be installed from YaST2 packages (wxGTK) however, it is recommended to install from source. Download the latest stable release 2.8.8 of wxGTK from here&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd wxGTK-2.8.8&lt;br /&gt;
# ./configure -withgtk -enable-gtk2 -enable-unicode -&amp;gt; compte que en el tutorial hi ha els guions que estan escrits amb un altre caràcter&lt;br /&gt;
wxGTK-2.8.8 configuration is now complete. You can now compile and&lt;br /&gt;
install pgAdmin using 'make; make install'.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make&lt;br /&gt;
# make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(més informació sobre configure, make i make install a &lt;br /&gt;
http://tldp.org/LDP/LG/current/smith.html)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd pgadmin3-1.8.4&lt;br /&gt;
# ./configure&lt;br /&gt;
# make&lt;br /&gt;
# make install&lt;br /&gt;
el make dóna error. Per redirigir els errors a un fitxer:&lt;br /&gt;
# make 2&amp;gt; hola.txt&lt;br /&gt;
(2 representa la sortida d'errors estàndard)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// wxWindows headers&lt;br /&gt;
#include &amp;lt;wx/wx.h&amp;gt;&lt;br /&gt;
#include &amp;lt;wx/stc/stc.h&amp;gt;&lt;br /&gt;
#include &amp;lt;wx/fdrepdlg.h&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
el directori wx està dins de:&lt;br /&gt;
&lt;br /&gt;
/opt/wxGTK-2.8.8/include/wx,&lt;br /&gt;
&lt;br /&gt;
però aquí dins no hi ha el directori stc&lt;br /&gt;
&lt;br /&gt;
faig un softlink&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ln -s /opt/wxGTK-2.8.8/include/wx /opt/pgadmin3-1.8.4/pgadmin/ctl/wx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No funciona. el problema és que el directori /stc no existeix&lt;br /&gt;
&lt;br /&gt;
'''2a alternativa''' (la que funciona),&lt;br /&gt;
&lt;br /&gt;
Alternatively, pgadmin has a script to wxGTK from the downloaded source to do all the above for you. This script is “wxGTK-2.8.8/xtra/wx-build/build-wxgtk” where wxGTK-2.8.8 is the folder we extracted.&lt;br /&gt;
&lt;br /&gt;
s'instal.la bé wk wxGTK (triga molta estona),&lt;br /&gt;
&lt;br /&gt;
i s'instal.la bé el pgadmin&lt;br /&gt;
&lt;br /&gt;
per fer-ho funcionar,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /usr/local/pgadmin3/bin/pgadmin3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i funciona, després de reiniciar&lt;br /&gt;
&lt;br /&gt;
la instal.lació anterior no ens ha deixat cap accés directe del pgAdmin. Per fer-ho, molt fàcil: &lt;br /&gt;
des del escriptori, es crea una llençadora que apunti a l'executable&lt;br /&gt;
&lt;br /&gt;
Per ficar-ho en el menú d'aplicacions s'ha de crear una nova entrada en el directori&lt;br /&gt;
&lt;br /&gt;
/usr/share/applications&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /usr/share/applications&lt;br /&gt;
$ cp geogebra.desktop pgadmin.desktop &lt;br /&gt;
$ sudo joe  pgadmin.desktop  &lt;br /&gt;
&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Geogebra&lt;br /&gt;
Name[ca]=pgAdmin&lt;br /&gt;
Name[es]=pgAdmin&lt;br /&gt;
Name[en]=pgAdmin&lt;br /&gt;
Comment=pgAdmin&lt;br /&gt;
Exec=/usr/local/pgadmin3/bin/pgadmin3&lt;br /&gt;
Terminal=false&lt;br /&gt;
Type=Application&lt;br /&gt;
Icon=geogebra.png&lt;br /&gt;
Categories=Office;X-SuSE-Core-Office;Office;X-SuSE-Core-Office;&lt;br /&gt;
StartupNotify=true&lt;br /&gt;
&lt;br /&gt;
X-SuSE-translate=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(l'he ficat dins de office)&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>