lua-users home
lua-l archive

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


On Mon, Oct 19, 2015 at 1:48 AM, Mooffie <mooffie@gmail.com> wrote:
On 10/19/15, Leo Romanoff <romixlev@yahoo.com> wrote:
> On Fri, Oct 16, 2015 at 7:31 AM, Mooffie <mooffie@gmail.com> wrote:
> > I'm not familiar with OS X, but any document explaining how to build
> > the plain vanilla mc will suit you.
> [...]
> your branch on github does not contain "configure"

Repositories don't normally contain auto-generated files like
'configure' and a few others. Such files do get contained in something
called a "tarball", which are the tar.gz archives you've seen.

Good news: you can now download a tarball of mc^2.

I've updated the "Installation" document.[1] It now has an info-box at
"Step 3" with a link to the tarball.


Thanks a lot! It helps.
 
[1] http://www.typo.co.il/~mooffie/mc-lua/docs/html/guide/80-installation.md.html

> I usually install mc on OS X using brew. [...]
> The Brew formula for mc can be found here:
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/midnight-commander.rb

Thanks for the pointer. Based on that script I think we're almost at
the finish line. All you need to do is add "--with-lua" to
'configure's invocation. It'd then detect Lua's existence by using the
'pkg-config' binary. If you encounter problems, let me know the output
of 'configure' and the output of:

pkg-config --list-all | grep lua

I was able to build MC^2 now using brew and providing LUA_LIBS and LUA_CFLAGS. I tried with lua5.2 installed by means of "brew install lua".  The built MC is able to start and seems to work in general. 

But there are some issues:
- I cannot use a sub-shell, when I use Ctrl-O. The panels disappear, but I do not see the shell prompt and cannot use it. Do you have any ideas why this could happen?

- Some key combinations do not work. But this is most likely an OSX issue.

BTW, are you planning to provide a dedicated way to ask questions and file issues for MC^2? Using this list for this purpose is probably not the best idea.

Thanks again,
  Leo