Re: mySQL On Cygwin port

2002-09-17 Thread Gerrit P. Haase

Hallo Brad,

Dienstag, 17. September 2002 10:01:47, du schriebst:

> Hi Gerrit, I was looking for a port of mySQL and came across this page
> http://www.cygwin.com/ml/cygwin/2001-10/msg01601.html
>  
> The link you provided on that page is no longer valid, I was hoping you
> Could point me in the right direction to find these binaries.

Everything in the posting from the above URL is still valid
(besides the URL).
Later versions of MySQL on later versions of Cygwin didn't
work as well as mysql-3.23.43 did, maybe this old version
also don't work any longer with a later Cygwin release.  Also
I don't use it.  I was able to install DBD::MySQL and run the
testsuite, I don't know if this still works.

I have it online here:
http://koeln.convey.de/cywgin/mysql/mysql-3.23.43-pc-cygwin-i586.tar.bz2

Source is also up there (same directory), but I want to ask you
to fetch it from a mirror where it is still available since I have
a small/slow pipe: http://www.mysql.com/downloads/mirrors.html

> Thank You
 
You're welcome,


Gerrit
-- 
=^..^=


--
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: init_cygheap::etc_changed: Can't open /etc for checking,Win32 error

2002-09-17 Thread Christian Koessel

In the meantime I took a look at the cygwin sources and I found the
reason for the error:

On Sep 09 2001 the etc_changed()-function was added to cygheap.cc. Its
purpose is to detect a change to the group or passwd files while cygwin
is running and it seems to be called every time when rights have to be
checked. This is achieved by using the Win32
FindFirstChangeNotification() method which monitors a directory (here
/etc) for changes. The function is called with the
FILE_NOTIFY_CHANGE_LAST_WRITE option.
The problem is that this function does not work on drives with a non
NTFS file system and returns INVALID_HANDLE. This leads to the error
message 'init_cygheap::etc_changed: Can't open /etc for checking, Win32
error 2'. After this the function returns 0, which means that there was
no change to /etc.

So the only thing that goes wrong is that you always get that error
message and that changes to /etc are not detected while cygwin is
running.
A possibility to fix the problem could be to use GetVolumeInformation()
to retrieve information about the file system when /etc is mounted and
to maintain a flag which tells if directory change notifications are
supported or not.

I will try to build my own personal patch of the cygwin1.dll which the
error message just commented out...

Regards,

Christian Koessel

Gmuender ErsatzKasse GEK
Abteilung Information und Kommunikation
Gottlieb-Daimler-Str. 19
D-73529 Schwaebisch Gmuend

E-Mail: [EMAIL PROTECTED]
Internet: http://www.gek.de

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




find is broken ???

2002-09-17 Thread kobi cohen arazi


Hi, cygcheck is attached below.

uname -a
CYGWIN_NT-5.0 DUFAY 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown

findutils   4.1.7-4

find stops its action when a folder in not reachable.( for example
the famous "System Volume Information", or a unreachable mounted dir
etc ...)

I think find shouldn't stop finding !
It should print the "Access Denied" or "No such file or directory" msg and continue.

I can look at the source and try fix it if u can point me to its
location.

Thanks,

Kobi.





cygcheck.out
Description: cygcheck

--
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: Trying to build Eterm - Need help

2002-09-17 Thread J . Larsen

Hi,

install cygipc package, which is optional. Visit
cygwin.com and try to find the link to the package.

ipc package contains all shared memory (shmat())
and other IPC related funtionality. It runs as an
server, however you also can configure it as an
service.

Keep me informed about the errors you'll find after
installing cygipc :-)

-Jack


Date:  Mon, 16 Sep 2002 12:41:26 -0600 
From:  [EMAIL PROTECTED] 
Subject:  Trying to build Eterm - Need help 
To:  [EMAIL PROTECTED] 
   


Hello,
I am running Win2K service pack2, I have downloaded the latest version of Cygwin
(as of 13-Sept-02). I have downloaded the following packages as well:
1) Imlib2-1.0.6.tar.gz
2)libAST-0.4.tar.gz
3)Eterm-0.9.1.tar.gz

I was able to build libAST, without imlib2 support. When I try to build Imlib2,
I get the following error running ./configure:

[FROM config.log]
configure:2769: checking for shmat
configure:2797: gcc -o conftest -g -O2 conftest.c 1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/ccW7cN5X.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2791: undefined reference to `shmat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2774 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
#include 
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat)
choke me
#else
shmat();
#endif

; return 0; }
configure:2818: checking for shmat in -lipc
configure:2837: gcc -o conftest -g -O2 conftest.c -lipc 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lipc
collect2: ld returned 1 exit status
configure: failed program was:
#line 2826 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat();

int main() {
shmat()
; return 0; }
configure:2870: checking for IceConnectionNumber in -lICE
configure:2889: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>
&5
configure:2928: checking for XOpenDisplay in -lX11
configure:2947: gcc -o conftest -g -O2 conftest.c -lX11 -L/usr/X11R6/lib
1>&5
configure:2969: checking for XShmAttach in -lXext
configure:2988: gcc -o conftest -g -O2 conftest.c -lXext -lX11
-L/usr/X11R6/lib 1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/cch4uq5F.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2984: undefined reference to `XShmAttach'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2977 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }
configure:3007: checking for XShmAttach in -lXextSam
configure:3026: gcc -o conftest -g -O2 conftest.c -lXextSam -lX11
-L/usr/X11R6/lib 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lXextSam
collect2: ld returned 1 exit status
configure: failed program was:
#line 3015 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }

[END FROM config.log]

I have read some other posts, indicating that I may have to re-build the X
libraries, but the most recent one is from 2001. Is this still the case? Do I
need to rebuild the Xfree86 sources? Is there anything else I need to know?

Thanks in advance for any help you can give me.


Robert Cavanaugh
Senior Firmware Engineer
Flextronics Design
Mountain States Engineering
Salt Lake City, Utah
(801)-685-9330



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




Cygwin port of GNUstep

2002-09-17 Thread Ildar Mulyukov

Hi,
I just succeeded in building GNUstep (CVS version) in Cygwin 
environment. So for all who may concern I've wrote a README.

Also GNUstep source needs some minor corrections. I will provide patches 
as soon as I remake them from plane hacks.

With best regards,
-- 
Ildar  Mulyukov,
   free SW designer/programmer

email: [EMAIL PROTECTED]

projects: http://os-development.sourceforge.net/



Date:   17-Sep-2002 (tested under windows-xp)
Author: Ildar Mulyukov <[EMAIL PROTECTED]>

PURPOSE
---

This document may be treated as just an appendix to GNUstep-HOWTO. You can find 
GNUstep-HOWTO link here: http://gnustep.org/experience/documentation.html

This document is intended to provide a step by step instruction on how
to get the GNUstep base library into a usable state on a recent windows
operating system (XP, 2000, and probably NT) within Cygwin environment.

Cygwin is unix-like environment working on top of Win32 (Windows, Windows 
NT/2k/XP). You can find complete information about it on the website
http://cygwin.org

For the moment GNUstep can be built with GUI support. (Native Win32 GUI, not X11)
The gui library is only partially ported to run under Win32 API so be warned.

Generally Cygwin port of GNUstep has a lot of issues and therefore is not 
suitable for end-users yet but only for [experienced] programmers.

ADDITIONAL COMMENTS
---

Note: These comments are just my experience. You don't need these to build 
GNUstep. If you don't understand something don't worry.

Cygwin project is now in a very advanced stage. It's ready to be used by 
end-users and in commercial purposes and very convenient for programmers.

Cygwin provides "General UNIX" environment and APIs. In fact GNUstep-base is 
compiled using Unix alternatives of classes (like NSConcreteUnixTask). But it has
several particularities that must been taken into consideration. There is a very 
good documentation on Cygwin website on these questions. See e.g.
http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html
I would like to mention two of them:
1. Filesystem is case-insensitive. Now it's (luckily) supports soft-links. But
case-insensitivity hinders quite a lot.
2. Dynamic libraries mechanism is not so good. (Windows DLL). It does not 
support several features (and this makes so hard to port some software e.g. licq)
And it has those ugly __declspec(dllexport) / __declspec(dllimport) . But
(Cygwin hackers are just cool!) in later releases of binutils ld is capable
to link wrongly declared exports! This eliminates a lot of problems when dealing 
with DLLs (including objc.dll and gnustep-*.dll)

PRELIMINARIES
-

Before you start, you need Cygwin in some programming-oriented configuration 
(full configuration is OK but it's VERY big now). Installation instructions are 
on Cygwin site.

In fact Cygwin already contains every package needed for GNUstep except GCC and 
GDB. Please see below.

Building GCC and GDB


Cygwin contains it's own GCC and GDB packages that work very good in Cygwin 
environment. But they lack Objective-C language support so for us these are
completely unusable. See http://cygwin.com/faq/faq_4.html#SEC90

So you have to build these two from sources.

Please note that generally GDB is optional! It's up to you whether to use it or 
not. If you don't use it you don't need to build it.

1. GCC. Get sources from http://gcc.gnu.org . I suggest version 2.xx.x (last 
stable in gcc-2 branch e.g. 2.95.3) because gnustep-objc suits to version 2 of 
GCC. Get sources (including languages you need), unpack, build. Before installing
uninstall previous version of GCC via setup.exe program.
Note: GCC provided in Cygwin was patched to behave better in Windows/Cygwin
environment. Cygwin team has done some changes that were not committed to GCC
CVS tree and they lost Objective-C support. That's why you can't use even Cygwin
GCC source. But don't worry: newly built GCC works fine and I believe can do
all those "-mno-cygwin" and "-shared" things by fixing specs file.
Note2: You can make packages from programs you built with utility provided in
APPENDIX A. These packages can be installed with setup.exe

2. GDB. Sources are here: http://www.gnu.org/software/gdb/ . See 
http://mail.gnu.org/pipermail/discuss-gnustep/2002-August/017238.html
Adam Fedor has made wonderful patch for current CVS GDB. It's probable that you
may use Cygwin GDB sources but I don't know really. Unpack, apply patch, make,
install. This may be non-trivial. Good luck.

Obtaining GNUstep
-

The main GNUstep project pages tell you how to get hold of this. You can get
the latest release of the following libraries. However, since Cygwin support
is currently evolving, I recommend that you get the latest snapshot
or code from CVS.

You need things in the following order:

GNUstep-make (release, snapshot, or cvs core modu

postgresql + chown

2002-09-17 Thread Retzlaw Heinrich

Hello,
I am trying to install Postgres on a win2000 machine.

I am following the instractions at
: for a NT services
installation. (cygwin is already installed ofcourse).

followed all the steps, but at step 6
6. Change ownership of the PostgreSQL data directory:
# chown postgres /usr/share/postgresql/data

But nothing happens. The owner of the directory ist the Administrator.

Then I tried to login as postgres:
# login postgres

But after I entered the password an error occurs: Login incorrect.

Following entry is in the /etc/passwd-file:
postgres:unused_by_net/2000/xp:1007:513:postgres,U-AAWRK020\postgres,S-xxBLA
xx:/home/postgres:/bin/bash
I changed it to
postgres::1007:513:postgres,U-AAWRK020\postgres,S-xxBLAxx:/home/postgres:/bi
n/bash
After I log in with
# login postgres
the following message appears:
No directory /home/postgres!
Logging in with home = "/".
Fanfare!!!
You are successfully logged in to this server!!!

But I can not change the owner of /usr/share/postgresql/data from
Administrator to postgres.
If I try to init the db, teh following message appears:
The files belonging to this database will be owned by user "Administrator".
This user must also own the server process
.
.
.

But the owner of all the files is the Administrator, even though I logged in
as postgres with no home-directory.

How to add a user with home-directory?
Or what else can I do?
Why is it not possible to change the owner of a directory, even if I am the
Administrator?

Best regards
Heinrich

Heinrich Retzlaw - Software Developer
ETM Deutschland GmbH
Adenauerstraße 20-A1, D-52146 Aachen
Tel. +49/2405/4995-0, Fax -707
E-Mail: [EMAIL PROTECTED]
Web: http://www.etm.at   http://www.praedico.com


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




Setup 2.249.2.5 Hangs during "Install from Local Directory"

2002-09-17 Thread John Carlyle- Clarke

Hi list--

As the title says, while running setup and selecting "Install from Local Directory", 
the installation gets so far and then will hang up.  The program appears responsive 
(in that you can move the window, it repaints, and responds to cancel) but the install 
progress stops.  The task manager shows high CPU usage and constantly increasing 
memory usage (at least 90Megs) which eventually will eat all available memory.

I am running Windows NT4 SP6a.

I have tried selecting various install types and combinations of packages, but all 
except for when I tried single packages have failed, but not at a consistent point and 
not on the same package or file.

When I press Cancel, I get two access violations.  Nothing is written to setup.log.

I have tried with the files on a network drive, and on CD.  Up until now, I have been 
running the setup program from a network drive with no problems.

Does anyone have any suggestions?

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: postgresql + chown

2002-09-17 Thread Jason Tishler

Heinrich,

On Tue, Sep 17, 2002 at 12:22:43PM +0200, Retzlaw Heinrich wrote:
> I am following the instractions at:
>  for a NT services
> installation. (cygwin is already installed ofcourse).

Sigh... Please use the "official" Cygwin PostgreSQL README:

/usr/doc/Cygwin/postgresql-7.2.2.README

or 

http://www.tishler.net/jason/software/postgresql/postgresql-7.2.2.README

> 6. Change ownership of the PostgreSQL data directory:
> # chown postgres /usr/share/postgresql/data
> 
> But nothing happens. The owner of the directory ist the Administrator.

Did you set CYGWIN=ntsec?

> Then I tried to login as postgres:
> # login postgres

login does *not* work from the command line under Cygwin -- it is meant
to be used indirectly via programs such as in.telnetd.

Jason

--
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: Files transfer question

2002-09-17 Thread Alexander Gottwald

On Tue, 17 Sep 2002, Stephen Liu wrote:

> My requirement is only for files transfer betwenn WinXP and "cygwin" not 
> via another software.  

On one host? Copy it through the filesystem. /cygdrive/x/ maps to drive x.
If you still have problems with unix/dos lineendings, recode can solve these.

Between hosts? Use the Windows networking (SMB). You can acces the network
paths via //server/share/filepath

> Before I made use of Samba to do the job.  Currently 
> I make use of Internet to help me, dispatching the file as attachment to an 
> email from WinXP to myself and download it on Linux and vice versa.  The 
> max size of file allowed is 10MB.  It is quite sufficient for me.  But I am 
> looking for some other alternatives, if possible.

If the hosts are in not connected via a windows network, the scp program (from 
openssh) was already mentioned. 

bye
ago
Stripped cc to cygwin-xfree, since this is not a xfree problem 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


--
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: Files transfer question

2002-09-17 Thread Stephen Liu

Hi David,

Thanks for your response.

My requirement is only for files transfer betwenn WinXP and "cygwin" not 
via another software.  Before I made use of Samba to do the job.  Currently 
I make use of Internet to help me, dispatching the file as attachment to an 
email from WinXP to myself and download it on Linux and vice versa.  The 
max size of file allowed is 10MB.  It is quite sufficient for me.  But I am 
looking for some other alternatives, if possible.

At 09:40 AM 2002/9/17 +0200, David Fraser wrote:
- snip -
>On the other hand you may not have rights to set up such stuff on the
>LTSP server. Then what you could use
>is a once-off copy between the machines. For this you could use a huge
>number of different tools. I would recommend
>using scp (secure copy) which is available in cygwin from the openssh
>package or in linux. You can also set it up to
>automatically authenticate using public keys so you don't have to enter
>the password each time. Example syntax:
>(from cygwin)  scp [EMAIL PROTECTED]:~/officedocument.xls ./mycopy.xls
>You probably want to set up the sshd server as a service if you want to
>do it the otherway round
>(from linux)   scp ~/officedocument.xls
>[EMAIL PROTECTED]:/cygdrive/c/temp/mycopy.xls
>Other tools you could use include ftp etc

I will take a look on 'scp'.  Is it on "cygwin.com" website?  But I could 
not find this package there.  What is the correct name of this package?

Thanks

Stephen


>In any case the cygwin-xfree list isn't raelly the place for this 
>question, maybe the standard cygwin list if this doesn't solve the problem.
>
> >
> >
> >>
> >>
> >> -Original Message-
> >> From: Stephen Liu [mailto:[EMAIL PROTECTED]] Sent: Monday,
> >> September 16, 2002 9:30 AM
> >> To: [EMAIL PROTECTED]
> >> Subject: Files transfer question
> >>
> >>
> >> Hi All Folks,
> >>
> >> I have "cygwin" running on WinXP which is connected to LTSP server.
> >> How can I transfer files between them.  To make it more specific :-
> >> If I have a document created on OpenOffice how can I transfer it to
> >> WinXP Office.
> >>
> >> Thanks in advance.
> >>
> >> Stephen Liu



--
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: printing from within Cygwin

2002-09-17 Thread Jason Tishler

Igor,

On Mon, Sep 16, 2002 at 03:16:23PM -0400, Igor Pechtchanski wrote:
> I know GSPrint can work with Windows printers.  It works fine if you
> only want to use the windows default printer.  I couldn't, however,
> get it to work correctly with the -printer and -query options (well,
> the -printer part is mostly shell quoting issues, but the -query just
> doesn't seem to work, somehow).  Any insight will be appreciated.  I'm
> attaching the script that I currently have.

Sorry, but I never had the need to handle more than one printer.  Have
you discussed this issue with Pierre since he is the original author of
the script?

> A question about your script: you're using the '-_' option, which
> doesn't seem to be documented on the GSPrint page (
> http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm ).  What exactly does
> it do?

IIRC, "-_" is just like "-" (i.e., stdin) but buffered.  Or, maybe it's
the other way around. :,)

> I also found this thread extremely interesting and relevant:
> http://sources.redhat.com/ml/cygwin/2000-11/msg01570.html

The above seems to imply that the gsprint "-printer" option should work.

> a2ps seems like the perfect solution for lp/lpr.

IMO, a2ps is not a replacement for lp/lpr but instead a very nice tool
to drive lp/lpr.

> Is it ever going to become a cygwin package (
> http://www.cygwin.com/ml/cygwin/2001-08/msg01240.html )?

Would you like to contribute a2ps?  Note that it builds OOTB under
Cygwin.

Jason

--
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-17 Thread Jason Tishler

Andreas,

On Tue, Sep 17, 2002 at 01:11:47PM +0200, Andreas wrote:
> > > 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.

Jason

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




Apache

2002-09-17 Thread Simon Whittaker

Hello,

Anyone having trouble with latest version of apache? Installed 1.3.24-5 over
the weekend and have not been able to get an http connection since Have
tried uninstalling and reinstalling (with reboots) but to no avail. In IE I
get the message Web site found but then it hangs. In lynx i get "Making HTTP
connection to *.*.**" but cannot get any response. I have
changed httpd.conf to exactly the same as before upgrade (ie change
servername/email etc) and also tried just default.conf.

Hope someone can help


Cheers

Simon

Hope someone can help



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




HELP ME AND MY FAMILY

2002-09-17 Thread jonathan savimbi

Dear Sir/Madam 
[EMAIL PROTECTED]
This letter may come to you as a surprise due to the fact that we have not yet met,but 
it should'nt,since we are determined to get what rightly belongs to us anyhow,but soon 
when every thing goes according to plan.The message could be strange but reality will 
definitely dawn on you, if you pay some attention to it's content. I would'nt have 
notified you but for the sake of your integrity and goodwill.Please accept my sincere 
apologies.In bringing this message to you, I have to say that I have no intentions of 
causing you any personal pains or discomfort. 

I am Mr.jonathan Savimbi, son of the late rebel leader Jonas Savimbi of Angola who was 
killed on the 22nd of february 2002.We are desperately looking for a trustworthy 
person to assist us in this confidential business.My late father, Jonas Savimbi 
deposited huge sums of money realised from the sale of diamonds and other precious 
stones /metals in different banks in Europe. My father is presently no more, and the 
movement of his family members (including me) is highly restricted. We are forbidden 
to either travel abroad or out of our immediate localities. Presently, the money 
realised from those sails amounting to US$25,500,000.00 
(TWENTY-FIVE MILLION,FIVE HUNDRED THOUSAND DOLLARS), which my father realised,and was 
transfered to Netherlands, is safe in a security firm over there.Before you can get 
access to it you have to be given the password and the Personal indentification 
numbers (PIN No:) of the 
consignment deposited.I am therefore soliciting your help to have this money collected 
by you and transfered into your account,as we would give you the neccesary 
documentations to facilitate your collection of the consignment personally in 
Amsterdam, before the 
government gets wind of this arrangement.You know my father was a rebel leader in his 
life time before his death. 
My reason for doing this is because it will be 
difficult for the Angolan Government to trace my father's money to an individual's 
account,especially when such an individual bears no blood relationship with us ,I have 
decided to keep that money for my family's use. Presently the money is still in that 
Security Company in the Netherlands. 
I am currently and temporarily living in Luanda with my family seeking for my refugee 
status,moreover the political climate in Angola at the moment is very tense,sensitive 
and unstable.With this password and informations that we will give you,together with 
the Power of Attorney,you will then proceed to the security firm,and these will 
facilitate your 
collection of the consignment. You have to proceed personally to Netherlands where 
after fulfiling their requirements US$25,500,000.00 will be released to you in the two 
large trunk boxes that it was deposited in,after which we may likely ask you to come 
over with some money for us to run away from here at least for now into one of these 
European countries. You can have the fund transferred into any account that suits you 
after your personal collection of the consignment,until further instructions are 
given. 

***PLEASE YOUR CONFIDENTIALITY IN THIS TRANSACTION IS HIGHLY REQUIRED. 

Thank you very much for your time and understanding. 

Yours sincerely, 

Mr.JONATHAN SAVIMBI 

___
GO.com Mail
Get Your Free, Private E-mail at http://mail.go.com



--
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 port of GNUstep

2002-09-17 Thread Lars Sonchocky-Helldorf

good work! I'll need it in a while 'cause I'll give GNUstep on win2k a 
try...

greetings, Lars

--
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: exim-4.10-2

2002-09-17 Thread Pierre A. Humblet

This is the first regular release of exim 4.10, following the test
release 4.10-1

Changes:
 - Workaround against Cygwin 1.3.12 socket bug on Win 95/98/ME
 - Improved exim-config script and README.

Exim is a powerful Mail Transfer Agent with a sendmail 
compatible command line. Its site is www.exim.org.

Run the script /usr/bin/exim-config to configure your site for exim.

If you already have exim from other sources, note that file 
locations have changed:
/usr/local/exim/configure ==> /etc/exim.conf
/usr/local/exim/spool/log ==> /var/log/exim
/usr/local/exim/spool ==> /var/spool/exim
/var/mail ==> /var/spool/mail

*** CYGWIN INSTALL ***

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. Then, run setup and answer all of the questions.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations. This means that you will need
to find a mirror which has this update. You might have to wait as much
as 24 hours to find a mirror with the updated version of cygwin on it.
Be patient.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would
use this mailing list rather than emailing me directly.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place. This includes ideas and comments about the
setup utility or Cygwin in general.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce 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]

If you need more information on unsubscribing, start reading here:

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

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

I implore you to READ this information before sending email about how
you "tried everything" to unsubscribe. In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.


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




Telnet login gives no echo back, seems to be stuck in line mode.

2002-09-17 Thread Josh Bell

Hello All,

I've searched for an answer to this question for about a day and 
have not come up with anything, I have a cygwin installation on NT4 and 
inetd runing as a service. I can connect fine, and the service starts 
fine, but the problem with hte connection is I get no echo back of 
characters (character mode does not seem to work), and only get feedback 
after I neter a new line (stuck in line mode?). Has anyone else run into 
such a beastly problem, orpssibly have a soltion to this? Thanks in 
advance for any advice/help.


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




gcc versions

2002-09-17 Thread David A. Cobb

I have gcc-3.2-1 as my "normal" CC.  Just in case, I also have "gcc2" 
standing by.

It really is a PITA to have Setup keep suggesting I revert "gcc" to the 
"production(?)'" version of 2.95..-12.  Now that "gcc2" captures the 
version 2.95 stable version, it would be very desirable to have 
setup.ini changed to advance "3.2" to the [current] status of "gcc".

-- 
David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace I am a Christian man, by my actions a great sinner." -- The Way of a 
Pilgrim; R. M. French, tr.
Life is too short to tolerate crappy software.
.



--
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: New gcc-3.1.1 Release - g77

2002-09-17 Thread David A. Cobb

Back in the Dark Days of 7/7/2000, Dockeen wrote:

>It may be a while before he gets to it, he was up late last night
>dealing with some schmuck, i.e. me.  :-)
>
>I will be very interested in how GNAT works into this.  Although
>some very nice people have sent me very nice directions as to
>how to do the Ada bootstrap, I have avoided for some weird, fearful
>reasons.
>
Here's what I tried, without success!

Installed binary kit GNAT ( gcc-2.7 ) from NYU.  Note, this is a Windoze 
build, not Cygwin (AFAIK).
Point $CC and $CXX at the GNAT gcc, also put that dir at the head of my 
$PATH.

Try running configure & make bootstrap for gcc-3.2-1.

I'm not totally surprised that it failed, however I /am/ surprised at 
how and where.  The 'C' and 'C++' and 'F77' builds went pretty well.
However, the Ada test in configure ( Testing whether gcc understands Ada 
 no ). failed.

My first thought was "of course, it doesn't unerstand Cygwin paths." 
 But, if that were true it should have failed completely on C, C++, and 
F77 as well.
SO, if Dockeen, or anyone, can point me in the direction of creating a 
bootstrap GNAT it would be greatly appreciated.

TIA
-- 

David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace I am a Christian man, by my actions a great sinner." -- The Way of a 
Pilgrim; R. M. French, tr.
Life is too short to tolerate crappy software.
.



--
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: init_cygheap::etc_changed: Can't open /etc for checking, Win32 error

2002-09-17 Thread Christopher Faylor

On Tue, Sep 17, 2002 at 10:22:07AM +0200, Christian Koessel wrote:
>In the meantime I took a look at the cygwin sources and I found the
>reason for the error:
>
>On Sep 09 2001 the etc_changed()-function was added to cygheap.cc. Its
>purpose is to detect a change to the group or passwd files while cygwin
>is running and it seems to be called every time when rights have to be
>checked. This is achieved by using the Win32
>FindFirstChangeNotification() method which monitors a directory (here
>/etc) for changes. The function is called with the
>FILE_NOTIFY_CHANGE_LAST_WRITE option.
>The problem is that this function does not work on drives with a non
>NTFS file system and returns INVALID_HANDLE. This leads to the error
>message 'init_cygheap::etc_changed: Can't open /etc for checking, Win32
>error 2'. After this the function returns 0, which means that there was
>no change to /etc.

The function works on non-NTFS filesystems.  You, yourself, noted that
it works on directories exported from a Samba server.  It also works on
Windows 9x which doesn't natively understand NTFS filesystems.

It apparently doesn't work on a Novell netware drive.  That's been noted
repeatedly here.  It sounds like a netware bug to me.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
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: HELP ME AND MY FAMILY

2002-09-17 Thread Igor Pechtchanski

On Tue, 17 Sep 2002, jonathan savimbi wrote:

> Dear Sir/Madam
> [EMAIL PROTECTED]
> [snip]

Might be a good idea to include ALL-CAPS subjects in the spam filter...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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




testing

2002-09-17 Thread Elfyn McBratney

sorry, just testing to see my e-mail gets through as for some reason every
thing i send is getting blocked...

> Sorry, your subject has been blocked, probably as the result of previous
> spam behavior, an off-topic post or long-running flame war.

Elfyn
[EMAIL PROTECTED]


--
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: printing from within Cygwin

2002-09-17 Thread Igor Pechtchanski

On Tue, 17 Sep 2002, Jason Tishler wrote:

> Igor,
>
> On Mon, Sep 16, 2002 at 03:16:23PM -0400, Igor Pechtchanski wrote:
> > I know GSPrint can work with Windows printers.  It works fine if you
> > only want to use the windows default printer.  I couldn't, however,
> > get it to work correctly with the -printer and -query options (well,
> > the -printer part is mostly shell quoting issues, but the -query just
> > doesn't seem to work, somehow).  Any insight will be appreciated.  I'm
> > attaching the script that I currently have.
>
> Sorry, but I never had the need to handle more than one printer.  Have
> you discussed this issue with Pierre since he is the original author of
> the script?

Oh, I got gs to work with my multiple printers, so I'm not hurtin'...
However, if people want to use GSPrint, they may need this.  Pierre's
original script didn't have support for the -printer option, though, IIRC.

> > A question about your script: you're using the '-_' option, which
> > doesn't seem to be documented on the GSPrint page (
> > http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm ).  What exactly does
> > it do?
>
> IIRC, "-_" is just like "-" (i.e., stdin) but buffered.  Or, maybe it's
> the other way around. :,)

I see.

> > I also found this thread extremely interesting and relevant:
> > http://sources.redhat.com/ml/cygwin/2000-11/msg01570.html
>
> The above seems to imply that the gsprint "-printer" option should work.

Yes, it should, and it sort of does.  The problem is quoting the
backslashes and, especially, the spaces in the printer name.  This is more
of an issue for shared printers, where the name cannot be easily changed
under Windows.  And this is a shell issue, not a GSPrint one.

> > a2ps seems like the perfect solution for lp/lpr.
>
> IMO, a2ps is not a replacement for lp/lpr but instead a very nice tool
> to drive lp/lpr.

True.  What I like most about it is actually the a2ps-site.cfg, where you
can set up custom printers, etc.  This is the closest to /etc/printcap or
/etc/printers.conf that I've seen.  It would be nice to have something
similar for lp/lpr...

> > Is it ever going to become a cygwin package (
> > http://www.cygwin.com/ml/cygwin/2001-08/msg01240.html )?
>
> Would you like to contribute a2ps?  Note that it builds OOTB under
> Cygwin.
>
> Jason

Yes, I know -- I just built it... :-)
Hmm, does contributing some package automatically make you the maintainer?
Frankly, I'd rather not be tied up with any package just now...  Maybe in
a few months...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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




sh.exe.stackdump: STATUS_ACCESS_VIOLATION

2002-09-17 Thread Kent Shi

Hi:
I am trying to build a cross-gcc under cygwin, but I have been
running into crashes in /bin/sh (which is ash-20020731-1).  We are
running on Windows 2000, on a dual Pentium 4, and cygwin setup says it
is version 2.249.2.5.
Here are the two stackdumps from yesterday.  I'll try to replace ash
with bash now, and see if that helps...
Kent


Exception: STATUS_ACCESS_VIOLATION at eip=C219417C
eax=61680294 ebx=0062FB2C ecx= edx=0062FAC0 esi= 
edi=0062FABC
ebp=0062FB04 esp=0062FA98 program=C:\cygwin\bin\sh.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0062FB04  C219417C  (, , , )
0062FF34  6106AC77  (, 6106A0E4, , 7FFF)
0062FF94  6106B205  (, , 0062FFDC, 61010720)
0062FFB4  61006B18  (610C2B4C, , 0022F830, 610C2B4C)
   8 [sig] sh 1460 handle_exceptions: Error while dumping state 
(probably corrupted stack)
20021360 [sig] sh 1460 proc_terminate: WFSO(hwait_subproc) timed out


Exception: STATUS_ACCESS_VIOLATION at eip=C219400C
eax=0001 ebx= ecx=00F8 edx= esi=0022E5D8 
edi=0022DCFC
ebp=0022DCD0 esp=0022DCA4 program=C:\cygwin\bin\sh.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022DCD0  C219400C  (0022E5D8, 0001, 0022DCFC, )
0022DD40  6105AD58  (0200, 0001, 003C, 61680594)
0022EFF0  6106E195  (0A065670, 0A0653F8, 0A065420, 0003)
0022F020  6106EDAA  (0003, 0A065670, 0A0653F8, 0A065420)
0022F040  61012CEB  (0A065670, 0A0653F8, 0A065420, 61069D8F)
0022F070  00403481  (0A065670, 0A0653F8, 0A065420, 0040F0EA)
0022F0A0  004033CA  (0A0653F8, 0A065420, 6168FD81, )
0022F230  00402FFA  (0A013BC8, 0001, , 00407001)
0022F260  00401D98  (0A013BC8, 0001, , )
0022F2A0  00402374  (0A013B5C, 0006, 6168362C, 6104EE01)
0022F2D0  00401D85  (0A013B5C, 0001, , 0714)
0022F320  00402552  (0A013B5C, 0022F410, 0022F420, 00404953)
0022F420  00404965  (0A013B5C, , 0004, 0040CC61)
0022F460  004046B0  (0A013BD8, 0004, 0022F5F0, 00402F72)
0022F490  00404447  (0A013BE4, 0022F4F8, 0004, )
0022F620  00402684  (0A013BF4, , , 610AA142)
End of stack trace (more stack frames may be present)


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




How about using SpamAssassin to manage spam on this list?

2002-09-17 Thread Jim Drash

SpamAssassin is what I use to deal with spam on some mailing lists I work
with.  It has saved by butt on many occasions.



--
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: Memory Leak - DLL problem

2002-09-17 Thread Tirth Sanyal

Hi,
I tried allocating and deallocating on the same heap
i.e. the heap belonging to the DLL. However, the
problem still persists. Looks like there might be some
other problem.

I have uploaded the modified version of the programs
as a tarball with a README file for installing and
running the program should you decide to try it out
yourself. Here is the url:
http:://www.cs.ucsb.edu/~tsanyal/mem_leak_demo.tgz

Would appreciate any more ideas.
Thanks.

-Tirth

--- Danny Smith <[EMAIL PROTECTED]> wrote:
> Don Sharp - Re: Memory Leak - DLL problemRe: Memory
> Leak - DLL problem
> From: Don Sharp 
> To: gnuwin32 
> Date: Sat, 14 Sep 2002 21:13:56 +0100
> Subject: Re: Memory Leak - DLL problem
> References:
> <[EMAIL PROTECTED]>
> 
> 
> 
> Tirth Sanyal wrote:
> >
> > Hi,
> >
> > I have been encountering a strange memory leak
> problem
> > in my code which has prompted me to write a small
> > program to isolate and demonstrate it. I have
> pasted
> > the code at the bottom of the email.
> >
> >
> > - In a DLL say libfoo, I define and export a class
> > Base and also export a function "foo" whose
> interface
> > is the following:
> >   Base* foo(void)
> >
> > - "foo" instantiates an object of the class Base
> and
> > returns a pointer to this object.
> >
> > - In my application (which has the main routine) I
> > load the dynamic library libfoo, call function
> "foo"
> > in it , get the pointer to the newly created
> object
> > and immediately call "delete" on this pointer.
> >
> > - The destructor function of the class Base
> contained
> > in the libfoo DLL is called.
> >
> >
> 
> 
> There is an article called 'DLL Maintenance Made
> Easy'  by Geoff
> Vandegrift . It used to be at
> www.devx.com/free/mgznarch/vcdj but best to do a
> Google search.
> 
> It explains, among other things, how to  "wrap"
> memory allocations and
> de-allocations so that you don't get leakage problem
> from allocating
> memory on one heap and de-allocating in another.
> 
> Danny
> 


__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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




Script to emulate ldd

2002-09-17 Thread Matt Swift

Attached is a bash script that emulates the ldd(1) utility.  Enjoy.




ldd
Description: Binary data

--
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: New gcc-3.1.1 Release - g77

2002-09-17 Thread Billinghurst, David (CRTS)

It can be done.  I have a working (or so it seems) GNAT for cygwin.

Let me know if you are interested.

-Original Message-
From: David A. Cobb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 September 2002 3:21 
To: Dockeen
Cc: [EMAIL PROTECTED]
Subject: Re: New gcc-3.1.1 Release - g77


Back in the Dark Days of 7/7/2000, Dockeen wrote:

>It may be a while before he gets to it, he was up late last night
>dealing with some schmuck, i.e. me.  :-)
>
>I will be very interested in how GNAT works into this.  Although
>some very nice people have sent me very nice directions as to
>how to do the Ada bootstrap, I have avoided for some weird, fearful
>reasons.
>
Here's what I tried, without success!

Installed binary kit GNAT ( gcc-2.7 ) from NYU.  Note, this is a Windoze 
build, not Cygwin (AFAIK).
Point $CC and $CXX at the GNAT gcc, also put that dir at the head of my 
$PATH.

Try running configure & make bootstrap for gcc-3.2-1.

I'm not totally surprised that it failed, however I /am/ surprised at 
how and where.  The 'C' and 'C++' and 'F77' builds went pretty well.
However, the Ada test in configure ( Testing whether gcc understands Ada 
 no ). failed.

My first thought was "of course, it doesn't unerstand Cygwin paths." 
 But, if that were true it should have failed completely on C, C++, and 
F77 as well.
SO, if Dockeen, or anyone, can point me in the direction of creating a 
bootstrap GNAT it would be greatly appreciated.

TIA
-- 

David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace I am a Christian man, by my actions a great sinner." -- The Way of a 
Pilgrim; R. M. French, tr.
Life is too short to tolerate crappy software.
.



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


--
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 mutt and maildir

2002-09-17 Thread Gary R. Van Sickle

> Hi Gary,
>
> Just a short question, is there any sight on a fix for the maildir
> functions in
> cygwins mutt or is the problem a general mutt problem.
>

Actually it's a filename problem.  The maildir format needs to be able to put a
few special characters ("," or ";" I believe is one of them) into filenames, and
Windows chokes on them.  It's a shame too, because AFAIK, maildir obviates the
need for dotlock, so it would cure that problem.

The only way I can think this could be solved is through a method something like
how Rob's handling setup's local cache dir naming scheme, i.e. escaping
Windows-invalid characters with URLesque "%xx"'s.  And that would pretty much
have to be in the cygwin file stuff so that every MUA/MDA/whatever spoke the
same maildir language.  And that feels like something that may have been
discussed before and rejected.  If not that might be something I'll look into
doing (sounds easy enough).  Otherwise I'm afraid you're stuck with mboxes for
the forseeable future :-(.

--
Gary R. Van Sickle
Brewer.  Patriot.


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




Help! Can I access a tape created with UNIX tar under W2K

2002-09-17 Thread Brian Topping

I think I got all of the things down, what am I missing?  Drive is DDS3,
cygwin was just installed from net today:

Administrator@BRIAN ~
$ mount -b -f //./tape0 /dev/st0

Administrator@BRIAN ~
$ mt -f /dev/st0 status
No media
datcompression   :   on
min block size   :1 max block size   :65536
def block size   :16384
report setmarks  :   on

Administrator@BRIAN ~
$ mt -f /dev/st0 status
tape capacity:0 KB  remaining:0 KB
current block:0 write protected  :   no
datcompression   :   on

Administrator@BRIAN ~
$ mt -f /dev/nst0 setblk 0

Administrator@BRIAN ~
$ tar -tvf /dev/st0
tar: /dev/st0: Cannot read: No space left on device
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

Administrator@BRIAN ~
$ tar -tvf /dev/nst0
tar: /dev/nst0: Cannot read: No space left on device
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now


Thanks for your consideration of my plight!  I'm trying to recover a website
for a friend, they are down until I can get this tape opened.

best regards,

Brian

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




Help! Can I access a tape created with UNIX tar under W2K

2002-09-17 Thread Brian Topping

I think I got all of the things down, what am I missing?  Drive is DDS, OS is
W2KSP2, cygwin was just installed from net today:

Administrator@BRIAN ~
$ mount -b -f //./tape0 /dev/st0

Administrator@BRIAN ~
$ mt -f /dev/st0 status
No media
datcompression   :   on
min block size   :1 max block size   :65536
def block size   :16384
report setmarks  :   on

Administrator@BRIAN ~
$ mt -f /dev/st0 status
tape capacity:0 KB  remaining:0 KB
current block:0 write protected  :   no
datcompression   :   on

Administrator@BRIAN ~
$ mt -f /dev/nst0 status 2
tape capacity:0 KB  remaining:0 KB
current block:0 write protected  :   no
datcompression   :   on
min block size   :1 max block size   :65536
def block size   :16384 cur block size   : 2048
report setmarks  :   on

Administrator@BRIAN ~
$ mt -f /dev/nst0 setblk 0

Administrator@BRIAN ~
$ tar -tvf /dev/st0
tar: /dev/st0: Cannot read: No space left on device
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

Administrator@BRIAN ~
$ tar -tvf /dev/nst0
tar: /dev/nst0: Cannot read: No space left on device
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now


Thanks for your consideration of my plight!  I'm trying to recover a website
for a friend, they are down until I can get this tape opened.

best regards,

Brian

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




libpng not found.

2002-09-17 Thread Krung Saengpole

Hello all,

I come to this mailing list for the first time. If I go to the wrong place, apologize 
me. I installed Cygwin on my machine (Win95), when I compiled my program that use 
-lpng, system told me that libpng wasn't found. I installed cygwin including libpng. 
What I did wrong or how to solve this problem?

Thank you in advance
Krung


--
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: make etc....

2002-09-17 Thread Soren A

"Simon Whittaker" <[EMAIL PROTECTED]> wrote in 
news:00b701c25d64$71c03590$[EMAIL PROTECTED]:

> 
> I have tried automake as well but this errors out.
> 

In addition to the sound and informed suggestions in Tim Prince's reply,
I will offer you the advice that it read to me as if you don't know for
sure what `automake' does. I urge you not to experiment randomly and
carelessly with that particular command. 

   Soren A



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