Iris2.de
http://iris2.de/forum/

lua popen error
http://iris2.de/forum/viewtopic.php?f=19&t=1242
Page 1 of 1

Author:  eNTi [ Wed Sep 03, 2008 12:26 am ]
Post subject:  lua popen error

anyone?

Code:
nt@eNTi $ ./start.sh                                                                                                                                                                     
~/abs/iris2/src/iris2/bin ~/abs/iris2/src/iris2                                                                                                                                           
MainWorkingDir  ../                                                                                                                                                                       
lugreluapath    ../lugre/lua/                                                                                                                                                             
Setting Graphicprofile: ../data/profiles/gfx_ultrahigh.lua                                                                                                                               
Lua version : 5.1                                                                                                                                                                         
loading plugin  ../plugins/example.lua                                                                                                                                                   
loading plugin  ../plugins/hudenemylist.lua                                                                                                                                               
LuaErrorHandler start                                                                                                                                                                     

LuaErrorHandler end
lugre/src/lugre_main.cpp:182:Lugre_Run
lugre/src/lugre_game.cpp:19:Run
  lugre/src/lugre_scripting.cpp:263:LuaCall
   lugre/src/lugre_scripting.cpp:209:LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:

ERROR : LuaError
error running function `Main': ../lugre/lua/lugre.lua:9: 'popen' not supported
LuaStackTrace:

        [C]: in function `popen'
        ../lugre/lua/lugre.lua:9: in function `lugre_detect_ogre_plugin_path'
        ../lua/main.lua:297: in function <../lua/main.lua:276>
If this error remains after running the updater and you think this is a bug
please check the BugTracker at www.iris2.de
and report it if it is not already known.
Please also append the logfile in bin/stacktrace.log to your bugreport.
./start.sh: line 5: 16032 Aborted                 ./iris $1 $2 $3 $4 $5 $6 $7 $8
~/abs/iris2/src/iris2

Author:  ghoulsblade [ Wed Sep 03, 2008 11:17 am ]
Post subject: 

what operating system are you using ? win,mac,linux ? 64bit maybe ?

Author:  eNTi [ Wed Sep 03, 2008 11:57 am ]
Post subject: 

sorry. i'm on archlinux, 32bit. a friend of mine uses arch on 64bit and doesn't have that problem.

Author:  hagish [ Wed Sep 03, 2008 1:00 pm ]
Post subject: 

how did you compile iris? because it looks like that your lua is compiled without popen.

Author:  eNTi [ Thu Sep 04, 2008 1:50 pm ]
Post subject: 

well... i installed lua 5.1.4 from the package management system and i didn't really change anything special before i compiled iris. where do i turn on/off the popen compilation? does iris come with it's own lua build and if so, where i can i set it to use the system-wide lua libs?

i've seen, that there are two versions of lua in the package database, maybe there's a reason for that? the other one is 5.1.3 and i've read somewhere that it's a req for iris. i thought 5.1.4 would be backwards compatible.

Author:  ghoulsblade [ Thu Sep 04, 2008 2:44 pm ]
Post subject: 

iris comes with it's own lua build, no need to install it via package system.
the recommended way to compile iris is ./premakelinux.sh

maybe try uninstalling the lua lib you installed via package system, and then recompile iris.

Author:  eNTi [ Thu Sep 04, 2008 5:33 pm ]
Post subject: 

i did compile it with premakelinux.sh. i'm afraid i can't uninstall lua, i need it for other things and it's as dependency in the system. isn't there another way?

Author:  ghoulsblade [ Thu Sep 04, 2008 6:09 pm ]
Post subject: 

hmm iris should be using the compiled in lua then, strange.

as a workaround :
execute "pkg-config --variable=plugindir OGRE" manually
(or look for where the ogre plugins were installed),
and add a line to data/config.lua like

gOgrePluginPathOverride = "/usr/local/lib/OGRE"

or so

Author:  eNTi [ Thu Sep 04, 2008 7:01 pm ]
Post subject: 

yeah... that worked. :) thx.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/