Re: Cannot access Sun server via VNC

2005-05-03 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

> Hello again,
> 
> Warning: No xauth data; using fake authentication data for X11 forwarding.

This is just a warning and not important

> tput: unknown terminal "cygwin"
> tput: unknown terminal "cygwin"
> tput: unknown terminal "cygwin"
> 
> Eventually I started the graphical application in the Sun host, and got 
> the following messages:
> connect localhost port 6000: Connection refused
> X connection to localhost:10.0 broken (explicit kill or serever shutdown).
> 
> Shall I set the terminal type to something else ?

that has no influence.
 
> May the refused connection on port 6000 be caused by a firewall setting ?

It may. Or you have not started (or exited) the xserver.
More likely it's the second option.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: "Linux @ home -> Cygwin X server @ home" won't work

2005-05-03 Thread Alexander Gottwald
On Tue, 3 May 2005, seya wrote:

> === Cygwin X server @ home ===
> I started X server with "startx " command. Then I issued "xhost +" to
> disable access control so that any host can connect to this X server
> (192.168.11.2).
> 
> === Linux @ home ===
> I exported DISPLAY and issued "xeyes&" like below :
> 
> # export DISPLAY=192.168.11.2:0.0
> # xeyes&
> # netstat -a | grep x11
> tcp  0   1  192.168.11.8:32955   192.168.11.2:0.0  SYN_SENT
> 
> As you can see the request is sent to Cygwin X server (192.168.11.2)
> properly.

Hm. Firewall issue? Or general network problems? 

How is the VPN setup? Maybe the routing is messed up and all outgoing 
traffic is sent through the VPN instead of the local network.

Do other network applications work (windows file sharing, telnet, ssh) 
can you reach the linux host from the windows host? 

bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread a12
Hello again,
I logged into sun host again, and entered:
xauth remove localhost:10.0   [not del]
Then I started the graphical application, and I still get the following 
error:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

Any hints ?
Regards,
Marek
Alexander Gottwald wrote:
On Mon, 2 May 2005, a12 wrote:

Hi,
When I enter in the PC window:
ssh -Y [EMAIL PROTECTED]
I get a request for password, and I am logged into the Sun host.
Then I start the graphical application in the Sun host, and I get the 
following error message:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

So I checked the DISPLAY variable, and as it was set to 
'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the 
application in the Sun host.

Guess what? localhost:10.0 was all right and a.b.c.d:10.0 is wrong. 

There may be some older authentication info left. 
Maybe this helps:
$ xauth del localhost:10.0 

bye
ago


Could not init font path element

2005-05-03 Thread a12
Hello X users,
When I enter:
XWin.exe -query 
I see in the Cygwin window:
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!

Pardon my ignorance, but where do I find these fonts ?
Regards,
Marek


Clipboard is not enabled

2005-05-03 Thread a12
Hello X users,
When I enter:
XWin.exe -query 
I see in the Cygwin window:
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
Is it a normal procedure, or should I enable the clipboard by some means ?
Regards,
Marek


Re: Could not init font path element

2005-05-03 Thread Alexander Gottwald
On Tue, 3 May 2005, a12 wrote:

> Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing 
> from list!

xorg-x11-fscl

> Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
> removing from list!

xorg-x11-fscl

> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
> from list!

There are no such fonts in the distribution

> Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
> removing from list!

xorg-x11-f100

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Clipboard is not enabled

2005-05-03 Thread Alexander Gottwald
On Tue, 3 May 2005, a12 wrote:

> Hello X users,
> 
> When I enter:
> XWin.exe -query 
> I see in the Cygwin window:
> winProcEstablishConnection - Hello
> winProcEstablishConnection - Clipboard is not enabled, returning.
> 
> Is it a normal procedure, or should I enable the clipboard by some means ?

This is just a message for informing the user and developers what's going
on and give well defined output on why the clipboard is not working.

If you want clipboard integration start XWin with 
XWin.exe -clipboard -query 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread Alexander Gottwald
On Tue, 3 May 2005, a12 wrote:

> Hello again,
> 
> I logged into sun host again, and entered:
> xauth remove localhost:10.0   [not del]
> Then I started the graphical application, and I still get the following 
> error:
> X11 connection rejected because of wrong authentication.
> X connection to localhost:10.0 broken (explicit kill or server shutdown).
> 
> Any hints ?

Maybe you have to remove $HOME/.Xauthority on windows and unix side. 
I've not seen the message for some time now and can't tell which side 
has the wrong credentials.

Maybe DISPLAY=:0.0 ssh ... helps (instead of DISPLAY=localhost:0.0)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Clipboard is not enabled

2005-05-03 Thread a12
Hello,
Thank you very much for your quick & adequate reply.
Regards,
Marek
Alexander Gottwald wrotev:
On Tue, 3 May 2005, a12 wrote:

Hello X users,
When I enter:
XWin.exe -query 
I see in the Cygwin window:
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
Is it a normal procedure, or should I enable the clipboard by some means ?
This is just a message for informing the user and developers what's going
on and give well defined output on why the clipboard is not working.
If you want clipboard integration start XWin with 
XWin.exe -clipboard -query 

bye
ago


Re: Could not init font path element

2005-05-03 Thread a12
Hello,
Thank you very much for your quick & adequate reply.
Regards,
Marek
Alexander Gottwald wrotev:
On Tue, 3 May 2005, a12 wrote:

Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing 
from list!

xorg-x11-fscl

Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!

xorg-x11-fscl

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

There are no such fonts in the distribution

Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!

xorg-x11-f100
bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread a12
Hello again,
I have no .Xauthority in $HOME in my PC.
I logged into the Sun host using:
ssh -Y [EMAIL PROTECTED]
removed .Xauthority in $HOME there, logged out & logged in again.
When I started the graphical application in the Sun host, I received the 
following error:
*** OI_init: Error, cannot connect to X server
ntc: couldn't open a connection to a X server

So, I checked that there still is no .Xauthority in $HOME in the Sun 
host, logged out, and logged in using:
$ DISPLAY=:0.0 ssh -Y [EMAIL PROTECTED]
and I received the following message:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Tue May  3 15:54:34 2005 from 131.115.36.154
/usr/openwin/bin/xauth:  creating new authority file 
/export/home/neat/.Xauthority
When I started the graphical application, I received the following message:
connect /tmp/.X11-unix/X0: No such file or directory
X connection to localhost:10.0 broken (explicit kill or server shutdown).

What about this message ?
Regards,
Marek
Alexander Gottwald wrote:
On Tue, 3 May 2005, a12 wrote:

Hello again,
I logged into sun host again, and entered:
xauth remove localhost:10.0   [not del]
Then I started the graphical application, and I still get the following 
error:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

Any hints ?
Maybe you have to remove $HOME/.Xauthority on windows and unix side. 
I've not seen the message for some time now and can't tell which side 
has the wrong credentials.

Maybe DISPLAY=:0.0 ssh ... helps (instead of DISPLAY=localhost:0.0)
bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread Alexander Gottwald
On Tue, 3 May 2005, a12 wrote:

> connect /tmp/.X11-unix/X0: No such file or directory
> X connection to localhost:10.0 broken (explicit kill or server shutdown).
>
> What about this message ?

This just means your local server is not running. Same as before with can't 
connect to localhost:6000. But this time DISPLAY was :0.0, not localhost:0.0

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: "read" bug in Cygwin 1.5.16?

2005-05-03 Thread Peter Farley
I tried the 20050501 snapshot today.  The bug has been
squashed.  Both the test program and hercules operate
correctly in an xterm window with the snapshot version
of "cygwin1.dll".

Thank you for the fix.  I will let the hercules list
know that the bug will be resolved in the next
release.

Regards,

Peter

--- Peter Farley <[EMAIL PROTECTED]> wrote:
> Thanks Chris.  I will try to test the snapshot soon,
> but I may have some RL events interrupting me before
> I
> can do so.
> 
> I'll report back after testing.
> 
> Peter
> 
> --- Christopher Faylor
> <[EMAIL PROTECTED]> wrote:
> > On Sun, May 01, 2005 at 04:56:13PM -0700, Peter
> > Farley wrote:
> > >Hi all,
> > >
> > >I tried to forward this message to the main
> cygwin
> > >list yesterday, but had a little trouble getting
> it
> > >there, probably because I mentioned "xterm" in
> the
> > >subject.  I'm trying again in case this is NOT an
> > "X" problem but a base cygwin problem.
> > >
> > >I have attached the test program xtermbug.c
> instead
> > >of pasting it inline.  I hope that is OK for this
> > >list.
> > 
> > Thanks for the test program.
> > 
> > There was a problem with setting VMIN == VTIME ==
> 0
> > on ttys/ptys.  I've just checked in a fix.  It
> will 
> > be in today's snapshot, when it shows
> > up: http://cygwin.com/snapshots/ .
> > 
> > cgf
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> --
> Unsubscribe info: 
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:  
> http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


Re: "Linux @ home -> Cygwin X server @ home" won't work

2005-05-03 Thread seya
> Hm. Firewall issue? Or general network problems?

I appreciate your comment. I 'm sure this is nether Firewall issue nor
network problem since I tested Linux -> Cygwin X server connection strictly
within a private network at home ( 192.168.xxx.xxx ) and I disabled all
Firewall options on my router. Also I can "ping" both directions between
Linux machine and Cygwin. Moreover, if I make Cygwin as a X client, it can
connect to the X server running on Linux. However, I can not do the other
direction, which is Linux -> Cygwin X server. Now.. I'm really stuck here.
It does not make sense to me at all...

line 1> # export DISPLAY=192.168.11.2:0.0
line 2 > # xeyes&
line 3 > # netstat -a | grep x11
line 4 > tcp  0   1  192.168.11.8:32955   192.168.11.2:x11  SYN_SENT

After "xeyes&" is issued at line 2 it takes while till I get the error
message, " Error: Can't open display: 192.168.11.2:0.0" with "xhost +" on
the Cygwin server side. I see the same behavior with "xhost -". It tells me
Cygwin X server is not really listing the request from X client.

Do you have any idea why this is happening?

P.S Cygwin X server is working fine with VPN. I use this VPN via telephone
line at it put my computer in my company's network environment; this VPN is
configured by IT at my company. I'm  messed up because I'm in a trouble when
I'm completely in my local network.

















Re: "Linux @ home -> Cygwin X server @ home" won't work

2005-05-03 Thread Alexander Gottwald
On Wed, 4 May 2005, seya wrote:

> > Hm. Firewall issue? Or general network problems?
> After "xeyes&" is issued at line 2 it takes while till I get the error
> message, " Error: Can't open display: 192.168.11.2:0.0" with "xhost +" on
> the Cygwin server side. I see the same behavior with "xhost -". It tells me
> Cygwin X server is not really listing the request from X client.
> 
> Do you have any idea why this is happening?

Maybe the xserver is not listening on the local network interface but only 
on the vpn interface

netstat -an | grep 6000 should give a line 
  TCP0.0.0.0:6000   0.0.0.0:0  ABHREN

The important part is the 0.0.0.0:6000 which means accepting connections on all
interfaces. Anyway, even if this is not the case the client should die early
with a connection refused message. 

Can you somehow trace the traffic on the local network?

tcpdump "port 6000" on linux should print useful traces of network traffic

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: "Linux @ home -> Cygwin X server @ home" won't work

2005-05-03 Thread Brian Dessent
seya wrote:

> line 4 > tcp  0   1  192.168.11.8:32955   192.168.11.2:x11  SYN_SENT

The fact that it's hung in the SYN_SENT state is a very strong indicator
that something low level is wrong, such as a port being blocked by a
firewall, a server listening on the wrong interface, and so on.

Here is a simple test that you can do that will eliminate all variables
except TCP/IP connectivity.  Install 'nc' (netcat) on both machines.  On
the one that will be running the X11 server (i.e. Cygwin) but without
the X server running, type:

nc -l -p 6000 -e /bin/date

On the other machine type "nc host 6000" where host is the ip address or
hostname of the server machine.

If you get the date spit back out at you, then TCP works okay.  If not,
then you've got a low level networking problem and you need to solve
that first, because no amount of fiddling with X settings will help for
that.

Brian


Re: "Linux @ home -> Cygwin X server @ home" won't work

2005-05-03 Thread seya
Brian, Alex,

You're my savior! Now I finally got out of this hell. I really appreciate
your help from my bottom my hearts. There were so many variables which would
cause this problem. Without your help I would not be able to solve this
problem within a day.

I finally realized that a resident Firewall program is installed on my note
book PC by my company's IT person. It was this program that blocked X
protocol packets between PCs outside of the company network ( this is why it
was working when I was on my company's VPN network ).

I was paying too much attention to other things such as Firewall
configuration on my router. I disabled all Firewall options on my router and
thought I was done with it, which was awfully wrong. If it were not for you
I would not be able to think about Firewall again and would have killed few
more days...

I learned great tricks from you. I hope other people would get benefit out
of this thread as well.

Thank you very much :-)




rdesktop build on cygwin gone wrong

2005-05-03 Thread jose isaias cabrera
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

however, the configure and the make both ran fine.  Here is the configure
run:
jic 17:01:02-> pwd
/home/us319318/apps/rdesktop-1.4.0
jic 17:01:27-> ./configure --with-x
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether byte ordering is bigendian... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/strtio.h usability... no
checking sys/strtio.h presence... no
checking for sys/strtio.h... no
checking for OpenSSL directory... /usr
checking if architecture needs alignment... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
configure: creating ./config.status
config.status: creating Makefile
Here is the beginning and end of the make:
jic 17:02:08-> make
gcc -g -O2 -Wall -I/usr/include  -I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\" 
-DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"rdesktop\
1.4.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 
-Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 
-DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1  -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" 
-o rdesktop.o -c rdesktop.c
...
...
...
gcc -g -O2 -Wall -I/usr/include  -I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\" 
-DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"rdesktop\
1.4.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 
-Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 
-DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1  -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" 
-o rdesktop rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o 
rdpsnd.o rdpsnd_oss.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o 
bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o printer.o disk.o 
parallel.o printercache.o mppc.o stcache.o -L/usr/lib -lcrypto  -L
/usr/X11R6/lib  -lX11

So, the question is, why is the extra / being added to the path making it 
//usr/local/bin which is not going to be found.  I have downloaded the 
rdesktop 1.4.0 and the latest cygwin patches and still the same problem.  I 
also tried rdesktop 1.3.1 and 

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


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 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 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 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 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