Problem trying to compiling pgAdmin at ubuntu 11.04

From: Luis Ochoa <ziul1979(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Problem trying to compiling pgAdmin at ubuntu 11.04
Date: 2011-06-09 05:50:50
Message-ID: BANLkTinhMP0tx2FHiwXf9tBVMLLvN6ewVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I have made this process several times in others distro without errors, but
this time I tried to compile pgAdmin at ubuntu 11.04, a new fresh install,
then I installed postgres, compile wxwidgets GTK and then go to pgadmin dir
and run configure (no enable debug right now) with the following result:

PostgreSQL directory: /usr
PostgreSQL pg_config binary: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 8.4.8

PostgreSQL PQconninfoParse support: Present
PostgreSQL SSL support: Present

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

then try to make it with the following result:

...
gcc -DHAVE_CONFIG_H -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -I../pgadmin/include
-I/usr/include/postgresql -I/usr/include/postgresql -DSSL
-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 keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o `test -f
'./db/keywords.c' || echo './'`./db/keywords.c
./db/keywords.c:33:34: fatal error: server/parser/kwlist.h: No existe el
fichero o el directorio
compilation terminated.
make[3]: *** [keywords.o] Error 1
make[3]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3/pgadmin»
make[2]: *** [all] Error 2
make[2]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3/pgadmin»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3»
make: *** [all] Error 2

well I go to /usr/include/postgresql/8.4/server/parser and found it
/usr/include/postgresql/8.4/server/parser/kwlist.h:
" ...
* IDENTIFICATION
* $PostgreSQL: pgsql/src/include/parser/kwlist.h,v 1.2 2009/04/06 08:42:53
heikki Exp $
..."

I don't know what to do next, any help?

Regards, Luis.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2011-06-09 05:56:25 Re: Problem trying to compiling pgAdmin at ubuntu 11.04
Previous Message Ashesh Vashi 2011-06-08 20:33:50 PATCH: Job Steps Segfault (Remote connection)