Re: can't install free-dos?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/07, perry hargrave <phargrave@xxxxxxxxxxxxxxxxxxxx> wrote:

I extract dosemu-1.3.5, configure --with-fdtarball=dosemu-1.0.tgz, make,
then su & make install but I always get this error:

> rm -rf /tmp/dosemu//usr/local/share/dosemu/commands /tmp/dosemu//usr/local/share/dosemu/freedos/dosemu
> rm: cannot remove `/tmp/dosemu//usr/local/share/dosemu/freedos/dosemu': Not a directory

Please try to prefix the "rm" with a -, like in the attached patch.
Let me know if it works or if you need more dashes.

Bart
Index: src/arch/linux/Makefile.main
===================================================================
--- src/arch/linux/Makefile.main	(revision 1718)
+++ src/arch/linux/Makefile.main	(working copy)
@@ -148,7 +148,7 @@
 	cd $(SYS); for i in `find * -type l`; do \
 	  ln -sf generic.com $(TMP)/dosemu/$$i; \
 	done
-	rm -rf $(DESTDIR)$(dosemudir)/commands $(DESTDIR)$(dosemudir)/freedos/dosemu
+	-rm -rf $(DESTDIR)$(dosemudir)/commands $(DESTDIR)$(dosemudir)/freedos/dosemu
 	rm -rf $(DESTDIR)$(dosemudir)/drive_z/dosemu
 	$(INSTALL) -d $(DESTDIR)$(sysconfdir)
 	cd $(REALTOPDIR); if [ -f $(fdtarball) ]; then \

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux