How to install and configure pgAdmin III for PostgreSQL in openSUSE

11 Comments

  1. I don’t know where is my wxWidgets directory…

  2. Very nice !

  3. Hi

    Thanks for all the advices.
    For me it works till I have to type “make” for pgadmin.
    It gives me error about stc.h ogl.h and it says there is no file or directory. I am totaly new and I don’t know what to do.

  4. I was really helpfull and many thanks to admin.

    Could anyone please help me to solve the error I am getting during the PgAdmin III installation at ./configure step?
    ==========================================
    …………………..
    checking PostgreSQL in /usr/local/pgsql… ok
    checking for PQgetOutResult in -lpq… no
    checking wxWidgets version… ok
    checking wxWidgets in /usr/local… failed
    configure: error: Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be because it was configured without the –enable-unicode option, or the combination of dynamic/static linking and debug/non-debug libraries selected did not match any installed wxWidgets libraries.

    ========================================

    Then tried adding this –with-wx-version=2.8 to the pgAdmin configure command but did not work and same error.

  5. Thinking the following information would be helpfull in answering my above problem solution. I was following exactly the steps mentioned in this page by admin.

    Software Detail:
    —————–
    openSuse11.1
    postgresql-8.3.7
    wxGTK-2.8.8
    pgadmin3-1.8.4
    —————–

    Thanks.

  6. Thanks for the posting.

    I have some problems for configuring the server code with “./configure -with-openssl”. It complains that I don’t have crypto. I installed it from the opensuse 11.1 software server. It still complains it. Please help. Thanks in advances.

  7. Thanks for this tutorial.

    Now I have installed pgadmin but I can’t add a server.

  8. I install wxWidgets everything was fine. Then compile pgAdmin was fine. I am using OpenSuse 11.1, but when I make then:

    direccion-ditic:~/Desktop/pgadmin3-1.8.4 # make
    make all-recursive
    make[1]: se ingresa al directorio `/root/Desktop/pgadmin3-1.8.4′
    Making all in branding
    make[2]: se ingresa al directorio `/root/Desktop/pgadmin3-1.8.4/branding’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/root/Desktop/pgadmin3-1.8.4/branding’
    Making all in i18n
    make[2]: se ingresa al directorio `/root/Desktop/pgadmin3-1.8.4/i18n’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/root/Desktop/pgadmin3-1.8.4/i18n’
    Making all in pgadmin
    make[2]: se ingresa al directorio `/root/Desktop/pgadmin3-1.8.4/pgadmin’
    test -f ./include/svnversion.cpp || touch ./include/svnversion.cpp
    test -d ./.svn && ( V=`svnversion ./..` && OV=`cat ./include/svnversion.h | cut -d’ ‘ -f3|tr -d ‘”‘` ; if [ “$V” != “$OV” ]; then echo “#define VERSION_SVN \”$V\”” > ./include/svnversion.h ; fi ) || true
    g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/pgsql -DSSL -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O2 -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2 -DDATA_DIR=\”/usr/local/pgadmin3/share/pgadmin3/\” -Wall -Wno-non-virtual-dtor -fno-strict-aliasing -Wno-write-strings -I../pgadmin/include -MT svnversion.o -MD -MP -MF .deps/svnversion.Tpo -c -o svnversion.o `test -f ‘./include/svnversion.cpp’ || echo ‘./’`./include/svnversion.cpp
    mv -f .deps/svnversion.Tpo .deps/svnversion.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/pgsql -DSSL -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O2 -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2 -DDATA_DIR=\”/usr/local/pgadmin3/share/pgadmin3/\” -Wall -Wno-non-virtual-dtor -fno-strict-aliasing -Wno-write-strings -I../pgadmin/include -MT pgAdmin3.o-MD -MP -MF .deps/pgAdmin3.Tpo -c -o pgAdmin3.o `test -f ‘./pgAdmin3.cpp’ || echo ‘./’`./pgAdmin3.cpp
    In file included from ../pgadmin/include/pgAdmin3.h:23,
    from ./pgAdmin3.cpp:13:
    ../pgadmin/include/ctl/ctlSQLBox.h:17:24: error: wx/stc/stc.h: No existe el fichero o el directorio
    ./pgAdmin3.cpp:28:24: error: wx/ogl/ogl.h: No existe el fichero o el directorio
    In file included from ../pgadmin/include/pgAdmin3.h:23,
    from ./pgAdmin3.cpp:13:
    ../pgadmin/include/ctl/ctlSQLBox.h:37: error: expected class-name before ‘{’ token
    ../pgadmin/include/ctl/ctlSQLBox.h:67: error: ‘wxStyledTextEvent’ has not been declared
    In file included from ./pgAdmin3.cpp:54:
    ../pgadmin/include/frm/frmMain.h:149: error: ‘wxStyledTextEvent’ has not been declared
    ../pgadmin/include/frm/frmMain.h: In member function ‘void frmMain::OnCopy(wxCommandEvent&)’:
    ../pgadmin/include/frm/frmMain.h:145: error: ‘class ctlSQLBox’ has no member named ‘Copy’
    In file included from ./pgAdmin3.cpp:56:
    ../pgadmin/include/frm/frmQuery.h: At global scope:
    ../pgadmin/include/frm/frmQuery.h:81: error: ‘wxStyledTextEvent’ has not been declared
    ../pgadmin/include/frm/frmQuery.h:82: error: ‘wxStyledTextEvent’ has not been declared
    ./pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’:
    ./pgAdmin3.cpp:366: error: ‘wxOGLInitialize’ was not declared in this scope
    make[2]: *** [pgAdmin3.o] Error 1
    make[2]: se sale del directorio `/root/Desktop/pgadmin3-1.8.4/pgadmin’
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/root/Desktop/pgadmin3-1.8.4′
    make: *** [all] Error 2
    direccion-ditic:~/Desktop/pgadmin3-1.8.4 #

    Any help, please. Thanks

  9. hello, please help me
    after configure in wxGTK there is error message like this

    /opt/wxGTK-2.8.8/bk-deps g++ -c -o coredll_gsockgtk.o -I.pch/wxprec_coredll -D__WXGTK__ -I./src/tiff -I./src/jpeg -I./src/regex -I./src/expat/lib -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/opt/wxGTK-2.8.8/lib/wx/include/gtk2-unicode-release-2.8 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/gtk/gsockgtk.cpp
    In file included from ./src/gtk/gsockgtk.cpp:21:0:
    ./include/wx/gsocket.h:40:7: error: using typedef-name ‘GSocket’ after ‘class’
    /usr/include/glib-2.0/gio/giotypes.h:127:47: error: ‘GSocket’ has a previous declaration here
    In file included from ./include/wx/gsocket.h:179:0,
    from ./src/gtk/gsockgtk.cpp:21:
    ./include/wx/unix/gsockunx.h:40:7: error: using typedef-name ‘GSocket’ after ‘class’
    /usr/include/glib-2.0/gio/giotypes.h:127:47: error: ‘GSocket’ has a previous declaration here
    ./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, gint, GdkInputCondition)’:
    ./src/gtk/gsockgtk.cpp:34:13: error: ‘struct GSocket’ has no member named ‘Detected_Read’
    ./src/gtk/gsockgtk.cpp:36:13: error: ‘struct GSocket’ has no member named ‘Detected_Write’
    ./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
    ./src/gtk/gsockgtk.cpp:56:11: error: ‘struct GSocket’ has no member named ‘m_gui_dependent’
    ./src/gtk/gsockgtk.cpp:57:27: error: ‘struct GSocket’ has no member named ‘m_gui_dependent’
    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
    ./src/gtk/gsockgtk.cpp:67:16: error: ‘struct GSocket’ has no member named ‘m_gui_dependent’
    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
    ./src/gtk/gsockgtk.cpp:72:33: error: ‘struct GSocket’ has no member named ‘m_gui_dependent’
    ./src/gtk/gsockgtk.cpp:75:15: error: ‘struct GSocket’ has no member named ‘m_fd’
    ./src/gtk/gsockgtk.cpp:83:42: error: ‘struct GSocket’ has no member named ‘m_server’
    ./src/gtk/gsockgtk.cpp:90:35: error: ‘struct GSocket’ has no member named ‘m_fd’
    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
    ./src/gtk/gsockgtk.cpp:98:33: error: ‘struct GSocket’ has no member named ‘m_gui_dependent’
    ./src/gtk/gsockgtk.cpp:108:42: error: ‘struct GSocket’ has no member named ‘m_server’
    make: *** [coredll_gsockgtk.o] Error 1

    please any suggested
    thanks

  10. Hello, try:
    wxGTK-2.8.12.tar.gz

Leave a Reply

Your email address will not be published.