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

Gwenaël Cléon gwenael.cleon at gmail.com
Sun Dec 6 13:26:14 CET 2009


Thanks.
I actually did the make install.
export LUAPATH=ipe/lua/?.lua
solved the previous error. But now there is a new one :

fopen error: No such file or directory
stack traceback:
	[C]: in function 'assert'
	ipe/lua/model.lua:407: in function 'newDocument'
	ipe/lua/model.lua:100: in function 'init'
	ipe/lua/model.lua:37: in function 'new'
	ipe/lua/main.lua:243: in main chunk
	[C]: in function 'require'
	[string "require "main""]:1: in main chunk


Ideas ?

Le 6 déc. 2009 à 12:28, Otfried Cheong a écrit :

> 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
>
>
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/ipe-discuss




More information about the Ipe-discuss mailing list