Erinevus lehekülje "PgAdmin3" redaktsioonide vahel

Allikas: Kuutõrvaja
(Kompileerimine)
(Kompileerimine)
52. rida: 52. rida:
 
                                       libmspack          no
 
                                       libmspack          no
 
                                       sdl                no
 
                                       sdl                no
 +
Lisaks kompileerida ja paigaldada contrib moodulid
 +
 +
  bash# cd contrib/
 +
  bash# make
 +
  bash# make install
  
 
* pgadmin3-1.8.4.tar.gz - PgAdmin3 lähtetekst, http://www.pgadmin.org/download/source.php
 
* pgadmin3-1.8.4.tar.gz - PgAdmin3 lähtetekst, http://www.pgadmin.org/download/source.php
 +
 +
  bash# ./configure --with-pgsql=/usr/local/postgresql --with-wx=/usr/local/wxgtk --prefix=/usr/local/pgadmin3
 +
 
 +
  PostgreSQL directory:                  /usr/local/postgresql
 +
  PostgreSQL pg_config binary:            /usr/local/postgresql/bin/pg_config
 +
  PostgreSQL version:                    PostgreSQL 8.3.3
 +
  PostgreSQL SSL support:                Present
 +
 
 +
  wxWidgets directory:                    /usr/local/wxgtk
 +
  wxWidgets wx-config binary:            /usr/local/wxgtk/bin/wx-config
 +
  wxWidgets version:                      wxWidgets 2.8.8
 +
 
 +
  libxml2 directory:                      /usr
 +
  libxml2 xml2-config binary:            /usr/bin/xml2-config
 +
  libxml2 version:                        libxml2 2.6.32
 +
 
 +
  libxslt directory:                      /usr
 +
  libxslt xslt-config binary:            /usr/bin/xslt-config
 +
  libxslt version:                        libxslt 1.1.24
 +
 
 +
  Building a debug version of pgAdmin:    No
 +
  Statically linking pgAdmin:            No
 +
  Building a Mac OS X appbundle:          No
 +
 
 +
  pgAdmin configuration is now complete. You can now compile and
 +
  install pgAdmin using 'make; make install'.
 +
 +
Ning kompileerida ja paigaldada
 +
 +
  bash# make -j4
 +
  bash# make install

Redaktsioon: 11. juuli 2008, kell 21:07

Sissejuhatus

PgAdmin on Postgresql andmebaasi arendusvahend, millega saab sooritada ka andmebaasi administreerimiseks vajalikke tegevusi.

Paigaldamine

PgAdmin tarkvara saab paigaldada hästivarustatud operatsioonisüsteemide paketihaldussüsteemi kasutades ning lisaks jagatakse aadressil [http://www.pgadmin.org] tarkvara kompileeritud ja lähtetekstilisel kujul.

Kasutamine

PgAdmin on lokaalne graafilise kasutajaliidesega PostgreSQL andmebaasi klientprogramm, mille põhiaken näeb tööolukorras välja järgmine

Pgadmin-linux-1.gif

Arusaadavalt on programmi kasutamiseks tarvis andmebaasiserverile ligipääsu.

Kompileerimine

Kompileerimine on esitatud nii nagu see 2008 aasta suvel toimub Debian Lenny jaoks, vajalik lähtematerjal

  • apt-get build-dep postgresql-8.3
  • apt-get install libxml2 libxml2-dev libxslt1.1 libxslt1-dev
  • postgresql-8.3.3.tar.bz2 - paigaldada lähtetekstist postgresql, mida asutakse pgadmin3'ga kasutama, nt /usr/local/postgresql kataloogi, www.postgresql.org
 bash# ./configure --prefix=/usr/local/postgresql --with-openssl
 bash# make
 bash# make install
 bash# mkdir /usr/local/wxgtk
 bash# cd wxsrouce 
 bash# ./configure --with-gtk --enable-gtk2 --enable-unicode --prefix=/usr/local/wxgtk
 Configured wxWidgets 2.8.8 for `i686-pc-linux-gnu'
 Which GUI toolkit should wxWidgets use?                 GTK+ 2
 Should wxWidgets be compiled into single library?       no
 Should wxWidgets be compiled in debug mode?             no
 Should wxWidgets be linked as a shared library?         yes
 Should wxWidgets be compiled in Unicode mode?           yes
 What level of wxWidgets compatibility should be enabled?
                                      wxWidgets 2.4      no
                                      wxWidgets 2.6      yes
 Which libraries should wxWidgets use?
                                      jpeg               sys
                                      png                sys
                                      regex              builtin
                                      tiff               sys
                                      zlib               sys
                                      odbc               no
                                      expat              sys
                                      libmspack          no
                                      sdl                no

Lisaks kompileerida ja paigaldada contrib moodulid

 bash# cd contrib/
 bash# make
 bash# make install
 bash# ./configure --with-pgsql=/usr/local/postgresql --with-wx=/usr/local/wxgtk --prefix=/usr/local/pgadmin3
 
 PostgreSQL directory:                   /usr/local/postgresql
 PostgreSQL pg_config binary:            /usr/local/postgresql/bin/pg_config
 PostgreSQL version:                     PostgreSQL 8.3.3
 PostgreSQL SSL support:                 Present
 
 wxWidgets directory:                    /usr/local/wxgtk
 wxWidgets wx-config binary:             /usr/local/wxgtk/bin/wx-config
 wxWidgets version:                      wxWidgets 2.8.8
 
 libxml2 directory:                      /usr
 libxml2 xml2-config binary:             /usr/bin/xml2-config
 libxml2 version:                        libxml2 2.6.32
 
 libxslt directory:                      /usr
 libxslt xslt-config binary:             /usr/bin/xslt-config
 libxslt version:                        libxslt 1.1.24
 
 Building a debug version of pgAdmin:    No
 Statically linking pgAdmin:             No
 Building a Mac OS X appbundle:          No
 
 pgAdmin configuration is now complete. You can now compile and
 install pgAdmin using 'make; make install'.

Ning kompileerida ja paigaldada

 bash# make -j4
 bash# make install