Hello. I'm trying to build spring-0.82.6.1 on my opensuse x86_32 system. First i run "cmake -DCMAKE_INSTALL_PREFIX=/usr ." and get no errors, which, i believe, means that all dependencies for spring are satisfied. "make spring" doesn't show no errors too. Then i run "sudo make install-spring" (sudo to write files to system folders in /usr), and that's the error I get:
CMake Error at rts/builds/default/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/mkv/src/spring_0.82.6.1/rts/builds/default/CMakeFiles/CMakeRelink.dir/spring" to install.
Either your Spring archive was missing some files or something went wrong during compilation: check makeÔÇÖs log (or ÔÇ£pastebinÔÇØ it here). Also you can run ÔÇ£ccmake .ÔÇØ before cmake to have the full list of build options. If nothing else works, maybe try to run ÔÇ£makeÔÇØ instead of ÔÇ£make springÔÇØ.
this is the target that creates the binary (spring), which is not found by the install target. i don't know whats wrong there. search for files of the name "spring" and "engine-default" in the build dir (which is equal to the source dir for you). maybe it is in the wrong place, or it uses the wrong name. if that gives no hint, the log of make would be good (maybe delete CMakeCache.txt and do the whole procedure again first).
I tried to build spring from git and the same problem appeared, which makes me think that it's my system's fault. However. The problem is
file INSTALL cannot find file "/home/mkv/src/spring_0.82.6.1/rts/builds/default/CMakeFiles/CMakeRelink.dir/spring" to install.
Solution is simple: ln -s `pwd`/spring rts/builds/default/CMakeFiles/CMakeRelink.dir/spring which leads us to another problem:
file INSTALL cannot find file "/home/mkv/src/spring_0.82.6.1/tools/unitsync/CMakeFiles/CMakeRelink.dir/libunitsync.so" to install.
which should be probably solved in the same way: ln -s `pwd`/libunitsync.so rts/builds/default/CMakeFiles/CMakeRelink.dir/libunitsync.so but it doesn't work. ./libunitsync.so is the only file found with such name, but it still doesn't work and i don't know what to do next, maybe i'm just tired... Anyway, here is what make spring returned to standard output: http://pastebin.com/R05jJBEC And i'm sorry if my English is bad and hard to parse, it's not my first language.
Great! I did it! Just made some symbolic links in rts/builds/default/CMakeFiles/CMakeRelink.dir and it worked. But WHY should i do this manually?! I think it's a bug. Is there a bugzilla or something? And i'm not sure my spring built in such strange way will work properly. I gonna test it right now.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum