Hello All…
There is a vector drawing application I found in Ubuntu that I really like. It is called IPE (ipe7.sourceforge.net). It is simple and interfaces with latex, perfect for technical writing.
It is challenging to build/install on Suse 11.4. First the only RPM's are for an older version that is 2+ year old now. So I decided to go ahead and build my own. The build process is not smooth though, but I managed to get it to work. Let me explain the process.
1) Download and move the *.tar.gz from the source forge website. Move it to a folder where you can build it (like /home/user/software/)
2) gunzip and tar -xf the files to release the source code from the tarball
3) go into Yast and install the packages "lua-devel" and "Qt-devel"
4) back to the terminal... cd to the directory where you put the tarball and cd further into ipe-7.0.14/src/
5) vim config.mak and uncomment the line (or use any other text editor)
IPEPREFIX := /usr/local
Then find the lines:
MOC ?= moc-qt4
#MOC ?= moc
Switch the comments around on those two lines. In Suse the program moc is the same as the program moc-qt4 in Ubuntu.
6) Here is the tricky bit... at some point the makefile will search for package "lua5.1" thus get lost and crash when pkg-config cannot find lua5.1.pc. Again this is a relic of ubuntu putting the version number in the file name. The fix here is to locate your lua.pc file. The command "find /usr/ -name 'lua.pc'" should do the trick. Then in that directory as root create a symbolic link to lua.pc with this command "ln -s lua.pc lua5.1.pc".
7) At this point this system is ready to compile IPE... go back to the terminal and in the same src directory you edited that mak file and type the comman "make"
8) Hopefully no errors... if so type "make install" (as root)
9) Last but not least as root type ldconfig!!!
At this point your should have IPE working.
I hope this helps other users... more importantly maybe this will help the folks at build services to create a working RPM? Best of luck...
pilot