[SVN] Connot compile on Arch Linux

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

[SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Thu May 27, 2010 5:12 am

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?
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: [SVN] Connot compile on Arch Linux

Postby CLoneWolf » Thu May 27, 2010 8:15 am

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
CLoneWolf
ISO Party Member
ISO Party Member
 
Posts: 442
Topics: 9
Joined: Thu May 01, 2008 10:14 am

Re: [SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Sat May 29, 2010 10:38 am

Didn't help.


I have boost 1.41.0 and I have used
./configure --enable-release --disable-debug --enable-cubemap --with-boost=system
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Re: [SVN] Connot compile on Arch Linux

Postby CLoneWolf » Sat May 29, 2010 11:11 am

What does the src/cmd/basecomputer.cpp.rej file say?
CLoneWolf
ISO Party Member
ISO Party Member
 
Posts: 442
Topics: 9
Joined: Thu May 01, 2008 10:14 am

Re: [SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Sat May 29, 2010 11:28 am

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 );
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Re: [SVN] Connot compile on Arch Linux

Postby CLoneWolf » Sat May 29, 2010 12: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? :roll:
CLoneWolf
ISO Party Member
ISO Party Member
 
Posts: 442
Topics: 9
Joined: Thu May 01, 2008 10:14 am

Re: [SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Sat May 29, 2010 2:55 pm

If this is some help
http://aur.archlinux.org/packages.php?ID=16927

There you will find pkgbulid and so on.
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Re: [SVN] Connot compile on Arch Linux

Postby klauss » Mon May 31, 2010 7:32 am

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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: [SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Mon May 31, 2010 12:45 pm

Which file should I post?

I'm not a programmer, it's difficult to me to find right file:)
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Re: [SVN] Connot compile on Arch Linux

Postby klauss » Mon May 31, 2010 1: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
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: [SVN] Connot compile on Arch Linux

Postby Majki-Fajki » Tue Jun 01, 2010 4:15 am

I posted it already in this thread :)
Majki-Fajki
Explorer
Explorer
 
Posts: 10
Topics: 2
Joined: Sun May 23, 2010 4:00 am

Re: [SVN] Connot compile on Arch Linux

Postby klauss » Tue Jun 01, 2010 9:40 am

Majki-Fajki wrote:I posted it already in this thread :)


Hm... I seem to have missed it...
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests

cron