Welcome, Guest. Please login or register.
April 24, 2014, 03:11:14 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  [solved]Trying to install Dosemu
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 Go Down Print
Author Topic: [solved]Trying to install Dosemu  (Read 6378 times)
Mourningdove
Pardus fellow craft
**
Posts: 59



View Profile
« on: August 18, 2008, 03:38:21 AM »

I downloaded Dosemu 1.4 and followed the instructions given in the INSTALL file:

Code:
2a. Install
--------------------------------------------------------------------------

- download dosemu-freedos-<version>bin.tgz from dosemu.org or one of its
  mirrors and rename it to dosemu-freedos-bin.tgz
- su - (become root)
- make install

--------------------------------------------------------------------------
2b. Update
--------------------------------------------------------------------------

- su - (become root)
- make install

The first time I ran that, I got an error message that the command "make" wasn't available. I ran a
Code:
piso it make
(I believe that was the syntax) as su, and that worked. Now, when I try the make install command, I get:

Code:
make: ***no rule to make target 'install'. Stop.

What should I do now?

Thanks for any help. Obviously, I'm used to package managers, not command-line installation procedures, so no suggestions will be too basic.
« Last Edit: August 22, 2008, 17:45:15 PM by Andreas » Logged
Andreas
Guest
« Reply #1 on: August 18, 2008, 06:11:07 AM »

Hello,

for compile any programs you must install the following packages from the Repo:  Wink

kernel-source, gcc and make

Greetings
Andreas
Logged
Mourningdove
Pardus fellow craft
**
Posts: 59



View Profile
« Reply #2 on: August 18, 2008, 22:08:01 PM »

Hello Andreas, thanks for replying. I installed all three of those packages (I installed gcc and make last night, and kernel-source this morning) and shut down for the day. I just got back and attempted

Code:
make install

while in the directory I created to store the .tgz file, and I got the same error message:

Code:
make: ***no rule to make target 'install'. Stop.

Is there anything else I might be missing or forgetting?

Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #3 on: August 18, 2008, 22:28:14 PM »

Have you compiled dosemu with make before trying to install it with make install ?
« Last Edit: August 18, 2008, 22:32:05 PM by PhiX » Logged

Team Pardus-fr - French Pardus tools translator
Mourningdove
Pardus fellow craft
**
Posts: 59



View Profile
« Reply #4 on: August 18, 2008, 23:57:34 PM »

Have you compiled dosemu with make before trying to install it with make install ?

Thanks for replying. No suggestion is too elementary, and the answer is "no," I just tried it, though, with the following results:

Code:
$ make
make: *** No targets specified and no makefile found. Stop.

$ make dosemu-freedos-bin.tgz
make: Nothing to be done for 'dosemu-freedos-bin.tgz'.

Maybe I should unpack it?

(A few minutes later) Okay,

Code:
tar zxvf dosemu-freedos-bin.tgz

worked for quite a while. At the end, it told me there were 1641 errors and 51 warnings. That sounded bad, but I ran make install anyway, and I have a few sample configuration files in my /etc, but I don't know what happened to the rest of it; there's nothing in /bin or /sbin that I can find.
Logged
Andreas
Guest
« Reply #5 on: August 19, 2008, 13:04:47 PM »

Hello Mourningdove,

I found two interesting Links about "Dosemu".  Wink

http://resmedicinae.sourceforge.net/manuals/apwlin/ch03s03.html (only in German-language)

http://www.faqs.org/docs/Linux-HOWTO/DOSEMU-HOWTO.html

Greetings
Andreas
« Last Edit: August 19, 2008, 15:13:08 PM by Andreas » Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #6 on: August 19, 2008, 14:08:32 PM »

Here are the steps to compile and install dosemu from source :

1. Make sure the following packages are installed in the software manager : gcc, make, bison, flex, xorg-proto

2. Download the dosemu-1.4.0.tgz archive

3. Put it in your /home directory

4. In Konqueror, do a right click on this archive's icon and choose "extract here" from the contextual menu that has appeared

5. Open the dosemu-1.4.0 directory

6. Press F4 key to open a terminal here

7. Configure :
Code:
./configure

8.Compile :
Code:
make

9. Download dosemu-freedos-1.0-bin.tgz

10. Rename it dosemu-freedos-bin.tgz

11. Move it to the dosemu-1.4.0  directory

12. Become administrator on the terminal :
Code:
su

13. Install :
Code:
make install

14. If all went OK, press Ctrl-D to exit the administrator terminal mode

15. You can now run dosemu in a terminal :
Code:
dosemu
« Last Edit: August 22, 2008, 21:29:56 PM by PhiX » Logged

Team Pardus-fr - French Pardus tools translator
Mourningdove
Pardus fellow craft
**
Posts: 59



View Profile
« Reply #7 on: August 20, 2008, 02:07:07 AM »

PhiX,

Thanks for the very detailed instructions. Unfortunately, I verified that I had all the requirements, ran the commands exactly as indicated (I'm a pretty good typist), and ended up with the same 1,641 errors and 51 warnings. Most of those that I could see looked something like:

Code:
X.c.(linenumber):error: expected '=', ',', ';', 'asm' or '_attribute_' before '{' token.

There were a few others sprinkled in, but that was the format of the majority that I could see scrolling by. I don't know enough about programming to tell whether these indicated an internal problem with the DOSEMU files or miscommunication with the general Pardus structure.

To verify that I didn't have a flawed .tgz, I downloaded it again. Besides running it from the KDE terminal, I ran the same sequence (./configure, make) from the Ctrl-Alt-F1 terminal, and got the same results. So it doesn't have anything to do with KDE or X, if I understand that correctly.

At least for the time being, I feel like I've run into a showstopper. In any other way I've tried so far, Pardus is either as good as or better than any other distro I've tried. But either I'm missing something (which is entirely possible) or I'll have to boot into another distro to use DOS programs.

Logged
atolboo
Guest
« Reply #8 on: August 20, 2008, 09:39:36 AM »

...... ended up with the same 1,641 errors and 51 warnings.
I can confirm that I get the same error and warnings.

........ or I'll have to boot into another distro to use DOS programs.
In openSuse 11.0 dosemu is in the repository and runs without a problem.
Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #9 on: August 20, 2008, 10:29:32 AM »

Can you give us the complete output of the ./configure command please ?
Logged

Team Pardus-fr - French Pardus tools translator
atolboo
Guest
« Reply #10 on: August 20, 2008, 10:48:55 AM »

Can you give us the complete output of the ./configure command please ?
The complete ouput is 157 lines long.
I will try this with Additional Options>Attach
I hope this will work.
It is working !! Grin (you have to login)

* configure.txt (7.77 KB - downloaded 129 times.)
« Last Edit: August 20, 2008, 10:54:48 AM by atolboo » Logged
Mourningdove
Pardus fellow craft
**
Posts: 59



View Profile
« Reply #11 on: August 20, 2008, 14:36:45 PM »

If it's any help, here's my config.log, renamed to config.txt for uploading here. If it would be more helfpul if I redirected the output from the ./configure command directly to a file, I could do that, but I...uh...couldn't figure out how.

* config.txt (191.02 KB - downloaded 111 times.)
Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #12 on: August 20, 2008, 16:46:52 PM »

If it's any help, here's my config.log, renamed to config.txt for uploading here. If it would be more helfpul if I redirected the output from the ./configure command directly to a file, I could do that, but I...uh...couldn't figure out how.

Just copy and paste into a new kwrite file. Anyway, if it's exactly the same as atolboo's, it's not necessary.

Can you give the output of the make command now ?
Logged

Team Pardus-fr - French Pardus tools translator
atolboo
Guest
« Reply #13 on: August 20, 2008, 17:08:46 PM »

Is the message
Quote
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
in the file ....../dosemu-1.4.0/config.log causing this problem?
If so, where to get this file and what should be the destination?
Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #14 on: August 20, 2008, 19:04:10 PM »

No. I got this message too in config.log, and dosemu works for me.

I noticed your system is not up-to-date. You have to update Pardus first.
« Last Edit: August 20, 2008, 19:11:12 PM by PhiX » Logged

Team Pardus-fr - French Pardus tools translator
Pages: [1] 2 3 Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!