RE: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Andreas
Hello Patrick,

I can confirm your error when generating html. I just tested pdf output.

Andreas

> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
> Patrick Eisenacher
> Enviado el: Jueves, 05 de Junio de 2003 08:56 a.m.
> Para: [EMAIL PROTECTED]
> Asunto: Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available
>
>
> Hi Elfyn,
>
> unfortunately I'm less fortunate with the new libxslt package than
> Andreas. I cannot translate a simple xml document to html with the new
> version of xsltproc. Here are some infos:
>
> $ xsltproc -version
> Using libxml 20507, libxslt 10027 and libexslt 718
> xsltproc was compiled against libxml 20507, libxslt 10027 and libexslt 718
> libxslt 10027 was compiled against libxml 20507
> libexslt 718 was compiled against libxml 20507
>
> $ xsltproc -catalogs
> /usr/local/lib/xml/stylesheets/docbook-xsl/html/docbook.xsl Tester2.xml
>  > Tester2.html
> runtime error: file
> /usr/local/lib/xml/stylesheets/docbook-xsl/html/html-rtf.xsl line 101
> element apply-templates
> xsl:apply-templates : can't find doc
> no result for Tester2.xml
>
> here's the Tester2.xml document:
> 
> 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
>
> 
>  revision="0.4"> 
>
>  
>  
>  Objectives
>  
>  The following chapters describe the required functionality
> of release 1.
>  
>  
> 
>
> With the old version of xsltproc Tester2.xml translates fine. I'm using
> the 1.52.1 XSL stylesheets. I tried the 1.61.2 XSL stylesheets as well
> and got the same result :o(
>
> Do you know what's going wrong? Please let me know if you need more
> infos from my side.
>
> Patrick
>
>
> --
> 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/
>


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



RE: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-04 Thread Andreas
Elfyn,

thanks a million for providing the hungry docbook cooks with the updated
libxml2 and libxslt packages! I just tested it with several docs in
combination with Passivetex and it works great even with entities!
Jabadabaduu!
A gold star for you:
^
   | |
 --   --
<   >
 --   --
   | |
v

Muchas gracias!
Great job!
Andreas

> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
> Elfyn McBratney
> Enviado el: Martes, 03 de Junio de 2003 09:36 p.m.
> Para: cygwin
> Asunto: [ANNOUNCE] LibXSLT (1.0.27) test packages available
>
>
> I have uploaded test packages for LibXSLT version 1.0.27 to
> sources.redhat.com . The LibXSLT source and binary packages should be
> available on most mirrors in a couple of hours.
>
> Please test the library as much as possible, as I'd like to get
> this update
> "out there" ASAP. If you find any problems/Cygwin related bugs, please let
> me know on the list ([EMAIL PROTECTED]).
>
> Elfyn
>
>
> --
> 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/
>


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



RV: apache dies with pppoe

2003-07-24 Thread Andreas
Uuups, forgot the list...

> Hola Bill,
>
> not sure if this is what you are looking for but I remember a
> package announcement from Jari in June [1]. Homepage is [2].
>
> HTH,
> Andreas
>
> [1] <http://www.cygwin.com/ml/cygwin-apps/2003-06/msg00158.html>
> [2] <http://perl-dyndns.sourceforge.net/>
>
> > -Mensaje original-
> > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
> > Bill McCormick
> > Enviado el: Jueves, 24 de Julio de 2003 10:07 a.m.
> > Para: Cygwin
> > Asunto: RE: apache dies with pppoe
> >
> >
> > > Carlo Florendo wrote:
> > > >
> > > > > I think this is a new one.
> > > > >
> > > > > I'm running Apache behind a nat'd f/w router attached to a
> > > dsl modem that
> > > > > dhcp's an ip from a pppoe connection.
> > > > >
> > > > > When the IP address changes, Apache must be restarted. At the
> > > moment I'm
> > > > > cron'ing a restart - but that's a kludge.
> > > > >
> > > > > Anybody have a similar setup with a better solution to keep
> > > Apache going?
> > > >
> > > > What does this have to do with cygwin?
> > >
> > > agreed. This is a more generic problem on how to bind to interfaces
> > > that do change it's IP nature.
> > >
> > > Stipe
> >
> > Right, sorry ... I was a little vague on where I was going with
> > this. Let me
> > try again.
> >
> > Well, the way I see it based on what I I've read elsewhere, one solution
> > would be to have CYGwin detect that the WAN IP has changed. I'm
> > not sure if
> > that's possible or not. I use DynDNS.org to get a dynamic DNS, if that
> > helps. I suppose I could write a little program, but I hate to
> > re-invent the
> > wheel. So far, it seems not to be an Apache configuration issue, but I'm
> > still looking into that too.
> >
> >
> > Thanks,
> >
> >
> > Bill
> >
> > Bill
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
> >
> >
> > --
> > 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/
> >


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



FW: PostgreSQL, Apache and PHP

2002-11-14 Thread Andreas
Forwarded to the list...

-Ursprüngliche Nachricht-
Von: Stephen Parker [mailto:sparker@;micemovers.com]
Gesendet: Donnerstag, 14. November 2002 08:17
An: [EMAIL PROTECTED]
Betreff: PostgreSQL, Apache and PHP


Hi Andreas,

I found your name on the PostgreSQL.org site in reference to a request for
help with configuring PHP, Apache and PostgreSQL. I'm doing this (as a
newbie), and I've successfully installed Cygwin, Apache, and PHP (I've
tested them), but when I try to use phpPgAdmin, it gives me the error:

You do not have postgresql support built into your PHP Web Server.
phpPgAdmin requires postgresql support to function properly!
Please check the PHP documentation for corrective action.

It seems that PHP/Apache cannot talk to my PostgreSQL database system.  Can
you help?

Steve


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: PostgreSQL, Apache and PHP

2002-11-14 Thread Andreas
Hi Steve,

before you are able to use php scripts which connect to a pgsql DB (of
course phpPgAdmin will do so) it is necessary to configure this module with
the appropriate flag (--with-pgsql) plus recompilation.

Indeed I struggled around with this topic a while ago. Unfortunately I run
in to many problems with config and compiling php under cygwin. I was never
able to get a running libphp4.dll with pgsql support. I gave up for lack of
time :( But I'm still interested in this issue. If it will work if someone
provides us with this dll then I would be very happy!!! ...or of course a
How-To that gives more details than the php-4.2.0-1.README to come up with
the running php module.

Please, let me know if the method described in
/usr/doc/Cygwin/php-4.2.0-1.README works for you!

Andreas

Steve, please CC to the list in order to reach the cygwin community...

> -Ursprüngliche Nachricht-
> Von: Stephen Parker [mailto:sparker@;micemovers.com]
> Gesendet: Donnerstag, 14. November 2002 08:17
> An: [EMAIL PROTECTED]
> Betreff: PostgreSQL, Apache and PHP
>
>
> Hi Andreas,
>
> I found your name on the PostgreSQL.org site in reference to a request for
help with configuring PHP, Apache and PostgreSQL. I'm doing this (as a
newbie), and I've successfully > installed Cygwin, Apache, and PHP (I've
tested them), but when I try to use phpPgAdmin, it > gives me the error:
>
> You do not have postgresql support built into your PHP Web Server.
> phpPgAdmin requires postgresql support to function properly!
> Please check the PHP documentation for corrective action.
>
> It seems that PHP/Apache cannot talk to my PostgreSQL database system.
Can you help?
>
> Steve


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




AW: download and installation

2002-11-27 Thread Andreas
Hello ie,

> Good Signors,
>
> I understand I need Cygwin to run PostgreSQL on Windows 2000.  Alas, the
> PostgreSQL website doesn't say how much of Cygwin is needed.  To play it
> safe I assume all of Cygwin.

For install instructions see the following thread:
http://sources.redhat.com/ml/cygwin/2002-11/msg00901.html

> Your website warns Cygwin is huge as heck, which precludes me from
> downloading to my machine over my slow line.  It seems to me
> setup.exe wants
> to do both the downloading and installing.

Yes, you can use setup.exe to download packages and install them from the
directory.

Good luck,
Andreas

> Question:
> Can I download Cygwin to one machine and install it on another machine ?
>
> Thank you.
>
> Cheers
> --
> ie



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




chroot-bug?

2004-03-25 Thread Andreas
Hallo!
I'm using CYGWIN_NT-5.1 (cygcheck.out attached)
*I installed Cygwin in a Subdir /cygdrive/d/temp/Cyg/, because here we 
don't have permissions for /. So I want to chroot to that 
installation-directory, for getting the programs working properly.
chroot $InstallROOT $InstallROOT/usr/bin/bash
-->> "chroot: cannot chdir to root directory: No such file or directory"
At home I did the same, ADDITIONALLY having /usr/bin/bash, but I get the 
same errors.
chroot $InstallROOT; doesn't work  # InstallROOT=/cygdrive/d/Temp/Cyg
Also cd /; chroot .# doesn't work
chroot /;# works, but worthless

* mount works, whereas I can't alter anything (umount, mounting others 
doens't work)
   -->> umount: /cygdrive/H: Permission denied
mkdir X; mount /dev/hda1 X   -->> mount: X: Invalid argument
   which devices are to be used? (As /dev/null nothing exists, but works)

* Why doesn't work #!bash ? On other systems it's enough to let it find 
by the $PATH.
Extension .bat is executed by cmd.exe, if no extension, I would like to 
be able to leave the #!command out!

I don't get any reply to my adress subscribing the mailing-list cygwin,
so please also answer via EMAIL TO  k009aaka+AT+unet.univie.ac.at  

 thanks, Andrew!



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Mar 25 18:49:31 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   d:\temp\Cyg\usr\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\TNG\TNGSD\BIN
.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `d:\temp\Cyg\home'
PWD = `/cygdrive/d/temp/X'
USER = `a9126482'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS3537Mb  77% CP CS UN PA FC SYSTEM
d:  hd  NTFS 370Mb  35% CP CS UN PA FC TEMP
e:  fd   N/AN/A
h:  net NTFS 390Mb  90% CP CSPA
q:  hd   N/AN/A
r:  cd   N/AN/A


Not Found: awk
Found: d:\temp\Cyg\usr\bin\bash.exe
Found: d:\temp\Cyg\usr\bin\cat.exe
Found: d:\temp\Cyg\usr\bin\cp.exe
Not Found: cpp (good!)
Found: d:\temp\Cyg\usr\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: d:\temp\Cyg\usr\bin\grep.exe
Not Found: ld
Found: d:\temp\Cyg\usr\bin\ls.exe
Not Found: make
Found: d:\temp\Cyg\usr\bin\mv.exe
Found: d:\temp\Cyg\usr\bin\rm.exe
Not Found: sed
Found: d:\temp\Cyg\usr\bin\sh.exe
Found: d:\temp\Cyg\usr\bin\tar.exe

   61k 2004/03/08 d:\temp\Cyg\usr\bin\cygbz2-1.dll
7k 2004/03/08 d:\temp\Cyg\usr\bin\cygcrypt-0.dll
  841k 2004/03/17 d:\temp\Cyg\usr\bin\cygcrypto-0.9.7.dll
   48k 2004/03/08 d:\temp\Cyg\usr\bin\cygform7.dll
  958k 2004/03/08 d:\temp\Cyg\usr\bin\cygiconv-2.dll
   22k 2004/03/08 d:\temp\Cyg\usr\bin\cygintl-1.dll
   37k 2004/03/08 d:\temp\Cyg\usr\bin\cygintl-2.dll
   29k 2004/03/08 d:\temp\Cyg\usr\bin\cygmenu7.dll
  224k 2004/03/08 d:\temp\Cyg\usr\bin\cygncurses7.dll
   19k 2004/03/08 d:\temp\Cyg\usr\bin\cygpanel7.dll
   62k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcre-0.dll
   63k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcre.dll
9k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcreposix-0.dll
   61k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcreposix.dll
 1049k 2003/11/07 d:\temp\Cyg\usr\bin\cygperl5_8_2.dll
   22k 2002/06/09 d:\temp\Cyg\usr\bin\cygpopt-0.dll
  171k 2004/03/17 d:\temp\Cyg\usr\bin\cygssl-0.9.7.dll
 1083k 2004/03/08 d:\temp\Cyg\usr\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.7
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 109
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Fri Jan 30 19:32:04 EST 2004
CVS tag: cr-0x9e
Shared id: cygwin1S3


Cygwin Package Information
No setup information found
Use -h to see help about each section

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

chown, #!command in scripts, auto-execute (.bat), etc

2004-04-07 Thread Andreas
Larry Hall wrote:

At 12:51 PM 3/25/2004, you wrote:
 

Hallo!
I'm using CYGWIN_NT-5.1 (cygcheck.out attached)
*I installed Cygwin in a Subdir /cygdrive/d/temp/Cyg/, because here we don't have permissions for /. So I want to chroot to that installation-directory, for getting the programs working properly.
chroot $InstallROOT $InstallROOT/usr/bin/bash
-->> "chroot: cannot chdir to root directory: No such file or directory"
At home I did the same, ADDITIONALLY having /usr/bin/bash, but I get the same errors.
   

This makes perfect sense to me, given your cygcheck output.  I'll give you
a hint as to why this makes sense to me.  What is "$InstallROOT" set to?
 

Hallo!
Content of $InstallROOT is in the comment (see lines below!), but that 
seems to be unimportant,
perhaps the following lines are more important than cygout.txt?! ;-)
I unpacked all to a directory (Temp), where we have write-permissions.
So "my (imaginary) Root" is that directory, and I want to chroot to that 
directory, which doesn't work. (chroot instead of mounting /)
Is mount D:/Temp /Xyz   the same as  mount /cygwin/d /Xyz ?
Why is /cygwin not named /mnt? - Why is it not possible to mount other 
things into /cygwin?
Or is /cygwin the (source-) "device" ?

chroot $InstallROOT; doesn't work  # InstallROOT=/cygdrive/d/Temp/Cyg
Also cd /; chroot .# doesn't work
chroot /;# works, but worthless
* mount works, whereas I can't alter anything (umount, mounting others doens't work)
 -->> umount: /cygdrive/H: Permission denied
mkdir X; mount /dev/hda1 X   -->> mount: X: Invalid argument
 which devices are to be used? (As /dev/null nothing exists, but works)
   

I think you don't understand what mount does in Cygwin.  Read 'man mount'
and .
 

I read it, but it doesnt work as expected:
mkdir $HOME/L; mount -u D:/ $HOME/L
-->mount: /cygdrive/d/temp/Cyg/home//L: Invalid argument
* Why doesn't work #!bash ? On other systems it's enough to let it find by the $PATH.
   

And what's in your path?  Would you be able to find bash in it's installed
location using only your currently defined path as a guide?
$InstallROOT/usr/bin is in my PATH. Typing bash (or any other command) 
(in the Home-dir) works!
The problem is that under cygwin the path is not searched for any 
#!Commands (try out yourself!)


Extension .bat is executed by command.com, if no extension, I would like to be able to leave the #!command out!

Sorry, I'm not sure what you're driving at with this statement, unless it
was just meant to clarify that you cannot run 'bash' without specifying
the full path to it.
 

I'm speaking about the extension. Is it possible to execute any script 
(without known extension) using bash.exe,
WITHOUT having to write #!bash.exe in the first line?! (Because 
otherwise it is executed by command.com)
What does mount -x/-X/-E do in detail? (any files being interpreted as 
binary, regardless their permissions?)
-o Option (-o managed) doesn't work?

  thanks, Andrew  Please also send your reply by Email to 
k009aaka+AT+unet.univie.ac.at



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


AW: PHP Apache module with PostgreSQL support

2002-09-17 Thread Andreas

> > Step [5] breaks with:
> > ...
> > checking for PostgreSQL support... yes
> > configure: error: Cannot find libpq.so. Please specify correct
> PostgreSQL installation path
>
> My WAG (without checking the source) is that you will need to patch
> configure.in to deal with the Cygwin platform.

Thank you!
I applied a patch with step [2]:
  patch -p0 < php-X-Y/CYGWIN-PATCHES/php-4.2.0-1.patch  [2]

Is this something different? (I did the similar with pgsql before I
installed pgsql from source.)
The output of the above line is:
...
patching file 'php-4.2.0-1/ext/pgsql/config.m4
...

libpq.so is mentioned in the config.m4.

Could you explain what should be patched in the configure.in script, please?

Andreas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




AW: PHP Apache module with PostgreSQL support

2002-09-17 Thread Andreas

> > > > Step [5] breaks with:
> > > > ...
> > > > checking for PostgreSQL support... yes
> > > > configure: error: Cannot find libpq.so. Please specify correct
> > > PostgreSQL installation path
> > >
> > > My WAG (without checking the source) is that you will need to patch
> > > configure.in to deal with the Cygwin platform.
> >
> > Thank you!
>
> You are welcome, but I only stated the obvious above.
>
> > Is this something different? (I did the similar with pgsql before I
> > installed pgsql from source.) The output of the above line is:
> > ...
> > patching file 'php-4.2.0-1/ext/pgsql/config.m4
> > ...
> >
> > libpq.so is mentioned in the config.m4.
> >
> > Could you explain what should be patched in the configure.in script,
> > please?
>
> Then you may need to patch config.m4 instead (again, I have not checked
> the source).  The bottom line is that under Cygwin the check for the
> existence of the pq library must look for either libpq.a (i.e., import
> library) or pq.dll (i.e., shared library).  Choose the one that
> minimizes the patch.

Thanks a lot Jason! That's it!
I thought the applied patch will modify the configure script to make it
cygwin compatible...

In case that someone is interested in how to deal with this:
  apply the patch:
patch -p0 < php-X-Y/CYGWIN-PATCHES/php-4.2.0-1.patch[2]
  search for libpq.so in the configure script and simply rename it to
libpq.a.

The php-4.2.0-1.patch contains lines that check for libpq.a but they have no
effect on the configure script.

The next hurdle is the mkdll.sh command. I don't know how to add the
dependent pq.dll (/usr/bin) to the following command:
  ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
-L ../../../.libs -lphp4 \
/usr/bin/cyghttpd.dll       [8]

It doesn't work that way:
  ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
-L ../../../.libs -lphp4 \
/usr/bin/cyghttpd.dll /usr/bin/pq.dll   [8]

Any suggestions?

Andreas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: PHP Apache module with PostgreSQL support

2002-09-18 Thread Andreas

> > It doesn't work that way:
> >   ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
> > -L ../../../.libs -lphp4 \
> > /usr/bin/cyghttpd.dll /usr/bin/pq.dll   [8]
> ^^^
>
> One should *not* link against DLLs directly -- one should link against
> the corresponding import libraries instead.  Use "-lpq" instead of
> "/usr/bin/pq.dll" above.  BTW, the "/usr/bin/cyghttpd.dll" is suspect
> too.

I read this in (/usr/doc/Cygwin/)php-4.2.0-1.README:
  ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
-L ../../../.libs -lphp4 \
[addional -lfoobar ld flags] \
/usr/bin/cyghttpd.dll

I tried:
  ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
-L ../../../.libs -lphp4 -lpq \
/usr/bin/cyghttpd.dll

output:
gcc -shared -o
cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh
ole-archive libsapi.al -Wl,--no-whole-archive -L ../../../.libs -lphp4 -lpq
/usr/bin/cyghttpd.dll
Creating library file: libsapi.dll.a
../../../.libs/libphp4.a(crypt.lo): In function 'zif_crypt':
/usr/src/php-4.2.0-1/ext/standard/crypt.c:161: undefined reference to
'crypt'
../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
/usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
'_imp__php_XML_ExpatVersion'
...
...
...
collect2: ld returned 1 exit status

How can I perform that step?

Andreas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




AW: PHP Apache module with PostgreSQL support

2002-09-18 Thread Andreas

> > I read this in (/usr/doc/Cygwin/)php-4.2.0-1.README:
> >   ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
> > -L ../../../.libs -lphp4 \
> > [addional -lfoobar ld flags] \
> 
>
> The above seems important.
>
> > /usr/bin/cyghttpd.dll
> >
> > I tried:
> >   ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
> > -L ../../../.libs -lphp4 -lpq \
> > /usr/bin/cyghttpd.dll
> >
> > output:
> > gcc -shared -o
> > cygsapi.dll -Wl,--out-implib=libsapi.dll.a
> -Wl,--export-all-symbols -Wl,--wh
> > ole-archive libsapi.al -Wl,--no-whole-archive -L ../../../.libs
> -lphp4 -lpq
> > /usr/bin/cyghttpd.dll
> > Creating library file: libsapi.dll.a
> > ../../../.libs/libphp4.a(crypt.lo): In function 'zif_crypt':
> > /usr/src/php-4.2.0-1/ext/standard/crypt.c:161: undefined reference to
> > 'crypt'
>
> The above implies that you need -lcrypt.
>
> > ../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
> > /usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
> > '_imp__php_XML_ExpatVersion'
> > ...
>
> The above implies that you need more -l options.

Thanks!
I did:
  ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \
-L ../../../.libs -lphp4 -lpq -lcrypt \
/usr/bin/cyghttpd.dll

The error about crypt doesn't appear any more just lines complaining
undefined references to the xml extension.

output:
gcc -shared -o
cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh
ole-archive libsapi.al -Wl,--no-whole-archive -L
../../../.libs -lphp4 -lpq -lcrypt /usr/bin/cyghttpd.dll
Creating library file: libsapi.dll.a
../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
/usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
'_imp__php_XML_ExpatVersion'
../../../.libs/libphp4.a(xml.lo): In function 'xml_parser_dtor':
/usr/src/php-4.2.0-1/ext/xml/xml.c:300: undefined reference to
'_imp__php_XML_ParserFree'...
../../../.libs/libphp4.a(xml.lo): In function 'zif_xml_parser_create':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1042: undefined reference to
'_imp__php_XML_ParserCreate'
...
../../../.libs/libphp4.a(xml.lo): In function
'zif_xml_get_current_byte_index':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1464: undefined reference to
'_imp__php_XML_GetCurrentByteIndex'
collect2: ld returned 1 exit status

It won't work with the flag -lxml. What flag should I specify instead?

Andreas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: PHP Apache module with PostgreSQL support

2002-09-19 Thread Andreas

> > The error about crypt doesn't appear any more just lines complaining
> > undefined references to the xml extension.
> > ...
> > It won't work with the flag -lxml. What flag should I specify instead?
>
> I don't actually know -- I'm not into PHP -- but on a guess you might try
> installing "expat" from the Libs section and using -lexpat.  That's the
> "standard" XML library, AFAIK.

It doesn't work. The same output occurs like without the -lexpat flag.

The expat package (1.95.4-1) was installed with Cygwin's setup.exe. There's
no libexpat.dll (but a (/usr/bin/)cygexpat-0.dll)...

Does it require to rerun configure (with the provided --with-expat-dir
option)?

...
configure:73895: checking whether to enable XML support
configure:73934: result: yes
configure:73944: checking external libexpat install dir
configure:73984: result: no
configure:74689: checking for XMLRPC-EPI support
configure:74729: result: no
configure:74739: checking libexpat dir for XMLRPC-EPI
configure:74779: result: no
configure:77862: checking whether to enable xslt support
configure:77901: result: no
configure:77911: checking for XSLT Sablotron backend
configure:77951: result: no
configure:77961: checking libexpat dir for Sablotron XSL support
configure:78001: result: no
...

Output with configure option --with-expat-dir:
...
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.

Should I do this by using setup.exe or...
Following files are available:
/lib/libexpat.a
/lib/libexpat.dll.a
/lib/libexpat.la
/usr/include/expat.h
/usr/bin/cygexpat-0.dll
/bin/xmlwf.exe

Regards,
Andreas



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




expat installation problem

2002-09-22 Thread Andreas

Hello,

I encountered problems concerning the installation of expat (1.95.4-1).
After
$ tar xjvf expat-1.95.4-1-src.tar.bz2
$ ./expat-1.95.4-1.sh all

the script breaks with:
...
+ reconf-cygwin.sh
reconf-cygwin.sh: not found
+ STATUS=127
+ exit 127

But reconf-cygwin.sh is in the expat-1.95.4/ dir.
Is there a way to complete the installation of the package properly?

Regards,
Andreas


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




php compilation error = expat problem?

2002-09-23 Thread Andreas

> > I encountered problems concerning the installation of expat (1.95.4-1).
> > After
> > $ tar xjvf expat-1.95.4-1-src.tar.bz2
> > $ ./expat-1.95.4-1.sh all
>
> > the script breaks with:
> > ...
> > + reconf-cygwin.sh
> > reconf-cygwin.sh: not found
> > + STATUS=127
> > + exit 127
>
> > But reconf-cygwin.sh is in the expat-1.95.4/ dir.
> > Is there a way to complete the installation of the package properly?
>
> 1. Install the binary package.
> 2. It is a bug in the script. Fix:
>Add . to your path or change reconf-cygwin.sh to ./reconf-cygwin.sh
>in the script (expat-1.95.4-1.sh).

Thanks! It works now (if it's right when expat-1.95.4-1.sh ends with: exit
0).

Could somebody please explain the occurence of the error when compiling php
(even with reinstalled expat package)(used command:
./configure --with-apxs --without-mysql --with-pgsql --with-expat-dir):
...
configure:73895: checking whether to enable XML support
configure:73934: result: yes
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.

Does the following problem correlate with a missing package and/or configure
option of php (if yes, which one)? Could it be a problem with expat?
gcc -shared -o
cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh
ole-archive libsapi.al -Wl,--no-whole-archive -L
../../../.libs -lphp4 -lpq -lcrypt /usr/bin/cyghttpd.dll
Creating library file: libsapi.dll.a
../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
/usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
'_imp__php_XML_ExpatVersion'
../../../.libs/libphp4.a(xml.lo): In function 'xml_parser_dtor':
/usr/src/php-4.2.0-1/ext/xml/xml.c:300: undefined reference to
'_imp__php_XML_ParserFree'...
../../../.libs/libphp4.a(xml.lo): In function 'zif_xml_parser_create':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1042: undefined reference to
'_imp__php_XML_ParserCreate'
...
../../../.libs/libphp4.a(xml.lo): In function
'zif_xml_get_current_byte_index':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1464: undefined reference to
'_imp__php_XML_GetCurrentByteIndex'
collect2: ld returned 1 exit status



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




stty-bug? / Question

2004-11-12 Thread Andreas
Hallo!
1) Sometimes Ctrl-C doesn't work (perhaps binary output destroys the 
terminal?)
resetting this with stty -a intr ctrl-C doesn't work, whereas other keys 
work!
- Is it possible to use the Break-Key (Ctrl-Pause)?

stty -a:
speed 115200 baud; rows 30; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = @; eol2 = 
;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon 
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 
vt0 ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh tostop -echoctl 
-echoke

2)  Standardly the drives are mounted in textmode.
 How is it possible to use them binary, without modifying something (mount)
 What are the paths converted to?
  /cygdrive/C   # nl-cr will be translated as mounted (bin or textmode)
  C:/
  C:\\
- Please reply by email, because I#m not in the mailing-list!
 thanks, Andrew

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


BUG report: destructor exception vector; DLL 1.5.18

2005-09-01 Thread Andreas
Hello,

I found a bug in the Cygwin environment that blocks me. I condensed the
problem into one C++ file: all.cc
I compiles OK, but crashes, when executed.

I compiled the same file on a LINUX system, it runs there without a problem.

To me it seems that the deallocation in the destructor fails, when the
object has a vector element.

Please do:
 g++ -Wall -g -o all.exe all.cc
 all.exe

and see if you can reproduce.

My output is:

  3 [main] all 2144 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
   1559 [main] all 2144 open_stackdumpfile: Dumping stack trace to
all.exe.stackdump

You find output of cygcheck and the all.cc below.

thanks,
 Andreas


here is cygcheck -s -v -r > cygcheck.out


Cygwin Configuration Diagnostics
Current System Time: Thu Sep 01 15:23:58 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Perl\bin\
c:\programme\ruby\bin
C:\texmf\miktex\bin
c:\programme\imagemagick-6.2.3-q16
c:\bin
c:\cygwin\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Programme\Gemeinsame Dateien\GTK\2.0\bin
C:\Programme\emacs\emacs-21.3\bin
C:\Programme\emacs\site\gnuserv
C:\Programme\gs\gsview
c:\programme\j2sdk1.4.2_08\bin
C:\Programme\Perforce
C:\Programme\cvsnt
C:\Programme\Subversion\bin
C:\PROGRA~1\ATT\Graphviz\bin
C:\PROGRA~1\ATT\Graphviz\bin\tools
c:\cygwin\usr\X11R6\bin
.

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(Kein)
0(root) 513(Kein)   544(Administratoren)
545(Benutzer)   1005(Debugger Users)1006(Debuggerbenutzer)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(Kein)
0(root) 513(Kein)   544(Administratoren)
545(Benutzer)   1005(Debugger Users)1006(Debuggerbenutzer)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `c:\'
Path =
`C:\Perl\bin\;c:\programme\ruby\bin;C:\texmf\miktex\bin;c:\programme\imagemagick-6.2.3-q16;c:\bin;c:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Gemeinsame
Dateien\GTK\2.0\bin;C:\Programme\emacs\emacs-21.3\bin;C:\Programme\emacs\site\gnuserv;C:\Programme\gs\gsview;c:\programme\j2sdk1.4.2_08\bin;C:\Programme\Perforce;C:\Programme\cvsnt;C:\Programme\Subversion\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;c:\cygwin\usr\X11R6\bin;'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten'
APR_ICONV_PATH = `C:\Programme\Subversion\iconv'
CLIENTNAME = `Console'
CommonProgramFiles = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `LAB061AB'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Dokumente und Einstellungen\Administrator'
JAVA_HOME = `c:\programme\j2sdk1.4.2_08'
LOGONSERVER = `\\LAB061AB'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
ProgramFiles = `C:\Programme'
PROMPT = `$S$D $T $_ $P $_ $G'
RUBYOPT = `rubygems '
SESSIONNAME = `Console'
SVN_SSH = `c:/bin/plink.exe'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp'
TMP = `C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp'
UNISON = `c:\.unison'
USERDOMAIN = `LAB061AB'
USERNAME = `Administrator'
USERPROFILE = `C:\Dokumente und Einstellungen\Administrator'
windir = `C:\WINDOWS'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  FAT3224995Mb  66% CPUN
d:  hd  FAT3213126Mb  43% CPUN   Backup
e:  cd N/A

Re: open() FIFO not blocking

2008-03-08 Thread Andreas
I'm already into the second day researching this simple issue, 
all sources state that blocking is the normal behavior, no work 
mates can help, but: It runs as expected on our server!

So, is this a cygwin issue? Here's some version information. Please 
give me a hint anyone, it's really annoying being stuck with something 
as simple as this.

Best regards,
Andreas.


On my WinXP/cygwin machine:
===
$ cat /proc/version
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2007-12-14 19:21

$ g++ -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: 
/usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose
--prefix=/usr
--exec-prefix=/usr
--sysconfdir=/etc
--libdir=/usr/lib
--libexecdir=/usr/lib
--mandir=/usr/share/man
--infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc
--enable-nls
--without-included-gettext
--enable-version-specific-runtime-libs
--without-x
--enable-libgcj
--disable-java-awt
--with-system-zlib
--enable-interpreter
--disable-libgcj-debug
--enable-threads=posix
--enable-java-gc=boehm
--disable-win32-registry
--enable-sjlj-exceptions
--enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

On our server:
==
-bash-3.1$ cat /proc/version
Linux version 2.6.17-1.2187_FC5smp
([EMAIL PROTECTED])
(gcc version 4.1.1 20060525 (Red Hat 4.1.1-1))
#1 SMP Mon Sep 11 01:32:34 EDT 2006

-bash-3.1$ g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure 
--prefix=/usr 
--mandir=/usr/share/man
--infodir=/usr/share/info 
--enable-shared 
--enable-threads=posix
--enable-checking=release 
--with-system-zlib 
--enable-__cxa_atexit
--disable-libunwind-exceptions 
--enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk
--disable-dssi 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic 
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)



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



Re: Perl script vs. "Program Files"

2008-04-11 Thread Andreas
  infineon.com> writes:

> The script is wrong. Edit the file and put quotes around the $0
> on the "exec perl" line.

Thanks a lot Gerald, works fine!




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



sh crashes when executing msgfmt

2003-02-25 Thread Andreas Madritsch
Hello

I have a configure script which uses sh.exe to execute msgfmt.exe. Every time msgfmt.exe is executed 
from sh.exe, sh.exe crashes and the configure script aborts. Could anybody help me please. Please 
let me know, if you use some more informations.

Thanks in advance

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: sh crashes when executing msgfmt

2003-02-26 Thread Andreas Madritsch
Corinna Vinschen wrote:
On Thu, Feb 27, 2003 at 12:03:59AM +0100, Andreas Madritsch wrote:

Hello

I have a configure script which uses sh.exe to execute msgfmt.exe. Every 
time msgfmt.exe is executed from sh.exe, sh.exe crashes and the configure 
script aborts. Could anybody help me please. Please let me know, if you use 
some more informations.


*hissing* impple test caseh

Corinna

The following script crashes, when executed from the cygwin bash shell:

**
#! /bin/sh
msgfmt
**
Is it that, what you mean by simpple test case?

Andreas

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: sh crashes when executing msgfmt

2003-02-26 Thread Andreas Madritsch
Christopher Faylor wrote:
> On Wed, Feb 26, 2003 at 09:21:15PM -, Max Bowsher wrote:
>
>>Andreas Madritsch wrote:
>>
>>>Corinna Vinschen wrote:
>>>
>>>>On Thu, Feb 27, 2003 at 12:03:59AM +0100, Andreas Madritsch wrote:
>>>>
>>>>>I have a configure script which uses sh.exe to execute msgfmt.exe.
>>>>>Every time msgfmt.exe is executed from sh.exe, sh.exe crashes and
>>>>>the configure script aborts. Could anybody help me please. Please
>>>>>let me know, if you use some more informations.
>>>>
>>>>
>>>>*hissing* impple test caseh
>>>>
>>>>Corinna
>>>>
>>>
>>>The following script crashes, when executed from the cygwin bash
>>>shell:
>>>
>>>**
>>>#! /bin/sh
>>>
>>>msgfmt
>>>**
>>>
>>>Is it that, what you mean by simpple test case?
>>
>>Works for me. This looks like one of those strange problems that only 
appear
>>on one machine.
>
>
> Either that or it is one of those strange problems where people differ on
> the meaning of a word.  For instance, I suspect that the above may be
> "crashing" with an error like:
>
> msgfmt: not found

No, but msgfmt.exe of my djgpp installation has been taken, because 
msgfmt.exe of cygwin has not been found. I made sure, that msgfmt.exe
is located in c:/cygwin/usr/bin and that /usr/bin is in the path 
variable. An ls from the bash shell in /usr/bin results in a different 
files than I see from Windows Explorer.

Andreas

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: cygwin and subversion

2004-02-20 Thread Andreas Seidl
Russell Hind wrote:
I have seen this message on the applications group and wondered if there 
are any cygwin binaries for subversion around?

http://www.cygwin.com/ml/cygwin-apps/2003-10/msg00066.html
From Pending Packages List, 2004-02-13
http://sources.redhat.com/ml/cygwin-apps/2004-02/msg00110.html
 ITP: subversion 0.30-1  [2003-10-03]
 Description: Client for Subversion revision control system
HOLD-UPS: No package, nothing to review!
Andreas.

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


[ANNOUNCEMENT] New package: TeXmacs-1.0.3.3-1: A scientific wysiwyg Editor and Interface for Computer Algebra Systems

2004-03-09 Thread Andreas Seidl

The package "TeXmacs" is now available with the Cygwin distribution.

Canonical homepage:
   http://texmacs.org

Canonical download:
   ftp://ftp.texmacs.org/pub/TeXmacs/targz/


DESCRIPTION:

GNU TeXmacs is a free scientific text editor, which was both
inspired by TeX and GNU Emacs. The editor allows you to write
structured documents via a wysiwyg (what-you-see-is-what-you-get) and
user friendly interface. New styles may be created by the user. The
program implements high-quality typesetting algorithms and TeX fonts,
which help you to produce professionally looking documents.

The high typesetting quality still goes through for automatically
generated formulas, which makes TeXmacs suitable as an interface for
computer algebra systems. TeXmacs also supports the Guile/Scheme
extension language, so that you may customize the interface and write
your own extensions to the editor.

Converters exist for TeX/LaTeX and Html/MathML/Xml. In the future,
TeXmacs is planned to evolve towards a complete scientific office
suite.


GETTING STARTED QUICKLY:


1. Install TeXmacs
--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
or "Math" and then click on the appropriate fields until the above
announced version number appears if it is not displayed already.

2. Start and test your X


Double click on the Cygwin icon on your Desktop, this brings up a black
Cygwin shell. Type:

   export DISPLAY=127.0.0.1:0.0
   XWin -multiwindow -clipboard &
   xterm &

In the tray in the lower right corner of your screen you will see a
black X and an additional (white) window should appear. In order not to
set the DISPLAY variable again and again, you should set it as a user's
variable; e.g. under Windows XP:
Start->Control_Panel->System->Advanced->Environment_variables

3. Start TeXmacs


... by typing

   texmacs &

into a Cygwin shell. Try a second time, if there is a problem.

4. Hands-on tutorial


I suggest to try Part 1-3 of the following hands-on tutorial:
http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#3


FURTHER INFORMATION:


If you have TeXmacs-related questions or comments, please send them to
the texmac-users mailing list, see:

   http://lists.texmacs.org/wws/info/texmacs-users

(subscription necessary). I would appreciate it if you would use this
mailing list rather than emailing me directly. Cygwin-related
questions and comments should be sent to the Cygwin mailing list at:
cygwin at cygwin dot com .

Before emailing these lists, make sure to

* read the FAQ at: http://www.texmacs.org/tmweb/help/faq.en.html

* look at the manual, which comes with TeXmacs and which can be browsed
at: http://www.texmacs.org/tmweb/manual/web-manual.en.html

* read about some Windows-related issues at
http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#issues

* search the mailing lists and Google


Have lots of fun with TeXmacs!

Andreas.
--
http://www.fmi.uni-passau.de/~seidl/




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



Re: Aspell - Ispell

2004-04-01 Thread Andreas Seidl
Gareth Pearce wrote:

It should be relatively easy to write a very simple script called ispell
which calls 'aspell -a $@'
I think that works at least... can't say I've tried it.
Such a script exists: /usr/share/aspell/ispell

An obvious way to make it available to programs would be:

  cd /usr/bin
  ln -s /usr/share/aspell/ispell ispell
Andreas.

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


Re: chown, #!command in scripts, auto-execute (.bat), etc

2004-04-16 Thread Andreas-None
Hallo!

I unpacked all to a directory (Temp), where we have write-permissions.
   

What do you mean "unpacked"?  Do you mean that you installed, using 
setup.exe, in your "Temp" directory or did you do something else?

With "unpacking" I mean copying the files, otherwise I'd have written 
installed. So the registry is not set.

So "my (imaginary) Root" is that directory, and I want to chroot to that directory, which doesn't work. -->(chroot instead of mounting /)

Why doesn't that work (assuming not to have anything mounted!!),
so / depends to which drive you cd. chroot D:/temp should be possible, 
but doesn't work.

Why is /cygwin not named /mnt? - Why is it not possible to mount other 
things into /cygwin?

Do you mean '/cygdrive'?  Name it whatever you like (see 'man mount').
'/cygdrive' is a virtual file system used to map DOS drives into the POSIX space.
I know.  But isn't it useful to name it /mnt, it maps the (target) 
mounts into that destination,
as usual for /mnt.

Or is /cygwin the (source-) "device" ?

As I understood C:/tmp is the same as /cygdrive/C/tmp. Or is there any 
difference, except
the handling of the file-permissions?

chroot $InstallROOT; doesn't work  # InstallROOT=/cygdrive/d/Temp/Cyg
Also cd /; chroot .# doesn't work
chroot /;# works, but worthless
* mount works, whereas I can't alter anything (umount, mounting others doens't work)
-->> umount: /cygdrive/H: Permission denied
mkdir X; mount /dev/hda1 X   -->> mount: X: Invalid argument
which devices are to be used? (As /dev/null nothing exists, but works)
 
   

I read it, but it doesnt work as expected:
mkdir $HOME/L; mount -u D:/ $HOME/L
-->mount: /cygdrive/d/temp/Cyg/home//L: Invalid argument
   

Afterwards it is shown in the mount-table, but the contents of the source-dir are not shown (meaning that it is not mounted.) - You'he tested that?


* Why doesn't work #!bash ? On other systems it's enough to let it find by the $PATH.
 
   

And what's in your path?  Would you be able to find bash in it's installed
location using only your currently defined path as a guide?
 

$InstallROOT/usr/bin is in my PATH. Typing bash (or any other command) (in the Home-dir) works!
The problem is that under cygwin the path is not searched for any #!Commands (try out yourself!)
   



I did.  Works fine.
 

assuming:
PATH=$PATH:/cygdrive/d/temp/bin2
cp /usr/bin/perl.exe /cygdrive/d/temp/bin2/perl2.exe
cd $HOME
contents of x:  #!perl2print "works\n"  #  means chr(10)
chmod u+x x
./x ## and that works for you??
Extension .bat is executed by command.com, if no extension, I would like to be able to leave the #!command out!
   

Sorry, I'm not sure what you're driving at with this statement, unless it
was just meant to clarify that you cannot run 'bash' without specifying
the full path to it.
Meaning: I want to leave out '#!bash', and that my scripts are 
interpreted by bash, not command.com (only .bat should be done with 
command.com)
Is that possible?

I'm speaking about the extension. Is it possible to execute any script (without known extension) using bash.exe,
___WITHOUT___ having to write #!bash.exe in the first line?! (Because otherwise it is executed by command.com)
   

Sure.
 

As I tested, scripts (e.g. x) can't be executed without the #!-line

What does mount -x/-X/-E do in detail? (any files being interpreted as binary, 
regardless their permissions?)
-o Option (-o managed) doesn't work?

Look at the Users Guide.

I ask you, because these details can't be found there!

   thanks, Andrew

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


Re: Suggestion for setup

2002-03-07 Thread Andreas Ames

Hi,

Christopher Faylor <[EMAIL PROTECTED]> writes:

> I guess the best solution is to present the user with several options
> 
> 1) Create /etc/passwd using local accounts?
> 
> 2) Create /etc/passwd using domain accounts?
> 
> 3) Create /etc/passwd using local and domain accounts?
> 
> 4) Don't create /etc/passwd

This approach would solve the problems with huge domains.  But here
with me there is another issue which would render a simple selection
based on say radio buttons (or so) rather useless.  This is because my
desktop machine belongs to another domain ('Computer domain' under
w2k) than my user account ('User domain').  'mkpasswd -d' uses the
computer domain by default (which is probably as sensible as using the
user domain by default under certain conditions; I don't know).  I
have to use 'mkpasswd -d USERDOMAIN -u SOMEUSERNAME' to make mkpasswd
do what I want.

Facing all the possible combinations of domains and non-domains I
would see three approaches:

1) Make the setup very complicated to allow users to specify all or
   many possible combinations (like one or more domain names and one
   or more usernames) to satisfy all or most users, but with
   non-trivial usage and non-trivial implementation.

2) Make a setup with medium comlexity (for example like Mr. Faylor
   suggests), which is not so hard to implement and use, but which may
   leave the user with a 'broken' /etc/passwd (or rather with a
   /etc/passwd which doesn't match the user's expectation when she
   selects to make setup query the domain)

3) Leave it as it is.  It seems to me that 'mkpasswd -l' is a minimal
   compromise.  It's easy to use, already implemented and if you want
   domain accounts in your cygwin setup, it is well documented how to
   achieve that.  If the user then runs 'mkpasswd -l -d >
   /etc/passwd', as I did yesterday, the user is likely to look at
   /etc/passwd afterwards to ensure that the setup is what she
   expected it to be.  If this is not the case (as with me) she will
   start to ask the mailing list or something and will get the needed
   answer in short time.

I would opt for alternative three, YMMV.

Besides I have a related question: My domain username is the same as
my local username, say 'userxyz'.  Now I have two entries in
/etc/passwd with username 'userxyz'.  I assume that always the first
(the domain account) is used regardless whether I logged into windoze
with my local or my domain account.  Is this assumption correct?  Is
it considered harmful to have two user accounts with the same name
within cygwin?

OTOH, if I understand the net-ug right,  in /etc/passwd I can just
change the name 'Administrator' to 'root' and whenever I log into
windoze as 'Administrator' I will be called 'root' within cygwin.  Is
that correct?  If so, can I just rename the second entry with
'userxyz' within /etc/passwd to something else and will then be called
this something else within cygwin when I log into windoze using my
local account?  Or what other approach would be advisable?


TIA,

andreas

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




SHELL variable not exported

2002-03-21 Thread Andreas Gerstlauer

I just upgraded (after using a rather old version) to the
latest Cygwin (1.3.10) and have a strange behavior:
it seems the SHELL environment variable doesn't get exported.

The way I realized that is that when I am starting an rxvt
out of the normal Cygwin shell (clicking on the icon), rxvt
will run /bin/sh instead of /bin/bash (the latter one being
in /etc/passwd). An "echo $SHELL" in the Cygwin shell gives
me the correct /bin/bash but the same thing in rxvt returns
nothing (not set - hence, rxvt falls back to /bin/sh).

Now, if I do "export SHELL" in the Cygwin shell and then
run rxvt everything's fine!

What's wrong? Did something change? Do I need to tweak
something? Or is this a bug? It used to work fine before...

For the record, I am running under both Win 98 and Win 2k.

Andreas

P.S.: Please reply by personal mail, I am not subscribed to
  the list.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: getting dos path from cygwin (programmatically)

2002-04-11 Thread Andreas Ames

Hi all,

Pavel Tsekov <[EMAIL PROTECTED]> writes:

> Yes! Use the cygpath.exe utility.

I've got a related question: Is there an easy to use interface (say in
cygwin1.dll) to convert paths between cywin and windows conventions
programmatically i.e. directly callable from C-code?  If so, which
header(s) do I need?


TIA

andreas

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




cvs/ssh and rsa based authentication

2001-12-05 Thread Andreas Schorr

Hi all,

I've seen that there were already several discussions about
cvs and ssh, but I have a so far undiscussed problem
- maybe someone can help me.

I already know how to use cvs in combination with ssh,
and it works fine. Whenever you send an cvs command,
then one of the available autentication methods for ssh
is invoked. One method is password authentication. This is
very annoying, if you use cvs with ssh, because you have
to type your ssh password each time you send a cvs
command.

So I tried to use the rsa based authentication method for
ssh. I generated a public/secret key pair (without a passphrase)
and put the public key into the ~/.ssh/autorized_keys file on
the cvs server. The RSAAutentication option in the sshd_config
file on the server is set to yes. Everything works fine if I try to
login from a linux client - the rsa authentication works, and I'm
not asked for a password.

Unfortunately the same thing doesn't work, if I login to the
same server from a Windows 2000 client using Cygwin.
Although I have created another public/secret key pair on
the Windows 2000 system and put the public key into the
~/.ssh/autorized_keys file on the cvs server, I'm still asked
for my ssh password, each time I send a cvs command or
each time I try to login to the server via ssh directly. This
happens even if I use the ssh option -i (with which you can
specify the path to your secret key directly).

The strangest thing is: I've downloaded another ssh client program
for Microsoft Windows (
http://www.tu-bs.de/rz/sysadmin/ssh/dos/ssh-1_2_14-win32bin.zip),
and if I use this ssh client in combination with WinCVS 1.2, then
it works - I'm not asked for a password.
Now it gets very confusing: If I use the same ssh client not in
combination with WinCVS, then I'm asked for the password again!

Has anybody any idea, how I can get rid of this password checking?

--
Andreas Schorr


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cvs/ssh and rsa based authentication

2001-12-05 Thread Andreas Schorr

Bjoern Kahl AG Resy schrieb:

> On Wed, 5 Dec 2001, Andreas Schorr wrote:
>
> > Unfortunately the same thing doesn't work, if I login to the
> > same server from a Windows 2000 client using Cygwin.
> > Although I have created another public/secret key pair on
> > the Windows 2000 system and put the public key into the
> > ~/.ssh/autorized_keys file on the cvs server, I'm still asked
> > for my ssh password, each time I send a cvs command or
> > each time I try to login to the server via ssh directly. This
> > happens even if I use the ssh option -i (with which you can
> > specify the path to your secret key directly).
>
>  Did you enable RSAAuthentication in your ssh *client* ?
>  IIRC cygwins ssh-client has RSAAuthentication disabled by
>  default (because you *need* a password for a full
>  user-context-switch).
>  Try adding "-o RSAAuthentication" to your ssh-client
>  commandline.
>

Thanks for your suggestion, but it still doesn't work

--
Andreas Schorr




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cvs/ssh and rsa based authentication

2001-12-05 Thread Andreas Schorr

Mark Himsley schrieb:

> This is my guess:
>
> Your Cygwin ssh client and the server you are connecting to have probably
> decided to use SSH2 protocol but you have not appended your
> ~/.ssh/id_dsa.pub to the servers ~/.ssh/authorized_keys2.
>
> Either stick to SSH1 by using the -1 option to the ssh client or transfer
> contents of ~/.ssh/id_dsa.pub to the servers  ~/.ssh/authorized_keys2.
>

Hello Mark,

Your guess was right. Thanks for your help!

--
Andreas Schorr



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




libgcc exception handling not thread safe

2002-02-08 Thread Andreas Damm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

libgcc.a in the gcc package does not seem to be thread safe with regards
to c++ exception handling. Doing a nm libgcc.a does not show any
dependencies on Windows synchronisation and thread functions (e.g.
InterlockedIncrement and TlsAlloc).

When compiling a c++ program with -mno-cygwin which runs multiple threads
it will eventually crash.

Should this be fixed?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQE8Y56h6JfsLTFvWG8RAncgAJwNKAJ7vt/YrWbsgQK0hWEManqRJACfam0K
gdn4+z2YYg3PmkF5++9l9YU=
=btR0
-END PGP SIGNATURE-



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: libgcc exception handling not thread safe

2002-02-08 Thread Andreas Damm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ok, putting libgcc.a from the Mingw distribution into /lib/mingw seems to
do the trick (another library to salvage from that distribution is
libstdc++.a which also goes into /lib/mingw).


On Fri, 8 Feb 2002, Robert Collins wrote:

> Date: Fri, 8 Feb 2002 20:49:31 +1100
> From: Robert Collins <[EMAIL PROTECTED]>
> To: Andreas Damm <[EMAIL PROTECTED]>,
>  "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: libgcc exception handling not thread safe
>
>
> ===
> - Original Message -
> From: "Andreas Damm" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 08, 2002 8:47 PM
> Subject: libgcc exception handling not thread safe
>
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > libgcc.a in the gcc package does not seem to be thread safe with
> regards
> > to c++ exception handling. Doing a nm libgcc.a does not show any
> > dependencies on Windows synchronisation and thread functions (e.g.
> > InterlockedIncrement and TlsAlloc).
> >
> > When compiling a c++ program with -mno-cygwin which runs multiple
> threads
> > it will eventually crash.
> >
> > Should this be fixed?
>
> No. Libgcc.a is a cygwin application, and is not meant to be linked in
> with -mno-cygwin compiles. A mingw libgcc.a is needed for that scenario.
>
> Rob
>
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQE8Y6Ip6JfsLTFvWG8RAhlMAJwMpBpNtf43Jk+lA4AP9Q65dsMd0wCfSuzI
GLN/rYjFKIeNjtpS9GAkAyE=
=uNek
-END PGP SIGNATURE-



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] Updated: TeXmacs-1.0.6-1: A free wysiwyw editing platform with special features for scientists

2005-12-22 Thread Andreas Seidl


TeXmacs has been updated to the new stable version 1.0.6.

Canonical homepage: http://texmacs.org

NEWS


See http://www.texmacs.org/tmweb/about/changes.en.html for a list of
changes.

DESCRIPTION
===

GNU TeXmacs is a free wysiwyw (what you see is what you want)
editing platform with special features for scientists. The software
aims to provide a unified and user friendly framework for editing
structured documents with different types of content (text, graphics,
mathematics, interactive content, etc.). The rendering engine uses
high-quality typesetting algorithms so as to produce professionally
looking documents, which can either be printed out or presented from a
laptop.

The software includes a text editor with support for mathematical
formulas, a small technical picture editor and a tool for making
presentations from a laptop. Moreover, TeXmacs can be used as an
interface for many external systems for computer algebra, numerical
analysis, statistics, etc. New presentation styles can be written by
the user and new features can be added to the editor using the Scheme
extension language. A native spreadsheet and tools for collaborative
authoring are planned for later.

FURTHER INFORMATION:


If you have TeXmacs-related questions or comments, please send them to
the texmacs-users mailing list, see:

http://lists.texmacs.org/wws/info/texmacs-users

(subscription necessary). Cygwin-related questions and comments should 
be sent to the Cygwin mailing list at: cygwin at cygwin dot com .


Before emailing these lists, make sure to

* read the FAQ at: http://www.texmacs.org/tmweb/help/faq.en.html (note
  the Cygwin-related section)

* look at the manual, which comes with TeXmacs and which can be browsed
  at: http://www.texmacs.org/tmweb/manual/web-manual.en.html

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:

[EMAIL PROTECTED]

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

Andreas Seidl
--
http://www.fmi.uni-passau.de/~seidl


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



Re: New platform independent problem

2006-01-20 Thread Andreas Schwab
Eric Blake <[EMAIL PROTECTED]> writes:

> What platforms use d_ino==0 to mean an empty entry, rather than an entry
> where st_ino must be checked?

This is traditional Unix behaviour.  The original dirent structure (which
was actually struct direct from ) directly matched the contents
of the directory file on disk, and an entry was deleted by setting d_ino
to zero.  Modern implementations of the dirent functions hide this detail
from the user and never return entries with d_ino == 0 any more.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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



ssh (protocol 2) crash on brand new T2600 dual core cpu (Dell Latitude D620)

2006-05-18 Thread Andreas Loebel

Hi all,

I observed a ssh (protocol 2) crash (using cvs, rsync, scp, unison, 
etc.) only on my brand new T2600 dual core cpu whenever the load on the 
ssh tunnel raises.


I have also noticed a thread about "scp timeout on dual-core processor", 
which sounds very similar, but provides no solution.


The only information I can provide is a ssh.exe.stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=00F449B9
eax=0015 ebx=002298AC ecx=2F54534E edx=00229778 esi=7C809BF5 
edi=2F54534E
ebp=00229674 esp=002287F8 program=C:\cygwin\bin\ssh.exe, pid 4888, 
thread main

cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
00229674  00F449B9  (, 00229668, 610FD4BC, 0022FBB8)
End of stack trace

However, using the insecure protocol 1 works. But this is only some 
workaround that I do not really want to use and that might not be 
available on many servers.


Any ideas?

Andreas

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



Re: Problems with ssh/scp/sftp on a dual core Dell Latitude D820

2006-06-02 Thread Andreas Loebel

Chris Richardson wrote:

Hello,

It turns out that the crash was happening in biolsp.dll.
This belongs to Wave System's Embassy Security Suite, which provides the tools
for managing the PCs Trusted Platform Module (TPM).

After uninstalling Embassy (only partially done since the uninstall hung)
scp/sftp started to work.

So much for using my newfangled fingerprint reader

Chris
  


www.wave.com provides a patch for the biolsp.dll that solves the problem.

Andreas


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



Re: ssh (protocol 2) crash on brand new T2600 dual core cpu (Dell Latitude D620)

2006-06-02 Thread Andreas Loebel

Hi,

The crash comes from the biolsp.dll provided by the TPM software from 
wave.com. A biolsp.dll fix provided by www.wave.com solves the problem.


Andreas



Andreas Loebel wrote:

Hi all,

I observed a ssh (protocol 2) crash (using cvs, rsync, scp, unison, 
etc.) only on my brand new T2600 dual core cpu whenever the load on 
the ssh tunnel raises.


I have also noticed a thread about "scp timeout on dual-core 
processor", which sounds very similar, but provides no solution.


The only information I can provide is a ssh.exe.stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=00F449B9
eax=0015 ebx=002298AC ecx=2F54534E edx=00229778 esi=7C809BF5 
edi=2F54534E
ebp=00229674 esp=002287F8 program=C:\cygwin\bin\ssh.exe, pid 4888, 
thread main

cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
00229674  00F449B9  (, 00229668, 610FD4BC, 0022FBB8)
End of stack trace

However, using the insecure protocol 1 works. But this is only some 
workaround that I do not really want to use and that might not be 
available on many servers.


Any ideas?

Andreas




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



Re: ssh with tunnel stacktrace on core duo

2006-06-09 Thread Andreas Loebel
Hi,

if you have installed Embassy security software from wave.com (which is
in particular preinstalled on new Dell Latitude D620 and D820,
respectively), check for an update for biolsp.dll from www.wave.com.

Andreas




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



cygheap base mismatch detected

2005-04-07 Thread Andreas Heckel
Hello all,
I know there were a lot of similar questions to this point in the past, but 
I didn't find a answer to my problem:

I get the error message:
---
v:\julian\TRAJ\Traj2.xi686 (2116): *** cygheap base mismatch detected - 
0x6180/0x7214.
This problem is probably due to using incompatible versions of the cygwin 
DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version 
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
---

The program Traj2.i686 is a FORTRAN prog I "ported" from a ALPHA machine 
where it is running perfectly. Compilation with g77 gave no problems.

I checked several times but there is really not more than ONE cygwin1.dll in 
the system.
I installed a fresh cygwin version right today, rebooted, the error remains.

Since I read that the error has something do with putting the cygwin1.dll in 
a certain memory space, I am wondering, if my prog is allocating too much 
memory (big arrays) or in "bad way".
I am not an expert in these questions and didn't write the prog myself, so I 
just speculating...

I attach the cygcheck output at the end,
I'd be happy if anyone has a clue.
Andreas
--- cygcheck ---
Cygwin Configuration Diagnostics
Current System Time: Thu Apr 07 11:41:20 2005
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
p:\exe
c:\Programme\texmf\miktex\bin
c:\programme\imagemagick-6.1.3-q16
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRA~1\ULTRAE~1
c:\Programme\ghostscript\gs8.14\bin
c:\PROGRA~1\Borland\Delphi5\Projects\Bpl
c:\PROGRA~1\Borland\Delphi5\Bin
c:\Programme\MATLAB701\bin\win32
c:\SFU\common\
c:\Programme\EnviView\
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11141(akheckel) GID: 10513(Domänen-Benutzer)
10513(Domänen-Benutzer)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11141(akheckel) GID: 10513(Domänen-Benutzer)
0(root)  10513(Domänen-Benutzer)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\akheckel'
LD_LIBRARY_PATH = `C:\cygwin\usr\lib:\usr\X11R6\lib'
MAKE_MODE = `unix'
PWD = `/cygdrive/v/julian/TRAJ'
USER = `akheckel'
Use `-r' to scan registry
a:  fd N/AN/A
c:  hd  NTFS 29996Mb  43% CP CS UN PA FC System
d:  hd  NTFS 46343Mb  71% CP CS UN PA FC MISC
e:  hd  NTFS194474Mb  91% CP CS UN PA FC BIG200_1
f:  hd  NTFS 58635Mb  59% CP CS UN PA FC
i:  net NTFS 57239Mb  93% CP CS UN PA FC SCIA_FITS
l:  cd N/AN/A
m:  cd N/AN/A
n:  cd N/AN/A
p:  hd  NTFS 29996Mb  43% CP CS UN PA FC System
r:  net NTFS   1980763Mb  85% CP CS UN PA FC SCIA_RAID
u:  net NTFS 10001Mb  84% CP CS UN PA FC Lokaler Datenträger
v:  hd  NTFS 46343Mb  71% CP CS UN PA FC MISC
w:  net NTFS 46618Mb  97% CP CS UN PA FC Main
x:  net NTFS 6Mb  98% CP CS UN PA FC GOME_FITS
y:  net NTFS117232Mb  84% CP CS UN PA FC
z:  net NTFS   1980763Mb  85% CP CS UN PA FC SCIA_RAID
C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\SFU\common\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: c:\SFU\common\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\SFU\common\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: c:\PROGRA~1\Borland\Delphi5\Bin\grep.exe
Found: c:\SFU\common\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: c:\SFU\common\ls.exe
Found: C:\cygwin\bin\make.exe
Found: c:\PROGRA~1\Borland\Delphi5\Bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: c:\SFU\common\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: c:\SFU\common\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: c:\SFU\common\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
 123k 2004/09/29 C:\cygwin\bin\cygatk-1.0-0.dll
  55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll
  18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll
   7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
 852k 2005/03/23 C:\cygwin\bin\cygcrypto-0.9.7.dll
 617k 2004/03/22 C:\cygwin\bin\cygcurl-2.dll
  22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll
 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll
1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll
 174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll
 129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll
  40k 2004/10/10 C:\cygwin\bin\cygform-8.dll
  45k 2001/04/25 C:\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\cygwin\bin\cygform6.dll
  48k 200

Re: cygheap base mismatch detected

2005-04-07 Thread Andreas Heckel
Hi,
- Original Message - 
From: "Mark Hadfield" <[EMAIL PROTECTED]>


The solutions:
  - Try the -mno-cygwin switch (thus creating a non-Cygwin executable).
Be aware that you may need to recompile any external libraries.
I tried this and it works for now, Thanx! :-) I should have come to this 
idea myself ;-)
For now I am happy that this works, since I have to hurry to produce some 
results with this prog.


  - Install g95 (http://www.g95.org/)
If the first does not work for you immediately, i suggest going straight 
to the second. G95 is pretty good these days and the Cygwin snapshot 
currently available for downloading has no major bugs, I believe.
This should also work straight forward but unfortunatly, there is a huge 
lack of knowledge regarding fortran on my side. But this goes off topic and 
maybe I should read a little about FORTRAN before using it... :-)

Thank you all,
Andreas
--
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/


permissions for chmod on network drives

2005-05-25 Thread Andreas Huster
Hi,

I know there has been some discussion on permissions (specifically on
chmod) and network drives, but I haven't been able to make sense of
it.  Something has changed recently for me and I can no longer execute
any chmod commands on my network drives.  This is particularly
troubling because cvs fails when it can't execute chmod, and my CVS
root is on my network drive.

My computer is on a domain over which I have no administrative
control.  I also really don't need any unix-like permissions to work. 
Is there an easy way to turn off this functionality.  I have tried
setting CYGWIN to both nontsec and nosmbntsec.  Although this changes
the way 'ls -l' generates its output, it hasn't made a difference on
how chmod works.

So, is there a simple way to open up my permissions so that chmod can
do all that attrib can do?  If setting CYGWIN to nontsec should do
that, what else can I check?  Also, with nosmbntsec set by default,
should I have this problem in the first place?

Thanks.

--Andreas

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



Re: permissions for chmod on network drives

2005-05-25 Thread Andreas Huster
--On May 25, 2005 9:32 PM +0200 Corinna Vinschen 
<[EMAIL PROTECTED]> wrote:



On May 25 10:40, Andreas Huster wrote:

Hi,

I know there has been some discussion on permissions (specifically on
chmod) and network drives, but I haven't been able to make sense of
it.



See the thread beginning at
http://cygwin.com/ml/cygwin/2005-04/msg01227.html and try the latest
snapshot from http://cygwin.com/snapshots/


I installed the latest snapshot and the problem was resolved.  Yeah!  I 
suspect I picked up the problem when I updated my cygwin distribution 
sometime last week.


Thanks.

--Andreas

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



Cygwin bail-out: cygexpat-0.dll not found

2005-06-15 Thread Andreas Eibach

Hi,

after about 3 years of total cygwin abstinence, I'm back. (I had started with 
b19 :))

This is most likely a FAQ, but since most people got this DLL in their log 
files, a bug report or anything like this is very hard to find with the sparse 
search options given.

Error message is "Dynamic Link Library cygexpat-0.dll not found in specified 
path".
This happens when I try to start X Window ("startx"). I know this is not the 
place to ask X questions, but when I did a Windows search for *expat*, I found 
something related to Perl or Python, so it does not seem to be an X only issue 
...

The main problem is that I cannot find out which package this DLL belongs to, 
so I don't know which package to reinstall. I also remember that I got an error 
message with setup.exe, but I don't remember anymore which package it was.

Cygwin is virgin 1.5.17 (0.129/4/2) on Win2K SP 4.
Please give me a hint where to search for the bug / problem.

-Andreas


_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Cygwin bail-out: cygexpat-0.dll not found

2005-06-16 Thread Andreas Eibach


Cygwin List  schrieb am 16.06.05 01:47:48:
> 
> At 07:18 PM 6/15/2005, you wrote:
> 
> >Hi,
> >
> >after about 3 years of total cygwin abstinence, I'm back. (I had started 
> >with b19 :))
> >
> >This is most likely a FAQ, but since most people got this DLL in their log 
> >files, a bug report or anything like this is very hard to find with the 
> >sparse search options given.
> >
> >Error message is "Dynamic Link Library cygexpat-0.dll not found in specified 
> >path".
> >This happens when I try to start X Window ("startx"). I know this is not the 
> >place to ask X questions, but when I did a Windows search for *expat*, I 
> >found something related to Perl or Python, so it does not seem to be an X 
> >only issue ...
> >
> >The main problem is that I cannot find out which package this DLL belongs 
> >to, so I don't know which package to reinstall. I also remember that I got 
> >an error message with setup.exe, but I don't remember anymore which package 
> >it was.
> >
> >Cygwin is virgin 1.5.17 (0.129/4/2) on Win2K SP 4.
> >Please give me a hint where to search for the bug / problem.
> 
> 
> 
> Welcome back! 

Thanks! Yes, I clearly remember your name from days of yore :-)

>The first thing to do is re-familiarize yourself with the 
> Cygwin Web page and it's resources.  

Yeah, this is like living on the moon for 3 years and returning back to earth 
:-)

> For this type of problem, you'll
> want to use the "Setup Package Search" page <http://cygwin.com/packages/>.

Great! This is a great utility.
This could maybe be even be integrated in a tool.

> Enter the file you're looking for and it will tell you which packages have 
> a match.  Use that information in 'setup.exe' to download and install the 
> right package.  I'll give you a hint on this one.  

> You want the "expat" package.

Yes I think so! :)
Well, after the setup error message I reinstalled the missing packages 
(ALTHOUGH setup claimed the installation to be "finished") and now everything 
is there where it is supposed to be.
Thanks for the warm WB, btw. :)

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Cygwin bail-out: cygexpat-0.dll not found

2005-06-16 Thread Andreas Eibach


cygwin@cygwin.com schrieb am 16.06.05 02:30:07:
> 
> Larry Hall wrote:
> 
> > right package.  I'll give you a hint on this one.  You want the "expat"
> > package.
> 
> And on top of what Larry said, the "expat" package is listed as a
> requirement of all the xorg-x11-* packages, so setup.exe should have
> installed it for you.  If you could tell us the steps that you used to
> get an installation without expat, it would help us improve setup.exe. 
> Of course, if you override setup's choices there's nothing we can do
> there, but newer (test) versions of setup should at least warn you in
> those cases.
test versions?
That's where the bugger is, then! :)

Of course, I used "official" setup.exe from cygwin.com site, no cvs versions or 
anything of that kind, although it seems I should. Indeed, I was playing around 
with library packages (clicking them off even though I knew package 'xyz' will 
need the lib, and got no warnings at all).
Please point me to the test build of setup.exe if possible. And maybe even 
upgrade the setup.exe from cygwin.com site, so that people that do a virgin 
cygwin install will not have to use an old version of setup.

my 2c

-Andreas

_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Cygwin bail-out: cygexpat-0.dll not found

2005-06-16 Thread Andreas Eibach


cygwin@cygwin.com schrieb am 16.06.05 11:09:54:
> 
> Andreas Eibach wrote:
> 
> > Indeed, I was playing around with library packages (clicking them off even 
> > though I knew package 'xyz' will need the lib, and got no warnings at all).
> 
> If you deselect the packages that setup selects you can very easily
> break your installation, as you have seen.  If you aren't positively
> sure what a package does and that you know you don't need it, you
> shouldn't mess with it.

*laugh*
I was about sure someone would react on it.
Well, as you can guess, I set the X again on the checkbox after that. I just 
wanted to test whether warning messages occur. I know this from Linux, e. g. 
SuSE and others if you deselect essential packages.

> http://www.cygwin.com/ml/cygwin-apps/2005-05/msg00250.html
Thank you.

-Andreas
__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


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



Any chance to get Apache 2.0.xx working on cygwin?

2005-06-16 Thread Andreas Eibach

OK, install succeeded, now the next important thing starts:

Apache 2.0. For a customer, I do need 2.0 and a Unix-ish system, and I actually 
cannot afford switching back and forth between (real) Linux and Windows, so 
cygwin will have to do.

But 2.0 seems to be required to be patched for cygwin.
First thing, before anyone asks why I haven't searched the mailing list 
archives, one thing:

 http://cygwin.com/ml/cygwin/
 This is VERY bad. You can only search for "Apache and 2 and 0 and 54", but not 
for apache and 2.0.54 (read 2 dot 0 dot 54 _in this order_). Quotes aren't 
accepted either; I think as the mailing lists archives are that important and 
used so much, there should at least be an exact match. No user wants to delve 
through 500 or 1000 messages with 450 or 950 of them irrelevant. (Rant over.)

---

As the online search is - well - awkward, I couldn't find anything related to 
that, not even when sorting by score.
The main problem with Apache on Cygwin is that even when setting LogLevel to 
DEBUG, you do not get any infos what is actually wrong. (And according to a few 
posts on this lists I've come across, I'm not the only one that complains about 
this.)
Nice thing about Apache 2.0.54 is that it compiles OOTB without any errors. 
Nice.
FYI, I just did a ./configure --prefix=/usr && make && install. That's about it.

[without service]
First try was to get Apache working _without_ service. I read that you should 
NOT use apachectl, but rather a Windows service. But I just wanted to test 
whether it works _at all_, so I did use apachectl:

 /usr/bin/apachectl -k start -e debug &

Blah. Nothing was running. The process line gave a 'Done', that is, the server 
started and terminated instantly after. Not good. OK, then httpd directly for a 
change:

 /usr/bin/httpd &

No go either.
But I had read the README (although the version was totally mismatching) and 
knew that you could install apache as a real Windows service. OK, why not try 
that.

[with service]
cygrunsrv -I apache -p /usr/bin/httpd -a "-F"

Argh. This was even worse.
I did a 
cygrunsrv -S apache

and got a Windows error: (I try to translate from German)
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1053:
The service did not respond in time to the starting or stopping request.

Lovely. OK, then lets exit cygwin...

exit

...and cygrunsrv was still running and had be KILLED by force by Task Manager!
Ah: Service status of the service has always been 'Being started...' no change, 
all buttons disabled.

I think I will have to give this up (for now) and install apache_win32 without 
cygwin.
I do need the 2.0 environment to match my documentation I did, and currently 
cygwin only seems to work with 1.3 version, heaven knows why. Concluding with 
the fact that users even had problems with latest 1.3 version on cygwin.

(If only there was more LOGGING *sigh* ... but if apache doesn't tell me WHAT 
is wrong, I cannot intervent anywhere)

-Andreas
__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


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



Re: Any chance to get Apache 2.0.xx working on cygwin?

2005-06-16 Thread Andreas Eibach


Warren Young <[EMAIL PROTECTED]> schrieb am 16.06.05 20:43:01:
> 
> Christopher Faylor wrote:
> 
> > Maybe google wasn't around in B19 days...
> 
> It wasn't, not really.  Google was founded about a month before B20 was 
> released.
True :)
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Any chance to get Apache 2.0.xx working on cygwin?

2005-06-16 Thread Andreas Eibach

cygwin@cygwin.com schrieb am 16.06.05 17:03:10:
> 
> On Thu, Jun 16, 2005 at 07:50:59AM -0700, Brian Dessent wrote:
> >Andreas Eibach wrote:
> >>This is VERY bad.  You can only search for "Apache and 2 and 0 and 54",
> >>but not for apache and 2.0.54 (read 2 dot 0 dot 54 _in this order_).
> >>Quotes aren't accepted either; I think as the mailing lists archives
> >>are that important and used so much, there should at least be an exact
> >>match.  No user wants to delve through 500 or 1000 messages with 450 or
> >>950 of them irrelevant.  (Rant over.)
> >
> >The htdig on cygwin.com is pretty bad.  I always use google to search
> >the archives.  You can do this easily with a query of:
> 
> Suggestions for improving ht::dig's configuration on sourceware.org are
> always welcome over at overseers at sourceware dot org.

Thanks for the hint.
 
> >site:cygwin.com inurl:cygwin inurl:ml 
> >
> >You can even use more "inurl:"s to restrict by year/month since those
> >are part of the URL.  In addition, the list is archived at many other
> >places, all of which have searches.  Three that come to mind are
> >gmane.org, marc.theaimsgroup.com, and mail-archive.com.
> 
> I'm glad that someone finally suggested this.  I think a few more
> messages along these lines would have surely kick started a mean
> response from me.

Pity it didn't come. 
I would have been able to answer accordingly, mind you. I cannot understand why 
you are always so short-tempered if someone reports a problem. But if you want 
war, you get war if need be. Consider that _you_ are the first to complain if 
someone has not properly searched the archives. Yet it's really a sort of 
evidence of incapacity if you have to use google because ht:dig is so horribly 
awkward. And ht:dig doesn't just exist since yesterday. If there's a search 
functionality provided, I'd at least expect the basic things (and version 
numbers with dots inside ARE basic things) to work properly.
You are not the one who programmed this ... umm ...  thing. So there's no need 
to give a "mean" response, as you call it. The only mean response I accept is 
from the programmer himself, who might probably have a go at me with a 
ridiculous "How dare you complain! There's more than basic functionality 
implemented! Mind you, it can sort by Time AND Score! Which tool except mine is 
able to do THAT!"
;-)
> Maybe google wasn't around in B19 days...
That was a good one. I *started* with B19, but went up to 1.1.5..1.1.8 or so. 
:-)

-Abdreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Any chance to get Apache 2.0.xx working on cygwin?

2005-06-16 Thread Andreas Eibach


cygwin@cygwin.com schrieb am 16.06.05 16:48:42:
> > Nice thing about Apache 2.0.54 is that it compiles OOTB without any errors. 
> > Nice.
> 
> See the other recent thread.  It will probably take some patching to
> work. 

Could you please point me to that one?

>  Off the top of my head I'd suggest having cygserver installed and
> running for both the configure/make and when starting apache, so that
> you get the IPC functions.  For testing, it will probably be easier to
> skip trying to run it as a service and get it running first when just
> starting it from the prompt.  

Yeehaw. I will not bother with the service stuff as long this thing bails out 
after 1 second and says "bye".

> Make sure it's not trying to switch user
> accounts though because this will not work outside of the SYSTEM
> account.  Alternatively you can try starting it from a SYSTEM-shell
> (search archives) which will simulate the service-startup environment
> and allow for easier debugging of why it won't start.

Thanks a lot. I hope I can find something in the archives...

Urmm. Well, I had it running as user Administrator (for testing only!!), host = 
localhost.
Isn't this supposed to work?
Before I let Apache find out the host by itself, then it took my dynIP. As this 
was a bit too risky and I wanted to be on the safe shore (i. e. not introducing 
more problems until I had the main starting problem resolved), I changed it to 
localhost in httpd.conf.

--

*Please ANYONE*: anyone who has this 2.0.xx thing running _successfully_ on 
cygwin, please report back here. Maybe I can learn a bit of nifty tricks from 
you :)

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Sensitive/critical bug found?

2005-06-17 Thread Andreas Eibach

It looks that I have.
First of all, ALL version numbers of the tools I used:

GNU find version 4.2.11 (cvs)
GNU xargs version 4.2.11 (cvs)
glib version 2.6.5 (the bug might also appear with other packages)

Assumed I am in ~/devel.

In devel, I do a 

tar jxvf glib-2.6.5.tar.bz2

and end up with a glib-2.6.5/ subdirectory. (The problems building glib are NOT 
supposed to be discussed in this thread)

Now let's look for a specific string:

$ find glib-2.6.5 -name '*' | xargs grep -i 'threads_got_initialized' > out1.log

Works! out1.log is a few kBytes big, and shows the matches I wanted.

Now let's do it a little differently:

$ cd glib-2.6.5
$ find . -name '*' | xargs grep -i 'threads_got_initialized' > out2.log

ATTENTION. out2.log will grow and grow ... and grew more than 2 GB here, until 
I got a "No space left on device".

$ find . -name '*' | xargs grep -i 'threads_got_initialized' | tee out2.log

works, though.

Can anyone of you reproduce this behavior?

-Andreas



_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Sensitive/critical bug found?

2005-06-17 Thread Andreas Eibach


cygwin@cygwin.com schrieb am 18.06.05 00:41:39:
> > $ find . -name '*' | xargs grep -i 'threads_got_initialized' > out2.log
> >
> > ATTENTION. out2.log will grow and grow ... and grew more than 2 GB here,
> > until I got a "No space left on device".
> 
> <http://cygwin.com/acronyms/#PEBKAC>, and not Cygwin-specific, either.
*grin*. This fits.
>  Of
> course grep would look for "threads_got_initialized" in every file in the
> current directory, *including out2.log*!  And it'll keep appending the
> results to that same out2.log.

*bangs head*
Ar...and I got unix experience since about 10 years now!
But it's always that simple, ultra-primitive things that cause these sorts of 
"deadlocks" (which are remotely related to that, I think :))

Many thanks.
$ find . -name '*.[ch]' | xargs grep -i 'threads_got_initialized' > out2.log

"fixed" (laugh) this.

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Re: Any chance to get Apache 2.0.xx working on cygwin?

2005-06-19 Thread Andreas Eibach


"Gerrit P. Haase" <[EMAIL PROTECTED]> schrieb am 18.06.05 02:22:11:
> 
> Andreas,
> 
> may I point you to the thread with the subject:
> 
> Date: 04-10-31 14:37
> Subject: httpd-2.0.52 (Apache2) testers wanted / maintainer searched
> 
> -> http://www.cygwin.com/ml/cygwin/2004-10/msg01447.html
> 
> My server is not up, I had a crash and all the files below the server
> root were lost, 
!!!
That is bad. Yes I don't get why highly experienced users like you (even having 
the guts to mess with vital core packages like glib!!) don't have backupped 
their stuff. Don't take it too personal, I'm just wondering. :-)


>I hope the build tree was not deleted and I'll find the
> it, if you are interested I would send you the files.  Maybe somone has
> mirrored it?  Max or Jon may have copies?
That would be VERY great.
BTW I can only underline your statement here:

"Since it is time consuming as nothing else to build packages like this one"
Yes, yes and yes!

I thought it was sooo simple (as Apache originates from the Unix world), but 
isn't. The most important thing I want to get working at first place is this 
damn LOGGING!!
If I have logs, I can usually find bugs and/or problems myself, since I know 
WHERE to search for them. But even in lowest level (debug!) 2.0.54 will not 
output any single thing after start - have you found an explanation why this 
could happen?
The server definitely does _not_ run anymore after 1 minute, but 
auto-terminates instead, as "jobs", "ps" and other commands clearly tell a 
story about it like an open book.

It's a blessing that you did this with 2.0.52, as the differences may be 
minimal compared to .39 or .25 or even lower.
In any case, thanks a lot Gerrit for the link! As soon as I have time again 
(probably Monday evening) I will try to re-investigate this!

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Problems with SFTP over SSH1

2004-06-13 Thread Andreas Pack
Hi List!

I looked in the archive and with google, but I found no solution for
my problem:

I installed the OpenSSH for Windows package
("setupssh371-20031015.exe") by Michael Johnson, because I only need
SFTP-functionality in Windows and not the hole Cygwin-Package.

Ok, here is my problem: the Server works fine with SSH2 (but slow),
but it doesn't work with SSH1. I'm using WinSCP as client. Here are
the logs:

. --
. WinSCP Version 3.6.1 (Build 221) (OS 5.0.2195)
. Login time: Friday, 11. Jun 2004 03:06:32
. --
. Session name: [EMAIL PROTECTED]
. Host name: localhost (Port: 22)
. User name: test (Password: Yes, Key file: No)
. Transfer Protocol: SFTP
. SSH protocol version: 1 only; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: 3des,aes,blowfish,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: 
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: C:\Data, Remote directory: /home/Administrator, Update: No, Cache: 
Yes
. Cache directory changes: Yes, Permanent: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --
. Looking up host "localhost"
. Connecting to 127.0.0.1 port 22
. Server version: SSH-1.5-OpenSSH_3.7.1p1
. We claim version: SSH-1.5-WinSCP-release-3.6.1
. Using SSH protocol version 1
. Received public keys
. Host key fingerprint is:
.   1024 9f:3e:f8:7a:09:7f:72:7c:40:e3:b6:9b:6a:8d:73:0b
. Encrypted session key
. Using 3DES encryption
. Trying to enable encryption...
. Initialised triple-DES encryption
. Installing CRC compensation attack detector
. Successfully started encryption
. Sent username "test"
. Session password prompt ([EMAIL PROTECTED]'s password: )
. Using stored password.
. Sending password with camouflage packets
. Sent password
. Authentication successful
. Started session
. --
. Using SFTP protocol.
. Doing startup conversation with host.
> Type: SSH_FXP_INIT, Size: 5, Number: -1
! exec: sftp-server: not found
. Server sent command exit status 0
. --


What means "sftp-serer: not found"? Does this server work only with
SSH2?

Thanks for any hint!

Bye, Andi


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



Ssh executable is missing

2004-07-02 Thread Andreas Tille
Hi,

I installed several packages from the Cygwin suite successfully.  My final
goal was to "ssh -X " to run some Linux applications on a Win-box
I have to work on.  While a startx works fine I was unable to find the
ssh executable neigther in /bin nor anywhere else.  So I guess
I just missed some package to install which enables me to use ssh.

Kind regards

      Andreas.

PS: It would be nice to CC me because I'm not subscribed.

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



Re: Ssh executable is missing

2004-07-04 Thread Andreas Tille
On Fri, 2 Jul 2004, Igor Pechtchanski wrote:

> This seems to be getting dangerously close to the Cygwin/X zone.  While
> your question about the ssh executable above does belong on this list, any
> further questions about X and X11-forwarding over ssh should be addressed
> to the cygwin-xfree list instead.
Thanks for this additional hint.  I might be forced to come back to this
list in the near future.

> Speaking of X11-forwarding, to fend off the next obvious question, the
> recent versions of openssh (starting with 3.8p1-1) do *untrusted*
> X11-forwarding by default, which prevents some applications from working
> properly.
Do you mean things like

~> ssh -X gimp
The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 142 error_code 3 request_code 38 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


> You need to use the "-Y" flag instead to turn on *trusted*
> X11-forwarding.
According to your hint I tried

~> ssh -Y gimp

which worked like a charm.

> For more info, see the 3.8p1-1 openssh package
> announcement (<http://cygwin.com/ml/cygwin/2004-02/msg01264.html>) or the
> Cygwin/X FAQ (<http://x.cygwin.com/docs/faq/cygwin-x-faq.html>).
Many thanks.  You solved I problem I did not even had once you solved it.
Are you able to see the future?? ;-))

Kind regards

   Andreas.

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



running cygwin sshd results in unreliable timer on w2003 DC

2004-08-11 Thread Andreas Baetz
Hi,

it seems there is a problem with the local clock when running cygwin sshd on a w2003 
DC.

Googling came up with nothing, as well as searching the list archives, so here it goes:

Setup:
Windows 2003 Server as DC (PDC) on a VM with VMware ESX (DC1)
cygwin 1.5.10-3
sshd installed per ssh-host-config with privilege separation, running as 
domain\sshd_server
sshd-environment "cygwin=ntsec" (tried with "cygwin=ntsec server", too)

sshd runs fine with no functional problems

Problem description:
We have a time server (time1) setup which gets its time from a radio clock. Above DC1 
should synchronize with this server.
With "w32tm /stripchart /computer:time1" the deviation to time1 is constantly shown.
Without sshd started, eveything is fine. No clock difference between DC1 and time1.
After starting sshd, however, the local clock rapidly deviates from time1. It seems it 
does slow down, about 0.5 s per sec.
After stopping sshd, the clock deviation vanishes again.
This occurs regardless of the existance of a local time synchronisation mechanism. I 
tried the built-in w32time service,
as well as a windows port of ntpd. Neither is capable of syncing the local clock to 
time1, if sshd is started.
The CPU load of the server is very low, regardless of the running state of the sshd 
server.

I'm not sure if the problem lies within sshd, but it can be triggered by starting and 
stopping the sshd service.

I have running sshd on all of my other windows (NT, w2k, w2003) servers, and none of 
them shows that problem.
I have another DC (DC2), though, that shows deviations from time to time, but w32time 
is capable to sync to time1. 
If the sshd service is stopped there, the deviations vanish altogehter, too.

A side question is that why does the clock deviation that accumulated during the run 
of sshd correct itself,
even if no sync mechanism is running ? I experimented with that a little, too: Setting 
the clock to be about 5 s from time1,
starting sshd, it deviates (slows down). Stopping sshd, it goes back to those 5 s and 
stays there.

How do I get the sshd server running without affecting it the local clock on tose DCs ?

Thanks

Andreas Baetz


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



Re: running cygwin sshd results in unreliable timer on w2003 DC

2004-08-11 Thread Andreas Baetz
On Wed, 11 Aug 2004 10:57:50, Corinna Vinschen wrote:
>
>On Aug 11 10:34, Andreas Baetz wrote:
>> Hi,
>> 
>> it seems there is a problem with the local clock when running cygwin sshd on a 
>> w2003 DC.
>> [...]
>> Problem description:
>> We have a time server (time1) setup which gets its time from a radio clock. Above 
>> DC1 should synchronize with this server.
>> With "w32tm /stripchart /computer:time1" the deviation to time1 is constantly shown.
>> Without sshd started, eveything is fine. No clock difference between DC1 and time1.
>> After starting sshd, however, the local clock rapidly deviates from time1. It seems 
>> it does slow down, about 0.5 s per sec.
>> After stopping sshd, the clock deviation vanishes again.
>> This occurs regardless of the existance of a local time synchronisation mechanism. 
>> I tried the built-in w32time service,
>> as well as a windows port of ntpd. Neither is capable of syncing the local clock to 
>> time1, if sshd is started.
>
>How likely is it that an sshd should actively affect the clock?  I'm
>wondering if that's a problem with using the same tcp port or something
>like that.
>
>
>Corinna

Not very likely, I admit. 
I only discoverd this connection between sshd and the local time by chance after 
trying for several days
to get a sync'ed clock on that DC. It worked before with no problem and I never 
suspected sshd in the first place.
Only after remembering what I did before the clock started to act weird (installing 
sshd) I stopped sshd, and the clock
worked again.
As for using the same tcp port, that seems unlikely IMHO, too, since ntp uses udp 123 
and sshd tcp 22. And the problem occurs
even if there is no syncing software (w32time or ntp) running and even if sshd is only 
listening (no open connection).

What I could imagine is that with the use of VMware as virtual OS Platform some 
interrupts might be delayed in a certain way, 
or shared or that that the clock ticks are slowed down or "routed" through sshd or 
something.
What can be reproduced, however, is that the problem only shows when sshd is running, 
and it shows immediately after starting sshd.
That's why I'm asking here, because I think someone with insight into the source of 
sshd could have some idea.

Andreas


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



Re: running cygwin sshd results in unreliable timer on w2003 DC

2004-08-11 Thread Andreas Baetz
On Wed, 11 Aug 2004 11:36:46, Andreas Baetz wrote:
>
>On Wed, 11 Aug 2004 10:57:50, Corinna Vinschen wrote:
>>
>>On Aug 11 10:34, Andreas Baetz wrote:
>>> Hi,
>>> 
>>> it seems there is a problem with the local clock when running cygwin sshd on a 
>>> w2003 DC.
>>> [...]
>>> Problem description:
>>> We have a time server (time1) setup which gets its time from a radio clock. Above 
>>> DC1 should synchronize with this server.
>>> With "w32tm /stripchart /computer:time1" the deviation to time1 is constantly 
>>> shown.
>>> Without sshd started, eveything is fine. No clock difference between DC1 and time1.
>>> After starting sshd, however, the local clock rapidly deviates from time1. It 
>>> seems it does slow down, about 0.5 s per sec.
>>> After stopping sshd, the clock deviation vanishes again.
>>> This occurs regardless of the existance of a local time synchronisation mechanism. 
>>> I tried the built-in w32time service,
>>> as well as a windows port of ntpd. Neither is capable of syncing the local clock 
>>> to time1, if sshd is started.
>>
>>How likely is it that an sshd should actively affect the clock?  I'm
>>wondering if that's a problem with using the same tcp port or something
>>like that.
>>
>>
>>Corinna
>
>Not very likely, I admit. 
> ...
>What I could imagine is that with the use of VMware as virtual OS Platform some 
>interrupts might be delayed in a certain way, 
>or shared or that that the clock ticks are slowed down or "routed" through sshd or 
>something.
>What can be reproduced, however, is that the problem only shows when sshd is running, 
>and it shows immediately after starting sshd.
>That's why I'm asking here, because I think someone with insight into the source of 
>sshd could have some idea.
>
>Andreas

some updates:

I have tested on 3 other DCs, 2 of them VMs and one of them real Hardware.
None of them does have this problem. So VMware could be ruled out, I think.
It must be a problem with that certain DC. It is the only one that has the PDC role, 
no other differences to the other machines
at the first glance (besides all of them running on different ESX servers).

I tried cygwin 1.5.6-1 and 1.5.10-3, btw. Same results.

Andreas


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



Re: running cygwin sshd results in unreliable timer on w2003 DC

2004-08-11 Thread Andreas Baetz
The problem is not sshd related.

It only occurs at a certain ESX server, and there it can be reproduced on different 
VMs (not only DCs).
The slowdown of the local clock can be triggered by a simple "sleep 100" (with cygwin).

BTW: sleep from the reskit doesn't slow down the clock.

My apologies for falsely "accusing" sshd.

Andreas


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



[ANNOUNCEMENT] Updated: TeXmacs-1.0.4-3: A scientific wysiwyg Editor and Interface for Computer Algebra Systems

2004-08-24 Thread Andreas Seidl
TeXmacs has been updated to the new stable version 1.0.4.
Canonical homepage:
  http://texmacs.org
NEWS

Cygwin specific:
- PDF exports works now
- please avoid spaces in your username
- if you decide to install the unofficial netpbm package, which installs
to /usr/local/bin/netpbm, then make sure to add this path to the front
of your PATH, in particular if you have MikTeX or an other LaTeX
distribution for Windows installed.
See http://www.texmacs.org/tmweb/about/changes.en.html for the full list.
DESCRIPTION:

GNU TeXmacs is a free scientific text editor, which was both
inspired by TeX and GNU Emacs. The editor allows you to write
structured documents via a wysiwyg (what-you-see-is-what-you-get) and
user friendly interface. New styles may be created by the user. The
program implements high-quality typesetting algorithms and TeX fonts,
which help you to produce professionally looking documents.
The high typesetting quality still goes through for automatically
generated formulas, which makes TeXmacs suitable as an interface for
computer algebra systems. TeXmacs also supports the Guile/Scheme
extension language, so that you may customize the interface and write
your own extensions to the editor.
Converters exist for TeX/LaTeX and Html/MathML/Xml. In the future,
TeXmacs is planned to evolve towards a complete scientific office
suite.
GETTING STARTED QUICKLY:

1. Install TeXmacs
--
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
or "Math" and then click on the appropriate fields until the above
announced version number appears if it is not displayed already.
2. Start and test your X

Double click on the Cygwin icon on your Desktop, this brings up a black
Cygwin shell. Assuming you have the xterm package installed, type:
  export DISPLAY=127.0.0.1:0.0
  XWin -multiwindow -clipboard &
  xterm &
In the tray in the lower right corner of your screen you will see a
black X and an additional (white) window should appear. In order not to
set the DISPLAY variable again and again, you should set it as a user's
variable; e.g. under Windows XP:
Start->Control_Panel->System->Advanced->Environment_variables
3. Start TeXmacs

... by typing
  texmacs &
into a Cygwin shell. Try a second time, if there is a problem.
4. Hands-on tutorial

I suggest to try Part 1-3 of the following hands-on tutorial:
http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#3
FURTHER INFORMATION:

If you have TeXmacs-related questions or comments, please send them to
the texmac-users mailing list, see:
  http://lists.texmacs.org/wws/info/texmacs-users
(subscription necessary). I would appreciate it if you would use this
mailing list rather than emailing me directly. Cygwin-related
questions and comments should be sent to the Cygwin mailing list at:
cygwin at cygwin dot com .
Before emailing these lists, make sure to
* read the FAQ at: http://www.texmacs.org/tmweb/help/faq.en.html
* look at the manual, which comes with TeXmacs and which can be browsed
at: http://www.texmacs.org/tmweb/manual/web-manual.en.html
* read about some Windows-related issues at
http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#issues
* search the mailing lists and Google
Have lots of fun with TeXmacs!
Andreas.
--
http://www.fmi.uni-passau.de/~seidl/


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


[ANNOUNCEMENT] New Package: ccrypt-1.7.1-1: A utility for encrypting and decrypting files

2004-08-24 Thread Andreas Seidl
The package "ccrypt" is now available with the Cygwin distribution.
Canonical homepage:
  http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/
Canonical download:
  http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
DESCRIPTION:

ccrypt is a utility for encrypting and decrypting files and
streams. It was designed as a replacement for the standard unix crypt
utility, which is notorious for using a very weak encryption
algorithm. ccrypt is based on the Rijndael cipher, which is the
U.S. government's chosen candidate for the Advanced Encryption
Standard (AES, see http://www.nist.gov/aes/). This cipher is believed
to provide very strong security.
Unlike unix crypt, the algorithm provided by ccrypt is not symmetric,
i.e., one must specify whether to encrypt or decrypt. The most common
way to invoke ccrypt is via the commands ccencrypt and
ccdecrypt. There is also a ccat command for decrypting a file directly
to the terminal, thus reducing the likelihood of leaving temporary
plaintext files around. In addition, there is a compatibility mode for
decrypting legacy unix crypt files. An emacs mode is also supplied for
editing encrypted text files.
GETTING STARTED QUICKLY:

1. Install ccrypt
-
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Utils"
and then click on the appropriate fields until the above
announced version number appears if it is not displayed already.
2. Modify your .emacs file
--
Add to your .emacs file in your home directory the following two lines:
(setq load-path (cons "/usr/share/emacs/site-lisp" load-path))
(require 'jka-compr-ccrypt "jka-compr-ccrypt.el")
Then, if you open an encrypted file, emacs will ask for a password. The
first time you want to save the buffer, emacs will ask again twice, but
for later savings in this session the password will be remembered.
3. Test it
--
At the command prompt:
  cd /tmp
  echo "here goes some test" > testfile.txt
  ccencrypt testfile.txt
this gives your a file testfile.txt.cpt. You can now either edit it with
emacs, or decrypt it with ccdecrypt again.
FURTHER INFORMATION:

If you have ccrypt-related questions or comments, please check out the 
man page

  http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/ccrypt.html
and the FAQ
  http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/faq.html
before contacting the author.
Andreas Seidl
--
http://www.fmi.uni-passau.de/~seidl

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


Re: Workaround TeTeX installation failure? (TeXMacs)

2004-08-31 Thread Andreas Seidl

Chuck White wrote:

The standard Cygwin installation fails to completely install TeTeX
(2.0.2-1 or 2.0.2-13), which causes TeXMacs installation to fail
(required fonts not found in nonexistent directories).
TeXmacs requires tetex-bin tetex-base tetex-extra tetex-devel (see [1]),
this should install a fully featured TeTeX on your machine.
@Jan: please tell me, if there has been a rearrangement (new/other
package names) of the TeTeX distribution recently.
@Chuck: please make sure you've read
http://www.cygwin.com/ml/cygwin/2004-08/msg00943.html
only been 'using' Linux for less than 24 hours, I'd appreciate some
help in
Cygwin is not Linux.
Andreas
--
http://www.fmi.uni-passau.de/~seidl/
[1] TeXmacs current setup.hint:
http://alice.fmi.uni-passau.de/~seidl/cygwin/release/TeXmacs/setup.hint
--
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/


Updated: TeXmacs-1.0.4-4

2004-09-04 Thread Andreas Seidl
TeXmacs: A scientific wysiwyg Editor and Interface for Computer Algebra 
Systems

The current stable version 1.0.4 has been updated to the latest
revision. For more information, please refer to
http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00027.html
Andreas
--
http://www.fmi.uni-passau.de/~seidl/
--
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/


multi-user environment: mounting a lot of shares via ssh

2004-09-21 Thread Andreas Petralia
hi

while 'shares' can be mounted in a ssh session via 'net use' by a single
user, it seems that in a multi-user environment, the users have to make
sure, that they do not re-use already mapped drive letters.

consider the following example:

user A:
1. ssh 
2. net use h: computer\\A_home
3. ln -s /cygdrive/h /HOMES/A
 --> ok

user B:
1. ssh 
2. net use h: computer\\B_home
 --> System error 85 has occurred.
 The local device name is already in use.

question:
how can more than 26 users (user A, user B, ... user Z) mount their
HOME-directory?
is there a way to solve this problem?

regards,
andrew

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



Re: multi-user environment: mounting a lot of shares via ssh

2004-09-21 Thread Andreas Petralia
Larry Hall wrote:
> 
> At 09:36 AM 9/21/2004, you wrote:
> >hi
> >
> >while 'shares' can be mounted in a ssh session via 'net use' by a single
> >user, it seems that in a multi-user environment, the users have to make
> >sure, that they do not re-use already mapped drive letters.
> >
> >consider the following example:
> >
> >user A:
> >1. ssh 
> >2. net use h: computer\\A_home
> >3. ln -s /cygdrive/h /HOMES/A
> > --> ok
> >
> >user B:
> >1. ssh 
> >2. net use h: computer\\B_home
> > --> System error 85 has occurred.
> > The local device name is already in use.
> >
> >question:
> >how can more than 26 users (user A, user B, ... user Z) mount their
> >HOME-directory?
> >is there a way to solve this problem?
> 
> Is that pubkey or password authentication?

password
 
> Why not use the UNC path directly instead?

because of the following reasons:

1.

i want to make the home-directories available in the directory /HOMES:
  /HOMES/A, /HOMES/B, /HOMES/C, ...
and i think it's not possible to link to a UNC path (eg. ln -s
 /HOMES/A) is it?

2. not every binary (tool) can handle UNC-paths

3. i would like to set up an environment, where *unix*-scripts+tools do
not have to know anything about UNC_paths.

regards,
andreas

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



LS and spaces in path names (the xth)

2005-06-28 Thread Andreas Eibach

Yes, this is the umpteenth time this gets asked, but also the umpteenth plead 
to fix this in cygwin (as it _definitely_ works in Linux, also with vfat and 
non-Linux partitions!!)

I have two files in ~, say they're 

CD0.dat
CD1 - Multimedia (foo1).dat
CD2 - Multimedia2 (foo2).dat

+
Precondition: Imagine that the 'TAB' key doesn't function.
+
(since if I want to write a script, it should be _portable_; and if 
 it can be only be made work _with_ TAB, it is a kludge and 
 should be fixed properly. Period.)

ls -hog CD*   
[NB: ls -hog is smarter, because shorter in output;
 for this "exercise" we'll need neither group nor owner]

works and shows the three files:

-rw-r--r-- 1   0  Jun 28  14:46  CD0.dat
-rw-r--r-- 1   24K  Jun 28  14:46  CD 1 - Multimedia.dat
-rw-r--r-- 1  2.9K  Jun 28  14:46  CD 2 - Multimedia.dat

So far, so good.

But all attempts show files with -CD- -SPACE- -NUMBER 1 or 2- failed:

ls -hog "CD *"
ls: CD *: No such file or directory

also

ls -hog "CD [12]*"
ls: CD [12]*: No such file or directory

fails.

But

ls -hog "CD*[12]*"

WORKS.
But why?
After the 'CD', what character is this in Cygwin?
It seems, it's not a valid character at all!
At least it does not seem to be a "real" space, since I've tried
using option -b in LS and got nothing but also this '\ ' crap.
But as soon as the next file entry began, I got a correct '\n'.
I have tried to replace the character between CD and the [12] by various 
characters (tab and so on), but could never get a match.
I've also tried ' ' ticks, but without success.

Needless to say that scripts containing

for i in `ls *.dat*`; do  

will NOT work, because Cygwin will interpret each sub-string between the \ ' s 
separately, making parsing files a nuisance.
I scanned the archives and found something about using xargs. I've never used 
this command (except for finding strings); but if Cygwin is called a "win32 
unix layer" shouldn't it behave like Unix and at least WORK with the above line?

You can't deny at least one of these shown DO work in Unix and Linux.
Without kludges, that is. So I'd say this is an issue and should at least be 
tackled.

-Andreas

_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Byte-order in od -x (Win2K)

2005-06-28 Thread Andreas Eibach

Well, looks like a feature or a bug. :))

$ ls -hog CD0.dat

-rw-r--r--  1  0 Jun 28  14:46 CD0.dat
(minus r; w minus; r minus; minus r; minus minus)


and now ...

$ ls -hog CD0.dat | od -x

722d 2d77 2d72 722d  

Definitely wrong byte order.
In human readable format:

(r minus; minus w; minus r; r minus; minus minus)

Exactly the other way round.
Can that be tweaked somehow?
Well, I cannot believe this is really intention ... 
(OS Win2000 + sp4)

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



Cygwin 1.5.24-1: quits when I type a command

2007-01-30 Thread Andreas Warberg
Hello

I just installed cygwin 1.5.24-1 from two different mirrors
(mirrors.dotsrc.org, ftp.funet.fi) with the default selected packages.

When I start Cygwin I get bash prompt but whenever I type a command and
press enter, cygwin exits immediately.

I'm using Windows XP x64 (all patches).

I have not been able to find an archive of elder cygwin releases, which
might work. Could you please direct me to such a location?

Best regards
Andreas

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



1.5.24: unhandled exception on cygwin setup

2007-07-25 Thread Andreas Baak
Hi,

About a year ago I hat a working installation of cygwin on my computer.
However, I deleted this installation and wanted to do a clean cygwin
reinstall.

I used the current Setup.exe version 2.573.2.2 with Windows XP
Professional. I installed to c:\cygwin and downloaded all packages from
the internet. I didn't touch the package selection. Everything was left
to the defaults.

The installation ran fine until it came to installing
/etc/postinstall/terminfo.sh.
It produced an exception: "An unhandled win32 exception occurred in
bash.exe[268]". This exception popped up on every .sh that should be
executed by the setup routine. The same exception popped up when I click
on the cywgin-shortcuts.

Running "cygcheck -s -v -r > cygcheck.out" fails with an unhandled win32
exception in id.exe and in cygcheck.exe. The output file only contains
my windows path environment variable. Running "cygcheck -s -v -r" always
produces the exceptions but only sometimes produces a longer output on
the command line which I 'copy and paste'd into the attachment.

My attempts to fix the problem include deleting, re-downloading (using
different mirrors) and re-installing cygwin several times and rebooting
windows.

Maybe someone has an idea what goes wrong.

Regards,

Andreas
Cygwin Configuration Diagnostics
Current System Time: Wed Jul 25 11:55:48 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\program files\miktex\miktex\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\system32\wbem
c:\program files\java15\bin
C:\Program Files\MATLAB\bin
C:\Program Files\MATLAB\bin\win32
c:\program files\subversion\bin
  10216 [main] id 3340 dll_crt0_1: internal error: couldn't determine location o
f thread function on stack.  Expect signal problems.

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(CandyAndy) GID: 401(mkpasswd)
401(mkpasswd)
garbled output from 'id' command - no uid= found

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

Path = 'c:\program files\miktex\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\system32\wbem;c:\program files\java15\bin;C:\Program Files\MATLAB\bin;C:\Pr
ogram Files\MATLAB\bin\win32;c:\program files\subversion\bin'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\CandyAndy\Application Data'
APR_ICONV_PATH = 'C:\Program Files\Subversion\iconv'
CLASSPATH = './;C:\Program Files\Java\jxinput\Distribution\0.3\JXInput.jar;C:\Pr
ogram Files\Java\junit4.0\junit-4.0.jar;C:\Program Files\Java\junit4.0'
CLIENTNAME = 'Console'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'CAMOBILE'
ComSpec = 'C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\CandyAndy'
JAVA_HOME = 'C:\Program Files\Java\java15'
LOGONSERVER = '\\CAMOBILE'
NUMBER_OF_PROCESSORS = '1'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 9 Stepping 5, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '0905'
ProgramFiles = 'C:\Program Files'
PROMPT = '$P$G'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\WINDOWS'
TEMP = 'C:\DOCUME~1\CANDYA~1\LOCALS~1\Temp'
TMP = 'C:\DOCUME~1\CANDYA~1\LOCALS~1\Temp'
USERDOMAIN = 'CAMOBILE'
USERNAME = 'CandyAndy'
USERPROFILE = 'C:\Documents and Settings\CandyAndy'
VISUAL = '"C:\Program Files\UltraEdit\uedit32.exe"'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
windir = 'C:\WINDOWS'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 23077Mb  55% CP CS UN PA FC System
d:  hd  NT

RE: 1.5.24: unhandled exception on cygwin setup

2007-07-25 Thread Andreas Baak
>  I suspect some kind of bad interaction with your security software
> or something similar.  Do you have any of the following installed?
> If not, what do you use for firewall/antivirus/antispyware/etc ?

Hi,

I am using Agnitum Outpost Firewall 4.0 and Avast Antivirus 4.7 Home
Edition. I stopped both my the firewall and the antivirus software and
then tried to run cygcheck again. Unfortunately the same errors still occur.

Best regards,

Andreas

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



Re: 1.5.24: unhandled exception on cygwin setup

2007-07-28 Thread Andreas Baak
Dave Korn wrote:
> On 25 July 2007 19:40, Andreas Baak wrote:
> 
>>>  I suspect some kind of bad interaction with your security software
>>> or something similar.  Do you have any of the following installed?
>>> If not, what do you use for firewall/antivirus/antispyware/etc ?
>> Hi,
>>
>> I am using Agnitum Outpost Firewall 4.0 and Avast Antivirus 4.7 Home
>> Edition. I stopped both my the firewall and the antivirus software and
>> then tried to run cygcheck again. Unfortunately the same errors still occur.
> 
> 
>   Unfortunately, just stopping the firewall or AV software is not usually
> enough.  

Hi DaveK,

thanks a lot for your suggestions. You were right, my Firewall Agnitum
Outpost Pro caused the "unhandled exception" issue. Uninstalling the
firewall solved the problem. I checked the Agnitum homepage and found
out that this was actually a known problem which they have fixed in the
current version of their firewall.

Thanks again!
Regards,

Andreas

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



1.5.24: emacs hangs when started from ssh session

2007-10-19 Thread Andreas Gustafsson
Hello cygwinners,

I just upgraded an old Cygwin installation to the current version, and
now emacs hangs when I try to start it from within an ssh session.

To be precise, if I open a cygwin window on the Windows desktop and
type "emacs" there, it works fine, but if I log into cygwin from an
Unix machine using ssh and type "emacs" in the ssh session, the emacs
process hangs, consuming most of the CPU.

Here is a typescript of an ssh session illustrating the problem.  In
an attempt to construct a minimal test case, I have specified the
emacs command line option "-nw" to make sure emacs doesn't use X
(though it shouldn't in any case because this is the non-X version),
and "-f kill-emacs" to make emacs exit immediately after startup 
without having to manually type control-x control-c.  The problem
occurs whether these command line options are present or not.

  unix ~ $ ssh cygwin
  Last login: Fri Oct 19 14:10:35 2007 from 10.0.0.22

  [EMAIL PROTECTED] ~
  $ time emacs -nw -f kill-emacs
[nothing happens for more than 18 minutes; I give up and hit control-C]
  real18m26.024s
  user12m32.171s
  sys 0m0.015s

I tried to to debug the problem by running emacs under strace,
but got the following error:

  $ time strace -o strace.out emacs -nw -f kill-emacs
  emacs: standard input is not a tty

  real0m0.183s
  user0m0.015s
  sys 0m0.015s

Here are the versions of the packages involved:

  [EMAIL PROTECTED] ~
  $ cygcheck -c cygwin emacs openssh
  Cygwin Package Information
  Package  VersionStatus
  cygwin   1.5.24-2   OK
  emacs21.2-13OK
  openssh  4.7p1-2OK

The output of cygcheck -s -v -r is attached.  Any clues?
-- 
Andreas Gustafsson, [EMAIL PROTECTED]


Cygwin Configuration Diagnostics
Current System Time: Fri Oct 19 13:14:11 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\cygwin\usr\X11R6\bin
c:\cygwin\usr\local\bin
c:\cygwin\bin
c:\cygwin\bin
c:\Program Files\Java\jdk1.5.0_06\bin
c:\Python24\
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\cygwin\bin
c:\program files\microsoft visual studio\common\msdev98\bin
c:\Xilinx\bin\nt
c:\Program Files\Microsoft Visual Studio 8\Team Tools\Performance Tools\
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
c:\cygwin\bin

Output from c:\cygwin\bin\id.exe (nontsec)
UID: 1005(gson) GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

Output from c:\cygwin\bin\id.exe (ntsec)
UID: 1005(gson) GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'gson'
PWD = '/home/gson'
CYGWIN = 'ntsec tty'
HOME = '/home/gson'
MAKE_MODE = 'unix'

HOMEPATH = '\cygwin\home\gson'
MANPATH = ':/usr/ssl/man'
TERM = 'xterm'
SHELL = '/bin/bash'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel'
WINDIR = 'C:\WINDOWS'
SSH_CLIENT = '10.0.0.22 58992 22'
OLDPWD = '/home/gson'
USERDOMAIN = 'NT AUTHORITY'
SSH_TTY = '/dev/tty0'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/WINDOWS/TEMP'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'SYSTEM'
PROCESSOR_LEVEL = '15'
MAIL = '/var/spool/mail/gson'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\gson'
TZ = 'FLEST-2FLEDT-3,M3.5.0/3,M10.5.0/4'
PS1 = '\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py'
HOMEDRIVE = 'c:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'gson'
TMP = '/cygdrive/c/WINDOWS/TEMP'
SYSTEMROOT = 'C:\WINDOWS'
PROCESSOR_REVISION = '0209'
SSH_CONNECTION = '10.0.0.22 58992 10.0.0.21 22'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
COMPUTERNAME = 'GUITAR'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive fl

Re: 1.5.24: emacs hangs when started from ssh session

2007-10-22 Thread Andreas Gustafsson
Last week, I reported a problem with emacs 21.2-13:
> I just upgraded an old Cygwin installation to the current version, and
> now emacs hangs when I try to start it from within an ssh session.

FWIW, I just tried installing emacs version 22.1-3 instead, and it
doesn't hang.
-- 
Andreas Gustafsson, [EMAIL PROTECTED]

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



Re: [PATCH] Build system cleanups 1/4

2008-03-27 Thread Andreas Schwab
Paolo Bonzini <[EMAIL PROTECTED]> writes:

> If so, were you aware that the target libiberty is not compiled as
> PIC?

This is not true.  The libiberty configure script handles that just
fine.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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



fork handler for parent process called in both parent and child process

2013-09-25 Thread Andreas Steenpass
Please consider the following testcase:


#include 
#include 
#include// compile with -lpthread or -pthread

void atfork_prepare()
{
printf("atfork_prepare, pid: %d\n", getpid());
}

void atfork_parent()
{
printf("atfork_parent, pid: %d\n", getpid());
}

void atfork_child()
{
printf("atfork_child, pid: %d\n", getpid());
}

void main()
{
pthread_atfork(atfork_prepare, atfork_parent, atfork_child);
pid_t pid = fork();
if (pid == 0) {   // child
exit(0);
}
printf("pid of parent process: %d\n", getpid());
printf("pid of child process: %d\n", pid);
waitpid(pid, NULL, 0);
exit(0);
}


On Cygwin, I get:

$ ./testcase
atfork_prepare, pid: 11560
atfork_child, pid: 7744
atfork_parent, pid: 7744
atfork_parent, pid: 11560
pid of parent process: 11560
pid of child process: 7744

atfork_parent() is called in both the parent and the child process, but
as far as I understand, it should be called in the parent process only.

Best regards,
Andreas


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



New mirror

2009-12-14 Thread Andreas Worbs

Hello,
here are the facts about our mirror:

* URL of mirror: http://artfiles.org/cygwin.org
* Hosting institution, country and city where the mirror is located:
 Artfiles New Media GmbH, Hamburg, Germany
* Contact email address: mir...@artfiles.org
* Update frequency:  daily
* IP: 80.252.110.38
* Speed: 1000MBit/s

Please add us to your list.

With best regards

Artfiles New Media GmbH

Andreas Worbs

--
Artfiles New Media GmbH | Heidenkampsweg 100 | 20097 Hamburg
Tel: 040 - 32 02 72 90 | Fax: 040 - 32 02 72 95
E-Mail: supp...@artfiles.de | Web: http://www.artfiles.de
Geschäftsführer: Carsten Bals | Harald Oltmanns | Tim Evers
Eingetragen im Handelsregister Hamburg - HRB 81478


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: gcc command not found

2010-02-06 Thread Andreas Zwerger
 2006-06-12 01:31 /bin/gccmakedep

administra...@haco-xyz ~
$ gcc
bash: gcc: command not found

administra...@haco-xyz ~
$ /bin/set-gcc-default-4.sh

administra...@haco-xyz ~
$ gcc
bash: gcc: command not found


What did I forget or do wrong? Is there any way to get gcc working?

Best regards,
   Andreas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: gcc command not found

2010-02-06 Thread Andreas Zwerger

Andreas Zwerger schrieb:

Hello,

I'm having the same problem with the latest Cygwin install. But for me 
rerunning the postinstall scripts does not create the symlinks.


administra...@haco-xyz ~
$ gcc
bash: gcc: command not found



administra...@haco-xyz ~
$ for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ;
> do
>   . $x
> done
sed -i -e /^sys_lib_search_path_spec=/ 
s|\(pc-cygwin\)/[34].[3-9].[0-9]|\1/4.3.4|g /usr/bin/libtool 
/usr/share/apr/build-1/libtool
sed -i -e /^dependency_libs=/ 
s|\(pc-cygwin\)/[34].[3-9].[0-9]/\(lib[a-z_+]*.la\)|\1/4.3.4/\2|g 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libgcj-noncore.la 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libgcj-tools.la 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libgij.la 
/usr/lib/gcj-4.3.4-9/libjvm.la /usr/lib/libFLAC++.la 
/usr/lib/libncurses++.la /usr/lib/libncurses++w.la 
/usr/lib/libplotter.la /usr/lib/libtiffxx.la /usr/lib/libxerces-c.la


OK, problem solved!
Weird enough the reason was an old version of cygwin1.dll in c:/windows 
directory which was used by cygwin instead of the one in cygwin-bin-dir 
(since c:/windows comes first in path variable). No idea where that file 
came from, but there were even more files in c:/windows from cygwin - 
those are removed now, and gcc works perfectly!


I found that out by calling C:/cygwin/usr/sbin/alternatives.exe from 
windows-explorer which then gave me an error window saying that the 
procedure entry point "__ctype_ptr__" was not found in "cygwin1.dll" so 
I started searching for cygwin1.dll on my system and found the old 
version in windows directory.


Best regards,
   Andreas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



cygwin mirror

2010-03-01 Thread Andreas Worbs

Hello,
here are the facts about our mirror:

* URL of mirror: http://artfiles.org/cygwin.org
* URL of mirror: ftp://artfiles.org/cygwin.org
* Hosting institution, country and city where the mirror is located:
Artfiles New Media GmbH, Hamburg, Germany
* Contact email address: mir...@artfiles.org
* Update frequency:  daily
* IP: 80.252.110.38
* Speed: 1000MBit/s

With best regards

Artfiles New Media GmbH

Andreas Worbs

--
Artfiles New Media GmbH | Heidenkampsweg 100 | 20097 Hamburg
Tel: 040 - 32 02 72 90 | Fax: 040 - 32 02 72 95
E-Mail: supp...@artfiles.de | Web: http://www.artfiles.de
Geschäftsführer: Carsten Bals | Harald Oltmanns | Tim Evers
Eingetragen im Handelsregister Hamburg - HRB 81478


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Issue with setup.exe 2.573.2.3? (experimental mode)

2008-11-17 Thread Andreas Eibach
Hi there,

can anyone please tell me what I'm doing wrong here?

I'm *quite* sure that with previous versions, it was possible to select
Experimental mode instead of 'Current' and be able to install ALL
packages.
Actually I do _not_ want all, but since somehow it does not work to
select "Install" in Category mode and get all packages, instead having
to select every package separately, this is the best way out.

Well, I am aware of the issues of experimental software and I have no
problems with it.
However, I do have problems if I'm only allowed to install it by
selecting every package by hand.
At the moment, I am required to do so, as 'All'->'Install' in
_experimental_ mode will simply not install everything as you might
think, but only install a handful of packages like xemacs and the like,
about 65 MB in total.

I actually do not want to install current and then install the
experimental versions over the current versions if I can directly go to
experimental mode.
OK again, step by step:

setup.exe -> Download without installing ->
(select package location and internet connection) ->
(select mirror) ->
Change to 'Exp' on the upper right, wait a little bit.
Select Install on top, now control which packages are actually "on" by
OPENING the [+].
Not many - the rest stays on "Skip" and you will have to select all
manually.

Other workaround would be to select 'Curr' and then double-click on each
package to check whether there's a new version. Very cumbersome...

It would be great to be able install the very latest by simply selecting
"Exp" and getting all.

-Andreas






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



Re: Issue with setup.exe 2.573.2.3? (experimental mode)

2008-11-17 Thread Andreas Eibach

- Original Message - 
From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, November 18, 2008 1:20 AM
Subject: Re: Issue with setup.exe 2.573.2.3? (experimental mode)


> Andreas Eibach wrote:
> > Hi there,
> >
> > can anyone please tell me what I'm doing wrong here?
> >
> > I'm *quite* sure that with previous versions, it was possible to
select
> > Experimental mode instead of 'Current' and be able to install ALL
> > packages.
>
> By this do you mean all packages regardless of whether the package
> has an experimental version or not?  If so, I'd be surprised if
> 'setup.exe' ever did that but if you showed me a version that did,
> I'd at least believe you. ;-)

Thanks for the reply.
So the "Exp" is simply a "delta"?

It could also have been understood as "show current, replacing stable
versions in the list by experimental versions".
Another way of approach: I want to install everything current and have
the experimental versions instead of the stable versions.
So it would be a nice-to-have if setup.exe had an option like "do not
install stable version if there is an experimental version for it".
Currently, I *must* install the stable version first, then install the
exp. version _over_ the stable one.
Two steps instead of (ideally) one.
Hope I was not too confusing ...

-Andreas


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



[cairo] Compile error on Cygwin with current GIT tree

2008-12-04 Thread Andreas Eibach
[cc on cygwin list for recognition]

Greetings,

I've just got a cairo compiling error on my Cygwin setup.

- Windows 2000 SP4
- latest Cygwin
- sufficiently recent GTK+ (<- supposed to get updated, but no latest
GTK+ without cairo)

It seems the problem is that it does not know about the fwprintf()
function in Win32 environment [cairo-win32-surface.c]. Frankly, I
haven't known about it either ...

Well, I would be able to kludge this myself "secretly" but I think it's
mandatory you also know about the issue so you can adapt the code
accordingly (probably with less hackery than me).

Regards

Andreas

P. S. log file output below.

make[3]: Entering directory `/home/Administrator/build/cairo/cairo/src'
/bin/sh ../libtool --tag=CC   --mode=compile
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I/usr/include/pixman-1   -I/usr/i
nclude/freetype2 -I/usr/include/libpng12   -Wall -Wextra -Ws
ign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrit
e-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declaration
s -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Ws
trict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-a
fter-statement -Wold-style-definition -Wno-missing-field-initializers -W
no-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-
aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2-g -O2 -MT
cairo-win32-surface.lo -MD -MP -MF .deps/cairo-win32-surface.Tpo -c -o
cairo-win32-surface.lo cairo-win32-surface.c
libtool: compile:

gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/pixman-1 -I/usr/include/
freetype2 -I/usr/include/libpng12 -Wall -Wextra -Wsign-compare -Werror-i
mplicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-pr
ototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
packed -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Win
it-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-
style-definition -Wno-missing-field-initializers -Wno-unused-parameter -
Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common 
-Wp,-D_FORTIFY_SOURCE=2 -g -O2 -MT cairo-win32-surface.lo -MD -MP -MF
.deps/cairo-win32-surface.Tpo -c
cairo-win32-surface.c  -DDLL_EXPORT -DPIC -o .libs/cairo-win32-surface.o
cairo-win32-surface.c: In function '_cairo_win32_print_gdi_error':
cairo-win32-surface.c:96: warning: passing argument 5 of
'FormatMessageW' from incompatible pointer type

cairo-win32-surface.c:99: error: implicit declaration of function
'fwprintf'

cairo-win32-surface.c:99: warning: nested extern declaration of
'fwprintf'

cairo-win32-surface.c: In function '_cairo_win32_surface_composite':
cairo-win32-surface.c:1044: warning: comparison between signed and
unsigned
cairo-win32-surface.c:1044: warning: comparison between signed and
unsigned
cairo-win32-surface.c:1045: warning: comparison of unsigned expression <
0 is always false
cairo-win32-surface.c:1045: warning: comparison of unsigned expression <
0 is always false
cairo-win32-surface.c:1483: warning: comparison between signed and
unsigned
cairo-win32-surface.c:1484: warning: comparison between signed and
unsigned
cairo-win32-surface.c: In function '_cairo_win32_debug_dump_hrgn':
cairo-win32-surface.c:2130: warning: format '%d' expects type 'int', but
argument 3 has type 'DWORD'

cairo-win32-surface.c:2132: warning: comparison between signed and
unsigned
cairo-win32-surface.c:2134: warning: format '%d' expects type 'int', but
argument 4 has type 'LONG'

cairo-win32-surface.c:2134: warning: format '%d' expects type 'int', but
argument 7 has type 'LONG'
make[3]: *** [cairo-win32-surface.lo] Error 1
make[3]: Leaving directory `/home/Administrator/build/cairo/cairo/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/build/cairo/cairo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/build/cairo/cairo'
make: *** [all] Error 2


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



Re: cygwin and cygwin-xfree lists to merge

2008-12-10 Thread Andreas Eibach
Will Parsons wrote:
> You may not consider it a compelling argument, but I find the traffic on
> the cygwin list more than enough already, and am glad I don't have to
> bother about the cygwin-xfree traffic.  I'd prefer to keep things as
> is.

But on xfree, there IS NO traffic!
Just check the archives to get an insight into this:

http://cygwin.com/ml/cygwin-xfree/

This is ridiculously few compared to 2 years ago when Harold L Hunt put
more work into this _per week_ than all people together summed up from
summer to
end of this year!

-Andreas




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



Re: GTK+ externals are unresolved

2008-12-15 Thread Andreas Eibach

- Original Message - 
From: "John Emmas" 
To: 
Sent: Monday, December 15, 2008 11:45 PM
Subject: Re: GTK+ externals are unresolved

> Perhaps you're missing the file 'libgtk-x11-2.0.la' (it should be in
/lib/).
> Try linking to 'libgtk-x11-2.0.dll.a' temporarily.  If that works, you
might
> need to re-install gtk2-x11-devel.  Maybe part of it has gone missing.

That could be the "problem".

gtk2-x11* (Cygwin official) is from 2005 and does in no way comply to
modern GTK+ API standards.
The only way out might be a 2.1x version, which is only available on
Cygwin Ports ( http://sourceware.org/cygwinports )

-Andreas


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



Loginscript

2008-12-23 Thread Andreas Pfister

Hi,

I have a question regarding the startup procedure of cygwin.
I tried to put an .login file into my home folder with an simple  
command in it an suggested that this will be executed after starting  
up cygwin but nothing happened. Any ideas or approaches to get that  
work ?


Thanks a lot
Andreas

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



Rsync and Alternate Data Streams

2009-09-23 Thread Andreas Heinlein
Hello,

no, I do *not* want to transfer ADS with rsync, that would be an FAQ ;-)

But I have setup rsyncd on a windows host using cygwin. This machine
hosts files with ADS which are created by Antivirus software and change
frequently. I do not need to save these ADS, but somehow they seem to
lead rsync to believe the file has changed and transfer it again. Since
we are doing multi-generation backups with rsync and hard links (using
the --link-dest option), this greatly increases space requirements. I
compared old and new files, and they are exactly identical in size,
name, path, permissions (as UNIX/cygwin sees them), they have the same
md5sum.

I have not yet tried running rsync with the checksum option, but since
we are backing up > 200.000 files, that would likely take much too long.
Do you have any ideas how to change this behaviour?

Thanks,
Andreas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Rsync and Alternate Data Streams

2009-09-23 Thread Andreas Heinlein
Corinna Vinschen schrieb:
> On Sep 23 13:34, Andreas Heinlein wrote:
>   
>> Hello,
>>
>> no, I do *not* want to transfer ADS with rsync, that would be an FAQ ;-)
>>
>> But I have setup rsyncd on a windows host using cygwin. This machine
>> hosts files with ADS which are created by Antivirus software and change
>> frequently. I do not need to save these ADS, but somehow they seem to
>> lead rsync to believe the file has changed and transfer it again. Since
>> we are doing multi-generation backups with rsync and hard links (using
>> the --link-dest option), this greatly increases space requirements. I
>> compared old and new files, and they are exactly identical in size,
>> name, path, permissions (as UNIX/cygwin sees them), they have the same
>> md5sum.
>>
>> I have not yet tried running rsync with the checksum option, but since
>> we are backing up > 200.000 files, that would likely take much too long.
>> Do you have any ideas how to change this behaviour?
>> 
>
> Look for the rsync --size-only option.  Probably the Antivirus stuff
> changes the modification date, which is usually used by rsync for a
> quick decision what has changed.
>
> Alternatively use another Antivirus software which does not modify the
> files on disk.
>
>
> Corinna
Hello,

thanks for your reply. It turned out I had not checked closely enough. I
found out it has nothing to do with ADS, but with file ownership. Some
of the files in question have UID and GID 4294967295 (aka 2^32-1),
though they are owned by a valid Domain User. Rsync on the UNIX side
sets the UID to 0 for these files, I overlooked this. I can work around
this now by not preserving owner and group, which is not necessary in
this case.
But I still wonder where this comes from.

Bye,
Andreas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



mount, registry, local machine and current user

2009-10-17 Thread Andreas Politz

Hi,

how can I configure cygwin to use my personal installation (e.g. at
h:/cygwin), instead of the system one (s:/cygwin) ?  What I tried is to

1. login winxp as user (administrator privileges are not available to
   me)

2. execute some foo.reg, which inserts the mount table in the
   current_user tree

3. start rxvt.exe from h:/cygwin/

Though the manual states, that the mount table in the current_user tree
takes precedence, I end up with a cywin mounted from s:/cygwin.

Thanks,

ap


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



libtool quoting error

2012-08-19 Thread Andreas Schiffler
The libtool distributed with cygwin has a bug that prevents use in paths 
containing spaces.
This was encountered when trying to build SDL2 on Windows (see 
http://bugzilla.libsdl.org/show_bug.cgi?id=1575 for details or repro).


# Which release of libtool.m4 was used?
macro_version=2.2.6
macro_revision=1.3012

The fix is simple: add additional quoting.

$ diff libtool libtool-fixed
2797c2797
<   exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
---
>   exec_cmd='$SHELL "$progpath" $preserve_args 
--finish$current_libdirs'

8321c8321
<   if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
---
>   if test "X$ECHO" = "X$SHELL \"$progpath\" --fallback-echo"; then
8323,8324c8323,8324
<   [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
<   *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
---
>   [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL \"$progpath\" 
--fallback-echo";;

>   *) qecho="$SHELL `pwd`/\"$progpath\" --fallback-echo";;
8559c8559
<   relink_command="(cd `pwd`; $SHELL $progpath $preserve_args 
--mode=relink $libtool_args @inst_prefix_dir@)"

---
>   relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args 
--mode=relink $libtool_args @inst_prefix_dir@)"


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



problem with Windows 7 + native python

2011-04-07 Thread Andreas Otto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

I have installed a native python:

-> python-3.2.amd64.msi

on a 64 bit windows.

I'm using the latest cygwin:

CYGWIN_NT-6.1-WOW64 win701 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

no my problem.

The dll:

C:\Windows\System32\python32.dll

is available.
- -> visible in files explorer
- -> visible in DOS box

but >>invisible<< in the cygwin bash shell:

$ ls /cygdrive/c/Windows/System32/python32.dll
ls: cannot access /cygdrive/c/Windows/System32/python32.dll: No such
file or directory


problem: I cannot compile any python extension without this file.

python self is working well:


dev1usr@win701 ~/Project/NHI1
$ /cygdrive/c/Python32/python.exe -c "from distutils.sysconfig import *;
print(''.join(get_config_vars('VERSION')),end='')"
32


mfg, Andreas Otto

- -- 
You can contact me by XING using:
https://www.xing.com/profile/Andreas_Otto6
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNnXiqAAoJEGTcPijNG3/AiaAH/iNFz/CrpvbzBqbiezxhnHvC
0t4hrtHP1QT9vUheaewuL90pO6z7HE6S4H/XavjjjgeG2aXrnV/MVfL5KijZfNjg
sTCZIPuhKK2BQYUahCumiGa/WBRTjoTtQ6XfwDF36ZMGgAPLXH7pdN/qYVNC+wES
6syN9z79UBJeMJp5TCZPIZB9PnaXizyzzhccHiBrpsyPgcw666FOCO6FuFxUp9tT
8C58RxrR15MHthqBCgNi36P7MUps0XY4NBPNfa7xxrwaTkjnvIERAq+EYdPv3PP1
3R/pf6Vqyiq4pc+FMy5AXMscllJbKn8GcMfeM+GorlgOrmKH4DsfGPBtPu0P00k=
=ki8N
-END PGP SIGNATURE-

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: problem with Windows 7 + native python

2011-04-07 Thread Andreas Otto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 07.04.2011 11:55, schrieb marco atzeri:
> On Thu, Apr 7, 2011 at 10:41 AM, Andreas Otto  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>>
>> Hi,
>>
>> I have installed a native python:
>>
>>-> python-3.2.amd64.msi
>>
>> on a 64 bit windows.
>>
>> I'm using the latest cygwin:
>>
>> CYGWIN_NT-6.1-WOW64 win701 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
>>
>> no my problem.
>>
>> The dll:
>>
>> C:\Windows\System32\python32.dll
>>
>> is available.
>> - -> visible in files explorer
>> - -> visible in DOS box
>>
>> but >>invisible<< in the cygwin bash shell:
>>
>> $ ls /cygdrive/c/Windows/System32/python32.dll
>> ls: cannot access /cygdrive/c/Windows/System32/python32.dll: No such
>> file or directory
> 
> it is almost a FAQ for windows at 64 bit
> http://cygwin.com/ml/cygwin/2006-01/msg00444.html
> 
> look in
> C:\WINDOWS\SysWOW64
> 

well copy the "python32.dll" into the "SysWOW64" folder works.
but than it is a python install bug. because "python32.dll" is
a 64 bit library.

thanks


- -- 
You can contact me by XING using:
https://www.xing.com/profile/Andreas_Otto6
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNnZBHAAoJEGTcPijNG3/AJRUIAJ+yevdYReIpRhs6bBcQHcML
jo8SIPWBNLttu9HbdmGaKit1M/vBcxFPPAqxdpXe799XdJhraqJCjU8qNFpTm/jU
LgmmMgvBDLYnx84d0uyNFuLRwg42DFIYbLlYxj6vZdQ7wYJjJly+bOAL+cG27a7S
b/natc5TahtArEY0bjHjsi8y1u8ceII7KnQV2VtVSf1EgUZsPoxvmYQZcAtwDb7o
ssELClkrBo2SwKDcVS5xg2PSIJ61rfm8jrnvXQMV6D+u2wr0+p35kKZyvt9gDcRi
6qH1evY8pOjJFGlEI+QHJENJL+jYNtJSvzUE5ORKhJIqP1HYQ4+9272I/FyFRws=
=L3oP
-END PGP SIGNATURE-

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Using texi2pdf

2011-10-21 Thread Andreas Falkenhahn

Hi,

I just tried to use texi2pdf on Cygwin but it doesn't seem to work right. 
There's a certain
amount of program activity but no PDF is generated. Here's the verbose log:

$ texi2pdf --verbose testfile.texi
/usr/bin/texi2dvi: Processing testfile.texi ...
/usr/bin/texi2dvi: BIBINPUTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: BSTINPUTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: DVIPSHEADERS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: INDEXSTYLE='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: MFINPUTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: MPINPUTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: TEXINPUTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: TFMFONTS='.:/home/Andreas:/home/Andreas/.::'
/usr/bin/texi2dvi: Removing /home/Andreas/testfile.t2d

Does anybody know why this doesn't work as it should?

Tks,

Andreas


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Using texi2pdf

2011-10-28 Thread Andreas Falkenhahn
On 23.10.2011 at 09:05 Rolf Dieterich wrote:

>Hi Andreas,
>
>I happened to generate some texinfo manuals in pdf format lately. For me
>it is working:
>
>[...]
>
>But I have Tex Live 2011 installed. So I don't use tetex 3.0 from the
>official Cygwin distribution:

Thanks for the hint! I uninstalled tetex and use Texlive instead.
This is working fine now! According to this page
http://www.rockbox.org/wiki/LatexInstallation#Cygwin
the tetex distribution is outdated anyway.

Greets,

Andreas


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Problem with ssh on Windows 2012 R2

2015-08-24 Thread Andreas Turriff
ebug3: mm_auth_password entering [preauth]
debug3: mm_request_send entering: type 12 [preauth]
debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD [preauth]
debug3: mm_request_receive_expect entering: type 13 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 12
debug3: mm_answer_authpassword: sending result 1
debug3: mm_request_send entering: type 13
Accepted password for (redacted) from 127.0.0.1 port 49552 ssh2
debug1: monitor_child_preauth: (redacted) has been authenticated by 
privileged process

debug3: mm_get_keystate: Waiting for new keys
debug3: mm_request_receive_expect entering: type 26
debug3: mm_request_receive entering
debug3: mm_get_keystate: GOT new keys
debug3: mm_auth_password: user authenticated [preauth]
debug3: mm_request_send entering: type 26 [preauth]
debug3: mm_send_keystate: Finished sending state [preauth]
debug1: monitor_read_log: child log fd closed
debug3: mm_share_sync: Share sync
debug3: mm_share_sync: Share sync end
debug3: monitor_apply_keystate: packet_set_state
debug2: set_newkeys: mode 0
debug2: set_newkeys: mode 1
debug1: ssh_packet_set_postauth: called
debug3: ssh_packet_set_state: done
debug3: notify_hostkeys: key 0: ssh-rsa 
SHA256:M0fKnOyGZ1wNKJXRi9aYBbyezWLKksBf+JPsPETp/jU
debug3: notify_hostkeys: key 1: ssh-dss 
SHA256:ShuKj/mJvv0yMNBd5yTa0h0ICNvl4iGWiUyn649X+/I
debug3: notify_hostkeys: key 2: ecdsa-sha2-nistp256 
SHA256:bD6rbS3+AD7X5jbfwB758K5wYqBg4MEOC0QvwJc7Ma0
debug3: notify_hostkeys: key 3: ssh-ed25519 
SHA256:HecP2VoRhUnDNoztJ+LDxy0PeBqdE8V0/NQUdnMv3/U

debug3: notify_hostkeys: sent 4 hostkeys
debug1: Entering interactive session for SSH2.
debug2: fd 4 setting O_NONBLOCK
debug2: fd 5 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 1048576 
max 16384

debug1: input_session_request
debug1: channel 0: new [server-session]
debug2: session_new: allocate (allocated 0 max 10)
debug3: session_unused: session id 0 unused
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_global_request: rtype 
no-more-sessi...@openssh.com want_reply 0

debug1: server_input_channel_req: channel 0 request pty-req reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pty2
debug1: server_input_channel_req: channel 0 request shell reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
Starting session: shell on pty2 for (redacted) from 127.0.0.1 port 49552
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x10
debug2: channel 0: rfd 8 isatty
debug2: fd 8 setting O_NONBLOCK
debug2: fd 6 setting O_NONBLOCK
debug1: Setting controlling tty using TIOCSCTTY.
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 2400
debug1: session_exit_message: session 0 channel 0 pid 2400
debug2: channel 0: request exit-status confirm 0
debug1: session_exit_message: release channel 0
debug2: channel 0: write failed
debug2: channel 0: close_write
debug2: channel 0: send eow
debug2: channel 0: output open -> closed
debug1: session_pty_cleanup: session 0 release /dev/pty2
debug2: channel 0: read<=0 rfd 8 len -1
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: channel 0: send close
debug2: notify_done: reading
debug3: channel 0: will not send data after close
debug2: channel 0: rcvd close
Received disconnect from 127.0.0.1: 11: disconnected by user
Disconnected from 127.0.0.1
debug1: do_cleanup


I have verified the service user running SSHD has the permissions 
required (to my knowledge, "Create Token" and "Login as Operating 
System" as well as membership of the local computer's Administrators 
group). I have verified /var/empty has appropriate ownership and 
permissions. I have checked the shell's configuration files; running a 
local shell on the system through the cygwin terminal works fine. I have 
no idea what else to look at, and would appreciate any help at this point.


~Andreas Turriff

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Problem with ssh on Windows 2012 R2

2015-08-24 Thread Andreas Turriff
Having been able to check all group policies, I cannot see how any that 
I apply might cause this behavior - they are exclusively related to 
audit logging and WSUS. I have also manually reset and reconfigured 
local policy.


~Andreas Turriff

On 8/24/2015 12:13 PM, Achim Gratz wrote:

Andreas Turriff writes:

I am running Cygwin (i686 / 32-bit) on Windows 2012 R2 in an Active
Directory environment; the version in use is

I (continue to) have the same or a similar problem and meanwhile I've
come believe this is caused by a group policy (I can't look at all of
those unfortunately).  It might be worth a try to set up a 64bit Cygwin,
since that is working for me with no problems.  I've also no problems on
a Windows 8.1 w/ Bing box.

If you only ever intend to log into this machine using a single account
(for administration), you can also have the sshd run under that account,
as what fails is likely the switch to another user.  I've been trying to
debug this with Corinna a while back, but she couldn't reproduce it in
her environment and the only fishy thing going on in the strace is that
the switch to a different user fails for no apparent reason.


Regards,
Achim.



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Entry point SSLv2_client_method missing in cygssl-1.0.0.dll

2016-03-03 Thread Andreas Hauptmann
On Thu, 3 Mar 2016 12:32:06 +0100
Vlado wrote:

> Can SSLv2_client_method return to library, or perheaps php should be 
> rebuild?

It's not only php that is broken now. curl and many other packages
don't work at the moment for the same reason:

$ strace curl --head https://google.com

-> same error for me, at least with cygwin64.



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



sigwait() ignores non-thread-specific pending signals

2012-12-06 Thread Andreas Steenpaß
I have noticed that sigwait() does not return immediately if called in
the following situation:
* One of the signals the command is looking for isalready pending.
* This signal was send to the entire process rather than to a specific
thread.
* sigwait() is called from a thread other than the 'main' thread.

Look at the test case below. The function test_sigwait() is first called
from the 'main' thread and then from another thread created in main().
This should not make a difference here, but the function shows different
behaviour.

My interpretation is that sigwait() simply forgets to look for
non-thread-specific signals which are already pending at the time when
it is called.

Regards,
Andreas

My system is:
$ uname -a
CYGWIN_NT-6.1-WOW64 zoppo 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin

Here is an example session (comments preceded by //):
$ ./test_case
pid: 2396
thread 1 waiting for SIGUSR1

// From another console, first send SIGUSR2
// (which should remain pending), then SIGUSR1:
$ kill -SIGUSR2 2396
$ kill -SIGUSR1 2396

// The program catches SIGUSR1 first, then SIGUSR2.
// Finally, a second thread starts waiting for SIGUSR1:
thread 1 received SIGUSR1
thread 1 waiting for SIGUSR2
thread 1 received SIGUSR2
thread 2 waiting for SIGUSR1

// Now the same again: first SIGUSR2, then SIGUSR1:
$ kill -SIGUSR2 2396
$ kill -SIGUSR1 2396

// The program only catches SIGUSR1,
// but it blocks waiting for SIGUSR2:
thread 2 received SIGUSR1
thread 2 waiting for SIGUSR2

// Send SIGUSR2 again:
$ kill -SIGUSR2 2396

// The program exits normally:
thread 2 received SIGUSR2
$


#include 
#include 
#include// compile with -lpthread

void *test_sigwait(void *arg)
{
  int *threadnr = (int *)arg;
  int signr;
  sigset_t sigusr1, sigusr2;
  sigemptyset(&sigusr1);
  sigemptyset(&sigusr2);
  sigaddset(&sigusr1, SIGUSR1);
  sigaddset(&sigusr2, SIGUSR2);

  printf("thread %d waiting for SIGUSR1\n", *threadnr);
  sigwait(&sigusr1, &signr);
  printf("thread %d received SIGUSR1\n", *threadnr);

  printf("thread %d waiting for SIGUSR2\n", *threadnr);
  sigwait(&sigusr2, &signr);
  printf("thread %d received SIGUSR2\n", *threadnr);
}

int main()
{
  sigset_t sigmask;
  sigemptyset(&sigmask);
  sigaddset(&sigmask, SIGUSR1);
  sigaddset(&sigmask, SIGUSR2);
  sigprocmask(SIG_BLOCK, &sigmask, NULL);

  printf("pid: %d\n", getpid());

  int threadnr = 1;
  test_sigwait(&threadnr);

  pthread_t thread2;
  threadnr = 2;
  pthread_create(&thread2, NULL, test_sigwait, &threadnr);

  pthread_join(thread2, NULL);
  return(0);
}

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



  1   2   >