Please do
$ module --config 2> config.log
and send me (mc...@ta...) the config.log file
Thanks,
R.
On Tue, Mar 24, 2015 at 9:35 AM, Luca Paglieri <luc...@po...>
wrote:
> Hi all,
>
> rather new to Lmod, I've installed straightforwardly lua.5.3 and
> Lmod-5.9.0, and, despite trying different options, I get always the same
> error
>
> $ module avail
> /opt/lmod/bin/lua: /opt/lmod/lmod/lmod/libexec/MT.lua:52: variable
> 'unpack' is not declared
>
> I've searched the internet, and no other similar error is found, so I
> assume it's indeed my peculiar installation process that fails somewhere
> (however unnoticed).
> Nevertheless I cannot spot the fault in my installation process, which is
> reported below. Modifying some option (e.g. "make linux" in building lua,
> or some options in Lmod configure) does not change the problem.
>
> On the same system (Scientific Linux 7.0) there is another lua
> installation, but I think I'm keeping the usage of the new installation
> pretty confined.
> I cannot ask you the solution, but possibly some of you is able to spot
> the weak point of my installation and direct me to it.
>
> Thank you very much
> luca
>
> #################################################################
> tar -xzf lua-5.3.0.tar.gz
> pushd lua-5.3.0
> make posix
> make INSTALL_TOP= ${mkSystemDir}/lmod install
> popd
>
> unzip luarocks-2.2.0-2.src.rock
> tar -xzvf luarocks-2.2.0.tar.gz
> pushd luarocks-2.2.0
> ./configure --with-lua=${topdir}/lmod --prefix=${topdir}/lmod
> --force-config
> make build
> make install
> make bootstrap
> ${topdir}/lmod/bin/luarocks install luaposix
> ${topdir}/lmod/bin/luarocks install luafilesystem
> popd
> #
> # Lmod
> wget "http://prdownloads.sourceforge.net/lmod/Lmod-5.9.tar.bz2"
> tar -xjf Lmod-5.9.tar.bz2
> pushd Lmod-5.9
> PATH=${topdir}/lmod/bin:${PATH} ./configure --prefix=/opt/lmod/
> --with-module-root-path=/moddir/modules/
> --with-spiderCacheDir=/moddir/modules/cacheDir
> --with-updateSystemFn=/moddir/modules --with-duplicatePaths=yes
> --with-tcl=false
> make LUA_INCLUDE=${topdir}/lmod/include/ install
> popd
> ##################################################################
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Lmod-users mailing list
> Lmo...@li...
> https://lists.sourceforge.net/lists/listinfo/lmod-users
>
>
|