This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rdesktop build on cygwin gone wrong



Thanks. :-)


However, how do I apply a patch? :-) Sorry, never done it. ;-)

josé

----- Original Message ----- From: "David Rothenberger" <daveroth@acm.org>
To: <cygwin-xfree@cygwin.com>
Sent: Tuesday, May 03, 2005 6:07 PM
Subject: Re: rdesktop build on cygwin gone wrong



On 5/3/2005 2:42 PM, jose isaias cabrera wrote:

Greetings!


so, I built and used rdesktop with cygwin for a long time, but I had to
rebuild my laptop and now I was trying to build rdesktop with cygwin and
on the

make install

command, an extra / has been added to the path. Here is the error:

<error>
jic 17:03:08-> make install
mkdir -p //usr/local/bin
/usr/bin/install -c rdesktop //usr/local/bin
/usr/bin/install: cannot create regular file `//usr/local/bin.exe': No such
host or network path
make: *** [installbin] Error 1
</error>

It seems like a problem with Makefile.in. Apply the attached patch, then run "autoreconf -f && ./configure && make && make install".

--
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734




--------------------------------------------------------------------------------


--- rdesktop-1.4.0-orig/Makefile.in 2005-03-02 09:34:16.000000000 -0800
+++ rdesktop-1.4.0/Makefile.in 2005-05-03 15:02:31.861000000 -0700
@@ -54,25 +54,24 @@

.PHONY: installbin
installbin: rdesktop
- mkdir -p $(DESTDIR)/$(bindir)
- $(INSTALL) rdesktop $(DESTDIR)/$(bindir)
- strip $(DESTDIR)/$(bindir)/rdesktop
- chmod 755 $(DESTDIR)/$(bindir)/rdesktop
+ mkdir -p $(DESTDIR)$(bindir)
+ $(INSTALL) -s rdesktop $(DESTDIR)$(bindir)
+ chmod 755 $(DESTDIR)$(bindir)/rdesktop

.PHONY: installman
installman: doc/rdesktop.1
- mkdir -p $(DESTDIR)/$(mandir)/man1
- cp doc/rdesktop.1 $(DESTDIR)/$(mandir)/man1
- chmod 644 $(DESTDIR)/$(mandir)/man1/rdesktop.1
+ mkdir -p $(DESTDIR)$(mandir)/man1
+ cp doc/rdesktop.1 $(DESTDIR)$(mandir)/man1
+ chmod 644 $(DESTDIR)$(mandir)/man1/rdesktop.1

.PHONY: installkeymaps
installkeymaps:
- mkdir -p $(DESTDIR)/$(KEYMAP_PATH)
+ mkdir -p $(DESTDIR)$(KEYMAP_PATH)
# Prevent copying the CVS directory
- cp keymaps/?? keymaps/??-?? $(DESTDIR)/$(KEYMAP_PATH)
- cp keymaps/common $(DESTDIR)/$(KEYMAP_PATH)
- cp keymaps/modifiers $(DESTDIR)/$(KEYMAP_PATH)
- chmod 644 $(DESTDIR)/$(KEYMAP_PATH)/*
+ cp keymaps/?? keymaps/??-?? $(DESTDIR)$(KEYMAP_PATH)
+ cp keymaps/common $(DESTDIR)$(KEYMAP_PATH)
+ cp keymaps/modifiers $(DESTDIR)$(KEYMAP_PATH)
+ chmod 644 $(DESTDIR)$(KEYMAP_PATH)/*

.PHONY: proto
proto:



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]