[Ur] hiccups with tutorial ...

Vasili I. Galchin vigalchin at gmail.com
Mon Jul 18 00:20:08 EDT 2011


I did a find  . -name webapp.c on both /tmp and also ~/urweb(the latter
where I untar'd the urweb source).......???

On Sun, Jul 17, 2011 at 11:04 PM, Vasili I. Galchin <vigalchin at gmail.com>wrote:

> Hello ur group,
>
>    I am running "Linux Komputer 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7
> 21:09:46 UTC 2011 i686 GNU/Linux ". I "upgraded" my system, e.g. sudo
> apt-get install  postgresql. But got below ..... ??
>
> Regards,
>
> Bill
>
>
>     vasili at Komputer:~/urweb$ urweb -noEmacs -demo /Demo demo | more
> /tmp/fileoPN8Cz/webapp.c:7:34: error: postgresql/libpq-fe.h: No such file
> or directory
> /tmp/fileoPN8Cz/webapp.c: In function ‘uw_db_validate’:
> /tmp/fileoPN8Cz/webapp.c:17: error: ‘PGconn’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:17: error: (Each undeclared identifier is reported
> only once
> /tmp/fileoPN8Cz/webapp.c:17: error: for each function it appears in.)
> /tmp/fileoPN8Cz/webapp.c:17: error: ‘conn’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:18: error: ‘PGresult’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:18: error: ‘res’ undeclared (first use in this
> function)
> cc1: warnings being treated as errors
> /tmp/fileoPN8Cz/webapp.c:20: error: implicit declaration of function
> ‘PQexec’
> /tmp/fileoPN8Cz/webapp.c:23: error: implicit declaration of function
> ‘PQfinish’
> /tmp/fileoPN8Cz/webapp.c:27: error: implicit declaration of function
> ‘PQresultStatus’
> /tmp/fileoPN8Cz/webapp.c:27: error: ‘PGRES_TUPLES_OK’ undeclared (first use
> in this function)
> /tmp/fileoPN8Cz/webapp.c:29: error: implicit declaration of function
> ‘PQerrorMessage’
> /tmp/fileoPN8Cz/webapp.c:31: error: implicit declaration of function
> ‘PQclear’
> /tmp/fileoPN8Cz/webapp.c:36: error: implicit declaration of function
> ‘PQgetvalue’
> /tmp/fileoPN8Cz/webapp.c: In function ‘uw_db_prepare’:
> /tmp/fileoPN8Cz/webapp.c:1608: error: ‘PGconn’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:1608: error: ‘conn’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:1609: error: ‘PGresult’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:1609: error: ‘res’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:1611: error: implicit declaration of function
> ‘PQprepare’
> /tmp/fileoPN8Cz/webapp.c:1612: error: ‘PGRES_COMMAND_OK’ undeclared (first
> use in this function)
> /tmp/fileoPN8Cz/webapp.c: In function ‘uw_db_begin’:
> /tmp/fileoPN8Cz/webapp.c:2454: error: ‘PGconn’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:2454: error: ‘conn’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:2455: error: ‘PGresult’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:2455: error: ‘res’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:2459: error: ‘PGRES_COMMAND_OK’ undeclared (first
> use in this function)
> /tmp/fileoPN8Cz/webapp.c: In function ‘uw_db_commit’:
> /tmp/fileoPN8Cz/webapp.c:2467: error: ‘PGconn’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:2467: error: ‘conn’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:2468: error: ‘PGresult’ undeclared (first use in
> this function)
> /tmp/fileoPN8Cz/webapp.c:2468: error: ‘res’ undeclared (first use in this
> function)
> /tmp/fileoPN8Cz/webapp.c:2472: error: ‘PGRES_COMMAND_OK’ undeclared (first
> use in this function)
> /tmp/fileoPN8Cz/webapp.c: In function ‘uw_db_rollback’:
> /tmp/fileoPN8Cz/webapp.c:2480: error: ‘PGconn’ undeclared (first use in
> this function)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20110717/199dd8c0/attachment.html>


More information about the Ur mailing list