Looktrne Posted February 6, 2008 Share Posted February 6, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/ Share on other sites More sharing options...
trq Posted February 6, 2008 Share Posted February 6, 2008 Have you read the yum man page yet? Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-459835 Share on other sites More sharing options...
Looktrne Posted February 6, 2008 Author Share Posted February 6, 2008 I tried installing it with yum yum install dosemu it can not locate the package Paul Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-459893 Share on other sites More sharing options...
trq Posted February 6, 2008 Share Posted February 6, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-459976 Share on other sites More sharing options...
Looktrne Posted February 6, 2008 Author Share Posted February 6, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-460042 Share on other sites More sharing options...
trq Posted February 7, 2008 Share Posted February 7, 2008 Did you read my previous reply? Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-460709 Share on other sites More sharing options...
Looktrne Posted February 7, 2008 Author Share Posted February 7, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-461113 Share on other sites More sharing options...
Looktrne Posted February 7, 2008 Author Share Posted February 7, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-461131 Share on other sites More sharing options...
Looktrne Posted February 7, 2008 Author Share Posted February 7, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-461134 Share on other sites More sharing options...
trq Posted February 10, 2008 Share Posted February 10, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89642-installing-dosemu-is-looking-for-lex-or-flex/#findComment-463309 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.