[Ipe-discuss] How to compile under gentoo [:)]

by liu liubenyuan at gmail.com
Sat Sep 19 13:30:03 CEST 2009


besides some required packages, the following file should be modified
if you want to compile it under gentoo successfully:

[summary : gentoo's pkg-config of lua is just lua, and the make doc is
errorsome]

 diff -urB ../../ipe/ipe-7.0.1/src/config.mak ./config.mak
--- ../../ipe/ipe-7.0.1/src/config.mak	2009-09-18 05:41:35.000000000 +0800
+++ ./config.mak	2009-09-19 18:50:07.023575342 +0800
@@ -17,8 +17,8 @@
 FREETYPE_LIBS ?= $(shell pkg-config --libs freetype2)
 CAIRO_CFLAGS  ?= $(shell pkg-config --cflags cairo)
 CAIRO_LIBS    ?= $(shell pkg-config --libs cairo)
-LUA_CFLAGS    ?= $(shell pkg-config --cflags lua5.1)
-LUA_LIBS      ?= $(shell pkg-config --libs lua5.1)
+LUA_CFLAGS    ?= $(shell pkg-config --cflags lua)
+LUA_LIBS      ?= $(shell pkg-config --libs lua)
 QT_CFLAGS     ?= $(shell pkg-config --cflags QtGui QtCore)
 QT_LIBS	      ?= $(shell pkg-config --libs QtGui QtCore)
 MOC	      ?= moc
diff -urB ../../ipe/ipe-7.0.1/src/ipe/Makefile ./ipe/Makefile
--- ../../ipe/ipe-7.0.1/src/ipe/Makefile	2009-09-18 05:41:34.000000000 +0800
+++ ./ipe/Makefile	2009-09-19 19:15:24.056422866 +0800
@@ -57,7 +57,7 @@
 	$(INSTALL_DIR) $(INSTALL_ROOT)$(IPEICONDIR)
 	$(INSTALL_PROGRAMS) $(INSTALL_ROOT)$(IPEBINDIR) $(TARGET)
 	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPEMANDIR) ../../man/*.1
-	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPEDOCDIR) ../../build/doc/*
+#	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPEDOCDIR) ../../build/doc/*
 #	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPEDOCDIR) ../../doc/*
 	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPELUADIR) lua/*.lua
 	$(INSTALL_FILES) $(INSTALL_ROOT)$(IPESTYLEDIR) ../../styles/basic.isy
Only in .: ipe-7.0.1-gentoo.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipe-7.0.1-gentoo.diff
Type: application/octet-stream
Size: 1444 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20090919/171a6b23/attachment.obj 


More information about the Ipe-discuss mailing list