Re: Problem trying to compiling pgAdmin at ubuntu 11.04

From: Luis Ochoa <ziul1979(at)gmail(dot)com>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Problem trying to compiling pgAdmin at ubuntu 11.04
Date: 2011-06-09 17:41:34
Message-ID: BANLkTimLi6R12G1bxRp0bks9dPPYUz6jsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Yes, it works but it was a very nasty hack at ubuntu 11.04 for me :(
because I have all source at ubuntu default locations:

/usr/include/postgresql/8.4/server

and my pgdir after run configure was: /usr because in /usr/bin was located
pg_config

then I created a symbolic link at /usr/include/ called server with source
/usr/include/postgresql/8.4/server and it compile it, thanks Ashesh .

Regards, Luis.

On Thu, Jun 9, 2011 at 1:26 AM, Ashesh Vashi
<ashesh(dot)vashi(at)enterprisedb(dot)com>wrote:

> Hi Luis,
>
> On Thu, Jun 9, 2011 at 11:20 AM, Luis Ochoa <ziul1979(at)gmail(dot)com> wrote:
>
>> 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?
>>
> There was an error with PostgreSQL build script.
> It was not copying kwlist.h to the installation directory.
>
> This problem was reported earlier and resolved:
> http://archives.postgresql.org/pgadmin-support/2011-01/msg00109.php
>
>
>> Regards, Luis.
>>
>
>
> --
>
> Thanks & Regards,
>
> Ashesh Vashi
> EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>
>
>
>
> *http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>
>
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-06-10 07:01:05 Beta2?
Previous Message Dave Page 2011-06-09 10:07:23 Re: PATCH: Job Steps Segfault (Remote connection)