LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2017, 03:08 PM   #16
linuxfa
LQ Newbie
 
Registered: May 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Question


i get this problem now any suggestions.

kingnoger@debian:~/htop-2.0.2$ git clone https://github.com/id-Software/DOOM.gitCloning into 'DOOM'...
remote: Counting objects: 176, done.
remote: Total 176 (delta 0), reused 0 (delta 0), pack-reused 176
Receiving objects: 100% (176/176), 474.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
kingnoger@debian:~/htop-2.0.2$ cd doom
bash: cd: doom: No such file or directory
kingnoger@debian:~/htop-2.0.2$ cd DOOM
kingnoger@debian:~/htop-2.0.2/DOOM$ cd linuxdoom-1.10
kingnoger@debian:~/htop-2.0.2/DOOM/linuxdoom-1.10$ make
gcc -g -Wall -DNORMALUNIX -DLINUX -c doomdef.c -o linux/doomdef.o
Assembler messages:
Fatal error: can't create linux/doomdef.o: No such file or directory
Makefile:91: recipe for target 'linux/doomdef.o' failed
make: *** [linux/doomdef.o] Error 1
kingnoger@debian:~/htop-2.0.2/DOOM/linuxdoom-1.10$
 
Old 05-13-2017, 03:10 PM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,235
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
Quote:
Originally Posted by glsmaxx View Post
Only difference is I am running Manjaro.

Help?
well you didn't read my last post.
let's see:
Quote:
Originally Posted by ondoho View Post
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
cd git
wget https://github.com/id-Software/DOOM/archive/master.zip
unzip master.zip
ls (you cannow see the name of the directory)
cd (now enter the name of the directory)
that's it.
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
(but often that isn't even necessary)
 
Old 05-13-2017, 03:31 PM   #18
linuxfa
LQ Newbie
 
Registered: May 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Question

the part i am stuck on is i done the ls command to see the directory but when i put the cd DOOM-master.zip in it says no such file or directory i cant go any farther until i can resolve this. again sorry just a slow learner.
 
Old 05-14-2017, 12:00 AM   #19
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,436

Rep: Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716
Quote:
Originally Posted by linuxfa View Post
i get this problem now any suggestions.

kingnoger@debian:~/htop-2.0.2$ git clone https://github.com/id-Software/DOOM.gitCloning into 'DOOM'...
remote: Counting objects: 176, done.
remote: Total 176 (delta 0), reused 0 (delta 0), pack-reused 176
Receiving objects: 100% (176/176), 474.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (31/31), done.
Checking connectivity... done.
kingnoger@debian:~/htop-2.0.2$ cd doom
bash: cd: doom: No such file or directory
kingnoger@debian:~/htop-2.0.2$ cd DOOM
kingnoger@debian:~/htop-2.0.2/DOOM$ cd linuxdoom-1.10
kingnoger@debian:~/htop-2.0.2/DOOM/linuxdoom-1.10$ make
gcc -g -Wall -DNORMALUNIX -DLINUX -c doomdef.c -o linux/doomdef.o
Assembler messages:
Fatal error: can't create linux/doomdef.o: No such file or directory
Makefile:91: recipe for target 'linux/doomdef.o' failed
make: *** [linux/doomdef.o] Error 1
kingnoger@debian:~/htop-2.0.2/DOOM/linuxdoom-1.10$
Code:
bash-4.4$ make
gcc   -g -Wall -DNORMALUNIX -DLINUX  -c doomdef.c -o linux/doomdef.o
doomdef.c:26:1: warning: ‘rcsid’ defined but not used [-Wunused-const-va
 rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";
 ^~~~~
Assembler messages:
Fatal error: can't create linux/doomdef.o: No such file or directory
make: *** [Makefile:91: linux/doomdef.o] Error 1
The question I have is why do you want to use this instead of zandronum or the doomsday engine?

glsmaxx, I suggest making packages rather than just make install:
https://wiki.manjaro.org/index.php?t...njaro_Packages
 
Old 05-14-2017, 02:10 AM   #20
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,235
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
linuxfa, in your previous post you already changed to the proper directory, and now you're saying you can't find it?

if the concept of directories and files (and how to tell one from the other on the command line) is too much for you, i suggest you stick to a graphical desktop environment and the graphical tools offered therein.

as radicaldreamer said, doom packages are available, there's no need to compile them yourself.
software manager => search "doom" => click & install.
 
Old 05-14-2017, 04:07 AM   #21
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,482

Rep: Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530
you need to mkdir linux to be able to go further. Actually here is a link how to go further: http://stackoverflow.com/questions/1...buntu#15116059
 
Old 05-14-2017, 04:27 PM   #22
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,520

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
now keep in mind that this c code is from 1997 and for a i386 cpu

i would NOT expect this to build on any new operating system

install a VM and install a antique mandrake linux in the vm and try to built in that
 
1 members found this post helpful.
Old 05-15-2017, 08:01 AM   #23
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
chocolate doom is a version that does compile on modern linux's. I've compiled that one on a raspberry pi B (32 bit 700MHz 1 core 512MB ram). If you don't plan on advanced $PATH type things, then $(./configure --prefix=/usr).

https://github.com/chocolate-doom/chocolate-doom

Otherwise the stow package and other things can help you manage your not from distro type things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doom 3 source code released H_TeXMeX_H Linux - News 0 11-25-2011 05:26 AM
LXer: Doom 3 Source Code Published Under The GPL LXer Syndicated Linux News 0 11-23-2011 02:20 AM
[SOLVED] looking for DOOM source code smeezekitty Programming 6 11-05-2009 08:41 PM
LXer: How-To: Compile and Install Code::Blocks from Source in Debian Lenny LXer Syndicated Linux News 0 01-12-2009 09:40 PM
How to compile and execute Doom 1.10 source code sharathkv Linux - Newbie 1 08-26-2003 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration