Re: rdesktop build on cygwin gone wrong

2005-05-12 Thread jose isaias cabrera
thanks.
josé
- Original Message - 
From: "David Rothenberger" <[EMAIL PROTECTED]>
To: 
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 11, 2005 8:00 PM
Subject: Re: rdesktop build on cygwin gone wrong


On 5/11/2005 4:07 PM, jose isaias cabrera wrote:
Sorry for the cross-post, but...
Ok, so I downloaded rdesktop 1.4.1 to build it with cygwin on a WinXP
Pro machine.  And on the "make install", I am getting this error:
jic 16:32:18-> make install
mkdir -p /usr/local/bin
/usr/bin/install -c rdesktop /usr/local/bin
strip /usr/local/bin/rdesktop
strip: /usr/local/bin/rdesktop: No such file or directory
make: *** [installbin] Error 1
I've tried it a few times and I still get the the same problem.  Here is
the interesting part: rdesktop works and the man page also.  Huh!
Any ideas?
It's because the makefile really needs to invoke "strip
/usr/local/bin/rdesktop.exe" Strip just removes any debugging symbols,
so the executable without the strip will work fine, it just might be
larger than you need.
To fix the problem, you can apply the supplied patch, or just run "strip
/usr/local/bin/rdesktop.exe".
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
I don't think it's worth washing hogs over.
 -- Larry Wall in <[EMAIL PROTECTED]>



diff -u -r -N rdesktop-1.4.1-orig/Makefile.in rdesktop-1.4.1/Makefile.in
--- rdesktop-1.4.1-orig/Makefile.in 2005-05-04 13:32:16.0 -0700
+++ rdesktop-1.4.1/Makefile.in 2005-05-11 16:51:21.78175 -0700
@@ -55,8 +55,7 @@
.PHONY: installbin
installbin: rdesktop
 mkdir -p $(DESTDIR)$(bindir)
- $(INSTALL) rdesktop $(DESTDIR)$(bindir)
- strip $(DESTDIR)$(bindir)/rdesktop
+ $(INSTALL) -s rdesktop $(DESTDIR)$(bindir)
 chmod 755 $(DESTDIR)$(bindir)/rdesktop
.PHONY: installman



Re: rdesktop build on cygwin gone wrong

2005-05-11 Thread David Rothenberger
On 5/11/2005 4:07 PM, jose isaias cabrera wrote:
Sorry for the cross-post, but...
Ok, so I downloaded rdesktop 1.4.1 to build it with cygwin on a WinXP 
Pro machine.  And on the "make install", I am getting this error:

jic 16:32:18-> make install
mkdir -p /usr/local/bin
/usr/bin/install -c rdesktop /usr/local/bin
strip /usr/local/bin/rdesktop
strip: /usr/local/bin/rdesktop: No such file or directory
make: *** [installbin] Error 1
I've tried it a few times and I still get the the same problem.  Here is 
the interesting part: rdesktop works and the man page also.  Huh!

Any ideas?
It's because the makefile really needs to invoke "strip 
/usr/local/bin/rdesktop.exe" Strip just removes any debugging symbols, 
so the executable without the strip will work fine, it just might be 
larger than you need.

To fix the problem, you can apply the supplied patch, or just run "strip 
/usr/local/bin/rdesktop.exe".

--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
I don't think it's worth washing hogs over.
 -- Larry Wall in <[EMAIL PROTECTED]>
diff -u -r -N rdesktop-1.4.1-orig/Makefile.in rdesktop-1.4.1/Makefile.in
--- rdesktop-1.4.1-orig/Makefile.in 2005-05-04 13:32:16.0 -0700
+++ rdesktop-1.4.1/Makefile.in  2005-05-11 16:51:21.78175 -0700
@@ -55,8 +55,7 @@
 .PHONY: installbin
 installbin: rdesktop
mkdir -p $(DESTDIR)$(bindir)
-   $(INSTALL) rdesktop $(DESTDIR)$(bindir)
-   strip $(DESTDIR)$(bindir)/rdesktop
+   $(INSTALL) -s rdesktop $(DESTDIR)$(bindir)
chmod 755 $(DESTDIR)$(bindir)/rdesktop
 
 .PHONY: installman


Re: rdesktop build on cygwin gone wrong

2005-05-11 Thread jose isaias cabrera
Sorry for the cross-post, but...
Ok, so I downloaded rdesktop 1.4.1 to build it with cygwin on a WinXP Pro 
machine.  And on the "make install", I am getting this error:

jic 16:32:18-> make install
mkdir -p /usr/local/bin
/usr/bin/install -c rdesktop /usr/local/bin
strip /usr/local/bin/rdesktop
strip: /usr/local/bin/rdesktop: No such file or directory
make: *** [installbin] Error 1
I've tried it a few times and I still get the the same problem.  Here is the 
interesting part: rdesktop works and the man page also.  Huh!

Any ideas?
thanks,
josé
- Original Message - 
From: "David Rothenberger" <[EMAIL PROTECTED]>
To: 
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:

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

It seems like a problem with Makefile.in. Apply the attached patch, then
run "autoreconf -f && ./configure && make && make install".
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
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.0 -0800
+++ rdesktop-1.4.0/Makefile.in 2005-05-03 15:02:31.86100 -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:



Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread Igor Pechtchanski
On Tue, 3 May 2005, jose isaias cabrera wrote:

> Thanks Dave, that worked perfectly.
>
> Just a little note for the folks out there like me... :-)
>
> I couldn't find patch, so I re-ran the cygwin setup.exe again and found the
> patchutils on the Devel Category. :-)

The "patch" utility is part of the (surprise, surprise) "patch" package.
Luckily for you, the "patchutils" package depends on the "patch" package,
so setup installed it for you at no extra cost.

For the future, if you need to find out which package contains a
particular utility, use the Cygwin package search page at
.  It usually helps to append ".exe" to the
name of the executable, or prepend "bin/" to it (the ".exe" trick doesn't
work for symlinks and shell scripts).

> However, I couldn't find autoreconfig,

Hmm, let's see: , type in "bin/autoreconf",
hit "Go", and voila -- "Found 6 matches for bin/autoreconf".  I'll let you
actually perform the above to find out which packages contain it.

> so I just,
>
> rm -rf rdesktop-1.4.0
> tar -xvf rdesktop-1.4.0.tar
> cd rdesktop-1.4.0
> patch -p1 < ../rdesktop.patch
> ./configure
> make
> make install
>
> and I have rdesktop 1.4.0.
>
> thanks Dave.
>
> josé
>
> - Original Message -
> From: "jose isaias cabrera" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>

Ehm, .  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread Christopher Faylor
On Tue, May 03, 2005 at 06:51:29PM -0400, jose isaias cabrera wrote:
>Thanks Dave, that worked perfectly.
>
>Just a little note for the folks out there like me... :-)
>
>I couldn't find patch, so I re-ran the cygwin setup.exe again and found the 
>patchutils on the Devel Category.

Actually, the patch program is in the patch package.  You don't need to
use patchutils to apply patches.

cgf


Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread jose isaias cabrera
Thanks Dave, that worked perfectly.
Just a little note for the folks out there like me... :-)
I couldn't find patch, so I re-ran the cygwin setup.exe again and found the 
patchutils on the Devel Category. :-)  However, I couldn't find 
autoreconfig, so I just,

rm -rf rdesktop-1.4.0
tar -xvf rdesktop-1.4.0.tar
cd rdesktop-1.4.0
patch -p1 < ../rdesktop.patch
./configure
make
make install
and I have rdesktop 1.4.0.
thanks Dave.
josé

- Original Message - 
From: "jose isaias cabrera" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, May 03, 2005 6:26 PM
Subject: Re: rdesktop build on cygwin gone wrong


:-)
Easy enough...
thanks.
- Original Message - 
From: "David Rothenberger" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, May 03, 2005 6:22 PM
Subject: Re: rdesktop build on cygwin gone wrong


On 5/3/2005 3:16 PM, jose isaias cabrera wrote:
Thanks. :-)
However, how do I apply a patch? :-)  Sorry, never done it. ;-)
% cd rdesktop-1.4.0
% patch -p1 < path/to/rdesktop.patch
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
Wharbat darbid yarbou sarbay?




Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread jose isaias cabrera
:-)
Easy enough... 

thanks.
- Original Message - 
From: "David Rothenberger" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, May 03, 2005 6:22 PM
Subject: Re: rdesktop build on cygwin gone wrong


On 5/3/2005 3:16 PM, jose isaias cabrera wrote:
Thanks. :-)
However, how do I apply a patch? :-)  Sorry, never done it. ;-)
% cd rdesktop-1.4.0
% patch -p1 < path/to/rdesktop.patch
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
Wharbat darbid yarbou sarbay?



Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread David Rothenberger
On 5/3/2005 3:16 PM, jose isaias cabrera wrote:
Thanks. :-)
However, how do I apply a patch? :-)  Sorry, never done it. ;-)
% cd rdesktop-1.4.0
% patch -p1 < path/to/rdesktop.patch
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
Wharbat darbid yarbou sarbay?


Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread jose isaias cabrera
Thanks. :-)
However, how do I apply a patch? :-)  Sorry, never done it. ;-)
josé
- Original Message - 
From: "David Rothenberger" <[EMAIL PROTECTED]>
To: 
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:

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

It seems like a problem with Makefile.in. Apply the attached patch, then
run "autoreconf -f && ./configure && make && make install".
--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
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.0 -0800
+++ rdesktop-1.4.0/Makefile.in 2005-05-03 15:02:31.86100 -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:



Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread David Rothenberger
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:

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

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

--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
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.0 -0800
+++ rdesktop-1.4.0/Makefile.in  2005-05-03 15:02:31.86100 -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:


signature.asc
Description: OpenPGP digital signature