LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   success: compile dosemu (https://www.linuxquestions.org/questions/slackware-14/success-compile-dosemu-550554/)

bioe007 05-02-2007 12:06 AM

success: compile dosemu
 
Hi all,

I was trying to find a suitable dos-emulator that had straightforward parallel port access. dosbox's configuration in that regard has eluded me thus far... :(

So I got the source for dosemu and tried building and installing it, no dice. I search LQ for dosemu and found an unresolved thread in my beloved slacker forum, then found a solution and thought I'd share.
(a bit of a pissing contest brewing in the previous thread so I decided not to continue it)

Summary of problem: during install dosemu make doesnt find a font installing file:
/usr/X11R6/bin/bdftopcf

dosemu uses the file to install fonts (I think). Anyway the fix was easy enough, just run make install thus:

Code:

PATH=/usr/X11R6/bin/:$PATH make DESTDIR=/tmp/dosemu install
voila.. no more errors.

<clearly the DESTDIR is a matter of preference>

now if I can just get me damn parport working.. :D

jowa45 05-02-2007 01:30 AM

Hi,
Does your requirment for a simple parallel port access have anything to do with micro-controller programming.

John

bioe007 05-02-2007 02:08 AM

yes...

i have an econorom3 that is just a B*TCH to run under linux, the -current software for it is win32, but requires this fancy driverx.sys crap to get to the parallel port..

on top of that I dont even have a real parallel port, I have a pcmcia parallel port...

but I _just_ got it to work!

i have another thread here detailing my trials & tribulations

i'll post my solution for this ER3 mess there.

jowa45 05-02-2007 08:00 AM

Hi,
Thought so. Anyone interested in gEDA is also interested in micro-controller programming.
This is what I do on Slackware and about all I use a computer for.
Since Slackware 11 I have given up with DOS and use the avr suite.
Never had much luck on Slackware 10 but works great on 11.

John

bioe007 05-02-2007 09:31 AM

how did you get avr suit running? I thought it was exclusively winblows...

I have the altium/tasking 8051, zilog dynamic-c, and a small PIC asm. only thing I haven;t tried yet is to install mplab. i've also got this cheapo USB programmer (TOP2004) that is as yet untested..

I would love to hear how you got avr suite running (i thought it was winblows only?) I tried installing that in wine but always gets errors. I even have an old version (from Joe Pardue's book) that I tried too and it didn't work either, just extracts to somehwere and then its gone... did you compile it yourself or something?

I havent tried that lately though as I'm not using any atmel in prj-current.

jowa45 05-02-2007 11:04 AM

Hi,
Start here and follow all links:-

http://www.nongnu.org/avr-libc/

I can recomend this to anyone interested in starting with micro-controller programming.
All pure Linux command line. No gui X required.

John

bioe007 05-02-2007 12:42 PM

thats awesome.. just bookmarked it!

unfortunately it'll have to wait until I can park my current project (inherited this tasking headache from previous development) will try and build the toolchain once my evenings are freed up again.

jowa45 05-03-2007 02:14 AM

Hi,
In another of your posts I mentioned vaguely that I would like to make my own Slackware installation packages. It is for this. I figure it out this way. If I could make Slackware tgz packages then I could use those to install the toolchain on an old computer with a minimal Slackware installation. Perhaps only the a series. Then I could dedicate this to microcontroller programming. Please give this some consideration as you install the tool chain.

John


All times are GMT -5. The time now is 05:21 AM.