lua-users home
lua-l archive

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


  Hi Dirk,

  I unpacked and tested iup-3.4_Linux26g4_lib.tar.gz but no error occurred.

  I unpacked and tested iup-3.3_Linux26g4_lib.tar.gz and the error you
describe occurred.

  Maybe you downloaded 3.3 version by mistake?

Best,
scuri

> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org]
> On Behalf Of Dirk Laurie
> Sent: quarta-feira, 23 de fevereiro de 2011 06:51
> To: Lua mailing list
> Subject: IUP and Ubuntu
> 
> Being curious to see Steve Litt's presentation, I installed IUP.
> Not too much joy so far.
> 
> My default lua is lua5.1 as supplied in Ubuntu Lucid.
> I downloaded iup-3.4_Linux26g4_lib.tar.gz into a new directory.
> No instructions, but three files with suggestive names which
> I ran in the following order (a typical line of output is shown):
> 
>     sudo ./install
> ...
> `libiuplua51.so' -> `/usr/lib/libiuplua51.so'
> ...
>     sudo ./install_dev
> ...
> `include/iup.h' -> `/usr/include/iup/iup.h'
> ...
>     sudo ./config_lua_module
> ...
> `iuplua.so' -> `/usr/lib/libiuplua51.so'
> ...
> 
> Then I tried it out, not getting past square one, thus:
> 
> $ lua
> Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> > require"iuplua"
> attempt to call a nil value
> stack traceback:
>     [C]: ?
>     [C]: in function 'require'
>     stdin:1: in main chunk
>     [C]: ?
> >
> 
> Dirk