Antônio,
The package you have indicated, when installed, produces no error.
However, when I did "require('iuplua')" in a script, I got the
following error:
lua: z.lua:1: module 'iuplua' not found:
no field package.preload['iuplua']
no file './iuplua.lua'
no file '/usr/local/share/lua/5.1/iuplua.lua'
no file '/usr/local/share/lua/5.1/iuplua/init.lua'
no file '/usr/local/lib/lua/5.1/iuplua.lua'
no file '/usr/local/lib/lua/5.1/iuplua/init.lua'
no file '/usr/share/lua/5.1/iuplua.lua'
no file '/usr/share/lua/5.1/iuplua/init.lua'
no file './iuplua.so'
no file '/usr/local/lib/lua/5.1/iuplua.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/iuplua.so'
no file '/usr/lib/lua/5.1/iuplua.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
z.lua:1: in main chunk
[C]: ?
After this message, I tried to search the installed files. I did:
sudo updatedb
sudo locate iuplua
Among several files, I found /usr/lib64/libiuplua51.so.
Well, it seems IUP is installed but it's not found by Lua. So I tried:
package.cpath = package.cpath .. '/usr/lib64/?.so'
require('iuplua')
iup.Message('An IUP test')
Lua follows not finding IUP libraries.
2015-11-17 19:48 GMT-02:00, luciano de souza <[email protected]>:
> hello all,
>
> I want to install IUP and CD, however, when browsing Sourceforge
> files, I don't know which of the uncountable packages I should
> download.
>
> I tried:
> iup-3.16-Lua51_Linux32_64_lib.tar.gz
> iup-3.16-Lua51_Linux26g4_64_lib.tar.gz
>
> In both cases, I got errors.
>
> My configuration is:
> Linux luciano 3.13.0-39-lowlatency #66+7.0trisquel2 SMP PREEMPT Wed
> Oct 29 17:10:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> GCC 4.1.8.4
> lua 5.1
>
> Regarding this, which packages of IUP and CD should I download?
>
> Best regards,
>
> --
> Luciano de Souza
>
--
Luciano de Souza
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users