Author Topic: The short and sweet guide to compiling SVN 895 on Windows  (Read 102103 times)

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #90 on: September 02, 2009, 02:33:15 am »
When I do 'make' this is what I get.
Code: [Select]
$ make
which: pkg-config: unknown command
which: pkg-config: unknown command
make[1]: Entering directory `/home/User/tremulous'

Building Tremulous in build/release-MCD-x86:
  PLATFORM: MCD
  ARCH: x86
  VERSION: 1.1.0_SVN1213
  COMPILE_PLATFORM: mingw32
  COMPILE_ARCH: x86
  CC: cc

  CFLAGS:
    -MMD
    -DNO_VM_COMPILED
    -DUSE_MUMBLE
    -DUSE_VOIP
    -DFLOATING_POINT
    -DUSE_ALLOCA
    -Isrc/libspeex/include
    -DUSE_LOCAL_HEADERS
    -DPRODUCT_VERSION="1.1.0_SVN1213"
    -DNDEBUG
    -O3

  LDFLAGS:

  LIBS:

  Output:
    build/release-MCD-x86/tremded.x86
    build/release-MCD-x86/tremulous.x86
    build/release-MCD-x86/base/cgamex86.so
    build/release-MCD-x86/base/gamex86.so
    build/release-MCD-x86/base/uix86.so

which: pkg-config: unknown command
make[2]: Entering directory `/home/User/tremulous'
DED_CC src/server/sv_client.c
./cc: line 1: Creative_Commons: command not found
./cc: line 2: Creative: command not found
./cc: line 3: Attribution-ShareAlike: command not found
./cc: line 4: CREATIVE: command not found
./cc: line 5: SERVICES.: command not found
./cc: line 6: RELATIONSHIP.: command not found
./cc: line 7: CREATIVE: command not found
./cc: line 8: DISCLAIMS: command not found
./cc: line 9: License: command not found
./cc: line 10: syntax error near unexpected token `('
./cc: line 10: `THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
CREATIVE'
make[2]: *** [build/release-MCD-x86/ded/sv_client.o] Error 2
make[2]: Leaving directory `/home/User/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/User/tremulous'
make: *** [release] Error 2
Does anyone know why that happens? Or is that supposed to happen
« Last Edit: September 02, 2009, 02:35:18 am by tojimaru »

Archangel

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #91 on: September 02, 2009, 03:15:10 am »
rm CC

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #92 on: September 02, 2009, 12:52:27 pm »
Your $PATH has . near the start of it.
Remove the . and it should work fine.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #93 on: September 07, 2009, 11:25:18 pm »
Where do I go to change the $PATH ?

MitSugna

  • Guest
« Last Edit: November 28, 2009, 10:17:02 pm by MitSugna »

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #95 on: November 04, 2009, 12:15:24 am »
Now I get
Code: [Select]
$ make
make[1]: Entering directory `/home/User/Tremulous'
QVM tools not built when cross-compiling

Building Tremulous in build/release-MCD-x86:
  CC: gcc

  CFLAGS:
    -DNO_VM_COMPILED
    -DUSE_LOCAL_HEADERS=1
    -MMD
    -DSVN_VERSION="85"
    -DNDEBUG
    -O3

  Output:
/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for i in ;  do  echo "    $i";  done'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/User/Tremulous'
make: *** [release] Error 2

Could someone help?
« Last Edit: November 04, 2009, 04:53:02 am by tojimaru »

MitSugna

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #96 on: November 09, 2009, 08:50:41 am »
cross compile?

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #97 on: November 10, 2009, 09:44:19 pm »
I don't understand what you mean. I just used msys on windows.
« Last Edit: November 11, 2009, 06:23:08 am by tojimaru »

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #98 on: November 15, 2009, 06:02:20 am »
I'm sure we have people here who can help. But it's sad, that out of all the people here, no one will help me? Real nice. Just shows how great our community is. Or is it because I smell bad?

MitSugna

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #99 on: November 15, 2009, 06:33:55 am »
Sorry. I can compile it myself. But I can't tell what you are doing wrong.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #100 on: November 15, 2009, 11:04:36 pm »
I followed the instructions exactly how they were, and I keep getting this error
Code: [Select]
Output:
/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for i in ;  do  echo "    $i";  done'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/User/Tremulous'
make: *** [release] Error 2

I just want to compile this, I've been wanting to for a very long time now :(
« Last Edit: November 16, 2009, 03:07:18 am by tojimaru »

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #101 on: November 16, 2009, 07:21:38 am »
The line in the original Makefile is for i in $(TARGETS); do echo "    $$i"; done, so apparently your $(TARGETS) is empty. This means you have to specify something to build, either by modifying the Makefile, or by passing it on the commandline, e.g. make BUILD_GAME_QVM=1.

Possible flags are: BUILD_MASTER_SERVER, BUILD_CLIENT, BUILD_SERVER, BUILD_GAME_SO and BUILD_GAME_QVM.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #102 on: November 16, 2009, 08:36:51 pm »
In the Makefile, there's a part that has "TARGETS =" and the rest is empty. Is that what I would have to modify or am I looking at the wrong part? and if it is the right part, what would I put in after the equals sign?

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #103 on: November 16, 2009, 09:37:24 pm »
No, the TARGETS var is built dynamically in the Makefile, there are vars called USE_xxx that you have to set to 1. If you want to build the qvms, you need only USE_GAME_QVM=1.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #104 on: November 17, 2009, 12:30:21 am »
I don't see a USE_GAME_QVM var, but I tryed 'make BUILD_GAME_QVM=1' and I got the same error. I still don't understand what I'm doing wrong.  ???

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #105 on: November 17, 2009, 07:13:13 am »
Yes, sorry, BUILD_GAME_QVM was correct. Now there is still the problem that MitSugna mentioned: The Makefile thinks you are cross-compiling and thus the QVM build is disabled. Make sure you don't have the environment variables $PLATFORM or $ARCH defined before you call make, or call make with the parameters PLATFORM=mingw32 ARCH=x86.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #106 on: November 17, 2009, 02:03:57 pm »
I did 'make PLATFORM=mingw32 ARCH=x86' and this time I got a different error.
Code: [Select]
$ make PLATFORM=mingw32 ARCH=x86
make[1]: Entering directory `/home/User/Tremulous'
make -C src/tools/lcc install
make[2]: Entering directory `/home/User/Tremulous/src/tools/lcc'
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-mingw32-x86/etc/lcc.o etc/lcc.c
make[2]: gcc: Command not found
make[2]: *** [build-mingw32-x86/etc/lcc.o] Error 127
make[2]: Leaving directory `/home/User/Tremulous/src/tools/lcc'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/User/Tremulous'
make: *** [release] Error 2

MitSugna

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #107 on: November 17, 2009, 02:22:59 pm »
There is a problem with your msys setup
With a proper MSYS setup you have access to everything(including gcc) in MinGW/bin (i.e. it is in PATH).

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #108 on: November 17, 2009, 08:58:37 pm »
I installed MSYS-1.0.10.exe to C:\MSys, and then I installed MinGW-5.1.6.exe to C:\MSys\mingw and I extracted w32api-3.11.tar.gz to C:\MSys\mingw. Is there anything wrong with that? And I just want to say that I really appreciate the help I'm getting, thank you.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #109 on: November 17, 2009, 09:23:15 pm »
you need to install mingw first, then msys.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

MitSugna

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #110 on: November 18, 2009, 05:21:29 am »
Order and Naming is not important but it helps a lot. ...



« Last Edit: November 28, 2009, 10:16:30 pm by MitSugna »

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #111 on: November 18, 2009, 08:43:37 pm »
It works! What made it work was installing MinGW first, thank you all so much! You're all awesome.  :D

[ICP]ClownLove

  • Posts: 17
  • Turrets: +0/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #112 on: May 12, 2010, 07:54:05 pm »
can somebody plz help me i am stuck at: 9.) Download the latest Tremulous SVN code by opening a console, cd'ing to your MinGW home folder ('cd C:\MinGW\home\User'), and typing the SVN command:
svn co -r 895 svn://svn.icculus.org/tremulous/trunk Tremulous

i do not have the directory 'cd C;\MinGW\home\User'

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #113 on: May 12, 2010, 08:16:53 pm »
9.) Download the latest Tremulous SVN code by opening a console, cd'ing to your MinGW home folder ('cd C:\MinGW\home\User'), and typing the SVN command:
svn co -r 895 svn://svn.icculus.org/tremulous/trunk Tremulous
(if you feel confident, you can remove the '-r 895' part to download the latest SVN, but safety is not guaranteed)
Isn't it spsed to be C:\msys\home\User ?
::)
^ that was almost 2 years ago :<

[ICP]ClownLove

  • Posts: 17
  • Turrets: +0/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #114 on: May 12, 2010, 08:22:08 pm »
well got any up to date tutorials im running win 7

Shifty

  • Posts: 75
  • Turrets: +0/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #115 on: July 03, 2010, 02:30:01 am »
Hardy short and sweet considering half the files you need to download are missing.

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #116 on: August 25, 2010, 06:19:33 am »
Hardy short and sweet considering half the files you need to download are missing.
agreed
Don't just live life with work.
Find some time every day to have some fun. ;)

Aelita

  • Posts: 743
  • Turrets: +147/-34
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #117 on: August 25, 2010, 06:22:11 am »
Problem: SVN 895 is REALLY OLD. I used to use 933 ( i think?) back 3 years ago or so. 2053 is latest. Do not try 895 please. :)

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #118 on: August 25, 2010, 06:46:40 am »
ok. :-\

now i'm relly confused on what to do now ???
Don't just live life with work.
Find some time every day to have some fun. ;)

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #119 on: September 15, 2010, 01:10:34 am »
sorry for the double post, but if i didn't then ill never get any help.

can someone pls update this so i can do things on my own without haveing to continueously haveing to ask someone else to do it.

Thanks in advance.
Don't just live life with work.
Find some time every day to have some fun. ;)