SCM

[#1010680] Build problem with postgresql 8.4

View Trackers | Bugs | Download .csv | Monitor

Date:
2009-07-25 18:59
Priority:
3
State:
Closed
Submitted by:
Fernando Ike (fike)
Assigned to:
Nobody (None)
Category:
None
Group:
None
Resolution:
Out of Date
 
Summary:
Build problem with postgresql 8.4

Detailed description
The pllua don't build with new PostgreSQL version (8.4). The error messages:

fike@darkside:~/develop/debian/pllua/postgresql-pllua-0.8.1$ make
sed 's,MODULE_PATHNAME,$libdir/pllua,g' pllua.sql.in >pllua.sql
cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -fpic -I. -I/usr/include/postgresql/8.4/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o pllua.o pllua.c
In file included from pllua.c:8:
pllua.h:26:17: error: lua.h: Arquivo ou diretório não encontrado
pllua.h:27:20: error: lualib.h: Arquivo ou diretório não encontrado
pllua.h:28:21: error: lauxlib.h: Arquivo ou diretório não encontrado
In file included from pllua.c:8:
pllua.h:39: error: expected ‘)’ before ‘*’ token
pllua.h:40: error: expected ‘)’ before ‘*’ token
pllua.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
pllua.h:43: error: expected ‘)’ before ‘*’ token
pllua.h:44: error: expected ‘)’ before ‘*’ token
pllua.h:45: error: expected ‘)’ before ‘*’ token
pllua.h:47: error: expected ‘)’ before ‘*’ token
pllua.h:48: error: expected ‘)’ before ‘*’ token
pllua.h:49: error: expected ‘)’ before ‘*’ token
pllua.h:51: error: expected ‘)’ before ‘*’ token
pllua.h:52: error: expected ‘)’ before ‘*’ token
pllua.h:55: error: expected ‘)’ before ‘*’ token
pllua.h:56: error: expected ‘)’ before ‘*’ token
pllua.h:57: error: expected ‘)’ before ‘*’ token
pllua.h:58: error: expected ‘)’ before ‘*’ token
pllua.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
pllua.c: In function ‘_PG_init’:
pllua.c:23: error: ‘L’ undeclared (first use in this function)
pllua.c:23: error: (Each undeclared identifier is reported only once
pllua.c:23: error: for each function it appears in.)
pllua.c:23: warning: implicit declaration of function ‘luaP_newstate’
pllua.c: In function ‘_PG_fini’:
pllua.c:30: warning: implicit declaration of function ‘luaP_close’
pllua.c:30: error: ‘L’ undeclared (first use in this function)
pllua.c: In function ‘plluau_validator’:
pllua.c:37: warning: implicit declaration of function ‘luaP_validator’
pllua.c:37: error: ‘L’ undeclared (first use in this function)
pllua.c: In function ‘plluau_call_handler’:
pllua.c:42: warning: implicit declaration of function ‘luaP_callhandler’
pllua.c:42: error: ‘L’ undeclared (first use in this function)
pllua.c: In function ‘pllua_validator’:
pllua.c:47: error: ‘L’ undeclared (first use in this function)
pllua.c: In function ‘pllua_call_handler’:
pllua.c:52: error: ‘L’ undeclared (first use in this function)
make: ** [pllua.o] Erro 1

Followup

Message
Date: 2013-07-01 23:30
Sender: Luis Carvalho

You have to set LUAINC and LUALIB in the Makefile to indicate where Lua's headers and libs are installed.

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-07-01 23:31carvalho
close_dateNone2013-07-01 23:31carvalho
ResolutionNone2013-07-01 23:31carvalho
Powered By FusionForge