Re: [Lmod-users] Problem installing lmod
A Lua based environment module system that reads TCL modulefiles.
Brought to you by:
rtmclay
|
From: Robert M. <mc...@ta...> - 2017-11-18 12:51:38
|
I believe that the problem is that you are trying to mix different version
of Lua. Try using Lua 5.1 for everything or Lua 5.3 for everything.
R.
On Sat, Nov 18, 2017 at 4:15 AM, hermawan dipojono <dip...@gm...>
wrote:
> I have tried to add the following:
> -DLUA_COMPAT_BITLIB -DLUA_COMPAT_APIINTCASTS
> while building lua-5.3. Still did not solve the problem.
> Did the problem come from luarocks?
> Best Regards
>
> On Sat, Nov 18, 2017 at 11:19 AM, hermawan dipojono <dip...@gm...>
> wrote:
>
>> From few last line in configure.log, I got the following:
>> #define PREPEND_BLOCK "normal"
>> #define SITE_NAME "<empty>"
>> #define SYSHOST "<empty>"
>> #define ALLOW_TCL_MFILES "yes"
>> #define DISABLE_NAME_AUTOSWAP "no"
>> #define MPATH_AVAIL "no"
>> #define SETTARG "no"
>> #define IGNORE_DIRS ".svn,.git,.hg,.bzr"
>> #define PIN_VERSIONS "NO"
>> #define TMOD_PATH_RULE "NO"
>> #define TMOD_FIND_FIRST "NO"
>> #define LUA_INCLUDE "NO"
>> #define CACHED_LOADS "NO"
>> #define MODULEPATH_INIT "@PKG@/init/.modulespath"
>>
>> configure: exit 1
>>
>> What I have to do?
>>
>> On Sat, Nov 18, 2017 at 10:58 AM, hermawan dipojono <dip...@gm...>
>> wrote:
>>
>>> Now I got the following:
>>> lua: error loading module 'posix.ctype' from file
>>> '/usr/local/lib/lua/5.1/posix/ctype.so':
>>> /usr/local/lib/lua/5.1/posix/ctype.so: undefined symbol:
>>> lua_tointeger
>>> stack traceback:
>>> [C]: in ?
>>> [C]: in function 'require'
>>> /usr/local/share/lua/5.1/posix/init.lua:32: in main chunk
>>> [C]: in function 'require'
>>> (command line):1: in main chunk
>>> [C]: in ?
>>> Unfortunately, I do not understand what all these mean.
>>> Best Regards
>>>
>>> On Sat, Nov 18, 2017 at 10:49 AM, Robert McLay <mc...@ta...>
>>> wrote:
>>>
>>>> See if you can get to work:
>>>>
>>>> $ lua -e 'require("posix")'
>>>>
>>>> If that works then look at look at what config.log says near where this
>>>> message was generated "Error: The follow lua module(s) are missing:
>>>> posix"
>>>>
>>>>
>>>> R.
>>>>
>>>>
>>>> On Fri, Nov 17, 2017 at 8:40 PM, hermawan dipojono <dip...@gm...>
>>>> wrote:
>>>>
>>>>> When I run configure in Lmod-7.7 I got an error message:
>>>>> Error: The follow lua module(s) are missing: posix
>>>>> I installed luaposix-34.0.1 using luarocks. To know where
>>>>> luarocks put everythings I used: luarocks path and got:
>>>>> export LUA_PATH='/home/hermawan/.luarocks/share/lua/5.1/?.lua;/home
>>>>> /hermawan/.luarocks/share/lua/5.1/?/init.lua;/usr/local/shar
>>>>> e/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/sha
>>>>> re/lua/5.1/?.lua;./?.lua;/usr/local/lib/lua/5.1/?.lua;/usr/l
>>>>> ocal/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?/init.lua'
>>>>> export LUA_CPATH='/home/hermawan/.luarocks/lib/lua/5.1/?.so;/usr/lo
>>>>> cal/lib/lua/5.1/?.so;./?.so;/usr/lib/x86_64-linux-gnu/lua/5.
>>>>> 1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so'
>>>>> Then I put those exports in my .bashrc. I did not work as expected.
>>>>> Could you give suggestions?
>>>>> Thank you very much for your help.
>>>>> Best Regards
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> Lmod-users mailing list
>>>>> Lmo...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/lmod-users
>>>>>
>>>>>
>>>>
>>>
>>
>
|