As Anton said, one has to use absolute paths, so the problem was here:
#not working:
me@debian ~/YADE/YADEgit20120704-cmake >cmake -DINSTALL_PREFIX=.
/home/me/YADE/trunk
#also not working:
me@debian ~/YADE/YADEgit20120704-cmake >cmake
-DINSTALL_PREFIX=/home/me/YADE/YADEgit20120704-cmake/
/home/me/YADE/trunk
#this is correct:
me@debian ~/YADE/YADEgit20120704-cmake >cmake
-DINSTALL_PREFIX=/home/me/YADE/YADEgit20120704-cmake /home/me/YADE/trunk
@anton: Thanks for the hint.
@klaus: I know the problems, that occur while compiling yade on
rpm-based systems. Libraries have different names and paths to
libraries can be different. The first time I needed four days to
compile it on Mandriva Linux...
Zitat von Klaus Thoeni <klaus.tho...@gmail.com>:
Hi Christian,
I successfully compiled Yade using cmake on Red Hat Enterprise Linux Server
release 6.2 (Santiago) after several days of trail and error ;-)
However, I never had this problem. It seems the error is during runtime,
right?
Klaus
On Wed, 4 Jul 2012 07:48:52 PM Christian Jakob wrote:
I successfully compiled yade (2012-07-04.git-cc040a1) with cmake. As
Anton said cmake needs a new library (libxi-dev on debian squeeze). I
edited the installation wiki [1] for debian. Please check if in ubuntu
the needed library has the same name and update the wiki for ubuntu
installation.
[1] https://yade-dem.org/wiki/Installation_of_yade_on_debian_or_kubuntu
When I try to run executable from bin or bins folder I get this message:
Traceback (most recent call last):
File
"/home/me/YADE/YADEgit20120704-cmake/bins/yade-2012-07-04.git-cc040a1",
line 22, in <module>
raise RuntimeError('Neither non-debug nor debug build found!
('+nonDebugLibDir+'/py/yade/__init__.py,
'+debugLibDir+'/py/yade/__init__.py)')
RuntimeError: Neither non-debug nor debug build found!
(./lib/yade-2012-07-04.git-cc040a1/py/yade/__init__.py,
./lib/yade-2012-07-04.git-cc040a1/dbg/py/yade/__init__.py)
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp