View topic - make install-spring fails



All times are UTC + 1 hour


Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 04 Dec 2010, 16:34 

Joined: 04 Dec 2010, 16:13
Location: Russia
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:
Quote:
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.
Full log is at http://pastebin.com/xUr4yaAx
What is wrong? What should I do with this?


Top
 Offline Profile  
 
PostPosted: 04 Dec 2010, 17:11 

Joined: 15 Aug 2010, 12:50
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ÔÇØ.


Top
 Offline Profile  
 
PostPosted: 04 Dec 2010, 17:17 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
Quote:
Built target engine-default

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).


Top
 Offline Profile  
 
PostPosted: 04 Dec 2010, 20:20 

Joined: 04 Dec 2010, 16:13
Location: Russia
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
Quote:
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:
Quote:
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.


Top
 Offline Profile  
 
PostPosted: 04 Dec 2010, 21:04 

Joined: 04 Dec 2010, 16:13
Location: Russia
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.


Top
 Offline Profile  
 
PostPosted: 04 Dec 2010, 21:08 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
Hrenomoto wrote:
Is there a bugzilla or something?
http://springrts.com/mantis/


Top
 Offline Profile  
 
PostPosted: 05 Dec 2010, 11:00 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
what CMake version do you use?


Top
 Offline Profile  
 
PostPosted: 05 Dec 2010, 15:44 

Joined: 04 Dec 2010, 16:13
Location: Russia
cmake version 2.6-patch 4


Top
 Offline Profile  
 
PostPosted: 05 Dec 2010, 16:18 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
hmmm.. ok :/ no idea then.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.