[Planetlab-users] pShell

Marcel Dischinger mdischin at mpi-sws.mpg.de
Tue Jul 15 07:22:14 EDT 2008


As the error tells, you miss the header file libpq-fe.h. Searching for 
it on the web reveals that it is part of PostgreSQL, so you also have to 
install the PostgreSQL header files (or devel package if you use rpm/yum).

Marcel

alberto guglielmino wrote:
> Hallo,
> I tried to install pShell over fedora core 8 without success. it says:
> 
> In file included from psycopg/psycopgmodule.c:28:
> ./psycopg/connection.h:26:22: error: libpq-fe.h: No such file or directory
> In file included from psycopg/psycopgmodule.c:28:
> ./psycopg/connection.h:55: error: expected specifier-qualifier-list before
> 'PGconn'
> In file included from psycopg/psycopgmodule.c:29:
> ./psycopg/cursor.h:55: error: expected specifier-qualifier-list before
> 'PGresult'
> psycopg/psycopgmodule.c: In function '_psyco_connect_fill_exc':
> psycopg/psycopgmodule.c:103: error: 'connectionObject' has no member named
> 'exc_Error'
> psycopg/psycopgmodule.c:105: error: 'connectionObject' has no member named
> 'exc_Warning'
> psycopg/psycopgmodule.c:107: error: 'connectionObject' has no member named
> 'exc_InterfaceError'
> psycopg/psycopgmodule.c:109: error: 'connectionObject' has no member named
> 'exc_DatabaseError'
> psycopg/psycopgmodule.c:111: error: 'connectionObject' has no member named
> 'exc_InternalError'
> psycopg/psycopgmodule.c:113: error: 'connectionObject' has no member named
> 'exc_ProgrammingError'
> psycopg/psycopgmodule.c:115: error: 'connectionObject' has no member named
> 'exc_IntegrityError'
> psycopg/psycopgmodule.c:117: error: 'connectionObject' has no member named
> 'exc_DataError'
> psycopg/psycopgmodule.c:119: error: 'connectionObject' has no member named
> 'exc_NotSupportedError'
> psycopg/psycopgmodule.c:121: error: 'connectionObject' has no member named
> 'exc_OperationalError'
> error: command 'gcc' failed with exit status 1
> make: *** [psycopg2] Error 1
> 
> does anyone can help me?
> 
> thanks a lot
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users



More information about the Users mailing list