Jump to content

Installing dosemu is looking for lex or flex


Looktrne

Recommended Posts

I am trying to install dosemu

 

it gives me the error saying lex or flex is not installed

 

can I have it skip this or do I need this installed?

 

if so which should I install ?? and where do I download it??

 

I am new to the linux enviroment

 

thanks guys

 

Paul

Link to comment
Share on other sites

I don't use yum, but surely it has a search feature letting you search the repo's. If you can't find it in a repo, you need to find a repo that has it, failing that you will need to download an rpm and use yum to install that. All this should be covered in the manual.

 

The reason you should use the systems package manager to manage packages is that it will sort out any dependency issues you might have and also makes uninstalling easier latter on.

 

A simple google search found a repo containing dosemu here. To learn linux, your really going to need to learn to search for resolutions to your issues. Simply asking how do i...? in a forum will take you allot longer to get things done, especially when 99% of the questions newcomers ask have already been asked and answered.

Link to comment
Share on other sites

I managed to yum install flex

 

and it asked me for bison too I believe

 

I got these packages installed

 

but when installing dosemu... I am getting some errors now....

 

[root@ldc488 dosemu]# make install
make[1]: Entering directory `/var/www/vhosts/decode-zend-decoder.com/httpdocs/do                                             semu/src'
rm -rf ../tmp
mkdir -p -m 0755 /var/www/vhosts/decode-zend-decoder.com/httpdocs/dosemu/tmp/dos                                             emu
/usr/bin/install -c -d /usr/local/share/dosemu
for i in `find ../commands/* -type f`; do \
  /usr/bin/install -c -m 0644 $i /var/www/vhosts/decode-zend-decoder.com/httpdoc                                             s/dosemu/tmp/dosemu; \
done
find: ../commands: No such file or directory
cd ../commands; for i in `find * -type l`; do \
  ln -sf generic.com /var/www/vhosts/decode-zend-decoder.com/httpdocs/dosemu/tmp                                             /dosemu/$i; \
done
/bin/bash: line 0: cd: ../commands: No such file or directory
ln: creating symbolic link `/var/www/vhosts/decode-zend-decoder.com/httpdocs/dos                                             emu/tmp/dosemu/plugin/include/dosemu_charset.h' to `generic.com': No such file o                                             r directory

 

Any help with why I might be getting these errors is greatly appreciated..... I am actually getting somewhere with this

 

thanks

 

Paul

Link to comment
Share on other sites

ok I am hard headed... I will read the yum man and look into the repo you sent...

 

I was trying to make it happen from a install doc that I downloaded with the dosemu package from sourceforge but I guess this is causing more headaches than I can handle...

 

so I will take your advise and read the yum man and try the repo... what ever that is.. but im sure I will find out in a minute... I just been so bust with alot of projects that i'm listening..

 

sorry

 

I will do some reading.. and let you know how it went...

 

Paul

Link to comment
Share on other sites

ok I went to the link for the .repo

 

I created the gemi.repo

 

ran the command

 

yum install dosemu

 

and got an error from that site not found...

 

http://math.ifi.unizh.ch/fedora/4/i386/RPMS.gemi/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Thu, 07 Feb 2008 19:08:14 GMT
Server: Apache/2.2.3 (Fedora)
Content-Length: 323
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: gemi
failure: repodata/repomd.xml from gemi: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from gemi: [Errno 256] No more mirrors to try.

 

did I do something wrong or is the site not available???

 

I am searching for a different site to try but it seems not many available for the latest version..

 

thanks for all your help

 

I think I am on the right track but looking for a different .repo now

 

Paul

Link to comment
Share on other sites

the other thing I found is on sourceforge

 

a file called

 

dosemu-1.4.0-1.src.rpm

 

I also found some information on installing this

 

rpm -ivv

 

do you recomend I try this? or is it better to use yum and .repo???

 

because the gemi.repo is not working

 

Paul

 

 

Link to comment
Share on other sites

As I said, I don't use yum. Having a quick browse through the man page though I found the localinstall option. This....

 

Is used to install a set of local rpm files. If required the enabled repositories will be used to resolve dependencies.

 

Thats how I would attempt to go about installing the .rpm file. This way, (it would seem) yum will attempt to resolv any dependency issues for you.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.