[Ipe-discuss] Compiling Ipe on Mac OSX 10.6 : almost done

Otfried Cheong otfried at ipe.airpost.net
Sun Dec 6 12:28:54 CET 2009


Gwenaël Cléon wrote:
> I finally succeeded ti compile ipe on MacOSX. The main problem was 
> (thanks to Yves Brise !) that the old librairies of ipe 6 were still in 
> /usr/local/lib and /usr/local/include. After that I had to compile 
> manually fontconfig, cairo and pixman (had to add 
> /usr/local/lib/pkgconfig in the PKG_CONFIG_PATH). Then, compilation OK, 
> and installation OK. BUT when I try to launch ipe, it crashes with the 
> following error message :
> 
> macbook:src gwenael$ /usr/local/bin/ipe
> [string "require "main""]:1: module 'main' not found:
> no field package.preload['main']
> no file '/opt/ipe-7/share/ipe/7.0.8/lua/main.lua'
> no file './main.so'
> no file '/usr/local/lib/lua/5.1/main.so'
> no file '/usr/local/lib/lua/5.1/loadall.so'
> stack traceback:
> [C]: in function 'require'
> [string "require "main""]:1: in main chunk
> 
> and it's true that I can't find these files. Any explanation ?

It seems you simply haven't said "make install".  Ipe is now partly
written in Lua, and the Lua files have to be found somehow.  They are
originally in "src/ipe/lua", and are installed to
".../share/ipe/7.0.8/lua" by make install.

You could try to set IPELUAPATH to ".../src/ipe/lua/?.lua" before trying
Ipe.

By the way, the most recent version is 7.0.9 :-)

Otfried





More information about the Ipe-discuss mailing list