Xonotic Forums
[NEEDS INFO] Won't compile - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [NEEDS INFO] Won't compile (/showthread.php?tid=2609)



Won't compile - kake - 02-11-2012

Hello there, every time I try to compile I get this error

$ ./all compile
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled by default
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
+ gcc -DSUPPORTIPV6 misc/tools/conftest.c -o conftest
+ cd /home/kakkou/Downloads/Xonotic/xonotic/d0_blind_id
cd: 2106: can't cd to /home/Xonotic/xonotic/d0_blind_id


Any ideas?


RE: Won't compile - Mr. Bougo - 02-11-2012

Do an update first. If it still won't work, do you have d0_blind_id directory? Maybe try renaming it and updating again.


RE: Won't compile - kake - 02-11-2012

Thanks for responding

ls -a 'd inside and didnt find any file or directory by that name

and the result of the update was

Code:
$ ./all update
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled by default
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled by default
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
+ cd /home/Xonotic/xonotic/.
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/data/xonotic-data.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-data.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/.
+ git pull
Already up-to-date.
+ git remote prune origin
+ cd /home/Xonotic/xonotic/data/xonotic-data.pk3dir
+ git pull
Already up-to-date.
+ git remote prune origin
+ git clone git://us.git.xonotic.org/xonotic/xonotic-music.pk3dir.git /home/Xonotic/xonotic/data/xonotic-music.pk3dir
Cloning into /home/kakkou/Downloads/Xonotic/xonotic/data/xonotic-music.pk3dir...
remote: Counting objects: 153, done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 153 (delta 49), reused 97 (delta 30)
Receiving objects: 100% (153/153), 187.21 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (49/49), done.
+ cd /home/Xonotic/xonotic/data/xonotic-music.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-music.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config push.default current
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ git clone git://us.git.xonotic.org/xonotic/darkplaces.git /home/Xonotic/xonotic/darkplaces
Cloning into /home/Xonotic/xonotic/darkplaces...
us.git.xonotic.org[0: 173.193.235.57]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

Firewall issue?


RE: Won't compile - Mr. Bougo - 02-12-2012

This is really strange... Why would it suddenly block you in the middle of the update when the previous updates worked just fine... Does it always happen at that point? What happens when you try a second update after that?


RE: Won't compile - divVerent - 02-12-2012

Trying again should help here. Looks like us.git.xonotic.org has too much load.


RE: Won't compile - kake - 02-12-2012

I tried it several times, and got essentially... the same thing.

Code:
$ ./all update
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
+ cd /home/Xonotic/xonotic/.
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/data/xonotic-data.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-data.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/data/xonotic-music.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-music.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/.
+ git pull
Already up-to-date.
+ git remote prune origin
us.git.xonotic.org[0: 173.193.235.57]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)


---------------------------------------------------------------------------------------------------------Second try

$ ./all update
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled by default
Repository netradiant enabled by default
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled by default
Repository data/xonotic-maps.pk3dir enabled by default
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled by default
+ cd /home/Xonotic/xonotic/.
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/data/xonotic-data.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-data.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/data/xonotic-music.pk3dir
+ git config remote.origin.url git://us.git.xonotic.org/xonotic/xonotic-music.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /home/Xonotic/xonotic/.
+ git pull
us.git.xonotic.org[0: 173.193.235.57]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
Pulling failed. Press ENTER to continue, or Ctrl-C to abort.


+ git remote prune origin
us.git.xonotic.org[0: 173.193.235.57]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

Does the same thing every time I try. Any recommendations?

Thank you


RE: Won't compile - Mr. Bougo - 02-12-2012

You can try to pull from the german or dutch servers using ./all update -l de or ./all update -l nl
If that still doesn't work, make sure you switch back to the us for the future pulls with ./all update -l us (unless you don't mind the laggier intercontinental link)