lua-users home
lua-l archive

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


On Sat, Sep 15, 2012 at 8:51 PM, Paul K <paulclinger@yahoo.com> wrote:
> Hi Ed,
>
>> znmeb@Lubuntu64:~/znmeb-private/ZeroBrane/zbstudio$ lua src/main.lua zbstudio
>> lua: error loading module 'wx' from file 'bin/libwx.dylib':
>
> This means that you dont have wx library installed for your platform.
> It then tried to load wx from dylib (which is for OSX), and failed.
>
> Try running "lua -e 'require wx'" from the command line. It will
> likely complain that module wx not found (maybe you will see the
> details of why it's not loaded). As long as you can successfully
> 'require" wx module, you should be able to start the IDE.
>
>> I'll try again with 32-bit Lubuntu, but eventually I need this to work
>> on 64-bit and 100 percent built from source or distro repositories.
>
> It should still work as you can run 32-bit applications on 64-bit
> systems, but you can definitely compile wxlua from sources. As the
> experience is for adventurous souls, I tried to simplify the process
> for those who just want to use the IDE on Linux.

I mostly have wxLua built from source on 64-bit Fedora. It turns out
that it grabs a copy of wxstedit and builds that now, rather than
requiring a separate install. It built the libraries but is missing an
include file. That's not likely to be insurmountable; worst case is I
have to go on another mailing list. ;-)


>
> Paul.
>
> On Sat, Sep 15, 2012 at 7:22 PM, M. Edward (Ed) Borasky <znmeb@znmeb.net> wrote:
>> Looks like it only runs on a 32-bit system - I built a 64-bit virtual machine:
>>
>> znmeb@Lubuntu64:~/znmeb-private/ZeroBrane/zbstudio$ lua src/main.lua zbstudio
>> lua: error loading module 'wx' from file 'bin/libwx.dylib':
>>         bin/libwx.dylib: invalid ELF header
>> stack traceback:
>>         [C]: ?
>>         [C]: in function 'require'
>>         src/main.lua:21: in main chunk
>>         [C]: ?
>> znmeb@Lubuntu64:~/znmeb-private/ZeroBrane/zbstudio$
>>
>> I'll try again with 32-bit Lubuntu, but eventually I need this to work
>> on 64-bit and 100 percent built from source or distro repositories.
>>
>> On Sat, Sep 15, 2012 at 4:57 PM, Paul K <paulclinger@yahoo.com> wrote:
>>> Hi Ed,
>>>
>>> Yes, with the most recent changes it should work almost out of the box.
>>>
>>> For those interested in running ZeroBrane Studio on Linux, the setup
>>> process is down to three steps:
>>>
>>> 1. Clone the repo: https://github.com/pkulchenko/ZeroBraneStudio
>>> 2. Run (cd build; bash ./install-deb.sh) to install wxlua and all the
>>> dependencies
>>> 3. Run lua src/main.lua zbstudio
>>>
>>> Enjoy and let me know if you run into any issues in the process...
>>> Tested on Ubuntu, but should work anywhere where deb packages are
>>> recognized.
>>>
>>> Paul.
>>>
>>> On Sat, Sep 15, 2012 at 1:52 PM, M. Edward (Ed) Borasky <znmeb@znmeb.net> wrote:
>>>> On Mon, Sep 3, 2012 at 6:47 PM, Paul K <paulclinger@yahoo.com> wrote:
>>>>
>>>> [snip]
>>>>
>>>>> There were several changes to improve running on Linux, but more
>>>>> complete Linux support is still work in progress.
>>>>
>>>> Would you like some help with that? I'm trying to get it running on
>>>> Fedora and I haven't figured out what all the dependencies are. If I
>>>> have a virtual machine running Ubuntu, is there a build script I can
>>>> cannibalize?
>>>> --
>>>> Twitter: http://twitter.com/znmeb; Computational Journalism Publishers
>>>> Workbench: http://j.mp/QCsXOr
>>>>
>>>> How the Hell can the lion sleep with all those people singing "A weem
>>>> oh way!" at the top of their lungs?
>>>
>>
>>
>>
>> --
>> Twitter: http://twitter.com/znmeb; Computational Journalism Publishers
>> Workbench: http://j.mp/QCsXOr
>>
>> How the Hell can the lion sleep with all those people singing "A weem
>> oh way!" at the top of their lungs?
>>
>



-- 
Twitter: http://twitter.com/znmeb; Computational Journalism Publishers
Workbench: http://j.mp/QCsXOr

How the Hell can the lion sleep with all those people singing "A weem
oh way!" at the top of their lungs?