How to Compile Doom Source Code in Debian Linux.
Hey i need some help on how to compile doom source code through the terminal i got all the update install packages but this is how i go through it but never succeed. Also if theres another way please let me know.
su password enter wget doom git link tar -xvf Doom-master.tar.gz cd Doom-master cd linuxdoom directory then I try the makefile and it says permission denied. thats how I do it and fail can anybody please help me step by step to learn how to compile the doom source code into a workable exe to play my wads. Again sorry for my grammer. |
To play your WADs?
Install Chocolate DOOM. The best set of exact steps would depend on your distro. |
sorry but i still need to know how to compile the doom source code with debian linux with the terminal or another way
|
what did you download at all? what kind of source is it? What did you try exactly? What's happened exactly?
|
i downloaded the official doom source code release from github and then i try to compile it in the debian terminal and no success any tips on how to do this.
|
looks like you cannot read
Please explain us what did you do exactly, what's happened exactly, what kind of "no success" is it. Otherwise we cannot tell you anything better....
|
...in other words:
exact commands entered, full output received. a copy-paste of the terminal content. |
kingnoger@debian:~$ su
Password: root@debian:/home/kingnoger# wget https://github.com/id-Software/DOOM/archive/master.zip --2017-05-13 09:46:20-- https://github.com/id-Software/DOOM/archive/master.zip Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/id-Software/DOOM/zip/master [following] --2017-05-13 09:46:21-- https://codeload.github.com/id-Software/DOOM/zip/master Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120 Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: ‘master.zip.5’ master.zip.5 [ <=> ] 460.60K 2.12MB/s in 0.2s 2017-05-13 09:46:21 (2.12 MB/s) - ‘master.zip.5’ saved [471650] root@debian:/home/kingnoger# root@debian:/home/kingnoger# tar -xvf DOOM-master3.tar.gz tar: DOOM-master3.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@debian:/home/kingnoger# tar -xvf doom-master3.tar.gz doom-master3/DOOM-master/linuxdoom-1.10/i_system.h doom-master3/DOOM-master/linuxdoom-1.10/r_draw.h doom-master3/DOOM-master/linuxdoom-1.10/f_wipe.h doom-master3/DOOM-master/linuxdoom-1.10/r_draw.c doom-master3/DOOM-master/linuxdoom-1.10/i_system.c doom-master3/DOOM-master/linuxdoom-1.10/f_wipe.c doom-master3/DOOM-master/linuxdoom-1.10/d_think.h doom-master3/DOOM-master/linuxdoom-1.10/p_doors.c doom-master3/DOOM-master/linuxdoom-1.10/wi_stuff.h doom-master3/DOOM-master/linuxdoom-1.10/FILES2 doom-master3/DOOM-master/linuxdoom-1.10/p_local.h doom-master3/DOOM-master/linuxdoom-1.10/doomtype.h doom-master3/DOOM-master/linuxdoom-1.10/sounds.h doom-master3/DOOM-master/sndserv/README.sndserv doom-master3/DOOM-master/linuxdoom-1.10/wi_stuff.c doom-master3/DOOM-master/linuxdoom-1.10/d_items.c doom-master3/DOOM-master/linuxdoom-1.10/i_main.c doom-master3/DOOM-master/linuxdoom-1.10/sounds.c doom-master3/DOOM-master/linuxdoom-1.10/g_game.h doom-master3/DOOM-master/sersrc/SER_FRCH.H doom-master3/DOOM-master/linuxdoom-1.10/d_englsh.h doom-master3/DOOM-master/linuxdoom-1.10/g_game.c doom-master3/DOOM-master/linuxdoom-1.10/d_french.h doom-master3/DOOM-master/linuxdoom-1.10/hu_stuff.h doom-master3/DOOM-master/linuxdoom-1.10/p_mobj.h doom-master3/DOOM-master/linuxdoom-1.10/p_tick.h doom-master3/DOOM-master/linuxdoom-1.10/m_menu.h doom-master3/DOOM-master/linuxdoom-1.10/m_menu.c doom-master3/DOOM-master/linuxdoom-1.10/hu_stuff.c doom-master3/DOOM-master/linuxdoom-1.10/p_ceilng.c doom-master3/DOOM-master/linuxdoom-1.10/p_tick.c doom-master3/DOOM-master/linuxdoom-1.10/p_map.c doom-master3/DOOM-master/sersrc/SERSETUP.H doom-master3/DOOM-master/sndserv/sounds.h doom-master3/DOOM-master/sndserv/soundst.h doom-master3/DOOM-master/sersrc/ doom-master3/DOOM-master/linuxdoom-1.10/p_floor.c doom-master3/DOOM-master/sersrc/SERSETUP.C doom-master3/DOOM-master/sndserv/sounds.c doom-master3/DOOM-master/linuxdoom-1.10/r_bsp.h doom-master3/DOOM-master/linuxdoom-1.10/d_items.h doom-master3/DOOM-master/linuxdoom-1.10/r_sky.h doom-master3/DOOM-master/linuxdoom-1.10/r_bsp.c doom-master3/DOOM-master/linuxdoom-1.10/s_sound.h doom-master3/DOOM-master/linuxdoom-1.10/m_bbox.h doom-master3/DOOM-master/linuxdoom-1.10/r_sky.c doom-master3/DOOM-master/sersrc/SERSTR.H doom-master3/DOOM-master/linuxdoom-1.10/s_sound.c doom-master3/DOOM-master/linuxdoom-1.10/p_pspr.h doom-master3/DOOM-master/linuxdoom-1.10/m_misc.h doom-master3/DOOM-master/linuxdoom-1.10/d_event.h doom-master3/DOOM-master/linuxdoom-1.10/m_bbox.c doom-master3/DOOM-master/linuxdoom-1.10/p_pspr.c doom-master3/DOOM-master/linuxdoom-1.10/p_mobj.c doom-master3/DOOM-master/linuxdoom-1.10/m_misc.c doom-master3/DOOM-master/ipx/IPX_FRCH.H doom-master3/DOOM-master/linuxdoom-1.10/CVS/Root doom-master3/DOOM-master/linuxdoom-1.10/p_plats.c doom-master3/DOOM-master/linuxdoom-1.10/z_zone.h doom-master3/DOOM-master/linuxdoom-1.10/i_net.h doom-master3/DOOM-master/linuxdoom-1.10/r_things.h doom-master3/DOOM-master/ipx/DOOMNET.H doom-master3/DOOM-master/linuxdoom-1.10/z_zone.c doom-master3/DOOM-master/linuxdoom-1.10/i_net.c doom-master3/DOOM-master/linuxdoom-1.10/r_things.c doom-master3/DOOM-master/README.TXT doom-master3/DOOM-master/linuxdoom-1.10/w_wad.h doom-master3/DOOM-master/ipx/DOOMNET.C doom-master3/DOOM-master/ipx/IPXSETUP.C doom-master3/DOOM-master/linuxdoom-1.10/README.asm doom-master3/DOOM-master/linuxdoom-1.10/w_wad.c doom-master3/DOOM-master/ipx/ doom-master3/DOOM-master/linuxdoom-1.10/r_main.h doom-master3/DOOM-master/linuxdoom-1.10/p_sight.c doom-master3/DOOM-master/linuxdoom-1.10/r_main.c doom-master3/DOOM-master/linuxdoom-1.10/README.b doom-master3/DOOM-master/linuxdoom-1.10/CVS/Repository doom-master3/DOOM-master/linuxdoom-1.10/p_lights.c doom-master3/DOOM-master/linuxdoom-1.10/st_stuff.h doom-master3/DOOM-master/ipx/IPXNET.C doom-master3/DOOM-master/ipx/IPXNET.H doom-master3/DOOM-master/linuxdoom-1.10/p_telept.c doom-master3/DOOM-master/linuxdoom-1.10/doomstat.h doom-master3/DOOM-master/linuxdoom-1.10/st_stuff.c doom-master3/DOOM-master/linuxdoom-1.10/p_switch.c doom-master3/DOOM-master/linuxdoom-1.10/i_video.h doom-master3/DOOM-master/linuxdoom-1.10/doomstat.c doom-master3/DOOM-master/linuxdoom-1.10/r_data.h doom-master3/DOOM-master/linuxdoom-1.10/i_video.c doom-master3/DOOM-master/linuxdoom-1.10/v_video.c doom-master3/DOOM-master/linuxdoom-1.10/r_data.c doom-master3/DOOM-master/linuxdoom-1.10/hu_lib.h doom-master3/DOOM-master/linuxdoom-1.10/r_segs.h doom-master3/DOOM-master/linuxdoom-1.10/i_sound.h doom-master3/DOOM-master/linuxdoom-1.10/ doom-master3/DOOM-master/linuxdoom-1.10/hu_lib.c doom-master3/DOOM-master/linuxdoom-1.10/info.h doom-master3/DOOM-master/linuxdoom-1.10/r_segs.c doom-master3/DOOM-master/linuxdoom-1.10/v_video.h doom-master3/DOOM-master/linuxdoom-1.10/i_sound.c doom-master3/DOOM-master/linuxdoom-1.10/am_map.h doom-master3/DOOM-master/linuxdoom-1.10/info.c doom-master3/DOOM-master/linuxdoom-1.10/p_inter.h doom-master3/DOOM-master/ doom-master3/DOOM-master/linuxdoom-1.10/am_map.c doom-master3/DOOM-master/sndserv/linux.c doom-master3/DOOM-master/ipx/IPXSTR.H doom-master3/DOOM-master/linuxdoom-1.10/p_inter.c doom-master3/DOOM-master/linuxdoom-1.10/README.gl doom-master3/DOOM-master/linuxdoom-1.10/p_maputl.c doom-master3/DOOM-master/linuxdoom-1.10/FILES doom-master3/DOOM-master/linuxdoom-1.10/Makefile doom-master3/DOOM-master/linuxdoom-1.10/m_random.h doom-master3/DOOM-master/linuxdoom-1.10/m_swap.h doom-master3/DOOM-master/linuxdoom-1.10/f_finale.h doom-master3/DOOM-master/linuxdoom-1.10/m_random.c doom-master3/DOOM-master/linuxdoom-1.10/m_swap.c doom-master3/DOOM-master/linuxdoom-1.10/f_finale.c doom-master3/DOOM-master/linuxdoom-1.10/ChangeLog doom-master3/DOOM-master/linuxdoom-1.10/README.book doom-master3/DOOM-master/linuxdoom-1.10/m_argv.h doom-master3/DOOM-master/sersrc/README.TXT doom-master3/DOOM-master/linuxdoom-1.10/doomdef.h doom-master3/DOOM-master/linuxdoom-1.10/m_cheat.h doom-master3/DOOM-master/linuxdoom-1.10/m_argv.c doom-master3/DOOM-master/linuxdoom-1.10/m_cheat.c doom-master3/DOOM-master/linuxdoom-1.10/dstrings.h doom-master3/DOOM-master/linuxdoom-1.10/p_user.c doom-master3/DOOM-master/linuxdoom-1.10/r_defs.h doom-master3/DOOM-master/sndserv/Makefile doom-master3/DOOM-master/linuxdoom-1.10/dstrings.c doom-master3/DOOM-master/linuxdoom-1.10/doomdef.c doom-master3/DOOM-master/linuxdoom-1.10/d_main.h doom-master3/DOOM-master/linuxdoom-1.10/p_saveg.h doom-master3/DOOM-master/linuxdoom-1.10/d_textur.h doom-master3/DOOM-master/linuxdoom-1.10/README.sound doom-master3/DOOM-master/linuxdoom-1.10/st_lib.h doom-master3/DOOM-master/linuxdoom-1.10/p_saveg.c doom-master3/DOOM-master/linuxdoom-1.10/d_main.c doom-master3/DOOM-master/linuxdoom-1.10/st_lib.c doom-master3/DOOM-master/linuxdoom-1.10/d_ticcmd.h doom-master3/DOOM-master/sersrc/PORT.C doom-master3/DOOM-master/linuxdoom-1.10/r_local.h doom-master3/DOOM-master/linuxdoom-1.10/r_plane.h doom-master3/DOOM-master/linuxdoom-1.10/DOOMLIC.TXT doom-master3/DOOM-master/sndserv/ doom-master3/DOOM-master/linuxdoom-1.10/r_plane.c doom-master3/DOOM-master/linuxdoom-1.10/d_player.h doom-master3/DOOM-master/linuxdoom-1.10/p_setup.h doom-master3/DOOM-master/linuxdoom-1.10/CVS/Entries doom-master3/DOOM-master/sndserv/soundsrv.h doom-master3/DOOM-master/linuxdoom-1.10/p_setup.c doom-master3/DOOM-master/linuxdoom-1.10/d_net.c doom-master3/DOOM-master/linuxdoom-1.10/CVS/ doom-master3/DOOM-master/sndserv/soundsrv.c doom-master3/DOOM-master/linuxdoom-1.10/d_net.h doom-master3/DOOM-master/linuxdoom-1.10/r_state.h doom-master3/DOOM-master/linuxdoom-1.10/p_spec.h doom-master3/DOOM-master/sersrc/DOOMNET.H doom-master3/DOOM-master/linuxdoom-1.10/p_spec.c doom-master3/DOOM-master/linuxdoom-1.10/m_fixed.h doom-master3/ doom-master3/DOOM-master/linuxdoom-1.10/p_enemy.c doom-master3/DOOM-master/sersrc/DOOMNET.C doom-master3/DOOM-master/sndserv/wadread.h doom-master3/DOOM-master/ipx/README doom-master3/DOOM-master/linuxdoom-1.10/m_fixed.c doom-master3/DOOM-master/sndserv/wadread.c doom-master3/DOOM-master/linuxdoom-1.10/doomdata.h doom-master3/DOOM-master/linuxdoom-1.10/tables.h doom-master3/DOOM-master/linuxdoom-1.10/TODO doom-master3/DOOM-master/linuxdoom-1.10/tables.c root@debian:/home/kingnoger# after all of this i am stuck any suggestions to go forward. sorry for late reply feel asleeo. |
1) none of this should be executed as root, esp. in your $HOME.
2) do an ls to see what you actually downloaded, then unzip THAT (in other words: think before you type). 3) NO compiling is happening here (yet). |
okay after i unzip this what is the steps after this to complete the compile and build the exe please help me.
some of these files are not in this zip there on my computer bunch of junk files. the terminal info kingnoger@debian:~$ https://github.com/id-Software/DOOM/archive/master.zip bash: https://github.com/id-Software/DOOM/archive/master.zip: No such file or directory kingnoger@debian:~$ wget https://github.com/id-Software/DOOM/archive/master.zip --2017-05-13 10:57:26-- https://github.com/id-Software/DOOM/archive/master.zip Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/id-Software/DOOM/zip/master [following] --2017-05-13 10:57:26-- https://codeload.github.com/id-Software/DOOM/zip/master Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120 Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 471650 (461K) [application/zip] Saving to: ‘master.zip.6’ master.zip.6 100%[=====================>] 460.60K 1.98MB/s in 0.2s 2017-05-13 10:57:27 (1.98 MB/s) - ‘master.zip.6’ saved [471650/471650] kingnoger@debian:~$ ls AI0object.dll AI1object.dll AI2object.dll aptitude aptitude-0.6.11 aptitude_0.6.11.orig.tar.xz change interfaces.dll Check Execution Status of all module.dll chocdoom chocolate-doom chocolate-doom_2.1.0-1_amd64.deb chocolate-doom-2.3.0-win32.zip ClrCompression.dll completetasks012.dll denied Desktop Documents doomdos.tar.gz DOOMLIC.TXT doom-master3 doom-master3.tar.gz doomport Downloads FUTURE DOOM.dll future doom.iwad game loop stage mas.dll include include2 include3 include4 include5 include6 include7 index.html ipx lib lib2 lib3 lib4 lib5 lib6 lib7 libretro-prboom-master.tar.gz linuxdoom-1.10 linuxdoom-1.10.1 linuxdoom-1.10.2 make.exe Makefile manager interfaces.dll managervalue0.dll master.zip master.zip.1 master.zip.2 master.zip.3 master.zip.4 master.zip.5 master.zip.6 Microsoft.CSharp.dll Microsoft.VisualBasic.dll Microsoft.VisualStudio.TestPlatform.Common.dll Microsoft.VisualStudio.TestPlatform.Core.dll Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.dll Microsoft.VisualStudio.TestPlatform.ObjectModel.dll Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll Microsoft.VisualStudio.TestPlatform.UnitTestFramework.AppContainer.dll Microsoft.VisualStudio.TestPlatform.UnitTestFramework.dll Microsoft.VisualStudio.TestPlatform.Utilities.dll Microsoft.Win32.Primitives.dll Music My Project.Resources.Designer.vb.dll ntdoom-src ntdoom-src.tar.gz ntdoom-src.zip ntdoom-src.zip.1 Physics0object.dll Physics1objects.dll Physics2objects.dll Pictures platformvalue0.dll Process Window Messgaes.dll Public readme.txt README.TXT sample.doomrc scheduler.dll Scheduler Execution Library.dll sersrc servicevalue0.dll sndserv src src2 statevalue0.dll System0Graphics.dll System1object.dll System2objects.dll System.AppContext.dll System.Collections.Concurrent.dll System.Collections.dll System.Collections.Immutable.dll System.Collections.NonGeneric.dll System.Collections.Specialized.dll System.ComponentModel.Annotations.dll System.ComponentModel.DataAnnotations.dll System.ComponentModel.dll System.ComponentModel.EventBasedAsync.dll System.Core.dll System.Data.Common.dll System.Diagnostics.Contracts.dll System.Diagnostics.Debug.dll System.Diagnostics.StackTrace.dll System.Diagnostics.Tools.dll System.Diagnostics.Tracing.dll System.dll System.Dynamic.Runtime.dll System.Globalization.Calendars.dll System.Globalization.dll System.Globalization.Extensions.dll System.IO.Compression.dll System.IO.Compression.ZipFile.dll System.IO.dll System.IO.FileSystem.dll System.IO.FileSystem.Primitives.dll System.IO.IsolatedStorage.dll System.IO.UnmanagedMemoryStream.dll System.Linq.dll System.Linq.Expressions.dll System.Linq.Parallel.dll System.Linq.Queryable.dll System.Net.dll System.Net.Http.dll System.Net.Http.Rtc.dll System.Net.NetworkInformation.dll System.Net.Primitives.dll System.Net.Requests.dll System.Net.Sockets.dll System.Net.WebHeaderCollection.dll System.Numerics.dll System.Numerics.Vectors.dll System.Numerics.Vectors.WindowsRuntime.dll System.ObjectModel.dll System.Private.DataContractSerialization.dll System.Private.Networking.dll System.Private.ServiceModel.dll System.Private.Uri.dll System.Reflection.Context.dll System.Reflection.DispatchProxy.dll System.Reflection.dll System.Reflection.Emit.dll System.Reflection.Emit.ILGeneration.dll System.Reflection.Emit.Lightweight.dll System.Reflection.Extensions.dll System.Reflection.Metadata.dll System.Reflection.Primitives.dll System.Reflection.TypeExtensions.dll System.Resources.ResourceManager.dll System.Runtime.dll System.Runtime.Extensions.dll System.Runtime.Handles.dll System.Runtime.InteropServices.dll System.Runtime.InteropServices.WindowsRuntime.dll System.Runtime.Numerics.dll System.Runtime.Serialization.dll System.Runtime.Serialization.Json.dll System.Runtime.Serialization.Primitives.dll System.Runtime.Serialization.Xml.dll System.Runtime.WindowsRuntime.dll System.Runtime.WindowsRuntime.UI.Xaml.dll System.Security.Claims.dll System.Security.Principal.dll System.ServiceModel.dll System.ServiceModel.Duplex.dll System.ServiceModel.Http.dll System.ServiceModel.NetTcp.dll System.ServiceModel.Primitives.dll System.ServiceModel.Security.dll System.ServiceModel.Web.dll System.Text.Encoding.CodePages.dll System.Text.Encoding.dll System.Text.Encoding.Extensions.dll System.Text.RegularExpressions.dll System.Threading.dll System.Threading.Overlapped.dll System.Threading.Tasks.Dataflow.dll System.Threading.Tasks.dll System.Threading.Tasks.Parallel.dll System.Threading.Timer.dll System.Windows.dll System.Xml.dll System.Xml.Linq.dll System.Xml.ReaderWriter.dll System.Xml.Serialization.dll System.Xml.XDocument.dll System.Xml.XmlDocument.dll System.Xml.XmlSerializer.dll Templates Uject0.dll UObject.dll Uscene.dll UsceneExecution task.dll UsceneExecution task variable.dll Videos vstest_executionengine_platformbridge.dll vstest.executionengine.WindowsPhone.dll VulkinX.dll kingnoger@debian:~$ |
what I see:
you downloaded the file named master.zip from github and uncomressed another file named doom-master3.tar.gz and in your original post you tried to cd into linuxdoom, which is not related to the uncompressed file at all. I would suggest you to start over again (in a new, empty dir), and also please post the guide you try to follow (or explain what are you trying to achieve) |
okay i am trying to compile this source code from the terminal in debian linux 64bit, link to the source code https://github.com/id-Software/DOOM
thats it i just want to compile this source code to build the doom source port. but the terminal commands is really hard to learn. im new to linux. step by step help would be nice. |
|
0) what are all these files in your listing? what linux version are you using?
1) go to https://github.com/id-Software/DOOM/ and READ THE INSTRUCTIONS. 2) open a terminal (NOT as root, as a normal user!), and enter: Code:
mkdir git here you have to follow instructions. usually some sort of preconfiguration, then make (to compile) (again, all this as a NORMAL user, NOT root!!!) and when that goes fine, the very last step is Code:
sudo make install |
When I did the above It returned the below.
$sudo make install make: *** No rule to make target 'install'. Stop. Only difference is I am running Manjaro. Help? |
All times are GMT -5. The time now is 04:47 AM. |