Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Majki-Fajki
Explorer
Posts: 10 Joined: Sun May 23, 2010 11:00 am
Post
by Majki-Fajki » Thu May 27, 2010 12:12 pm
Hello
I'm on Arch Linux, trying to compile SVN (using AUR)
Code: Select all
==> Setting up build environment...
==> Starting make...
patching file boost/1_35/boost/mpl/apply.hpp
patching file boost/1_35/boost/mpl/apply_wrap.hpp
patching file boost/1_35/boost/mpl/aux_/full_lambda.hpp
patching file boost/1_35/boost/mpl/aux_/numeric_op.hpp
patching file boost/1_35/boost/mpl/bind.hpp
patching file src/cmd/basecomputer.cpp
Hunk #1 FAILED at 3142.
1 out of 1 hunk FAILED -- saving rejects to file src/cmd/basecomputer.cpp.rej
==> BŁĄD: Budowanie nie powiodło się.
Anybody encoutered this?
CLoneWolf
ISO Party Member
Posts: 443 Joined: Thu May 01, 2008 5:14 pm
Post
by CLoneWolf » Thu May 27, 2010 3:15 pm
It looks like the boost it's trying to use is the one shipped with VS, which is outdated.
Check this for the current best practice under Linux; before applying those steps, install the newest boost available for your distro.
HTH
Majki-Fajki
Explorer
Posts: 10 Joined: Sun May 23, 2010 11:00 am
Post
by Majki-Fajki » Sat May 29, 2010 5:38 pm
Didn't help.
I have boost 1.41.0 and I have used
./configure --enable-release --disable-debug --enable-cubemap --with-boost=system
CLoneWolf
ISO Party Member
Posts: 443 Joined: Thu May 01, 2008 5:14 pm
Post
by CLoneWolf » Sat May 29, 2010 6:11 pm
What does the src/cmd/basecomputer.cpp.rej file say?
Majki-Fajki
Explorer
Posts: 10 Joined: Sun May 23, 2010 11:00 am
Post
by Majki-Fajki » Sat May 29, 2010 6:28 pm
Code: Select all
--- src/cmd/basecomputer.cpp 2009-07-17 20:59:40.166058029 +0200
+++ src/cmd/basecomputer.cpp 2009-07-17 21:06:02.696008744 +0200
@@ -3142,7 +3142,7 @@
return s1.st_mtime - s2.st_mtime;
}
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if (__GLIBC__>2 || __GLIBC_MINOR__>=10) || (defined(_WIN32) && !defined(CYGWIN))
typedef int (*scancompare) ( const struct dirent **v1, const struct dirent **v2 );
#else
typedef int (*scancompare) ( const void *v1, const void *v2 );
CLoneWolf
ISO Party Member
Posts: 443 Joined: Thu May 01, 2008 5:14 pm
Post
by CLoneWolf » Sat May 29, 2010 7:29 pm
Hmm... searching the forum for dirent shows 2 relevant threads, but they're about its usage once in the code; your error is very weird, as the patching process refuses to update the code; does the patching process make further checks that may fail for some reason? Klauss, you there?
klauss
Elite
Posts: 7243 Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina
Post
by klauss » Mon May 31, 2010 2:32 pm
You could post here the contests of the .rej file patch generates, which says exactly what went wrong with the patching process.
In any case, you could try cmake. It may have better luck.
Majki-Fajki
Explorer
Posts: 10 Joined: Sun May 23, 2010 11:00 am
Post
by Majki-Fajki » Mon May 31, 2010 7:45 pm
Which file should I post?
I'm not a programmer, it's difficult to me to find right file:)
klauss
Elite
Posts: 7243 Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina
Post
by klauss » Mon May 31, 2010 8:16 pm
Majki-Fajki wrote: Which file should I post?
I'm not a programmer, it's difficult to me to find right file:)
Code: Select all
Hunk #1 FAILED at 3142.
1 out of 1 hunk FAILED -- saving rejects to file src/cmd/basecomputer.cpp.rej
So...
src/cmd/basecomputer.cpp.rej
Majki-Fajki
Explorer
Posts: 10 Joined: Sun May 23, 2010 11:00 am
Post
by Majki-Fajki » Tue Jun 01, 2010 11:15 am
I posted it already in this thread
klauss
Elite
Posts: 7243 Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina
Post
by klauss » Tue Jun 01, 2010 4:40 pm
Majki-Fajki wrote: I posted it already in this thread
Hm... I seem to have missed it...