lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


First off please excuse if I'm posting this to the wrong list. I have some trouble compiling the
kepler platform. 

Here's what I have

- I'm runnging SuSE linux 8.1
- I'm running the 5.0.2 of lua and installed in /usr/local/lua-5.0.2/  
- downloaded and installed apache web server 2.0.54 at /usr/local/httpd-2.0.54 
- as I would like to use postgres configured right paths for include and lib dir in config
- downloaded the last release of kepler-1.0b

and here's what I obtain when I first launch make : 

<make process>

ruby@linux:/home/dwn/softs/kepler-1.0b> make
cd launcher; export CONFIG="../config" COMPAT_DIR="../compat/src"; make -e build
make[1]: Entre dans le répertoire `/home/dwn/softs/kepler-1.0b/launcher'
building mod2
cd mod2; export CONFIG="../../config" COMPAT_DIR="../../compat/src"; make -e build
make[2]: Entre dans le répertoire `/home/dwn/softs/kepler-1.0b/launcher/mod2'
cp ../../compat/src/compat-5.1.? .
sed -e
-e "s|\[\[LUA_CPATH\]\]|\[\[/usr/local/lua-5.0.2/lib/?.so;/usr/local/lua-5.0.2/lib/l?.so\]\]|" <
t_mod2.lua > mod2.lua
/usr/local/lua-5.0.2/bin/luac -o mod2.lua
/usr/local/lua-5.0.2/bin/tolua | sed -e "s|lua_dobuffer|status=lua_dobuffer|" > mod2.lch
sed -e "s|CGILUA_DIR|/usr/local/lua-5.0.2/cgilua|" < t_mod2.conf > mod2.conf
gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs
-Wshadow -Wwrite-strings -I/usr/local/lua-5.0.2/include -I../../compat/src
-I/usr/local/pgsql/include -DINCLUDE_LUA -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings  -DINCLUDE_LUA
-DLUA_STATE_PER_PROCESS -I/usr/local/httpd-2.0.54/include   -c -o mod_lua.o mod_lua.c
mod_lua.c:169: warning: braces around scalar initializer
mod_lua.c:169: warning: (near initialization for `ml_cmds[1].func')
In file included from mod_lua.c:247:
mod2.lch: In function `ml_handler':
mod2.lch:2: `tolua' undeclared (first use in this function)
mod2.lch:2: (Each undeclared identifier is reported only once
mod2.lch:2: for each function it appears in.)
mod2.lch:2: parse error before "internal"
mod2.lch:2: syntax error at '#' token
mod2.lch:6: stray '`' in program
In file included from mod_lua.c:247:
mod2.lch:6:73: missing terminating ' character
mod2.lch:6:73: empty character constant
make[2]: *** [mod_lua.o] Erreur 1
make[2]: Quitte le répertoire `/home/dwn/softs/kepler-1.0b/launcher/mod2'
make[1]: *** [build] Erreur 2
make[1]: Quitte le répertoire `/home/dwn/softs/kepler-1.0b/launcher'
make: *** [buildlauncher] Erreur 2


Everything lua package (the language) related are installed in /usr/local/lua-5.0.2/{bin/, lib/,
include/, man/ }  

Everything apache related are installed in /usr/local/apache-2.0.54/{bin/, lib/, include/ , ... }

I don't know if apache need to be run when I compile kepler ?

Please see my attached config file for missconfigured paths or things

I don't understand what I'm missing or doing wrong here. I beleive I did the right configuration
by modifying the "kepler config" file in the root directory of kepler. 

thanks in advance


Ozcan Mahmut


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur

Attachment: config
Description: pat25882689