Tremulous Forum

Mods => Modding Center => Topic started by: benmachine on June 03, 2007, 03:26:31 pm

Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 03, 2007, 03:26:31 pm
OK, I put together this guide by request. Compilation on mac is really quite simple once you have all the necessary applications and utilities, but it does help if you have at least a basic understanding of the command line. Open up your applications folder, look for Utilities, and find Terminal. Drop it into your dock, you're going to need it. Open it up, and you should be greeted with something like
Code: [Select]
Last login: Sun Jun  3 13:39:11 on console
Welcome to Darwin!
casino:~ ben$
From here, type pwd - print working directory
Code: [Select]
casino:~ ben$ pwd
/Users/ben
Your next command is cd - change directory. A special note: . is the current directory, .. is the parent directory (Users in this case)
Code: [Select]
casino:~ ben$ cd Documents/
casino:~/Documents ben$ pwd
/Users/ben/Documents
casino:~/Documents ben$ cd ..
casino:~ ben$ pwd
/Users/ben
Also useful is ls (that's LS in lowercase) which lists all files in the current directory.
Code: [Select]
casino:~ ben$ ls
Desktop   Library   Music     Public    base
Documents Movies    Pictures  Sites
That should be enough for now, time to move on to the important stuff. The first thing you'll need is Xcode Tools, a package of source code handling applications and utilities found on your OSX install disk. Find that disk, insert it, and install Xcode. You can now compile, but you still need something to compile - time to get some SVN.
http://metissian.com/projects/macosx/subversion/ (http://metissian.com/projects/macosx/subversion/)
Download the most recent version and follow instructions to install it - shouldn't be too hard. However, you can't actually use SVN until you've completed this next bit - probably the hardest - changed your PATH to find it.
New terminal command for you - echo. Simple enough, it prints the arguments you give it.
Code: [Select]
casino:~ ben$ echo these are some arguments
these are some arguments
Why is this useful? You can get it to print variables too. There are several variables the system uses, and you can read them by typing echo $VARIABLE (this will return nothing as there is no variable called $VARIABLE). Try for example:
Code: [Select]
casino:~ ben$ echo $TERM_PROGRAM
Apple_Terminal
The variable TERM_PROGRAM stores the name of the program you are using to access the command line. Why is all this important? Well, the variable PATH contains all the locations the command line looks for instructions on how to run your commands.
Code: [Select]
casino:~ ben$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin
so when you type pwd, the system searches /bin, /sbin, /usr/bin and /usr/sbin for a file named pwd and runs it. The trouble is, svn isn't in any of these, it's in /usr/local/bin (go have a look if you like, type ls /usr/local/bin to see all the files there). So we have to add /usr/local/bin to PATH. We do this using the following two commands:
Code: [Select]
PATH=$PATH:/usr/local/bin
export PATH
or even just:
Code: [Select]
export PATH=$PATH:/usr/local/binNow try this again:
Code: [Select]
casino:~ ben$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
There it is! And, you're ready. Use cd to change to the directory you want your tremulous source to go (don't worry, it will be contained in its own folder, so you don't have to make a folder to hold it in) and type the following to get the very latest in tremulous technology from the internets:
Code: [Select]
svn co svn://svn.icculus.org/tremulous/trunk tremulous-svnThen wait a bit - this could take a while. When it's done, and you see your command prompt again, you should have a folder called tremulous-svn (you specified this name in the command above, it could be lookatmeimafolder for all svn cares). Change directory into this folder, and type make. Wait a bit more, because this takes a while too. When that's done, though, you'll have successfully compiled Tremulous source for the first time! Your binaries are in build/release-darwin-x86/ (or -ppc/ if you are not on an intel mac), but you can't actually use any of them because you forgot to backport. No worries - you just need to look here:
http://www.mercenariesguild.net/patches/?do=details&task_id=2 (http://www.mercenariesguild.net/patches/?do=details&task_id=2)
You should decide what you want to do and pick a patch as appropriate, and download it to your code directory.
How do you use them? Like so:
Code: [Select]
patch -p0 < patchfile.patchwhile in the tremulous-svn directory and with the patch in the same directory. Then remake with the make command, and you're done - compatible binaries for you. To run either the client or the server you'll need to put the relevant pk3s - vms and data - in the base folder next to those binaries, then cd to the build/release-darwin-x86 directory and run ./tremulous.x86

If I've made this guide obscure anywhere, tell me.

Post-script: If you want the PATH command to be executed automatically on login, just put it in a file called .bash_profile in your home directory. Or, run this:
Code: [Select]
printf "#! /bin/bash\nexport PATH=$PATH:/usr/local/bin\n" > ~/.bash_profileNote that you'll need to do ls -A (show hidden files) to see this new file, as it starts with a .
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 03, 2007, 03:32:34 pm
Thank you So much, Ben!
I'm glad that there's a Mac user who can help us all out with the in depth involvements of Trem.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 03, 2007, 05:06:44 pm
Hmm, well, I followed the instructions, however both of the times I tried to "make" the binaries, before and after applying the patch, I got errors:

What follows is the ENTIRE log:


Last login: Sun Jun  3 09:01:34 on ttyp1
Welcome to Darwin!
miles-computer:~ miles$
miles-computer:~ miles$ PATH=$PATH:/usr/local/bin
miles-computer:~ miles$ export PATH
miles-computer:~ miles$ svn co svn://svn.icculus.org/tremulous/trunk tremulous-svn
A    tremulous-svn/GPL
A    tremulous-svn/make-macosx-ub.sh
A    tremulous-svn/CC
A    tremulous-svn/ChangeLog
A    tremulous-svn/src
A    tremulous-svn/src/unix
A    tremulous-svn/src/unix/unix_glw.h
A    tremulous-svn/src/unix/linux_qgl.c
A    tremulous-svn/src/unix/linux_snd.c
A    tremulous-svn/src/unix/snapvectora.s
A    tremulous-svn/src/unix/qasm.h
A    tremulous-svn/src/unix/unix_shared.c
A    tremulous-svn/src/unix/sdl_glimp.c
A    tremulous-svn/src/unix/matha.s
A    tremulous-svn/src/unix/MacSupport
A    tremulous-svn/src/unix/MacSupport/SLA.r
A    tremulous-svn/src/unix/MacSupport/Tremulous.icns
A    tremulous-svn/src/unix/MacSupport/ioquake3.icns
A    tremulous-svn/src/unix/MacSupport/SLA-dmg.sh
A    tremulous-svn/src/unix/linux_local.h
A    tremulous-svn/src/unix/linux_joystick.c
A    tremulous-svn/src/unix/linux_signals.c
A    tremulous-svn/src/unix/snd_mixa.s
A    tremulous-svn/src/unix/ftola.s
A    tremulous-svn/src/unix/sdl_snd.c
A    tremulous-svn/src/unix/unix_main.c
A    tremulous-svn/src/unix/linux_glimp.c
A    tremulous-svn/src/unix/unix_net.c
A    tremulous-svn/src/SDL12
A    tremulous-svn/src/SDL12/include
A    tremulous-svn/src/SDL12/include/SDL_getenv.h
A    tremulous-svn/src/SDL12/include/SDL_mouse.h
A    tremulous-svn/src/SDL12/include/SDL_error.h
A    tremulous-svn/src/SDL12/include/close_code.h
A    tremulous-svn/src/SDL12/include/SDL_endian.h
A    tremulous-svn/src/SDL12/include/SDL_joystick.h
A    tremulous-svn/src/SDL12/include/SDL_byteorder.h
A    tremulous-svn/src/SDL12/include/SDL_keyboard.h
A    tremulous-svn/src/SDL12/include/SDL_audio.h
A    tremulous-svn/src/SDL12/include/SDL_mutex.h
A    tremulous-svn/src/SDL12/include/SDL_cpuinfo.h
A    tremulous-svn/src/SDL12/include/SDL_events.h
A    tremulous-svn/src/SDL12/include/SDL_cdrom.h
A    tremulous-svn/src/SDL12/include/SDL_types.h
A    tremulous-svn/src/SDL12/include/SDL_video.h
A    tremulous-svn/src/SDL12/include/SDL_thread.h
A    tremulous-svn/src/SDL12/include/SDL_copying.h
A    tremulous-svn/src/SDL12/include/SDL_rwops.h
A    tremulous-svn/src/SDL12/include/SDL_active.h
A    tremulous-svn/src/SDL12/include/begin_code.h
A    tremulous-svn/src/SDL12/include/SDL.h
A    tremulous-svn/src/SDL12/include/SDL_name.h
A    tremulous-svn/src/SDL12/include/SDL_timer.h
A    tremulous-svn/src/SDL12/include/SDL_loadso.h
A    tremulous-svn/src/SDL12/include/SDL_keysym.h
A    tremulous-svn/src/SDL12/include/SDL_quit.h
A    tremulous-svn/src/SDL12/include/SDL_syswm.h
A    tremulous-svn/src/SDL12/include/SDL_main.h
A    tremulous-svn/src/SDL12/include/SDL_opengl.h
A    tremulous-svn/src/SDL12/include/SDL_version.h
A    tremulous-svn/src/jpeg-6
A    tremulous-svn/src/jpeg-6/jddctmgr.c
A    tremulous-svn/src/jpeg-6/jdatadst.c
A    tremulous-svn/src/jpeg-6/jerror.c
A    tremulous-svn/src/jpeg-6/jmemansi.c
A    tremulous-svn/src/jpeg-6/jchuff.c
A    tremulous-svn/src/jpeg-6/jdtrans.c
A    tremulous-svn/src/jpeg-6/jdhuff.c
A    tremulous-svn/src/jpeg-6/jfdctfst.c
A    tremulous-svn/src/jpeg-6/jcmaster.c
A    tremulous-svn/src/jpeg-6/jerror.h
A    tremulous-svn/src/jpeg-6/jdmaster.c
A    tremulous-svn/src/jpeg-6/jchuff.h
A    tremulous-svn/src/jpeg-6/jidctfst.c
A    tremulous-svn/src/jpeg-6/jmemnobs.c
A    tremulous-svn/src/jpeg-6/jdhuff.h
A    tremulous-svn/src/jpeg-6/jcparam.c
A    tremulous-svn/src/jpeg-6/jcinit.c
A    tremulous-svn/src/jpeg-6/jquant1.c
A    tremulous-svn/src/jpeg-6/jquant2.c
A    tremulous-svn/src/jpeg-6/jcphuff.c
A    tremulous-svn/src/jpeg-6/jdct.h
A    tremulous-svn/src/jpeg-6/jmemname.c
A    tremulous-svn/src/jpeg-6/jdatasrc.c
A    tremulous-svn/src/jpeg-6/jccolor.c
A    tremulous-svn/src/jpeg-6/jcsample.c
A    tremulous-svn/src/jpeg-6/jcmarker.c
A    tremulous-svn/src/jpeg-6/jmemdos.c
A    tremulous-svn/src/jpeg-6/jmemmgr.c
A    tremulous-svn/src/jpeg-6/jdmarker.c
A    tremulous-svn/src/jpeg-6/jdsample.c
A    tremulous-svn/src/jpeg-6/jfdctflt.c
A    tremulous-svn/src/jpeg-6/jcapistd.c
A    tremulous-svn/src/jpeg-6/jmorecfg.h
A    tremulous-svn/src/jpeg-6/jdapistd.c
A    tremulous-svn/src/jpeg-6/jinclude.h
A    tremulous-svn/src/jpeg-6/jidctflt.c
A    tremulous-svn/src/jpeg-6/jctrans.c
A    tremulous-svn/src/jpeg-6/jversion.h
A    tremulous-svn/src/jpeg-6/jfdctint.c
A    tremulous-svn/src/jpeg-6/jpegint.h
A    tremulous-svn/src/jpeg-6/jidctint.c
A    tremulous-svn/src/jpeg-6/jcprepct.c
A    tremulous-svn/src/jpeg-6/jpegtran.c
A    tremulous-svn/src/jpeg-6/jutils.c
A    tremulous-svn/src/jpeg-6/README
A    tremulous-svn/src/jpeg-6/jdinput.c
A    tremulous-svn/src/jpeg-6/jdmerge.c
A    tremulous-svn/src/jpeg-6/jccoefct.c
A    tremulous-svn/src/jpeg-6/jdcoefct.c
A    tremulous-svn/src/jpeg-6/jpeglib.h
A    tremulous-svn/src/jpeg-6/jcomapi.c
A    tremulous-svn/src/jpeg-6/jconfig.h
A    tremulous-svn/src/jpeg-6/jdphuff.c
A    tremulous-svn/src/jpeg-6/jcmainct.c
A    tremulous-svn/src/jpeg-6/jidctred.c
A    tremulous-svn/src/jpeg-6/jdmainct.c
A    tremulous-svn/src/jpeg-6/jload.c
A    tremulous-svn/src/jpeg-6/jcapimin.c
A    tremulous-svn/src/jpeg-6/jdpostct.c
A    tremulous-svn/src/jpeg-6/jdapimin.c
A    tremulous-svn/src/jpeg-6/jdcolor.c
A    tremulous-svn/src/jpeg-6/jmemsys.h
A    tremulous-svn/src/jpeg-6/jcdctmgr.c
A    tremulous-svn/src/libs
A    tremulous-svn/src/libs/win32
A    tremulous-svn/src/libs/win32/libcurl.a
A    tremulous-svn/src/libs/macosx
A    tremulous-svn/src/libs/macosx/libSDL-1.2.0.dylib
A    tremulous-svn/src/libs/macosx/libSDLmain.a
A    tremulous-svn/src/master
A    tremulous-svn/src/master/servers.h
A    tremulous-svn/src/master/stats.c
A    tremulous-svn/src/master/messages.c
A    tremulous-svn/src/master/servers.c
A    tremulous-svn/src/master/master.c
A    tremulous-svn/src/master/Makefile
A    tremulous-svn/src/master/messages.h
A    tremulous-svn/src/master/common.h
A    tremulous-svn/src/libcurl
A    tremulous-svn/src/libcurl/curl
A    tremulous-svn/src/libcurl/curl/stdcheaders.h
A    tremulous-svn/src/libcurl/curl/multi.h
A    tremulous-svn/src/libcurl/curl/mprintf.h
A    tremulous-svn/src/libcurl/curl/easy.h
A    tremulous-svn/src/libcurl/curl/curlver.h
A    tremulous-svn/src/libcurl/curl/types.h
A    tremulous-svn/src/libcurl/curl/curl.h
A    tremulous-svn/src/AL
A    tremulous-svn/src/AL/al.h
A    tremulous-svn/src/AL/VERSION
A    tremulous-svn/src/AL/alc.h
A    tremulous-svn/src/AL/altypes.h
A    tremulous-svn/src/AL/alctypes.h
A    tremulous-svn/src/AL/alut.h
A    tremulous-svn/src/tools
A    tremulous-svn/src/tools/asm
A    tremulous-svn/src/tools/asm/ops.txt
A    tremulous-svn/src/tools/asm/cmdlib.h
A    tremulous-svn/src/tools/asm/lib.txt
A    tremulous-svn/src/tools/asm/q3asm.c
A    tremulous-svn/src/tools/asm/mathlib.h
A    tremulous-svn/src/tools/asm/notes.txt
A    tremulous-svn/src/tools/asm/README.Id
A    tremulous-svn/src/tools/asm/cmdlib.c
A    tremulous-svn/src/tools/asm/Makefile
A    tremulous-svn/src/tools/asm/opstrings.h
A    tremulous-svn/src/tools/lcc
A    tremulous-svn/src/tools/lcc/LOG
A    tremulous-svn/src/tools/lcc/cpp
A    tremulous-svn/src/tools/lcc/cpp/macro.c
A    tremulous-svn/src/tools/lcc/cpp/cpp.c
A    tremulous-svn/src/tools/lcc/cpp/getopt.c
A    tremulous-svn/src/tools/lcc/cpp/include.c
A    tremulous-svn/src/tools/lcc/cpp/tokens.c
A    tremulous-svn/src/tools/lcc/cpp/unix.c
A    tremulous-svn/src/tools/lcc/cpp/hideset.c
A    tremulous-svn/src/tools/lcc/cpp/cpp.h
A    tremulous-svn/src/tools/lcc/cpp/eval.c
A    tremulous-svn/src/tools/lcc/cpp/lex.c
A    tremulous-svn/src/tools/lcc/cpp/nlist.c
A    tremulous-svn/src/tools/lcc/doc
A    tremulous-svn/src/tools/lcc/doc/lcc.1
A    tremulous-svn/src/tools/lcc/doc/4.html
A    tremulous-svn/src/tools/lcc/doc/bprint.pdf
A    tremulous-svn/src/tools/lcc/doc/install.html
A    tremulous-svn/src/tools/lcc/doc/lcc.pdf
A    tremulous-svn/src/tools/lcc/doc/bprint.1
A    tremulous-svn/src/tools/lcc/src
A    tremulous-svn/src/tools/lcc/src/trace.c
A    tremulous-svn/src/tools/lcc/src/bytecode.c
A    tremulous-svn/src/tools/lcc/src/output.c
A    tremulous-svn/src/tools/lcc/src/init.c
A    tremulous-svn/src/tools/lcc/src/types.c
A    tremulous-svn/src/tools/lcc/src/string.c
A    tremulous-svn/src/tools/lcc/src/dagcheck.md
A    tremulous-svn/src/tools/lcc/src/decl.c
A    tremulous-svn/src/tools/lcc/src/sym.c
A    tremulous-svn/src/tools/lcc/src/simp.c
A    tremulous-svn/src/tools/lcc/src/null.c
A    tremulous-svn/src/tools/lcc/src/config.h
A    tremulous-svn/src/tools/lcc/src/stmt.c
A    tremulous-svn/src/tools/lcc/src/error.c
A    tremulous-svn/src/tools/lcc/src/enode.c
A    tremulous-svn/src/tools/lcc/src/dag.c
A    tremulous-svn/src/tools/lcc/src/profio.c
A    tremulous-svn/src/tools/lcc/src/tree.c
A    tremulous-svn/src/tools/lcc/src/input.c
A    tremulous-svn/src/tools/lcc/src/prof.c
A    tremulous-svn/src/tools/lcc/src/gen.c
A    tremulous-svn/src/tools/lcc/src/list.c
A    tremulous-svn/src/tools/lcc/src/bind.c
A    tremulous-svn/src/tools/lcc/src/expr.c
A    tremulous-svn/src/tools/lcc/src/symbolic.c
A    tremulous-svn/src/tools/lcc/src/event.c
A    tremulous-svn/src/tools/lcc/src/main.c
A    tremulous-svn/src/tools/lcc/src/token.h
A    tremulous-svn/src/tools/lcc/src/inits.c
A    tremulous-svn/src/tools/lcc/src/c.h
A    tremulous-svn/src/tools/lcc/src/lex.c
A    tremulous-svn/src/tools/lcc/src/alloc.c
A    tremulous-svn/src/tools/lcc/COPYRIGHT
A    tremulous-svn/src/tools/lcc/README.id
A    tremulous-svn/src/tools/lcc/etc
A    tremulous-svn/src/tools/lcc/etc/bytecode.c
A    tremulous-svn/src/tools/lcc/etc/lcc.c
A    tremulous-svn/src/tools/lcc/lburg
A    tremulous-svn/src/tools/lcc/lburg/lburg.h
A    tremulous-svn/src/tools/lcc/lburg/gram.c
A    tremulous-svn/src/tools/lcc/lburg/lburg.1
A    tremulous-svn/src/tools/lcc/lburg/lburg.c
A    tremulous-svn/src/tools/lcc/lburg/gram.y
A    tremulous-svn/src/tools/lcc/Makefile
A    tremulous-svn/src/tools/lcc/README
A    tremulous-svn/src/win32
A    tremulous-svn/src/win32/win_gamma.c
A    tremulous-svn/src/win32/win_qgl.c
A    tremulous-svn/src/win32/win_main.c
A    tremulous-svn/src/win32/win_snd.c
A    tremulous-svn/src/win32/win_net.c
A    tremulous-svn/src/win32/win_shared.c
A    tremulous-svn/src/win32/win_glimp.c
A    tremulous-svn/src/win32/win_resource.rc
A    tremulous-svn/src/win32/win_wndproc.c
A    tremulous-svn/src/win32/glw_win.h
A    tremulous-svn/src/win32/win_syscon.c
A    tremulous-svn/src/win32/resource.h
A    tremulous-svn/src/win32/win_input.c
A    tremulous-svn/src/win32/win_local.h
A    tremulous-svn/src/server
A    tremulous-svn/src/server/sv_world.c
A    tremulous-svn/src/server/sv_ccmds.c
A    tremulous-svn/src/server/sv_game.c
A    tremulous-svn/src/server/sv_rankings.c
A    tremulous-svn/src/server/sv_client.c
A    tremulous-svn/src/server/sv_net_chan.c
A    tremulous-svn/src/server/sv_snapshot.c
A    tremulous-svn/src/server/server.h
A    tremulous-svn/src/server/sv_init.c
A    tremulous-svn/src/server/sv_main.c
A    tremulous-svn/src/renderer
A    tremulous-svn/src/renderer/tr_mesh.c
A    tremulous-svn/src/renderer/tr_scene.c
A    tremulous-svn/src/renderer/tr_local.h
A    tremulous-svn/src/renderer/tr_model.c
A    tremulous-svn/src/renderer/tr_init.c
A    tremulous-svn/src/renderer/tr_font.c
A    tremulous-svn/src/renderer/tr_shade_calc.c
A    tremulous-svn/src/renderer/tr_shader.c
A    tremulous-svn/src/renderer/tr_sky.c
A    tremulous-svn/src/renderer/tr_light.c
A    tremulous-svn/src/renderer/tr_shadows.c
A    tremulous-svn/src/renderer/qgl_linked.h
A    tremulous-svn/src/renderer/tr_types.h
A    tremulous-svn/src/renderer/tr_flares.c
A    tremulous-svn/src/renderer/tr_marks.c
A    tremulous-svn/src/renderer/tr_noise.c
A    tremulous-svn/src/renderer/tr_animation.c
A    tremulous-svn/src/renderer/tr_image.c
A    tremulous-svn/src/renderer/qgl.h
A    tremulous-svn/src/renderer/tr_public.h
A    tremulous-svn/src/renderer/tr_main.c
A    tremulous-svn/src/renderer/tr_curve.c
A    tremulous-svn/src/renderer/tr_bsp.c
A    tremulous-svn/src/renderer/tr_shade.c
A    tremulous-svn/src/renderer/tr_cmds.c
A    tremulous-svn/src/renderer/tr_backend.c
A    tremulous-svn/src/renderer/tr_world.c
A    tremulous-svn/src/renderer/tr_surface.c
A    tremulous-svn/src/qcommon
A    tremulous-svn/src/qcommon/cm_test.c
A    tremulous-svn/src/qcommon/vm_local.h
A    tremulous-svn/src/qcommon/cm_public.h
A    tremulous-svn/src/qcommon/q_platform.h
A    tremulous-svn/src/qcommon/q_math.c
A    tremulous-svn/src/qcommon/surfaceflags.h
A    tremulous-svn/src/qcommon/cm_local.h
A    tremulous-svn/src/qcommon/cm_patch.c
A    tremulous-svn/src/qcommon/net_chan.c
A    tremulous-svn/src/qcommon/cm_patch.h
A    tremulous-svn/src/qcommon/md4.c
A    tremulous-svn/src/qcommon/md5.c
A    tremulous-svn/src/qcommon/q_shared.c
A    tremulous-svn/src/qcommon/vm_x86.c
A    tremulous-svn/src/qcommon/cm_polylib.c
A    tremulous-svn/src/qcommon/q_shared.h
A    tremulous-svn/src/qcommon/vm_ppc_new.c
A    tremulous-svn/src/qcommon/cm_load.c
A    tremulous-svn/src/qcommon/cm_polylib.h
A    tremulous-svn/src/qcommon/vm_x86_64.c
A    tremulous-svn/src/qcommon/vm_none.c
A    tremulous-svn/src/qcommon/files.c
A    tremulous-svn/src/qcommon/cmd.c
A    tremulous-svn/src/qcommon/unzip.c
A    tremulous-svn/src/qcommon/unzip.h
A    tremulous-svn/src/qcommon/parse.c
A    tremulous-svn/src/qcommon/cm_trace.c
A    tremulous-svn/src/qcommon/qcommon.h
A    tremulous-svn/src/qcommon/vm.c
A    tremulous-svn/src/qcommon/huffman.c
A    tremulous-svn/src/qcommon/vm_ppc.c
A    tremulous-svn/src/qcommon/msg.c
A    tremulous-svn/src/qcommon/vm_interpreted.c
A    tremulous-svn/src/qcommon/qfiles.h
A    tremulous-svn/src/qcommon/common.c
A    tremulous-svn/src/qcommon/cvar.c
A    tremulous-svn/src/game
A    tremulous-svn/src/game/g_spawn.c
A    tremulous-svn/src/game/bg_slidemove.c
A    tremulous-svn/src/game/g_syscalls.asm
A    tremulous-svn/src/game/g_syscalls.c
A    tremulous-svn/src/game/bg_misc.c
A    tremulous-svn/src/game/tremulous.h
A    tremulous-svn/src/game/g_svcmds.c
A    tremulous-svn/src/game/g_local.h
A    tremulous-svn/src/game/g_ptr.c
A    tremulous-svn/src/game/g_combat.c
A    tremulous-svn/src/game/g_active.c
A    tremulous-svn/src/game/g_mem.c
A    tremulous-svn/src/game/g_session.c
A    tremulous-svn/src/game/g_public.h
A    tremulous-svn/src/game/g_buildable.c
A    tremulous-svn/src/game/g_main.c
A    tremulous-svn/src/game/g_target.c
A    tremulous-svn/src/game/g_mover.c
A    tremulous-svn/src/game/bg_pmove.c
A    tremulous-svn/src/game/g_admin.c
A    tremulous-svn/src/game/g_weapon.c
A    tremulous-svn/src/game/g_misc.c
A    tremulous-svn/src/game/g_maprotation.c
A    tremulous-svn/src/game/g_admin.h
A    tremulous-svn/src/game/g_utils.c
A    tremulous-svn/src/game/bg_local.h
A    tremulous-svn/src/game/g_trigger.c
A    tremulous-svn/src/game/g_missile.c
A    tremulous-svn/src/game/bg_lib.c
A    tremulous-svn/src/game/bg_lib.h
A    tremulous-svn/src/game/g_client.c
A    tremulous-svn/src/game/g_physics.c
A    tremulous-svn/src/game/bg_public.h
A    tremulous-svn/src/game/g_team.c
A    tremulous-svn/src/game/g_cmds.c
A    tremulous-svn/src/null
A    tremulous-svn/src/null/null_main.c
A    tremulous-svn/src/null/null_net.c
A    tremulous-svn/src/null/null_snddma.c
A    tremulous-svn/src/null/null_glimp.c
A    tremulous-svn/src/null/mac_net.c
A    tremulous-svn/src/null/null_client.c
A    tremulous-svn/src/null/null_input.c
A    tremulous-svn/src/cgame
A    tremulous-svn/src/cgame/cg_particles.c
A    tremulous-svn/src/cgame/cg_attachment.c
A    tremulous-svn/src/cgame/cg_scanner.c
A    tremulous-svn/src/cgame/cg_predict.c
A    tremulous-svn/src/cgame/cg_syscalls.asm
A    tremulous-svn/src/cgame/cg_playerstate.c
A    tremulous-svn/src/cgame/cg_draw.c
A    tremulous-svn/src/cgame/cg_syscalls.c
A    tremulous-svn/src/cgame/cg_trails.c
A    tremulous-svn/src/cgame/cg_local.h
A    tremulous-svn/src/cgame/cg_snapshot.c
A    tremulous-svn/src/cgame/cg_tutorial.c
A    tremulous-svn/src/cgame/cg_ptr.c
A    tremulous-svn/src/cgame/cg_ents.c
A    tremulous-svn/src/cgame/cg_consolecmds.c
A    tremulous-svn/src/cgame/cg_view.c
A    tremulous-svn/src/cgame/cg_weapons.c
A    tremulous-svn/src/cgame/cg_marks.c
A    tremulous-svn/src/cgame/cg_animmapobj.c
A    tremulous-svn/src/cgame/cg_servercmds.c
A    tremulous-svn/src/cgame/cg_mem.c
A    tremulous-svn/src/cgame/cg_drawtools.c
A    tremulous-svn/src/cgame/cg_players.c
A    tremulous-svn/src/cgame/cg_animation.c
A    tremulous-svn/src/cgame/cg_event.c
A    tremulous-svn/src/cgame/cg_buildable.c
A    tremulous-svn/src/cgame/cg_public.h
A    tremulous-svn/src/cgame/cg_main.c
A    tremulous-svn/src/ui
A    tremulous-svn/src/ui/ui_atoms.c
A    tremulous-svn/src/ui/ui_public.h
A    tremulous-svn/src/ui/ui_main.c
A    tremulous-svn/src/ui/ui_gameinfo.c
A    tremulous-svn/src/ui/ui_shared.c
A    tremulous-svn/src/ui/ui_shared.h
A    tremulous-svn/src/ui/ui_syscalls.asm
A    tremulous-svn/src/ui/ui_syscalls.c
A    tremulous-svn/src/ui/ui_local.h
A    tremulous-svn/src/ui/ui_players.c
A    tremulous-svn/src/client
A    tremulous-svn/src/client/snd_codec_wav.c
A    tremulous-svn/src/client/snd_mix.c
A    tremulous-svn/src/client/cl_main.c
A    tremulous-svn/src/client/snd_local.h
A    tremulous-svn/src/client/snd_dma.c
A    tremulous-svn/src/client/keycodes.h
A    tremulous-svn/src/client/snd_wavelet.c
A    tremulous-svn/src/client/cl_input.c
A    tremulous-svn/src/client/qal.c
A    tremulous-svn/src/client/snd_codec_ogg.c
A    tremulous-svn/src/client/keys.h
A    tremulous-svn/src/client/cl_console.c
A    tremulous-svn/src/client/snd_codec.c
A    tremulous-svn/src/client/qal.h
A    tremulous-svn/src/client/snd_mem.c
A    tremulous-svn/src/client/snd_openal.c
A    tremulous-svn/src/client/client.h
A    tremulous-svn/src/client/cl_scrn.c
A    tremulous-svn/src/client/cl_curl.c
A    tremulous-svn/src/client/snd_codec.h
A    tremulous-svn/src/client/cl_cin.c
A    tremulous-svn/src/client/snd_public.h
A    tremulous-svn/src/client/cl_parse.c
A    tremulous-svn/src/client/cl_curl.h
A    tremulous-svn/src/client/snd_adpcm.c
A    tremulous-svn/src/client/snd_main.c
A    tremulous-svn/src/client/cl_keys.c
A    tremulous-svn/src/client/cl_cgame.c
A    tremulous-svn/src/client/cl_ui.c
A    tremulous-svn/src/client/cl_net_chan.c
A    tremulous-svn/src/client/cl_avi.c
A    tremulous-svn/COPYING
A    tremulous-svn/misc
A    tremulous-svn/misc/entities.def
A    tremulous-svn/misc/tremulous.xpm
A    tremulous-svn/misc/server.cfg
A    tremulous-svn/misc/manual.lyx
A    tremulous-svn/misc/tremulous.ico
A    tremulous-svn/misc/merge-ioq3-into-trem.sh
A    tremulous-svn/cross-make-mingw.sh
A    tremulous-svn/Makefile
A    tremulous-svn/ui
A    tremulous-svn/ui/loading.menu
A    tremulous-svn/ui/tremulous_alienupgrade.menu
A    tremulous-svn/ui/teamscore.menu
A    tremulous-svn/ui/serverinfo.menu
A    tremulous-svn/ui/main.menu
A    tremulous-svn/ui/joinserver.menu
A    tremulous-svn/ui/tremulous_alienbuild.menu
A    tremulous-svn/ui/error.menu
A    tremulous-svn/ui/tremulous_humandialogs.menu
A    tremulous-svn/ui/tremulous_alienclass.menu
A    tremulous-svn/ui/assets
A    tremulous-svn/ui/assets/alien
A    tremulous-svn/ui/assets/alien/buildstat.cfg
A    tremulous-svn/ui/assets/human
A    tremulous-svn/ui/assets/human/buildstat.cfg
A    tremulous-svn/ui/password.menu
A    tremulous-svn/ui/createfavorite.menu
A    tremulous-svn/ui/tremulous_alien_general_hud.menu
A    tremulous-svn/ui/tremulous_teamselect.menu
A    tremulous-svn/ui/menudef.h
A    tremulous-svn/ui/tremulous_humanarmoury.menu
A    tremulous-svn/ui/tremulous_humanitem.menu
A    tremulous-svn/ui/ptrc.menu
A    tremulous-svn/ui/tremulous_aliendialogs.menu
A    tremulous-svn/ui/ingame.txt
A    tremulous-svn/ui/ingame_leave.menu
A    tremulous-svn/ui/tremulous_alien_builder_hud.menu
A    tremulous-svn/ui/quitcredit.menu
A    tremulous-svn/ui/mod.menu
A    tremulous-svn/ui/generate-infopanes.sh
A    tremulous-svn/ui/quit.menu
A    tremulous-svn/ui/tremulous_human_hud.menu
A    tremulous-svn/ui/connect.menu
A    tremulous-svn/ui/ingame_game.menu
A    tremulous-svn/ui/createserver.menu
A    tremulous-svn/ui/options.menu
A    tremulous-svn/ui/hud.txt
A    tremulous-svn/ui/findplayer.menu
A    tremulous-svn/ui/ingame.menu
A    tremulous-svn/ui/menus.txt
A    tremulous-svn/ui/infopanes.def.h
A    tremulous-svn/ui/tremulous_default_hud.menu
A    tremulous-svn/ui/drop.menu
A    tremulous-svn/ui/tremulous_humanbuild.menu
A    tremulous-svn/ui/tremulous.txt
A    tremulous-svn/ui/ingame_options.menu
Checked out revision 940.
miles-computer:~ miles$ cd svn-tremulous
-bash: cd: svn-tremulous: No such file or directory
miles-computer:~ miles$ ls
Applications    Library         Pando Packages  Sites
Desktop         Movies          Pictures        tremulous-svn
Documents       Music           Public          usr
miles-computer:~ miles$ cd tremulous-svn
miles-computer:~/tremulous-svn miles$ make
make -C src/tools/lcc install
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-darwin-x86/etc/lcc.o etc/lcc.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-darwin-x86/etc/bytecode.o etc/bytecode.c
gcc  -o build-darwin-x86/q3lcc build-darwin-x86/etc/lcc.o build-darwin-x86/etc/bytecode.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/cpp.o cpp/cpp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/lex.o cpp/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/nlist.o cpp/nlist.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/tokens.o cpp/tokens.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/macro.o cpp/macro.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/eval.o cpp/eval.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/include.o cpp/include.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/hideset.o cpp/hideset.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/getopt.o cpp/getopt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/unix.o cpp/unix.c
gcc  -o build-darwin-x86/q3cpp build-darwin-x86/cpp/cpp.o build-darwin-x86/cpp/lex.o build-darwin-x86/cpp/nlist.o build-darwin-x86/cpp/tokens.o build-darwin-x86/cpp/macro.o build-darwin-x86/cpp/eval.o build-darwin-x86/cpp/include.o build-darwin-x86/cpp/hideset.o build-darwin-x86/cpp/getopt.o build-darwin-x86/cpp/unix.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/alloc.o src/alloc.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/bind.o src/bind.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/bytecode.o src/bytecode.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/dag.o src/dag.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Ilburg -o build-darwin-x86/lburg/lburg.o lburg/lburg.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Ilburg -o build-darwin-x86/lburg/gram.o lburg/gram.c
gcc  -o build-darwin-x86/lburg/lburg build-darwin-x86/lburg/lburg.o build-darwin-x86/lburg/gram.o
build-darwin-x86/lburg/lburg src/dagcheck.md build-darwin-x86/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -Wno-unused -c -Isrc -o build-darwin-x86/rcc/dagcheck.o build-darwin-x86/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/decl.o src/decl.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/enode.o src/enode.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/error.o src/error.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/event.o src/event.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/expr.o src/expr.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/gen.o src/gen.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/init.o src/init.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/inits.o src/inits.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/input.o src/input.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/lex.o src/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/list.o src/list.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/main.o src/main.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/null.o src/null.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/output.o src/output.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/prof.o src/prof.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/profio.o src/profio.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/simp.o src/simp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/stmt.o src/stmt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/string.o src/string.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/sym.o src/sym.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/symbolic.o src/symbolic.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/trace.o src/trace.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/tree.o src/tree.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/types.o src/types.c
gcc  -o build-darwin-x86/q3rcc build-darwin-x86/rcc/alloc.o build-darwin-x86/rcc/bind.o build-darwin-x86/rcc/bytecode.o build-darwin-x86/rcc/dag.o build-darwin-x86/rcc/dagcheck.o build-darwin-x86/rcc/decl.o build-darwin-x86/rcc/enode.o build-darwin-x86/rcc/error.o build-darwin-x86/rcc/event.o build-darwin-x86/rcc/expr.o build-darwin-x86/rcc/gen.o build-darwin-x86/rcc/init.o build-darwin-x86/rcc/inits.o build-darwin-x86/rcc/input.o build-darwin-x86/rcc/lex.o build-darwin-x86/rcc/list.o build-darwin-x86/rcc/main.o build-darwin-x86/rcc/null.o build-darwin-x86/rcc/output.o build-darwin-x86/rcc/prof.o build-darwin-x86/rcc/profio.o build-darwin-x86/rcc/simp.o build-darwin-x86/rcc/stmt.o build-darwin-x86/rcc/string.o build-darwin-x86/rcc/sym.o build-darwin-x86/rcc/symbolic.o build-darwin-x86/rcc/trace.o build-darwin-x86/rcc/tree.o build-darwin-x86/rcc/types.o
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
install -s -m 0755 q3asm ../
make targets B=build/release-darwin-x86 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN940\\\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN940\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2
miles-computer:~/tremulous-svn miles$ patch -p0 < backportlight.patch
patching file src/game/bg_public.h
patching file src/qcommon/common.c
patching file src/qcommon/msg.c
patching file src/qcommon/qcommon.h
miles-computer:~/tremulous-svn miles$ make
make -C src/tools/lcc install
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
install -s -m 0755 q3asm ../
make targets B=build/release-darwin-x86 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN940M\\\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN940M\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2
miles-computer:~/tremulous-svn miles$


Do your eyes hurt after reading that? Mine did =]


Please Help
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 03, 2007, 05:46:13 pm
I am totally confused by this. It's not an error in the source (I don't think) and his version of gcc is the same as mine.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 03, 2007, 06:06:11 pm
So...it should work, it just doesn't, right?
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 04, 2007, 12:35:36 am
How do you make qvms on a ppc? :-?
Title: Downloading and compiling Tremulous source on a Mac
Post by: twilight on June 04, 2007, 08:31:34 am
I'm getting same thing as Death on Ice.

I'll try compiling on my linux box

EDIT: yeah I also get a very similar error message on my linux box. Any ideas?


.........
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86/rcc/trace.o src/trace.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86/rcc/tree.o src/tree.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86/rcc/types.o src/types.c
gcc  -o build-linux-x86/q3rcc build-linux-x86/rcc/alloc.o build-linux-x86/rcc/bind.o build-linux-x86/rcc/bytecode.o build-linux-x86/rcc/dag.o build-linux-x86/rcc/dagcheck.o build-linux-x86/rcc/decl.o build-linux-x86/rcc/enode.o build-linux-x86/rcc/error.o build-linux-x86/rcc/event.o build-linux-x86/rcc/expr.o build-linux-x86/rcc/gen.o build-linux-x86/rcc/init.o build-linux-x86/rcc/inits.o build-linux-x86/rcc/input.o build-linux-x86/rcc/lex.o build-linux-x86/rcc/list.o build-linux-x86/rcc/main.o build-linux-x86/rcc/null.o build-linux-x86/rcc/output.o build-linux-x86/rcc/prof.o build-linux-x86/rcc/profio.o build-linux-x86/rcc/simp.o build-linux-x86/rcc/stmt.o build-linux-x86/rcc/string.o build-linux-x86/rcc/sym.o build-linux-x86/rcc/symbolic.o build-linux-x86/rcc/trace.o build-linux-x86/rcc/tree.o build-linux-x86/rcc/types.o
install -s -m 0755 build-linux-x86/q3lcc ../
install -s -m 0755 build-linux-x86/q3cpp ../
install -s -m 0755 build-linux-x86/q3rcc ../
make[1]: Leaving directory `/home/Twilight.Lair/Desktop/Tremulous Source + Patches/tremulous-svn/src/tools/lcc'
make -C src/tools/asm install
make[1]: Entering directory `/home/Twilight.Lair/Desktop/Tremulous Source + Patches/tremulous-svn/src/tools/asm'
install -s -m 0755 q3asm ../
strip: ../q3asm: File format not recognized
install: strip failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/Twilight.Lair/Desktop/Tremulous Source + Patches/tremulous-svn/src/tools/asm'
make: *** [tools] Error 2
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 04, 2007, 10:24:32 am
>_<
You guys are all getting errors that I have neither seen before nor know how to deal with. All I can suggest is apple menu->software update, see if  anew version of xcode is available.
For what it's worth, twilight's error is actually not the same at all, although it may be the same cause.
Quote from: "doomagent13"
How do you make qvms on a ppc? :-?

Same method, hopefully.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Ingar on June 04, 2007, 05:59:49 pm
Quote from: "Death On Ice"
Hmm, well, I followed the instructions, however both of the times I tried to "make" the binaries, before and after applying the patch, I got errors:

......
 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN940M\\\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN940M\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2
miles-computer:~/tremulous-svn miles$


I don't have a Mac or Darwin but I noticed:
-mstackrealign
c1: error: invalid option 'stackrealign'

try compiling without that option by editing the appropriate Makefiles.

Google has some interesting things to tell about this option, it seems it is an x86 specfic option that was introduced in gcc 4.2. Check your gcc version with
Code: [Select]
gcc --version

As far as twilight's problem is concerned: there is clearly a problem with src/tools/q3asm, or strip just does not like your binary. Try rebuilding it manually:

Code: [Select]
cd '/home/Twilight.Lair/Desktop/Tremulous Source + Patches/tremulous-svn/src/tools/asm'
make clean
make


Check your result:

Code: [Select]
file q3asm

You should see something like:
q3asm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped

Try to strip it manually:
Code: [Select]
strip q3asm

Good luck!
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 04, 2007, 07:11:09 pm
Quote from: "benmachine"
Quote from: "doomagent13"
How do you make qvms on a ppc? :-?
Same method, hopefully.
Whenever I do "make", it says "qvm tools not built when crosscompiling", so I went and manually installed them in "/usr/bin".  The only things "make" makes are tremded.ppc, tremulous.ppc, gameppc.dylib, cgameppc.dylib, and uippc.dylib, no qvms.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 04, 2007, 11:48:02 pm
How would I remove the 'stackrealign'?

When I ran the command 'gcc --version', it told me I have 4.0.1, which as you said is incompatible with my version. Would there be a way to update it?
Title: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on June 05, 2007, 02:46:48 am
Quote from: "doomagent13"
Quote from: "benmachine"
Quote from: "doomagent13"
How do you make qvms on a ppc? :-?
Same method, hopefully.
Whenever I do "make", it says "qvm tools not built when crosscompiling", so I went and manually installed them in "/usr/bin".  The only things "make" makes are tremded.ppc, tremulous.ppc, gameppc.dylib, cgameppc.dylib, and uippc.dylib, no qvms.
why are you cross compiling?
Title: Downloading and compiling Tremulous source on a Mac
Post by: twilight on June 05, 2007, 04:59:06 am
ok yeah the problem Death on Ice and I were having is fixed by updating gcc. I was able to successfully run the make command, although another problem has arised.

Many patches I am unable to apply. I've gotten some to work fine, but others of 'em just give me the following.

Twilight-Lair:~/Desktop/tremulous-svn twilight$ patch -p0 < backporting.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru tremulous/src/cgame/cg_public.h tremulous.temp/src/cgame/cg_public.h
|--- tremulous/src/cgame/cg_public.h    2007-02-28 18:28:08.000000000 +0100
|+++ tremulous.temp/src/cgame/cg_public.h       2007-02-28 18:31:09.000000000 +0100
--------------------------
File to patch:
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 05, 2007, 12:29:36 pm
With some patches - like that one - you need to use patch -p1 instead. This is because of the way they were made - if you look closely at the sample it gives:
Quote
|--- tremulous/src/cgame/cg_public.h 2007-02-28 18:28:08.000000000 +0100
|+++ tremulous.temp/src/cgame/cg_public.h 2007-02-28 18:31:09.000000000 +0100

you can see it is looking for tremulous.temp/src/cgame/cg_public.h - the p1 options strips the tremulous.temp/ part and tells patch to look for src/cgame/cg_public.h, which you do indeed have.
edit:
Quote from: "Death On Ice"
How would I remove the 'stackrealign'?

When I ran the command 'gcc --version', it told me I have 4.0.1, which as you said is incompatible with my version. Would there be a way to update it?

If this is indeed what you need to do, have a look at line 358 of the Makefile in your tremulous source folder:
Code: [Select]
 ifeq ($(ARCH),x86)
    OPTIMIZE += -march=prescott -mfpmath=sse
    # x86 vm will crash without -mstackrealign since MMX instructions will be
    # used no matter what and they corrupt the frame pointer in VM calls
    BASE_CFLAGS += -mstackrealign
  endif

If you're feeling daring you can remove that BASE_CFLAGS += -mstackrealign altogether, but the comment seems to suggest that won't work well for you. It can't do any harm to try but if it doesn't work, you should probably change it back.
Title: Downloading and compiling Tremulous source on a Mac
Post by: PFB on June 05, 2007, 02:07:00 pm
if your arch is x86 yes
you need to get the right compiler if you have an intel mac
Title: Downloading and compiling Tremulous source on a Mac
Post by: twilight on June 06, 2007, 07:00:22 am
ok so after a day or so I've finally compiled my qvm (on SVN 885), but the problem is that I cant spawn. It always gives me the error message similiar to "You can't carry this. Drop some items and try again." There is no error for the aliens. Any ideas? I've only copied over the tremded.x86 and the game.qvm from the compiling. is there anythign else I need to copy over?
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 06, 2007, 09:57:16 am
Quote from: "twilight"
ok so after a day or so I've finally compiled my qvm (on SVN 885), but the problem is that I cant spawn. It always gives me the error message similiar to "You can't carry this. Drop some items and try again." There is no error for the aliens. Any ideas? I've only copied over the tremded.x86 and the game.qvm from the compiling. is there anythign else I need to copy over?

Did you backport? If so, which patch did you use? If not, try:
patching this in (http://www.mercenariesguild.net/patches/?getfile=58)
before compiling.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Kaleo on June 06, 2007, 10:01:34 am
Can someone be really awsome a make an X-Code project file for it?
Title: Downloading and compiling Tremulous source on a Mac
Post by: twilight on June 06, 2007, 10:55:00 pm
Quote from: "benmachine"
Quote from: "twilight"
ok so after a day or so I've finally compiled my qvm (on SVN 885), but the problem is that I cant spawn. It always gives me the error message similiar to "You can't carry this. Drop some items and try again."
There is no error for the aliens. Any ideas? I've only copied over the tremded.x86 and the game.qvm from the compiling. is there anythign else I need to copy over?

Did you backport? If so, which patch did you use? If not, try:
patching this in (http://www.mercenariesguild.net/patches/?getfile=58)
before compiling.


I compiled it with the full backport before. I took that out and copiled with this one, and now I get the following error on startup:

19164 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 915 jump table targets
VM file game compiled to 1276648 bytes of code
game loaded in 34215392 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Jun  5 2007
------------------------------------------------------------
InitGame: \g_markDeconstruct\1\g_unlagged\1\sv_minRate\5000\g_suddenDeathTime\0\g_maxGameClients\0\
sv_maxclients\16\timelimit\0\sv_maxPing\0\sv_minPing\0\sv_maxRate\15000\
sv_hostname\Order of Resistance -- Test Server\sv_dlURL\http://www.mercenariesguild.net\version\tremulous 1.1.0 macosx-x86 Jun  6 2007\protocol\69\mapname\atcszalphab1\sv_privateClients\0\sv_allowDownload\1\g_needpass\0\gamename\base\ff\0
Received signal 11, exiting...
----- Server Shutdown (Signal caught) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 208.116.49.110:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
---------------------------
Shutdown tty console

Quote from: "Kaleo"
Can someone be really awsome a make an X-Code project file for it?


A project file for the entire souce code? hahaha...good luck with that =P
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 07, 2007, 12:15:00 am
Quote from: "kevlarman"
Quote from: "doomagent13"
Quote from: "benmachine"
Quote from: "doomagent13"
How do you make qvms on a ppc? :-?
Same method, hopefully.
Whenever I do "make", it says "qvm tools not built when crosscompiling", so I went and manually installed them in "/usr/bin".  The only things "make" makes are tremded.ppc, tremulous.ppc, gameppc.dylib, cgameppc.dylib, and uippc.dylib, no qvms.
why are you cross compiling?
Tehcnically, I dont think that I am, but the way the makefile determines whether or not you are crosscompiling thinks I am.
Code: [Select]
ifeq ($(ARCH),powerpc)
  ARCH=ppc
endif
export ARCH
I think that this is what causes the problem.  First the platform you are on is compared to the platform you are compiling for, then it compares the architecture you are on to the architecture you are compiling for.  The fragment of the makefilechanges what it thinks your architecture is, but not what you are compiling for.  It compares "ppc" to "powerpc" and gets not equal.

NOTE:  I dont really know this programming language very well, so I could be wrong.
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 07, 2007, 12:17:53 am
For what it's worth, signal 11 is a segmentation fault. See these two if you care about the technical details (which is unlikely tbh):
http://en.wikipedia.org/wiki/SIGSEGV
http://en.wikipedia.org/wiki/Segmentation_fault
Long story short, that certainly shouldn't happen from just svn + backport. Do this for me:
Code: [Select]
svn revert -R *
which should unpatch everything. Re-apply backport901.patch and compile that, make sure you get the same error. I'll see what I can do to fix it tomorrow.

edit: twilight please edit a line break into your serverstatus string above so it doesn't stretch the entire page.
Title: Downloading and compiling Tremulous source on a Mac
Post by: twilight on June 07, 2007, 12:29:17 am
the backport901 applied fine. It's just the backportlight which does that.
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 20, 2007, 07:09:07 pm
Hey, It works for me now  :roll: I don't know why it didn't before, but it does now. My only question is where to put all the things that were spawned. There's a lot of files that were made..I don't know where to put them all.
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 21, 2007, 12:40:10 pm
The only things that are important to you (in all likelihood) are tremulous.x86, tremded.x86, base/vm/game.qvm cgame.qvm and ui.qvm.
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 21, 2007, 10:08:16 pm
Quote from: "benmachine"
The only things that are important to you (in all likelihood) are tremulous.x86, tremded.x86, base/vm/game.qvm cgame.qvm and ui.qvm.
For me, it is gameppc.dylib, as I dont bother with the cgame or ui, I use TJW's server binary/executable from who-know's-when (I think last August or something), and I dont get qvms. :cry:

@benmachine:
What kind of computer do you have?
Title: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on June 21, 2007, 10:13:47 pm
The only one I ever compile Tremulous source on is an intel iMac (one of those ones that's just a screen). I play Tremulous and run local servers on a PPC iMac (one of the turny-lamp dome-stalk-screen ones) sometimes. Although I have xcode installed there and use it for some small C projects I have never tried compiling Tremulous there.
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 21, 2007, 10:21:32 pm
I guess I am the only one trying to make qvms on a ppc. :(

I will eventually see if I can make a modified makefile for ppc computers in particular, and maybe macs in general.
Title: Downloading and compiling Tremulous source on a Mac
Post by: i3enedek on July 18, 2007, 11:45:03 pm
I dont have a problem making a qvms on PPC.

Ohh and dont install Quicktime 7.2 if you are using 10.3.9 as they chenged something in the Qucktime framework, so you can only build the project with 10.4 after its installed.

Silly Apple.
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on July 19, 2007, 02:57:14 pm
Which svn did you use?  Which OS version do you have?  Which gcc version do you have?

I've tried something like svns 848, 865, 895?, 901-906, and 945.  I have OS 10.4.9.  I have gcc 4.0.1.
Title: Downloading and compiling Tremulous source on a Mac
Post by: i3enedek on July 19, 2007, 03:20:10 pm
Quote from: "doomagent13"
Which svn did you use?  Which OS version do you have?  Which gcc version do you have?

I've tried something like svns 848, 865, 895?, 901-906, and 945.  I have OS 10.4.9.  I have gcc 4.0.1.


10.3.9

Gcc 3.3

and 901 i think.
Title: Downloading and compiling Tremulous source on a Mac
Post by: ==Troy== on August 27, 2007, 01:00:31 pm
Hmmm and where can you get a backport SDK to compile on MAC?..
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on September 23, 2007, 10:47:37 am
Im Sorry if this reply is really far behind..

ive done all the way things..but this happened

Quote
dennis-tans-computer:~ dennistan$ export PATH=$PATH:/usr/local/bin
dennis-tans-computer:~ dennistan$ svn co svn://svn.icculus.org/tremulous/trunk tremulous-svn
A    tremulous-svn/GPL
A    tremulous-svn/make-macosx-ub.sh
A    tremulous-svn/CC
A    tremulous-svn/ChangeLog
A    tremulous-svn/src
A    tremulous-svn/src/asm
A    tremulous-svn/src/asm/snd_mixa.s
A    tremulous-svn/src/asm/ftola.s
A    tremulous-svn/src/asm/snapvectora.s
A    tremulous-svn/src/asm/qasm.h
A    tremulous-svn/src/asm/matha.s
A    tremulous-svn/src/sdl
A    tremulous-svn/src/sdl/sdl_icon.h
A    tremulous-svn/src/sdl/sdl_input.c
A    tremulous-svn/src/sdl/sdl_gamma.c
A    tremulous-svn/src/sdl/sdl_snd.c
A    tremulous-svn/src/sdl/sdl_glimp.c
A    tremulous-svn/src/SDL12
A    tremulous-svn/src/SDL12/include
A    tremulous-svn/src/SDL12/include/SDL_config_macos.h
A    tremulous-svn/src/SDL12/include/SDL_config_dreamcast.h
A    tremulous-svn/src/SDL12/include/SDL_error.h
A    tremulous-svn/src/SDL12/include/SDL_audio.h
A    tremulous-svn/src/SDL12/include/SDL_cpuinfo.h
A    tremulous-svn/src/SDL12/include/SDL_events.h
A    tremulous-svn/src/SDL12/include/SDL_video.h
A    tremulous-svn/src/SDL12/include/SDL_thread.h
A    tremulous-svn/src/SDL12/include/SDL_rwops.h
A    tremulous-svn/src/SDL12/include/SDL_active.h
A    tremulous-svn/src/SDL12/include/begin_code.h
A    tremulous-svn/src/SDL12/include/SDL_timer.h
A    tremulous-svn/src/SDL12/include/SDL_stdinc.h
A    tremulous-svn/src/SDL12/include/SDL_opengl.h
A    tremulous-svn/src/SDL12/include/SDL_main.h
A    tremulous-svn/src/SDL12/include/SDL_version.h
A    tremulous-svn/src/SDL12/include/SDL_config_win32.h
A    tremulous-svn/src/SDL12/include/SDL_mouse.h
A    tremulous-svn/src/SDL12/include/SDL_getenv.h
A    tremulous-svn/src/SDL12/include/SDL_config_os2.h
A    tremulous-svn/src/SDL12/include/close_code.h
A    tremulous-svn/src/SDL12/include/SDL_endian.h
A    tremulous-svn/src/SDL12/include/SDL_joystick.h
A    tremulous-svn/src/SDL12/include/SDL_byteorder.h
A    tremulous-svn/src/SDL12/include/SDL_keyboard.h
A    tremulous-svn/src/SDL12/include/SDL_mutex.h
A    tremulous-svn/src/SDL12/include/SDL_config_amiga.h
A    tremulous-svn/src/SDL12/include/SDL_cdrom.h
A    tremulous-svn/src/SDL12/include/SDL_types.h
A    tremulous-svn/src/SDL12/include/SDL_config.h
A    tremulous-svn/src/SDL12/include/SDL_copying.h
A    tremulous-svn/src/SDL12/include/SDL_config_minimal.h
A    tremulous-svn/src/SDL12/include/SDL_config_macosx.h
A    tremulous-svn/src/SDL12/include/SDL_name.h
A    tremulous-svn/src/SDL12/include/SDL.h
A    tremulous-svn/src/SDL12/include/SDL_loadso.h
A    tremulous-svn/src/SDL12/include/SDL_keysym.h
A    tremulous-svn/src/SDL12/include/SDL_quit.h
A    tremulous-svn/src/SDL12/include/SDL_syswm.h
A    tremulous-svn/src/SDL12/include/SDL_platform.h
A    tremulous-svn/src/jpeg-6
A    tremulous-svn/src/jpeg-6/jddctmgr.c
A    tremulous-svn/src/jpeg-6/jdatadst.c
A    tremulous-svn/src/jpeg-6/jerror.c
A    tremulous-svn/src/jpeg-6/jmemansi.c
A    tremulous-svn/src/jpeg-6/jchuff.c
A    tremulous-svn/src/jpeg-6/jdtrans.c
A    tremulous-svn/src/jpeg-6/jdhuff.c
A    tremulous-svn/src/jpeg-6/jfdctfst.c
A    tremulous-svn/src/jpeg-6/jcmaster.c
A    tremulous-svn/src/jpeg-6/jerror.h
A    tremulous-svn/src/jpeg-6/jdmaster.c
A    tremulous-svn/src/jpeg-6/jchuff.h
A    tremulous-svn/src/jpeg-6/jidctfst.c
A    tremulous-svn/src/jpeg-6/jmemnobs.c
A    tremulous-svn/src/jpeg-6/jdhuff.h
A    tremulous-svn/src/jpeg-6/jcparam.c
A    tremulous-svn/src/jpeg-6/jcinit.c
A    tremulous-svn/src/jpeg-6/jquant1.c
A    tremulous-svn/src/jpeg-6/jquant2.c
A    tremulous-svn/src/jpeg-6/jcphuff.c
A    tremulous-svn/src/jpeg-6/jdct.h
A    tremulous-svn/src/jpeg-6/jmemname.c
A    tremulous-svn/src/jpeg-6/jdatasrc.c
A    tremulous-svn/src/jpeg-6/jccolor.c
A    tremulous-svn/src/jpeg-6/jcsample.c
A    tremulous-svn/src/jpeg-6/jcmarker.c
A    tremulous-svn/src/jpeg-6/jmemdos.c
A    tremulous-svn/src/jpeg-6/jmemmgr.c
A    tremulous-svn/src/jpeg-6/jdmarker.c
A    tremulous-svn/src/jpeg-6/jdsample.c
A    tremulous-svn/src/jpeg-6/jfdctflt.c
A    tremulous-svn/src/jpeg-6/jcapistd.c
A    tremulous-svn/src/jpeg-6/jmorecfg.h
A    tremulous-svn/src/jpeg-6/jdapistd.c
A    tremulous-svn/src/jpeg-6/jinclude.h
A    tremulous-svn/src/jpeg-6/jidctflt.c
A    tremulous-svn/src/jpeg-6/jctrans.c
A    tremulous-svn/src/jpeg-6/jversion.h
A    tremulous-svn/src/jpeg-6/jfdctint.c
A    tremulous-svn/src/jpeg-6/jpegint.h
A    tremulous-svn/src/jpeg-6/jidctint.c
A    tremulous-svn/src/jpeg-6/jcprepct.c
A    tremulous-svn/src/jpeg-6/jpegtran.c
A    tremulous-svn/src/jpeg-6/jutils.c
A    tremulous-svn/src/jpeg-6/README
A    tremulous-svn/src/jpeg-6/jdinput.c
A    tremulous-svn/src/jpeg-6/jdmerge.c
A    tremulous-svn/src/jpeg-6/jccoefct.c
A    tremulous-svn/src/jpeg-6/jdcoefct.c
A    tremulous-svn/src/jpeg-6/jpeglib.h
A    tremulous-svn/src/jpeg-6/jcomapi.c
A    tremulous-svn/src/jpeg-6/jconfig.h
A    tremulous-svn/src/jpeg-6/jdphuff.c
A    tremulous-svn/src/jpeg-6/jcmainct.c
A    tremulous-svn/src/jpeg-6/jidctred.c
A    tremulous-svn/src/jpeg-6/jdmainct.c
A    tremulous-svn/src/jpeg-6/jload.c
A    tremulous-svn/src/jpeg-6/jcapimin.c
A    tremulous-svn/src/jpeg-6/jdpostct.c
A    tremulous-svn/src/jpeg-6/jdapimin.c
A    tremulous-svn/src/jpeg-6/jdcolor.c
A    tremulous-svn/src/jpeg-6/jmemsys.h
A    tremulous-svn/src/jpeg-6/jcdctmgr.c
A    tremulous-svn/src/libs
A    tremulous-svn/src/libs/win32
A    tremulous-svn/src/libs/win32/libSDL.dll.a
A    tremulous-svn/src/libs/win32/libSDL.la
A    tremulous-svn/src/libs/win32/libcurl.a
A    tremulous-svn/src/libs/win32/libSDLmain.a
A    tremulous-svn/src/libs/macosx
A    tremulous-svn/src/libs/macosx/libSDL-1.2.0.dylib
A    tremulous-svn/src/libs/macosx/libSDLmain.a
A    tremulous-svn/src/master
A    tremulous-svn/src/master/servers.h
A    tremulous-svn/src/master/stats.c
A    tremulous-svn/src/master/messages.c
A    tremulous-svn/src/master/servers.c
A    tremulous-svn/src/master/master.c
A    tremulous-svn/src/master/Makefile
A    tremulous-svn/src/master/messages.h
A    tremulous-svn/src/master/common.h
A    tremulous-svn/src/libcurl
A    tremulous-svn/src/libcurl/curl
A    tremulous-svn/src/libcurl/curl/stdcheaders.h
A    tremulous-svn/src/libcurl/curl/multi.h
A    tremulous-svn/src/libcurl/curl/mprintf.h
A    tremulous-svn/src/libcurl/curl/easy.h
A    tremulous-svn/src/libcurl/curl/curlver.h
A    tremulous-svn/src/libcurl/curl/types.h
A    tremulous-svn/src/libcurl/curl/curl.h
A    tremulous-svn/src/AL
A    tremulous-svn/src/AL/al.h
A    tremulous-svn/src/AL/VERSION
A    tremulous-svn/src/AL/alc.h
A    tremulous-svn/src/AL/altypes.h
A    tremulous-svn/src/AL/alctypes.h
A    tremulous-svn/src/AL/alut.h
A    tremulous-svn/src/tools
A    tremulous-svn/src/tools/asm
A    tremulous-svn/src/tools/asm/ops.txt
A    tremulous-svn/src/tools/asm/cmdlib.h
A    tremulous-svn/src/tools/asm/lib.txt
A    tremulous-svn/src/tools/asm/q3asm.c
A    tremulous-svn/src/tools/asm/mathlib.h
A    tremulous-svn/src/tools/asm/notes.txt
A    tremulous-svn/src/tools/asm/README.Id
A    tremulous-svn/src/tools/asm/cmdlib.c
A    tremulous-svn/src/tools/asm/opstrings.h
A    tremulous-svn/src/tools/lcc
A    tremulous-svn/src/tools/lcc/LOG
A    tremulous-svn/src/tools/lcc/cpp
A    tremulous-svn/src/tools/lcc/cpp/macro.c
A    tremulous-svn/src/tools/lcc/cpp/cpp.c
A    tremulous-svn/src/tools/lcc/cpp/getopt.c
A    tremulous-svn/src/tools/lcc/cpp/include.c
A    tremulous-svn/src/tools/lcc/cpp/tokens.c
A    tremulous-svn/src/tools/lcc/cpp/unix.c
A    tremulous-svn/src/tools/lcc/cpp/hideset.c
A    tremulous-svn/src/tools/lcc/cpp/cpp.h
A    tremulous-svn/src/tools/lcc/cpp/eval.c
A    tremulous-svn/src/tools/lcc/cpp/lex.c
A    tremulous-svn/src/tools/lcc/cpp/nlist.c
A    tremulous-svn/src/tools/lcc/doc
A    tremulous-svn/src/tools/lcc/doc/lcc.1
A    tremulous-svn/src/tools/lcc/doc/4.html
A    tremulous-svn/src/tools/lcc/doc/bprint.pdf
A    tremulous-svn/src/tools/lcc/doc/install.html
A    tremulous-svn/src/tools/lcc/doc/lcc.pdf
A    tremulous-svn/src/tools/lcc/doc/bprint.1
A    tremulous-svn/src/tools/lcc/src
A    tremulous-svn/src/tools/lcc/src/trace.c
A    tremulous-svn/src/tools/lcc/src/bytecode.c
A    tremulous-svn/src/tools/lcc/src/output.c
A    tremulous-svn/src/tools/lcc/src/init.c
A    tremulous-svn/src/tools/lcc/src/types.c
A    tremulous-svn/src/tools/lcc/src/string.c
A    tremulous-svn/src/tools/lcc/src/dagcheck.md
A    tremulous-svn/src/tools/lcc/src/decl.c
A    tremulous-svn/src/tools/lcc/src/sym.c
A    tremulous-svn/src/tools/lcc/src/simp.c
A    tremulous-svn/src/tools/lcc/src/null.c
A    tremulous-svn/src/tools/lcc/src/config.h
A    tremulous-svn/src/tools/lcc/src/stmt.c
A    tremulous-svn/src/tools/lcc/src/error.c
A    tremulous-svn/src/tools/lcc/src/enode.c
A    tremulous-svn/src/tools/lcc/src/dag.c
A    tremulous-svn/src/tools/lcc/src/profio.c
A    tremulous-svn/src/tools/lcc/src/tree.c
A    tremulous-svn/src/tools/lcc/src/input.c
A    tremulous-svn/src/tools/lcc/src/prof.c
A    tremulous-svn/src/tools/lcc/src/gen.c
A    tremulous-svn/src/tools/lcc/src/list.c
A    tremulous-svn/src/tools/lcc/src/bind.c
A    tremulous-svn/src/tools/lcc/src/expr.c
A    tremulous-svn/src/tools/lcc/src/symbolic.c
A    tremulous-svn/src/tools/lcc/src/event.c
A    tremulous-svn/src/tools/lcc/src/main.c
A    tremulous-svn/src/tools/lcc/src/token.h
A    tremulous-svn/src/tools/lcc/src/inits.c
A    tremulous-svn/src/tools/lcc/src/c.h
A    tremulous-svn/src/tools/lcc/src/lex.c
A    tremulous-svn/src/tools/lcc/src/alloc.c
A    tremulous-svn/src/tools/lcc/COPYRIGHT
A    tremulous-svn/src/tools/lcc/README.id
A    tremulous-svn/src/tools/lcc/etc
A    tremulous-svn/src/tools/lcc/etc/bytecode.c
A    tremulous-svn/src/tools/lcc/etc/lcc.c
A    tremulous-svn/src/tools/lcc/lburg
A    tremulous-svn/src/tools/lcc/lburg/lburg.h
A    tremulous-svn/src/tools/lcc/lburg/gram.c
A    tremulous-svn/src/tools/lcc/lburg/lburg.1
A    tremulous-svn/src/tools/lcc/lburg/lburg.c
A    tremulous-svn/src/tools/lcc/lburg/gram.y
A    tremulous-svn/src/tools/lcc/README
A    tremulous-svn/src/server
A    tremulous-svn/src/server/sv_world.c
A    tremulous-svn/src/server/sv_ccmds.c
A    tremulous-svn/src/server/sv_game.c
A    tremulous-svn/src/server/sv_rankings.c
A    tremulous-svn/src/server/sv_client.c
A    tremulous-svn/src/server/sv_net_chan.c
A    tremulous-svn/src/server/sv_snapshot.c
A    tremulous-svn/src/server/server.h
A    tremulous-svn/src/server/sv_init.c
A    tremulous-svn/src/server/sv_main.c
A    tremulous-svn/src/renderer
A    tremulous-svn/src/renderer/tr_mesh.c
A    tremulous-svn/src/renderer/tr_scene.c
A    tremulous-svn/src/renderer/tr_local.h
A    tremulous-svn/src/renderer/tr_model.c
A    tremulous-svn/src/renderer/tr_init.c
A    tremulous-svn/src/renderer/tr_font.c
A    tremulous-svn/src/renderer/tr_shade_calc.c
A    tremulous-svn/src/renderer/tr_shader.c
A    tremulous-svn/src/renderer/tr_sky.c
A    tremulous-svn/src/renderer/tr_light.c
A    tremulous-svn/src/renderer/tr_shadows.c
A    tremulous-svn/src/renderer/tr_types.h
A    tremulous-svn/src/renderer/tr_flares.c
A    tremulous-svn/src/renderer/tr_marks.c
A    tremulous-svn/src/renderer/tr_noise.c
A    tremulous-svn/src/renderer/tr_animation.c
A    tremulous-svn/src/renderer/tr_image.c
A    tremulous-svn/src/renderer/qgl.h
A    tremulous-svn/src/renderer/tr_public.h
A    tremulous-svn/src/renderer/tr_main.c
A    tremulous-svn/src/renderer/tr_curve.c
A    tremulous-svn/src/renderer/tr_bsp.c
A    tremulous-svn/src/renderer/tr_shade.c
A    tremulous-svn/src/renderer/tr_cmds.c
A    tremulous-svn/src/renderer/tr_backend.c
A    tremulous-svn/src/renderer/tr_world.c
A    tremulous-svn/src/renderer/tr_surface.c
A    tremulous-svn/src/qcommon
A    tremulous-svn/src/qcommon/cm_test.c
A    tremulous-svn/src/qcommon/puff.c
A    tremulous-svn/src/qcommon/vm_local.h
A    tremulous-svn/src/qcommon/cm_public.h
A    tremulous-svn/src/qcommon/puff.h
A    tremulous-svn/src/qcommon/q_platform.h
A    tremulous-svn/src/qcommon/q_math.c
A    tremulous-svn/src/qcommon/surfaceflags.h
A    tremulous-svn/src/qcommon/cm_local.h
A    tremulous-svn/src/qcommon/cm_patch.c
A    tremulous-svn/src/qcommon/net_chan.c
A    tremulous-svn/src/qcommon/cm_patch.h
A    tremulous-svn/src/qcommon/md4.c
A    tremulous-svn/src/qcommon/md5.c
A    tremulous-svn/src/qcommon/q_shared.c
A    tremulous-svn/src/qcommon/vm_x86.c
A    tremulous-svn/src/qcommon/cm_polylib.c
A    tremulous-svn/src/qcommon/q_shared.h
A    tremulous-svn/src/qcommon/cm_load.c
A    tremulous-svn/src/qcommon/cm_polylib.h
A    tremulous-svn/src/qcommon/vm_x86_64.c
A    tremulous-svn/src/qcommon/vm_none.c
A    tremulous-svn/src/qcommon/files.c
A    tremulous-svn/src/qcommon/cmd.c
A    tremulous-svn/src/qcommon/unzip.c
A    tremulous-svn/src/qcommon/unzip.h
A    tremulous-svn/src/qcommon/parse.c
A    tremulous-svn/src/qcommon/cm_trace.c
A    tremulous-svn/src/qcommon/qcommon.h
A    tremulous-svn/src/qcommon/net_ip.c
A    tremulous-svn/src/qcommon/vm.c
A    tremulous-svn/src/qcommon/huffman.c
A    tremulous-svn/src/qcommon/vm_ppc.c
A    tremulous-svn/src/qcommon/msg.c
A    tremulous-svn/src/qcommon/vm_interpreted.c
A    tremulous-svn/src/qcommon/qfiles.h
A    tremulous-svn/src/qcommon/common.c
A    tremulous-svn/src/qcommon/cvar.c
A    tremulous-svn/src/qcommon/vm_x86_64_assembler.c
A    tremulous-svn/src/game
A    tremulous-svn/src/game/g_spawn.c
A    tremulous-svn/src/game/bg_slidemove.c
A    tremulous-svn/src/game/g_syscalls.asm
A    tremulous-svn/src/game/g_syscalls.c
A    tremulous-svn/src/game/bg_misc.c
A    tremulous-svn/src/game/tremulous.h
A    tremulous-svn/src/game/g_svcmds.c
A    tremulous-svn/src/game/g_local.h
A    tremulous-svn/src/game/g_ptr.c
A    tremulous-svn/src/game/g_combat.c
A    tremulous-svn/src/game/g_active.c
A    tremulous-svn/src/game/g_mem.c
A    tremulous-svn/src/game/g_session.c
A    tremulous-svn/src/game/g_public.h
A    tremulous-svn/src/game/g_buildable.c
A    tremulous-svn/src/game/g_main.c
A    tremulous-svn/src/game/g_target.c
A    tremulous-svn/src/game/g_mover.c
A    tremulous-svn/src/game/bg_pmove.c
A    tremulous-svn/src/game/g_admin.c
A    tremulous-svn/src/game/g_weapon.c
A    tremulous-svn/src/game/g_misc.c
A    tremulous-svn/src/game/g_maprotation.c
A    tremulous-svn/src/game/g_admin.h
A    tremulous-svn/src/game/g_utils.c
A    tremulous-svn/src/game/bg_local.h
A    tremulous-svn/src/game/g_trigger.c
A    tremulous-svn/src/game/g_missile.c
A    tremulous-svn/src/game/bg_lib.c
A    tremulous-svn/src/game/bg_lib.h
A    tremulous-svn/src/game/g_client.c
A    tremulous-svn/src/game/g_physics.c
A    tremulous-svn/src/game/bg_public.h
A    tremulous-svn/src/game/g_team.c
A    tremulous-svn/src/game/g_cmds.c
A    tremulous-svn/src/null
A    tremulous-svn/src/null/null_main.c
A    tremulous-svn/src/null/null_net.c
A    tremulous-svn/src/null/null_snddma.c
A    tremulous-svn/src/null/null_glimp.c
A    tremulous-svn/src/null/mac_net.c
A    tremulous-svn/src/null/null_client.c
A    tremulous-svn/src/null/null_input.c
A    tremulous-svn/src/cgame
A    tremulous-svn/src/cgame/cg_particles.c
A    tremulous-svn/src/cgame/cg_attachment.c
A    tremulous-svn/src/cgame/cg_scanner.c
A    tremulous-svn/src/cgame/cg_predict.c
A    tremulous-svn/src/cgame/cg_syscalls.asm
A    tremulous-svn/src/cgame/cg_playerstate.c
A    tremulous-svn/src/cgame/cg_draw.c
A    tremulous-svn/src/cgame/cg_syscalls.c
A    tremulous-svn/src/cgame/cg_trails.c
A    tremulous-svn/src/cgame/cg_local.h
A    tremulous-svn/src/cgame/cg_snapshot.c
A    tremulous-svn/src/cgame/cg_tutorial.c
A    tremulous-svn/src/cgame/cg_ptr.c
A    tremulous-svn/src/cgame/cg_ents.c
A    tremulous-svn/src/cgame/cg_consolecmds.c
A    tremulous-svn/src/cgame/cg_view.c
A    tremulous-svn/src/cgame/cg_weapons.c
A    tremulous-svn/src/cgame/cg_marks.c
A    tremulous-svn/src/cgame/cg_animmapobj.c
A    tremulous-svn/src/cgame/cg_servercmds.c
A    tremulous-svn/src/cgame/cg_mem.c
A    tremulous-svn/src/cgame/cg_drawtools.c
A    tremulous-svn/src/cgame/cg_players.c
A    tremulous-svn/src/cgame/cg_animation.c
A    tremulous-svn/src/cgame/cg_event.c
A    tremulous-svn/src/cgame/cg_buildable.c
A    tremulous-svn/src/cgame/cg_public.h
A    tremulous-svn/src/cgame/cg_main.c
A    tremulous-svn/src/ui
A    tremulous-svn/src/ui/ui_atoms.c
A    tremulous-svn/src/ui/ui_public.h
A    tremulous-svn/src/ui/ui_main.c
A    tremulous-svn/src/ui/ui_gameinfo.c
A    tremulous-svn/src/ui/ui_shared.c
A    tremulous-svn/src/ui/ui_shared.h
A    tremulous-svn/src/ui/ui_syscalls.asm
A    tremulous-svn/src/ui/ui_syscalls.c
A    tremulous-svn/src/ui/ui_local.h
A    tremulous-svn/src/ui/ui_players.c
A    tremulous-svn/src/sys
A    tremulous-svn/src/sys/con_tty.c
A    tremulous-svn/src/sys/sys_win32.c
A    tremulous-svn/src/sys/con_win32.c
A    tremulous-svn/src/sys/sys_unix.c
A    tremulous-svn/src/sys/sys_main.c
A    tremulous-svn/src/sys/win_resource.rc
A    tremulous-svn/src/sys/sys_loadlib.h
A    tremulous-svn/src/sys/win_resource.h
A    tremulous-svn/src/sys/sys_local.h
A    tremulous-svn/src/client
A    tremulous-svn/src/client/snd_codec_wav.c
A    tremulous-svn/src/client/snd_mix.c
A    tremulous-svn/src/client/cl_main.c
A    tremulous-svn/src/client/snd_local.h
A    tremulous-svn/src/client/snd_dma.c
A    tremulous-svn/src/client/keycodes.h
A    tremulous-svn/src/client/snd_wavelet.c
A    tremulous-svn/src/client/cl_input.c
A    tremulous-svn/src/client/qal.c
A    tremulous-svn/src/client/snd_codec_ogg.c
A    tremulous-svn/src/client/keys.h
A    tremulous-svn/src/client/cl_console.c
A    tremulous-svn/src/client/snd_codec.c
A    tremulous-svn/src/client/qal.h
A    tremulous-svn/src/client/snd_mem.c
A    tremulous-svn/src/client/snd_openal.c
A    tremulous-svn/src/client/client.h
A    tremulous-svn/src/client/cl_scrn.c
A    tremulous-svn/src/client/cl_curl.c
A    tremulous-svn/src/client/snd_codec.h
A    tremulous-svn/src/client/cl_cin.c
A    tremulous-svn/src/client/snd_public.h
A    tremulous-svn/src/client/cl_parse.c
A    tremulous-svn/src/client/cl_curl.h
A    tremulous-svn/src/client/snd_adpcm.c
A    tremulous-svn/src/client/snd_main.c
A    tremulous-svn/src/client/cl_keys.c
A    tremulous-svn/src/client/cl_cgame.c
A    tremulous-svn/src/client/cl_ui.c
A    tremulous-svn/src/client/cl_net_chan.c
A    tremulous-svn/src/client/cl_avi.c
A    tremulous-svn/COPYING
A    tremulous-svn/misc
A    tremulous-svn/misc/entities.def
A    tremulous-svn/misc/tremulous.xpm
A    tremulous-svn/misc/server.cfg
A    tremulous-svn/misc/manual.lyx
A    tremulous-svn/misc/msvc
A    tremulous-svn/misc/msvc/tremulous.vcproj
A    tremulous-svn/misc/msvc/tremulous.sln
A    tremulous-svn/misc/tremulous.ico
A    tremulous-svn/misc/Tremulous.icns
A    tremulous-svn/misc/SLA-dmg.sh
A    tremulous-svn/misc/merge-ioq3-into-trem.sh
A    tremulous-svn/cross-make-mingw.sh
A    tremulous-svn/Makefile
A    tremulous-svn/ui
A    tremulous-svn/ui/loading.menu
A    tremulous-svn/ui/tremulous_alienupgrade.menu
A    tremulous-svn/ui/teamscore.menu
A    tremulous-svn/ui/serverinfo.menu
A    tremulous-svn/ui/main.menu
A    tremulous-svn/ui/joinserver.menu
A    tremulous-svn/ui/tremulous_alienbuild.menu
A    tremulous-svn/ui/error.menu
A    tremulous-svn/ui/tremulous_humandialogs.menu
A    tremulous-svn/ui/tremulous_alienclass.menu
A    tremulous-svn/ui/assets
A    tremulous-svn/ui/assets/alien
A    tremulous-svn/ui/assets/alien/buildstat.cfg
A    tremulous-svn/ui/assets/human
A    tremulous-svn/ui/assets/human/buildstat.cfg
A    tremulous-svn/ui/password.menu
A    tremulous-svn/ui/createfavorite.menu
A    tremulous-svn/ui/tremulous_alien_general_hud.menu
A    tremulous-svn/ui/tremulous_teamselect.menu
A    tremulous-svn/ui/menudef.h
A    tremulous-svn/ui/tremulous_humanarmoury.menu
A    tremulous-svn/ui/tremulous_humanitem.menu
A    tremulous-svn/ui/ptrc.menu
A    tremulous-svn/ui/tremulous_aliendialogs.menu
A    tremulous-svn/ui/ingame.txt
A    tremulous-svn/ui/ingame_leave.menu
A    tremulous-svn/ui/tremulous_alien_builder_hud.menu
A    tremulous-svn/ui/quitcredit.menu
A    tremulous-svn/ui/mod.menu
A    tremulous-svn/ui/generate-infopanes.sh
A    tremulous-svn/ui/quit.menu
A    tremulous-svn/ui/tremulous_human_hud.menu
A    tremulous-svn/ui/connect.menu
A    tremulous-svn/ui/ingame_game.menu
A    tremulous-svn/ui/createserver.menu
A    tremulous-svn/ui/options.menu
A    tremulous-svn/ui/hud.txt
A    tremulous-svn/ui/findplayer.menu
A    tremulous-svn/ui/ingame.menu
A    tremulous-svn/ui/menus.txt
A    tremulous-svn/ui/infopanes.def.h
A    tremulous-svn/ui/tremulous_default_hud.menu
A    tremulous-svn/ui/drop.menu
A    tremulous-svn/ui/tremulous_humanbuild.menu
A    tremulous-svn/ui/tremulous.txt
A    tremulous-svn/ui/ingame_options.menu
Checked out revision 1004.
dennis-tans-computer:~ dennistan$ cd tremulous-svn
dennis-tans-computer:~/tremulous-svn dennistan$ make
-bash: make: command not found
dennis-tans-computer:~/tremulous-svn dennistan$


most intresting part



Quote
dennis-tans-computer:~/tremulous-svn dennistan$ make
-bash: make: command not found
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on September 23, 2007, 06:48:13 pm
Forgetting something?

Quote from: "Benmachine"
The first thing you'll need is Xcode Tools, a package of source code handling applications and utilities found on your OSX install disk. Find that disk, insert it, and install Xcode. You can now compile
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on September 27, 2007, 01:36:24 pm
errr..ok..thx..ill get the thing inside my install disc , XD ill post again if theres any prob
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on September 29, 2007, 06:48:27 am
CLEARED
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 04, 2007, 01:32:21 pm
what do i do when i use the patch..what to patch

Code: [Select]

dennis-tans-computer:~ dennistan$ cd /applications/tremulous/src
dennis-tans-computer:/applications/tremulous/src dennistan$ patch -p0 < svn_950.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/game/bg_public.h
|===================================================================
|--- src/game/bg_public.h       (revision 954)
|+++ src/game/bg_public.h       (working copy)
--------------------------
File to patch: n
n: No such file or directory
Skip this patch? [y]
Skipping patch.
5 out of 5 hunks ignored
(Stripping trailing CRs from patch.)
can't find file to patch at input line 78
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/game/g_client.c
|===================================================================
|--- src/game/g_client.c        (revision 954)
|+++ src/game/g_client.c        (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
(Stripping trailing CRs from patch.)
can't find file to patch at input line 91
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/game/g_cmds.c
|===================================================================
|--- src/game/g_cmds.c  (revision 954)
|+++ src/game/g_cmds.c  (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
10 out of 10 hunks ignored
dennis-tans-computer:/applications/tremulous/src dennistan$
Title: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on October 04, 2007, 05:27:37 pm
Quote from: "-[=AHs=
- DarkEnix"]what do i do when i use the patch..what to patch

Code: [Select]

dennis-tans-computer:~ dennistan$ cd /applications/tremulous/src

you should run patch from the folder with the makefile, not src.
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on October 04, 2007, 11:49:25 pm
I figured out how to make qvms on a ppc, but I have yet to make a working qvm.  What is the most recent 1.1.0/tjw tremded compatible svn-patch combination?
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 06, 2007, 01:43:34 am
Quote from: "kevlarman"
Quote from: "-[=AHs=
- DarkEnix"]what do i do when i use the patch..what to patch

Code: [Select]

dennis-tans-computer:~ dennistan$ cd /applications/tremulous/src

you should run patch from the folder with the makefile, not src.


hmm...ill go try it out..see if it works
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 06, 2007, 09:21:44 am
lol

ill juz take the interesting part

src/game/g_main.c:964: error: (Each undeclared identifier is reported only once
src/game/g_main.c:964: error: for each function it appears in.)
src/game/g_main.c:964: warning: implicit declaration of function 'BG_FindReplaceableTestForBuildable'
make[1]: *** [build/release-darwin-x86/base/game/g_main.o] Error 1
make: *** [build_release] Error 2
dennis-tans-computer:~/src/tremulous-1.1.0-src dennistan$

ok..the error is enf..help..QUICK!!

2nd 1

se-darwin-x86/ded/sv_bot.o -c src/server/sv_bot.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_bot.o] Error 1
make: *** [build_release] Error 2
dennis-tans-computer:~/src/tremulous-1.1.0-src dennistan$

HELp!!!!!!

if possible..help me to compile..ill give u the thing i edited only..
http://www.mediafire.com/?5zr1pg30hpm

thx..if u nid to host file to return the whole build IF POSSIBLE....go to
http://www.mediafire.com
Title: Downloading and compiling Tremulous source on a Mac
Post by: next_ghost on October 06, 2007, 10:26:19 am
It'd help if you'd try it with SVN code, not vanilla code included in the installation package which is 18 months old.
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 06, 2007, 01:07:09 pm
errr..meaning?
Title: Downloading and compiling Tremulous source on a Mac
Post by: next_ghost on October 06, 2007, 05:33:57 pm
Quote from: "-[=AHs=
- DarkEnix"]errr..meaning?


Download the latest SVN code and try again. The patch also depends on TJW's mod patch :roll:
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 08, 2007, 11:20:39 am
Quote from: "next_ghost"
Quote from: "-[=AHs=
- DarkEnix"]errr..meaning?


Download the latest SVN code and try again. The patch also depends on TJW's mod patch :roll:


so..how can i get the TJW's mod patch..ive got t3h new SVN.. D:
Title: Downloading and compiling Tremulous source on a Mac
Post by: next_ghost on October 08, 2007, 10:39:42 pm
Quote from: "-[=AHs=
- DarkEnix"]so..how can i get the TJW's mod patch..ive got t3h new SVN.. D:


Probably on the same site where you've got the other patch.
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 09, 2007, 01:19:40 am
err..mercinaries guild?
Title: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on October 09, 2007, 01:27:52 am
Yes, MercenariesGuild.net/patches
Title: Downloading and compiling Tremulous source on a Mac
Post by: -[=AHs=]- DarkEnix on October 09, 2007, 05:43:40 am
got both then..but still get same error..

/bin/sh: line 1: svnversion: command not found
/bin/sh: line 1: svnversion: command not found
cc1: error: invalid option 'stackrealign'
SDL version 1.2.7 or greater required
make[1]: *** [libversioncheck] Error 1
make: *** [release] Error 2

how to fix?

where get SDL 1.2.7 / + ?
how to install it?
Title: Downloading and compiling Tremulous source on a Mac
Post by: PwNz! on October 12, 2007, 11:01:13 pm
I followed it, it compiled fairly well.

Only problem is  when i open up trem :

Code: [Select]

Last login: Sat Oct 13 08:11:56 on ttyp1
Welcome to Darwin!
pwnza:~ twida1$ /Users/twida1/Desktop/release-darwin-ppc/tremulous.ppc
tremulous 1.1.0_SVN1026M macosx-ppc Oct 13 2007
----- FS_Startup -----
Current search path:
/Users/twida1/Library/Application Support/Tremulous/base/tjw-vms-911M-3.pk3 (72 files)
/Users/twida1/Library/Application Support/Tremulous/base
/Users/twida1/Desktop/release-darwin-ppc/base/vms-unlagged-beta.pk3 (2 files)
/Users/twida1/Desktop/release-darwin-ppc/base/vms-1.1.0.pk3 (4 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-UTCSb2.pk3 (11 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-uncreation-1.1.0.pk3 (110 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-tremor-1.1.0.pk3 (45 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-transit-1.1.0.pk3 (135 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-pdmq3duel2-BETA1.pk3 (7 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-niveus-1.1.0.pk3 (134 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-nexus6-1.1.0.pk3 (151 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-nano-beta1.pk3 (73 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-meep_b2.pk3 (181 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-karith-1.1.0.pk3 (118 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-groundsource-a5.pk3 (108 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-gloom2beta2.pk3 (219 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-DSArena_a2.pk3 (33 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-derelictb-beta04.pk3 (178 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-Cerberus_rc2.pk3 (73 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-atcs-1.1.0.pk3 (87 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-arachnid2-1.1.0.pk3 (67 files)
/Users/twida1/Desktop/release-darwin-ppc/base/hypercubev0.pk3 (6 files)
/Users/twida1/Desktop/release-darwin-ppc/base/gamershome.pk3 (240 files)
/Users/twida1/Desktop/release-darwin-ppc/base/data-1.1.0.pk3 (1229 files)
/Users/twida1/Desktop/release-darwin-ppc/base

----------------------
3283 files in pk3 files
execing default.cfg
execing autogen.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL_Init( SDL_INIT_VIDEO )... OK
Initializing OpenGL display
...setting mode 4: 800 600
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
GL_VERSION: 1.3 ATI-1.4.18
GL_EXTENSIONS: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_occlusion_query GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_compiled_vertex_array GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_array_rev_comps_in_4_bytes GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_TEXTURE_UNITS_ARB: 6

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 4, 800 x 600 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 2
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
----- finished R_Init -----
------ Initializing Sound ------
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "coreaudio".
SDL_AudioSpec:
  Format:   AUDIO_S16MSB
  Freq:     22050
  Samples:  512
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0xf2e7000 dma buffer
No background file.
----------------------
Sound initialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1083 jump table targets
VM file ui pass 0 compiled to 665256 bytes of code
VM file ui pass 1 compiled to 665256 bytes of code
VM file ui pass 2 compiled to 665256 bytes of code
ui loaded in 5261856 bytes on the hunk
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
********************
ERROR: ^3menu file not found: ui/menus.txt, using default

********************
RE_Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- R_Init -----

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
GL_VERSION: 1.3 ATI-1.4.18
GL_EXTENSIONS: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_occlusion_query GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_compiled_vertex_array GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_array_rev_comps_in_4_bytes GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_TEXTURE_UNITS_ARB: 6

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 4, 800 x 600 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 2
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
----- finished R_Init -----
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1083 jump table targets
VM file ui pass 0 compiled to 665256 bytes of code
VM file ui pass 1 compiled to 665256 bytes of code
VM file ui pass 2 compiled to 665256 bytes of code
ui loaded in 5261856 bytes on the hunk
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
Sys_Error: recursive error after: ^3menu file not found: ui/menus.txt, using default

pwnza:~ twida1$
Title: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on October 13, 2007, 03:41:14 am
Some one knows how to solve that, but I dont.

The ppc-qvm problem is fixed-ish--go to http://bugzilla.icculus.org/show_bug.cgi?id=3026 for the fix.  Yes it is technically for q3, but trem *is* q3.  I am pretty sure that the patch has to be manually applied.
Title: Downloading and compiling Tremulous source on a Mac
Post by: next_ghost on October 13, 2007, 10:29:04 am
Quote from: "PwNz!"
...


SVN Tremulous client and vanilla cgame.qvm and ui.qvm don't work together. Use Tremded to run a server. :roll:
Title: Downloading and compiling Tremulous source on a Mac
Post by: PwNz! on October 13, 2007, 10:37:51 pm
Quote from: "next_ghost"
Quote from: "PwNz!"
...


SVN Tremulous client and vanilla cgame.qvm and ui.qvm don't work together. Use Tremded to run a server. :roll:



Lol ive fixed it already. And i stated i started up tremulous and that came up, not trying to make a server.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on November 27, 2007, 03:02:13 am
Doesn't work for me in Leopard.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on November 27, 2007, 05:17:27 pm
Doesn't work for me in Leopard.
There's something on the ioq3 mailing list about not being able to compile on Leopard. Here is the only thing that might help you:
Quote
I was able to get it to build by installing Xcode 2.5 (the developers preview,
Xcode 3 is what you get on the Leopard DVD) and re-jiggering some paths in the
make file from /Developer/ to /Xcode2.5/ (something along those lines, this is
just from memory), but it gave a ton of warnings (?) that the -m flag for the
linker is no longer supported and would be ignored.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: GrooveMachine on November 29, 2007, 12:22:10 am
Hmmm... everything worked for me until I used the "make" command.  I got a ways into it, but then it gave me several errors, and I'm not quit sure what they mean.  Here's what it looked like:

Code: [Select]
Building Tremulous in build/release-darwin-x86:
  PLATFORM: darwin
  ARCH: x86
  COMPILE_PLATFORM: darwin
  COMPILE_ARCH: x86
  CC: cc

  CFLAGS:
    -MMD
    -Wall
    -Wimplicit
    -Wstrict-prototypes
    -mstackrealign
    -fno-strict-aliasing
    -DMACOS_X
    -fno-common
    -pipe
    -gfull
    -DUSE_OPENAL
    -DUSE_CURL
    -DUSE_CURL_DLOPEN
    -D_THREAD_SAFE=1
    -Isrc/SDL12/include
    -DUSE_LOCAL_HEADERS
    -DSVN_VERSION="1.1.0_SVN1042"
    -DNDEBUG
    -march=prescott
    -mfpmath=sse
    -ffast-math
    -falign-loops=16

  Output:
    build/release-darwin-x86/tremded.x86
    build/release-darwin-x86/tremulous.x86
    build/release-darwin-x86/tremulous-smp.x86
    build/release-darwin-x86/base/cgamex86.dylib
    build/release-darwin-x86/base/gamex86.dylib
    build/release-darwin-x86/base/uix86.dylib
    build/release-darwin-x86/base/vm/cgame.qvm
    build/release-darwin-x86/base/vm/game.qvm
    build/release-darwin-x86/base/vm/ui.qvm

DED_CC src/server/sv_client.c
DED_CC src/server/sv_ccmds.c
DED_CC src/server/sv_game.c
DED_CC src/server/sv_init.c
DED_CC src/server/sv_main.c
DED_CC src/server/sv_net_chan.c
DED_CC src/server/sv_snapshot.c
DED_CC src/server/sv_world.c
DED_CC src/qcommon/cm_load.c
DED_CC src/qcommon/cm_patch.c
DED_CC src/qcommon/cm_polylib.c
DED_CC src/qcommon/cm_test.c
DED_CC src/qcommon/cm_trace.c
DED_CC src/qcommon/cmd.c
DED_CC src/qcommon/common.c
DED_CC src/qcommon/cvar.c
DED_CC src/qcommon/files.c
DED_CC src/qcommon/md4.c
DED_CC src/qcommon/msg.c
DED_CC src/qcommon/net_chan.c
DED_CC src/qcommon/net_ip.c
src/qcommon/net_ip.c: In function ‘NET_GetLocalAddress’:
src/qcommon/net_ip.c:759: error: ‘OSIOCGIFADDR’ undeclared (first use in this function)
src/qcommon/net_ip.c:759: error: (Each undeclared identifier is reported only once
src/qcommon/net_ip.c:759: error: for each function it appears in.)
make[2]: *** [build/release-darwin-x86/ded/net_ip.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2

Note:  After "make: *** [release] Error 2", it gave me the normal prompt (Macintosh:Desktop (Username)$).

Any ideas of what's wrong?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on November 29, 2007, 02:41:12 am
Same error I got, and I know for a fact Groove is using leopard.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: benmachine on November 29, 2007, 04:52:45 pm
Yeah, that's the same error on the ioq3 mailing list. Currently building on Leopard is not supported. You can try following in the footsteps of the guy I quoted, but it's probably not going to be an easy ride.

Time to install Ubuntu :) :P
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on November 29, 2007, 11:47:14 pm
I also have Tiger installed :D

Boot into Tiger FTW
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Yarou on November 30, 2007, 12:57:04 am
I followed it, it compiled fairly well.

Only problem is  when i open up trem :

Code: [Select]
Last login: Sat Oct 13 08:11:56 on ttyp1
Welcome to Darwin!
pwnza:~ twida1$ /Users/twida1/Desktop/release-darwin-ppc/tremulous.ppc
tremulous 1.1.0_SVN1026M macosx-ppc Oct 13 2007
----- FS_Startup -----
Current search path:
/Users/twida1/Library/Application Support/Tremulous/base/tjw-vms-911M-3.pk3 (72 files)
/Users/twida1/Library/Application Support/Tremulous/base
/Users/twida1/Desktop/release-darwin-ppc/base/vms-unlagged-beta.pk3 (2 files)
/Users/twida1/Desktop/release-darwin-ppc/base/vms-1.1.0.pk3 (4 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-UTCSb2.pk3 (11 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-uncreation-1.1.0.pk3 (110 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-tremor-1.1.0.pk3 (45 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-transit-1.1.0.pk3 (135 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-pdmq3duel2-BETA1.pk3 (7 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-niveus-1.1.0.pk3 (134 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-nexus6-1.1.0.pk3 (151 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-nano-beta1.pk3 (73 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-meep_b2.pk3 (181 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-karith-1.1.0.pk3 (118 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-groundsource-a5.pk3 (108 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-gloom2beta2.pk3 (219 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-DSArena_a2.pk3 (33 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-derelictb-beta04.pk3 (178 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-Cerberus_rc2.pk3 (73 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-atcs-1.1.0.pk3 (87 files)
/Users/twida1/Desktop/release-darwin-ppc/base/map-arachnid2-1.1.0.pk3 (67 files)
/Users/twida1/Desktop/release-darwin-ppc/base/hypercubev0.pk3 (6 files)
/Users/twida1/Desktop/release-darwin-ppc/base/gamershome.pk3 (240 files)
/Users/twida1/Desktop/release-darwin-ppc/base/data-1.1.0.pk3 (1229 files)
/Users/twida1/Desktop/release-darwin-ppc/base

----------------------
3283 files in pk3 files
execing default.cfg
execing autogen.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL_Init( SDL_INIT_VIDEO )... OK
Initializing OpenGL display
...setting mode 4: 800 600
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
GL_VERSION: 1.3 ATI-1.4.18
GL_EXTENSIONS: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_occlusion_query GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_compiled_vertex_array GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_array_rev_comps_in_4_bytes GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_TEXTURE_UNITS_ARB: 6

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 4, 800 x 600 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 2
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
----- finished R_Init -----
------ Initializing Sound ------
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "coreaudio".
SDL_AudioSpec:
  Format:   AUDIO_S16MSB
  Freq:     22050
  Samples:  512
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0xf2e7000 dma buffer
No background file.
----------------------
Sound initialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1083 jump table targets
VM file ui pass 0 compiled to 665256 bytes of code
VM file ui pass 1 compiled to 665256 bytes of code
VM file ui pass 2 compiled to 665256 bytes of code
ui loaded in 5261856 bytes on the hunk
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
********************
ERROR: ^3menu file not found: ui/menus.txt, using default

********************
RE_Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- R_Init -----

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon 9200 OpenGL Engine
GL_VERSION: 1.3 ATI-1.4.18
GL_EXTENSIONS: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_occlusion_query GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_compiled_vertex_array GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_array_rev_comps_in_4_bytes GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_TEXTURE_UNITS_ARB: 6

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 4, 800 x 600 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 2
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
----- finished R_Init -----
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1083 jump table targets
VM file ui pass 0 compiled to 665256 bytes of code
VM file ui pass 1 compiled to 665256 bytes of code
VM file ui pass 2 compiled to 665256 bytes of code
ui loaded in 5261856 bytes on the hunk
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
Sys_Error: recursive error after: ^3menu file not found: ui/menus.txt, using default

pwnza:~ twida1$
You need to backport your client.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: X-20 on February 02, 2008, 09:58:10 pm
Edit: ignore my post kthxbai
Title: the patch messes everything up
Post by: (Farmer)Azrael on May 15, 2008, 01:23:42 am
Slight problem...

I did everything in the guide and then ran make without patching. There were a few errors, most of them similar to

Code: [Select]
src/game/g_admin.c:2427: warning: format ‘%i’ expects type ‘int’, but argument 4 has type ‘long unsigned int’

but other than that, it seemed to work fine. The only problem was, it didn't make any binaries... The only user-usable files, as far as I could tell, were tremded.x86, tremulous-smp.x86, and tremulous.x86.

Then I tried patching it with backport901.patch. That worked fine; then I ran make and it failed spectacularly with errors similar to

Code: [Select]
src/qcommon/../client/../cgame/cg_public.h:145: error: previous definition of ‘CG_PARSE_SOURCE_FILE_AND_LINE’ was here

There were also a number of errors in the patch output.

Code: [Select]
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file src/cgame/cg_syscalls.asm.rej
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: (Farmer)Azrael on May 15, 2008, 08:04:46 pm
Ah... Perhaps it's because the code and patch are out-of-date?

Duh...
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on May 16, 2008, 03:06:34 am
Those "errors" are merely warnings, and harmless at that. (I think... Someone should silence them, though)  "tremulous.<arch>", "tremulous-smp.<arch>", and "tremded.<arch>" ARE the binaries, or at least the executable ones.  There should be some "*.dylib"s in the "base" folder next to the binaries, and possibly some qvms in the "vm" folder in the "base" folder.

What svn revision did you use?  If you didnt use the "-r <number/identifier>" option, you got the current revision, for which there is almost certainly no backport patch.  You need to get the latest backport patch, then get the svn revision it is against, then patch THAT copy of the code, and then "make" the result.

BTW, go ahead and post the whole output, but only if you do it in [codebox] tags.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Rocinante on May 16, 2008, 03:26:50 am
Erm, yes and no.  The "warning: format" error is probably okay to ignore, the "error: previous definition" is fatal (and means the patch you applied didn't do something right - or, you didn't apply it in a clean build tree, meaning uncompress or download the source to a clean location before trying to patch).

But the "Hunk #1 FAILED" messages mean the patch you tried to apply isn't going to apply cleanly to the source you have.  Most common cause is not using the same source input that the patch author used to generate the patch (for example, using svn 1036 instead of 966, though it could even be a single revision depending on what's changed).

And the tags are [code] and [/code] which you can easily get with the '#' button in the editor.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: (Farmer)Azrael on May 16, 2008, 10:52:04 pm
Ah... Yes, I think it was because I used an out-of-date patch. Death On Ice pointed me to one and it worked so far. It did spawn three executables called tremded.x86, tremulous-smp.x86, and tremulous.x86. These aren't what I'm accustomed to on Mac, so I don't know what to do with them.

Here's a link to the thread where I asked this question before seeing your replies...
http://tremulous.net/forum/index.php?topic=8135.0 (http://tremulous.net/forum/index.php?topic=8135.0)
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: (Farmer)Azrael on May 16, 2008, 11:04:51 pm
Never mind. I figured out how to run them. Since I hate it when people solve a question themselves and then don't tell you how they did it, I'll explain...

To run the client (tremulous.x86), copy it into the same folder as your "stock" client. Then open Terminal, drag tremulous.x86 onto the window, and hit return. It'll take a moment to start up. Then you're in business!

I don't know about tremded.x86 and tremulous-smp.x86 but I assume the process is the same.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on May 18, 2008, 03:48:33 am
"tremulous-smp.*" is the multi-core enabled version.  "tremded.*" is the dedicated server.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: (Farmer)Azrael on May 19, 2008, 03:04:47 am
Thanks.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Le Compilateur on May 29, 2008, 10:13:20 pm
Why doesn't Leopard compile QVMs?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: David on May 29, 2008, 11:59:37 pm
Because something is broken and none of the devs have a mac to fix it.
AFAIK benmachine is the only dev-like-person with a mac, and he has done a lot of work on such things.  No idea how far he got.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on May 30, 2008, 12:17:13 am
Because something is broken and none of the devs have a mac to fix it.
AFAIK benmachine is the only dev-like-person with a mac, and he has done a lot of work on such things.  No idea how far he got.
you forgot tjw >.>
qvm compiling on leopard has been fixed upstream (thanks to benmachine), but timbo hasn't gotten around to merging it to trem yet.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Le Compilateur on May 30, 2008, 12:27:56 am
Great! Can't wait till I can make my own QVM.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Jalaco on May 31, 2008, 04:10:08 am
OK. I have a problem, when I try add the "/usr/local/bin" to the "$PATH" it doesn't do anything heres what I get:

Code: [Select]
Family:~ Jalaco$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin
Family:~ Jalaco$ PATH=$PATH: /usr/local/bin
-bash: /usr/local/bin: is a directory
Family:~ Jalaco$ export PATH
Family:~ Jalaco$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin

So can anyone help?

\\^// Jalaco \\^//
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Rocinante on May 31, 2008, 04:55:22 am
Don't add the space. export PATH=$PATH:/usr/local/bin will do the trick all on one line.

Your $PATH is searched in order, so if you want stuff in /usr/local/bin to be run before anything that might be elsewhere, put that first: export PATH=/usr/local/bin:$PATH

If you're looking to do stuff like this all the time, you'll want to edit your shell startup files.  Let me know if that's the case, I've got plenty of tricks for making clean startup files that do all kinds of nifty things.  Yes, I said nifty.  It goes along with the UNIX background, the long hair and the scruffy beard.  Here's a nickel, kid, go buy yourself a real operating system.  (Extra points if you can find the image of the cartoon with that line in it, especially since I misplaced mine.)
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Jalaco on May 31, 2008, 05:24:15 am
Thanks to Rocinante I have gotten this far to encounter another of the errors that seem to plague me...

Code: [Select]
Family:~/tremulous-svn Jalaco$ patch -p0 < backport1044.patch
patching file src/game/g_syscalls.asm
patching file src/game/bg_misc.c
Hunk #1 FAILED at 5126.
1 out of 1 hunk FAILED -- saving rejects to file src/game/bg_misc.c.rej
patching file src/game/g_active.c
Hunk #2 succeeded at 663 (offset -1 lines).
Hunk #3 succeeded at 694 (offset -1 lines).
Hunk #4 FAILED at 839.
1 out of 4 hunks FAILED -- saving rejects to file src/game/g_active.c.rej
patching file src/game/g_public.h
patching file src/game/bg_pmove.c
Hunk #1 succeeded at 2695 (offset 36 lines).
Hunk #2 FAILED at 2793.
Hunk #3 FAILED at 2813.
Hunk #4 succeeded at 2832 (offset 37 lines).
Hunk #5 succeeded at 2952 with fuzz 1 (offset 38 lines).
Hunk #6 succeeded at 3107 with fuzz 2 (offset 74 lines).
Hunk #7 succeeded at 3327 (offset 74 lines).
Hunk #8 FAILED at 3359.
Hunk #9 FAILED at 3367.
Hunk #10 FAILED at 3375.
5 out of 10 hunks FAILED -- saving rejects to file src/game/bg_pmove.c.rej
patching file src/game/g_weapon.c
Hunk #1 succeeded at 93 with fuzz 2.
Hunk #2 succeeded at 106 (offset 1 line).
patching file src/game/g_trigger.c
Hunk #2 FAILED at 1099.
1 out of 2 hunks FAILED -- saving rejects to file src/game/g_trigger.c.rej
patching file src/game/g_client.c
Hunk #1 succeeded at 1472 with fuzz 2 (offset -6 lines).
patching file src/game/bg_public.h
Hunk #1 succeeded at 412 with fuzz 2 (offset -21 lines).
Hunk #2 succeeded at 1059 with fuzz 1 (offset -24 lines).
patching file src/game/g_cmds.c
Hunk #1 succeeded at 385 (offset 4 lines).
Hunk #2 succeeded at 2152 (offset 99 lines).
Hunk #3 succeeded at 2401 with fuzz 2 (offset 104 lines).
patching file src/qcommon/q_shared.h
Hunk #2 succeeded at 1087 (offset 2 lines).
Hunk #3 succeeded at 1278 (offset 3 lines).
patching file src/qcommon/qcommon.h
patching file src/qcommon/msg.c
Hunk #1 succeeded at 828 (offset 1 line).
Hunk #2 succeeded at 1145 (offset 2 lines).
Hunk #3 succeeded at 1173 (offset 2 lines).
Hunk #4 succeeded at 1254 (offset 2 lines).
Hunk #5 succeeded at 1267 (offset 2 lines).
Hunk #6 succeeded at 1296 (offset 2 lines).
Hunk #7 succeeded at 1426 (offset 2 lines).
patching file src/qcommon/common.c
patching file src/cgame/cg_predict.c
patching file src/cgame/cg_syscalls.asm
patching file src/cgame/cg_draw.c
Hunk #5 FAILED at 1915.
Hunk #6 FAILED at 1934.
2 out of 6 hunks FAILED -- saving rejects to file src/cgame/cg_draw.c.rej
patching file src/cgame/cg_tutorial.c
Hunk #2 FAILED at 429.
1 out of 2 hunks FAILED -- saving rejects to file src/cgame/cg_tutorial.c.rej
patching file src/cgame/cg_weapons.c
Hunk #1 FAILED at 1196.
1 out of 1 hunk FAILED -- saving rejects to file src/cgame/cg_weapons.c.rej
patching file src/cgame/cg_public.h
Hunk #3 succeeded at 233 (offset 2 lines).
patching file src/cgame/cg_main.c
Hunk #1 succeeded at 66 (offset -2 lines).
patching file src/ui/ui_public.h
patching file src/ui/ui_main.c
patching file src/ui/ui_syscalls.asm
patching file src/client/cl_console.c
patching file src/client/cl_keys.c
Family:~/tremulous-svn Jalaco$ make

Building Tremulous in build/release-darwin-x86:
  PLATFORM: darwin
  ARCH: x86
  COMPILE_PLATFORM: darwin
  COMPILE_ARCH: x86
  CC: cc

  CFLAGS:
    -MMD
    -Wall
    -Wimplicit
    -Wstrict-prototypes
    -mstackrealign
    -fno-strict-aliasing
    -DMACOS_X
    -fno-common
    -pipe
    -DUSE_OPENAL
    -DUSE_CURL
    -DUSE_CURL_DLOPEN
    -D_THREAD_SAFE=1
    -Isrc/SDL12/include
    -DUSE_LOCAL_HEADERS
    -DSVN_VERSION="1.1.0_SVN1088M"
    -DNDEBUG
    -march=prescott
    -mfpmath=sse
    -ffast-math
    -falign-loops=16

  LDFLAGS:

  Output:
    build/release-darwin-x86/tremded.x86
    build/release-darwin-x86/tremulous.x86
    build/release-darwin-x86/tremulous-smp.x86
    build/release-darwin-x86/base/cgamex86.dylib
    build/release-darwin-x86/base/gamex86.dylib
    build/release-darwin-x86/base/uix86.dylib

DED_CC src/server/sv_client.c
DED_CC src/server/sv_ccmds.c
DED_CC src/server/sv_game.c
DED_CC src/server/sv_init.c
DED_CC src/server/sv_main.c
DED_CC src/server/sv_net_chan.c
DED_CC src/server/sv_snapshot.c
DED_CC src/server/sv_world.c
DED_CC src/qcommon/cm_load.c
DED_CC src/qcommon/cm_patch.c
DED_CC src/qcommon/cm_polylib.c
DED_CC src/qcommon/cm_test.c
DED_CC src/qcommon/cm_trace.c
DED_CC src/qcommon/cmd.c
DED_CC src/qcommon/common.c
DED_CC src/qcommon/cvar.c
DED_CC src/qcommon/files.c
DED_CC src/qcommon/md4.c
DED_CC src/qcommon/msg.c
DED_CC src/qcommon/net_chan.c
DED_CC src/qcommon/net_ip.c
DED_CC src/qcommon/huffman.c
DED_CC src/qcommon/parse.c
DED_CC src/qcommon/q_math.c
DED_CC src/qcommon/q_shared.c
DED_CC src/qcommon/unzip.c
DED_CC src/qcommon/vm.c
DED_CC src/qcommon/vm_interpreted.c
DED_CC src/null/null_client.c
DED_CC src/null/null_input.c
DED_CC src/null/null_snddma.c
DED_CC src/sys/con_log.c
DED_CC src/sys/sys_main.c
DED_CC src/qcommon/vm_x86.c
DED_CC src/sys/sys_unix.c
DED_CC src/sys/con_tty.c
LD build/release-darwin-x86/tremded.x86
CC src/client/cl_cgame.c
CC src/client/cl_cin.c
CC src/client/cl_console.c
CC src/client/cl_input.c
CC src/client/cl_keys.c
CC src/client/cl_main.c
CC src/client/cl_net_chan.c
CC src/client/cl_parse.c
CC src/client/cl_scrn.c
CC src/client/cl_ui.c
CC src/client/cl_avi.c
CC src/qcommon/cm_load.c
CC src/qcommon/cm_patch.c
CC src/qcommon/cm_polylib.c
CC src/qcommon/cm_test.c
CC src/qcommon/cm_trace.c
CC src/qcommon/cmd.c
CC src/qcommon/common.c
CC src/qcommon/cvar.c
CC src/qcommon/files.c
CC src/qcommon/md4.c
CC src/qcommon/md5.c
CC src/qcommon/msg.c
CC src/qcommon/net_chan.c
CC src/qcommon/net_ip.c
CC src/qcommon/huffman.c
CC src/qcommon/parse.c
CC src/client/snd_adpcm.c
CC src/client/snd_dma.c
CC src/client/snd_mem.c
CC src/client/snd_mix.c
CC src/client/snd_wavelet.c
CC src/client/snd_main.c
CC src/client/snd_codec.c
CC src/client/snd_codec_wav.c
CC src/client/qal.c
CC src/client/snd_openal.c
CC src/client/cl_curl.c
CC src/server/sv_ccmds.c
CC src/server/sv_client.c
CC src/server/sv_game.c
CC src/server/sv_init.c
CC src/server/sv_main.c
CC src/server/sv_net_chan.c
CC src/server/sv_snapshot.c
CC src/server/sv_world.c
CC src/qcommon/q_math.c
CC src/qcommon/q_shared.c
CC src/qcommon/unzip.c
CC src/qcommon/puff.c
CC src/qcommon/vm.c
CC src/qcommon/vm_interpreted.c
CC src/jpeg-6/jerror.c
CC src/jpeg-6/jmemnobs.c
CC src/renderer/tr_animation.c
CC src/renderer/tr_backend.c
CC src/renderer/tr_bsp.c
CC src/renderer/tr_cmds.c
CC src/renderer/tr_curve.c
CC src/renderer/tr_flares.c
CC src/renderer/tr_font.c
CC src/renderer/tr_image.c
CC src/renderer/tr_image_png.c
CC src/renderer/tr_image_jpg.c
CC src/renderer/tr_image_bmp.c
CC src/renderer/tr_image_tga.c
CC src/renderer/tr_image_pcx.c
CC src/renderer/tr_init.c
CC src/renderer/tr_light.c
CC src/renderer/tr_main.c
CC src/renderer/tr_marks.c
CC src/renderer/tr_mesh.c
CC src/renderer/tr_model.c
CC src/renderer/tr_noise.c
CC src/renderer/tr_scene.c
CC src/renderer/tr_shade.c
CC src/renderer/tr_shade_calc.c
CC src/renderer/tr_shader.c
CC src/renderer/tr_shadows.c
CC src/renderer/tr_sky.c
CC src/renderer/tr_surface.c
CC src/renderer/tr_world.c
CC src/sdl/sdl_gamma.c
CC src/sdl/sdl_input.c
src/sdl/sdl_input.c:222: warning: function declaration isn't a prototype
CC src/sdl/sdl_snd.c
CC src/sys/con_passive.c
CC src/sys/con_log.c
CC src/sys/sys_main.c
CC src/qcommon/vm_x86.c
CC src/sys/sys_unix.c
CC src/sdl/sdl_glimp.c
LD build/release-darwin-x86/tremulous.x86
SMP_CC src/sdl/sdl_glimp.c
LD build/release-darwin-x86/tremulous-smp.x86
CGAME_CC src/cgame/cg_main.c
CGAME_CC src/game/bg_misc.c
src/game/bg_misc.c:3071: error: conflicting types for 'BG_WeaponIsFull'
src/game/bg_public.h:1064: error: previous declaration of 'BG_WeaponIsFull' was here
{standard input}:1915:non-relocatable subtraction expression, "_bg_classConfigList" minus "L00000000009$pb"
{standard input}:1915:symbol: "_bg_classConfigList" can't be undefined in a subtraction expression
{standard input}:850:non-relocatable subtraction expression, "_bg_buildableConfigList" minus "L00000000004$pb"
{standard input}:850:symbol: "_bg_buildableConfigList" can't be undefined in a subtraction expression
make[2]: *** [build/release-darwin-x86/base/cgame/bg_misc.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2

So again thanks Rocinante! And can anyone help fix my latest problem?

\\^// Jalaco \\^//
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Divmax on May 31, 2008, 05:59:03 am
The patch didn't apply cleanly. So you have to manually apply the patch or fix the .reg.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Jalaco on May 31, 2008, 06:23:10 am
Hmmmm.... How would I do either of those? =P

\\^// Jalaco \\^//
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on May 31, 2008, 06:49:29 am
Just so you guys know, I am a Mac using semi-active-coder...  And a PPC user at that!!!

To start off, delete it all and get the correct svn revision to go with the patch.  Meaning you should do "svn co <repository_address> <destination> -r 1044".  The "-r 1044" will tell it to get revision 1044, which is the one the patch is based off.  Doing this should get the patch to apply cleanly.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: David on May 31, 2008, 09:20:57 am
This one?
http://tomayko.com/writings/that-dilbert-cartoon
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Rocinante on May 31, 2008, 01:10:02 pm
Yep, that one :>

Jalaco: If you see those "hunk FAILED" messages, unless you're comfortable with writing the code in the first place your best bet is to give up and try again with another patch and/or source tree.  doomagent13's suggestion of making sure to grab the exact version mentioned in the patch's filename is the best bet to use that patch.

The 'patch' program works by looking through the source file a certain number of lines, usually using a few lines around that line number to compare and make sure it's in the right location, then inserting or removing lines stated in the patch file.  If a hunk fails, it's because when it went X lines into the file, the lines that it found there didn't match what the patch said should be there.  Similar to if I gave you directions and said turn left at the gas station, and when you got to that corner there was no gas station to be found (or it's impossible to make a left there).
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Le Compilateur on June 03, 2008, 02:04:35 am
qvm compiling on leopard has been fixed upstream (thanks to benmachine), but timbo hasn't gotten around to merging it to trem yet.
Where might I find this fix?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Vape on June 10, 2008, 04:29:42 am
Hmm after forum searching my error I can't seem to find anything, I updated subversion to 1.4.4, and installed Xcode, but keep getting this reoccurring error everytime I try to install
Code: [Select]
DED_CC src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[2]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
Any help would be much appreciated.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Le Compilateur on June 10, 2008, 12:26:27 pm
If you're on Leopard, you might have to download the patch that fixes Leopard QVMs, I dunno. It's in my sig.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Vape on June 13, 2008, 02:28:20 am
On a Tiger, again if anyone can help would be great
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Le Compilateur on June 13, 2008, 02:43:16 am
If your computer has a PowerPC processor, try this (http://www.mercenariesguild.net/patches/index.php?getfile=303) (might not work) or this (http://www.mercenariesguild.net/patches/index.php?getfile=274) (might work).
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on June 13, 2008, 03:48:57 am
do you have gcc installed?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Vape on June 13, 2008, 08:57:44 pm
Yes
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on June 14, 2008, 06:39:06 pm
try running CC=gcc make
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 15, 2008, 12:01:18 am
Which version of XCode do you have?  Cause you have an incomplete/broken/whatever version of gcc for it to not support "-mstackrealign".
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Death On Ice on June 15, 2008, 08:44:54 pm
Hmm, well, I followed the instructions, however both of the times I tried to "make" the binaries, before and after applying the patch, I got errors:
miles-computer:~/tremulous-svn miles$ make
make -C src/tools/lcc install
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-darwin-x86/etc/lcc.o etc/lcc.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-darwin-x86/etc/bytecode.o etc/bytecode.c
gcc  -o build-darwin-x86/q3lcc build-darwin-x86/etc/lcc.o build-darwin-x86/etc/bytecode.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/cpp.o cpp/cpp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/lex.o cpp/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/nlist.o cpp/nlist.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/tokens.o cpp/tokens.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/macro.o cpp/macro.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/eval.o cpp/eval.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/include.o cpp/include.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/hideset.o cpp/hideset.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/getopt.o cpp/getopt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Icpp -o build-darwin-x86/cpp/unix.o cpp/unix.c
gcc  -o build-darwin-x86/q3cpp build-darwin-x86/cpp/cpp.o build-darwin-x86/cpp/lex.o build-darwin-x86/cpp/nlist.o build-darwin-x86/cpp/tokens.o build-darwin-x86/cpp/macro.o build-darwin-x86/cpp/eval.o build-darwin-x86/cpp/include.o build-darwin-x86/cpp/hideset.o build-darwin-x86/cpp/getopt.o build-darwin-x86/cpp/unix.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/alloc.o src/alloc.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/bind.o src/bind.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/bytecode.o src/bytecode.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/dag.o src/dag.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Ilburg -o build-darwin-x86/lburg/lburg.o lburg/lburg.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Ilburg -o build-darwin-x86/lburg/gram.o lburg/gram.c
gcc  -o build-darwin-x86/lburg/lburg build-darwin-x86/lburg/lburg.o build-darwin-x86/lburg/gram.o
build-darwin-x86/lburg/lburg src/dagcheck.md build-darwin-x86/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -Wno-unused -c -Isrc -o build-darwin-x86/rcc/dagcheck.o build-darwin-x86/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/decl.o src/decl.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/enode.o src/enode.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/error.o src/error.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/event.o src/event.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/expr.o src/expr.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/gen.o src/gen.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/init.o src/init.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/inits.o src/inits.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/input.o src/input.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/lex.o src/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/list.o src/list.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/main.o src/main.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/null.o src/null.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/output.o src/output.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/prof.o src/prof.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/profio.o src/profio.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/simp.o src/simp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/stmt.o src/stmt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/string.o src/string.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/sym.o src/sym.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/symbolic.o src/symbolic.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/trace.o src/trace.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/tree.o src/tree.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -c -Isrc -o build-darwin-x86/rcc/types.o src/types.c
gcc  -o build-darwin-x86/q3rcc build-darwin-x86/rcc/alloc.o build-darwin-x86/rcc/bind.o build-darwin-x86/rcc/bytecode.o build-darwin-x86/rcc/dag.o build-darwin-x86/rcc/dagcheck.o build-darwin-x86/rcc/decl.o build-darwin-x86/rcc/enode.o build-darwin-x86/rcc/error.o build-darwin-x86/rcc/event.o build-darwin-x86/rcc/expr.o build-darwin-x86/rcc/gen.o build-darwin-x86/rcc/init.o build-darwin-x86/rcc/inits.o build-darwin-x86/rcc/input.o build-darwin-x86/rcc/lex.o build-darwin-x86/rcc/list.o build-darwin-x86/rcc/main.o build-darwin-x86/rcc/null.o build-darwin-x86/rcc/output.o build-darwin-x86/rcc/prof.o build-darwin-x86/rcc/profio.o build-darwin-x86/rcc/simp.o build-darwin-x86/rcc/stmt.o build-darwin-x86/rcc/string.o build-darwin-x86/rcc/sym.o build-darwin-x86/rcc/symbolic.o build-darwin-x86/rcc/trace.o build-darwin-x86/rcc/tree.o build-darwin-x86/rcc/types.o
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
install -s -m 0755 q3asm ../
make targets B=build/release-darwin-x86 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN940\\\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN940\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2
miles-computer:~/tremulous-svn miles$ patch -p0 < backportlight.patch
patching file src/game/bg_public.h
patching file src/qcommon/common.c
patching file src/qcommon/msg.c
patching file src/qcommon/qcommon.h
miles-computer:~/tremulous-svn miles$ make
make -C src/tools/lcc install
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
install -s -m 0755 q3asm ../
make targets B=build/release-darwin-x86 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN940M\\\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN940M\" -DNDEBUG  -march=prescott -mfpmath=sse -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2
miles-computer:~/tremulous-svn miles$
Please Help
I had this problem quite a while ago. I think I just updated my software + xcode.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Samurai.mac on June 19, 2008, 09:46:25 pm
This isn't directly linked to Tremulous itself, but considering this forum seems to have the highest concentration of active Q3 coders of anywhere on the net, I might as well ask here: how do I go about compiling a dll file from a set of c and h files on a mac?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on June 20, 2008, 03:37:03 am
This isn't directly linked to Tremulous itself, but considering this forum seems to have the highest concentration of active Q3 coders of anywhere on the net, I might as well ask here: how do I go about compiling a dll file from a set of c and h files on a mac?
you don't
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Samurai.mac on June 20, 2008, 05:02:58 pm
...?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: doomagent13 on June 20, 2008, 05:47:44 pm
Compile all the .c files into .o files, then link them into a .dylib/.dll with the appropriate options.  I cant get any more detailed because I dont really know how to do it...  If the game is based on q3, I recommend you just use the makefile that should have come with it.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on June 20, 2008, 06:20:00 pm
you can't compile a windows .dll on a mac (unless you can set up a cross compiler, which if you have to ask this is probably beyond your knowledge)
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Samurai.mac on June 20, 2008, 09:41:15 pm
You can compile dll files on a mac, it's been done before, I'm just having difficulty contacting my usual source for mac modding information at the mo.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: infestor1 on March 04, 2009, 11:41:14 pm
Please help. the link for the svn isn't working.

its redirecting to a new page.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Archangel on March 05, 2009, 12:46:39 am
Quote
svn co svn://svn.icculus.org/tremulous/trunk tremulous-svn

always works
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: infestor1 on March 05, 2009, 02:24:18 am
Quote
svn co svn://svn.icculus.org/tremulous/trunk tremulous-svn

always works

i meant this:
http://metissian.com/projects/macosx/subversion/
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: r42xer on November 29, 2009, 01:38:26 am
?? i got this error
Raphael-Norman-Tenazas:tremulous-svn raphael$ make
-bash: make: command not found


EDIT: NEVER MIND!
ANOTHER EDIT:
Code: [Select]
-bash: /usr/bin/make: cannot execute binary file
?? wats up wif dis?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Obj-C on January 19, 2010, 07:43:23 pm
Here is a problem I encountered while trying to compile a different QVM.

Code: [Select]
Macintosh:~ ObjC$ cd /Users/ObjC/Desktop/p-g-qvm-read-onlyLASTONX
Macintosh:p-g-qvm-read-onlyLASTONX ObjC$ pwd
/Users/ObjC/Desktop/p-g-qvm-read-onlyLASTONX
Macintosh:p-g-qvm-read-onlyLASTONX ObjC$ make
make -C src/tools/lcc install
gcc -O2 -Wall -fno-strict-aliasing -MMD -DMACOS_X -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-darwin-x86/etc/bytecode.o etc/bytecode.c
In file included from etc/bytecode.c:5:
etc/../../../qcommon/q_platform.h:271:2: error: #error "Architecture not supported"
etc/../../../qcommon/q_platform.h:322:2: error: #error "Endianness not defined"
make[2]: *** [build-darwin-x86/etc/bytecode.o] Error 1
make[1]: *** [tools] Error 2
make: *** [release] Error 2
Macintosh:p-g-qvm-read-onlyLASTONX

I had same problem when I was trying to compile the QVM mentioned in the tutorial though.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Futilrevenge on March 13, 2010, 09:32:18 pm
Code: [Select]
make -C src/tools/asm install
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
cc1: warnings being treated as errors
cmdlib.c: In function ‘_printf’:
cmdlib.c:189: warning: format not a string literal and no format arguments
cmdlib.c: In function ‘ExpandPath’:
cmdlib.c:316: warning: the address of ‘qdir’ will always evaluate as ‘true’
cmdlib.c: In function ‘ExpandGamePath’:
cmdlib.c:329: warning: the address of ‘qdir’ will always evaluate as ‘true’
make[1]: *** [q3asm] Error 1
make: *** [tools] Error 2

whats going on?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Futilrevenge on March 15, 2010, 07:08:24 pm
-bump-

sorry, but I really need an answer!
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: kevlarman on March 15, 2010, 07:27:54 pm
you're trying to compile an ancient version that no longer works on new gcc.
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Futilrevenge on March 15, 2010, 11:55:35 pm
yes, because the patch doesn't patch the newer ones.  :-\
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Skywarp on February 10, 2011, 04:46:04 pm
Okay. Is anyone done compiling? if so, PLEASE attach a woring link...
NO SCAMS :police: :turret: :turret: :turret: :turret: :turret: :turret: :turret: :turret: :turret: :turret:
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: Skywarp on February 10, 2011, 05:14:24 pm
-BUMP-

qThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ziptool configure 2.1.0, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ /Users/Skywarp/Downloads/ziptool-2.1.0/configure

## --------- ##
## Platform. ##
## --------- ##

hostname = admins-mac
uname -m = i386
uname -r = 10.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
    Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
Kernel configured for up to 2 processors.
1 processor is physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 1.00 gigabytes
Default processor set: 62 tasks, 247 threads, 2 processors
Load average: 1.71, Mach factor: 1.12
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1981: checking for a BSD-compatible install
configure:2037: result: /usr/bin/install -c
configure:2048: checking whether build environment is sane
configure:2091: result: yes
configure:2119: checking for a thread-safe mkdir -p
configure:2158: result: /Users/Skywarp/Downloads/ziptool-2.1.0/install-sh -c -d
configure:2171: checking for gawk
configure:2201: result: no
configure:2171: checking for mawk
configure:2201: result: no
configure:2171: checking for nawk
configure:2201: result: no
configure:2171: checking for awk
configure:2187: found /usr/bin/awk
configure:2198: result: awk
configure:2209: checking whether make sets $(MAKE)
configure:2234: result: no
configure:2478: checking for g++
configure:2508: result: no
configure:2478: checking for c++
configure:2508: result: no
configure:2478: checking for gpp
configure:2508: result: no
configure:2478: checking for aCC
configure:2508: result: no
configure:2478: checking for CC
configure:2508: result: no
configure:2478: checking for cxx
configure:2508: result: no
configure:2478: checking for cc++
configure:2508: result: no
configure:2478: checking for cl.exe
configure:2508: result: no
configure:2478: checking for FCC
configure:2508: result: no
configure:2478: checking for KCC
configure:2508: result: no
configure:2478: checking for RCC
configure:2508: result: no
configure:2478: checking for xlC_r
configure:2508: result: no
configure:2478: checking for xlC
configure:2508: result: no
configure:2536: checking for C++ compiler version
configure:2543: g++ --version >&5
/Users/Skywarp/Downloads/ziptool-2.1.0/configure: line 2544: g++: command not found
configure:2546: $? = 127
configure:2553: g++ -v >&5
/Users/Skywarp/Downloads/ziptool-2.1.0/configure: line 2554: g++: command not found
configure:2556: $? = 127
configure:2563: g++ -V >&5
/Users/Skywarp/Downloads/ziptool-2.1.0/configure: line 2564: g++: command not found
configure:2566: $? = 127
configure:2589: checking for C++ compiler default output file name
configure:2616: g++    conftest.cpp  >&5
/Users/Skywarp/Downloads/ziptool-2.1.0/configure: line 2617: g++: command not found
configure:2619: $? = 127
configure:2657: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ziptool"
| #define PACKAGE_TARNAME "ziptool"
| #define PACKAGE_VERSION "2.1.0"
| #define PACKAGE_STRING "ziptool 2.1.0"
| #define PACKAGE_BUGREPORT "http://code.google.com/p/ziptool/issues/"
| #define PACKAGE "ziptool"
| #define VERSION "2.1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2664: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run tar'
AR=''
AUTOCONF='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run automake-1.10'
AWK='awk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /Users/Skywarp/Downloads/ziptool-2.1.0/missing --run makeinfo'
NM=''
NMEDIT=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='ziptool'
PACKAGE_BUGREPORT='http://code.google.com/p/ziptool/issues/'
PACKAGE_NAME='ziptool'
PACKAGE_STRING='ziptool 2.1.0'
PACKAGE_TARNAME='ziptool'
PACKAGE_VERSION='2.1.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
VERSION='2.1.0'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /Users/Skywarp/Downloads/ziptool-2.1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='/bin/echo'
mandir='${datarootdir}/man'
mkdir_p='/Users/Skywarp/Downloads/ziptool-2.1.0/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "ziptool"
#define PACKAGE_TARNAME "ziptool"
#define PACKAGE_VERSION "2.1.0"
#define PACKAGE_STRING "ziptool 2.1.0"
#define PACKAGE_BUGREPORT "http://code.google.com/p/ziptool/issues/"
#define PACKAGE "ziptool"
#define VERSION "2.1.0"

configure: exit 77
???
 
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: David on February 10, 2011, 05:38:37 pm
Unsurprisingly, you cant compile stuff without installing a compiler first.

And what does that have to do with tremulous?
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: blowFish on February 22, 2011, 04:48:11 am
Comments are inline

-BUMP-

qThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ziptool configure 2.1.0, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ /Users/Skywarp/Downloads/ziptool-2.1.0/configure

## --------- ##
## Platform. ##
## --------- ##

hostname = admins-mac
uname -m = i386
uname -r = 10.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386

....

Obvious Mac User is Obvious

...

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1981: checking for a BSD-compatible install
configure:2037: result: /usr/bin/install -c
configure:2048: checking whether build environment is sane
configure:2091: result: yes
configure:2119: checking for a thread-safe mkdir -p
configure:2158: result: /Users/Skywarp/Downloads/ziptool-2.1.0/install-sh -c -d
configure:2171: checking for gawk
configure:2201: result: no
configure:2171: checking for mawk
configure:2201: result: no
configure:2171: checking for nawk
configure:2201: result: no
configure:2171: checking for awk
configure:2187: found /usr/bin/awk
configure:2198: result: awk
configure:2209: checking whether make sets $(MAKE)
configure:2234: result: no
configure:2478: checking for g++
configure:2508: result: no
configure:2478: checking for c++
configure:2508: result: no
configure:2478: checking for gpp
configure:2508: result: no
configure:2478: checking for aCC
configure:2508: result: no
configure:2478: checking for CC
configure:2508: result: no
configure:2478: checking for cxx
configure:2508: result: no
configure:2478: checking for cc++
configure:2508: result: no

...

Clearly no compiler installed
 

Install XCode
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: UB|FuN Damcgee on November 19, 2011, 06:13:56 pm
so i've done all this, but i cant use my ui.qvm :( any recomendations on what to do? it just quits game straight away if i use the one i compiled and i cant use any others cos they just dont work :(
Title: Re: Downloading and compiling Tremulous source on a Mac
Post by: /dev/humancontroller on November 20, 2011, 01:39:41 am
see if you can find a file named crashlog.txt on your system.
if you run the executable in a terminal, you'll probably see information useful for figuring out why you can't get Tremulous to work.