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

pgadmin3-1.14.1 source install trouble, trial #2

From: "J(dot) Greg Davidson" <jgd(at)well(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pgadmin3-1.14.1 source install trouble, trial #2
Date: 2012-02-17 04:45:09
Message-ID: 1974989478.5061.1329453909133.JavaMail.root@zimbra.well.com (view raw or flat)
Thread:
Lists: pgadmin-support
OK, second trial using a fresh wxGTK 2.8.12 install:

(1) My System Info:

$ cat /etc/SuSE-release
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
$ uname -a
Linux shevek.puuhonua.org 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux

(2) The wxGTK install details:

$   ./configure --with-gtk --enable-gtk2 --enable-unicode
... LOTS OF NOISE, AND THEN ...
Configured wxWidgets 2.8.12 for `x86_64-unknown-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+ 2 with support for gnomeprint
  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

$ make
... NO ERRORS, LOOKS FINE ...
$ sudo make install
... NO ERRORS, LOOKS FINE ...
 The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
...
$ sudo ldconfig /usr/local/lib

$ cd gadmin3-1.14.1/

$ ./configure
... LOTS OF NOISE, THEN FINALLY:
PostgreSQL directory:                   /usr/local/pgsql
PostgreSQL pg_config binary:            /usr/local/pgsql/bin/pg_config
PostgreSQL version:                     PostgreSQL 9.1.1

PostgreSQL PQconninfoParse support:     Present
PostgreSQL SSL support:                 Missing

wxWidgets directory:                    /usr/local
wxWidgets wx-config binary:             /usr/local/bin/wx-config
wxWidgets version:                      wxWidgets 2.8.12

libxml2 directory:                      /usr
libxml2 xml2-config binary:             /usr/bin/xml2-config
libxml2 version:                        libxml2 2.7.8

libxslt directory:                      /usr
libxslt xslt-config binary:             /usr/bin/xslt-config
libxslt version:                        libxslt 1.1.26

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'.

$ make
... LOTS OF NOISE UNTIL FINALLY:
make[3]: Entering directory `/usr/local/src/pgadmin3-1.14.1/pgadmin'
g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -I../pgadmin/include   -I/usr/local/pgsql-9.1.1/include -I/usr/local/pgsql-9.1.1/include/server -I/usr/local/pgsql-9.1.1/include -DHAVE_CONNINFO_PARSE -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__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2  -O2 -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:24:0,
                 from ./pgAdmin3.cpp:13:
../pgadmin/include/ctl/ctlSQLBox.h:17:24: fatal error: wx/stc/stc.h: No such file or directory
compilation terminated.
make[3]: *** [pgAdmin3.o] Error 1

Hmm, it seems to have the right -I for wx-2.8, let's see if it got the path wrong:

$ find /usr/local/include/wx-2.8 -name stc.h

-- no output, there is no such file.

OK, once again, have I overlooked something I should know about
or something less obvious?  And do you need to complete transcripts?

Alas, pgadmin3 is not in the OpenSuSE package tree as it is on my
Debian systems, but I *should* be able to build it from source, right?

Thanks for your help,

_Greg

J. Greg Davidson

Responses

pgadmin-support by date

Next:From: Guillaume LelargeDate: 2012-02-17 07:32:34
Subject: Re: pgadmin3-1.14.1 source install trouble, trial #2
Previous:From: J. Greg DavidsonDate: 2012-02-17 04:31:49
Subject: pgadmin3-1.14.1 source install trouble, trial #1

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