Re: Problem trying to compiling pgAdmin at ubuntu 11.04
От | Luis Ochoa |
---|---|
Тема | Re: Problem trying to compiling pgAdmin at ubuntu 11.04 |
Дата | |
Msg-id | BANLkTimLi6R12G1bxRp0bks9dPPYUz6jsA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Problem trying to compiling pgAdmin at ubuntu 11.04 (Ashesh Vashi <ashesh.vashi@enterprisedb.com>) |
Список | 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.
/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.vashi@enterprisedb.com> wrote:
Hi Luis,On Thu, Jun 9, 2011 at 11:20 AM, Luis Ochoa <ziul1979@gmail.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: /usrPostgreSQL pg_config binary: /usr/bin/pg_configPostgreSQL version: PostgreSQL 8.4.8PostgreSQL PQconninfoParse support: PresentPostgreSQL SSL support: PresentwxWidgets directory: /usr/localwxWidgets wx-config binary: /usr/local/bin/wx-configwxWidgets version: wxWidgets 2.8.12libxml2 directory: /usrlibxml2 xml2-config binary: /usr/bin/xml2-configlibxml2 version: libxml2 2.7.8libxslt directory: /usrlibxslt xslt-config binary: /usr/bin/xslt-configlibxslt version: libxslt 1.1.26Building a debug version of pgAdmin: NoStatically linking pgAdmin: NoBuilding a Mac OS X appbundle: NopgAdmin configuration is now complete. You can now compile andinstall 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 directoriocompilation terminated.make[3]: *** [keywords.o] Error 1make[3]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3/pgadmin»make[2]: *** [all] Error 2make[2]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3/pgadmin»make[1]: *** [all-recursive] Error 1make[1]: se sale del directorio «/home/xiul/Desarrollo/pgadmin3»make: *** [all] Error 2well 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:Regards, Luis.
--Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: