[PATCH] generic-build-script

2004-06-08 Thread Max Bowsher
* generic-build-script (install): Do not invoke gzip with no arguments, and
consequently die with will not write compressed data to a terminal
if a package creates usr/share/man or usr/share/info, but does not
install any man/info pages under it.


Index: generic-build-script
===
RCS file:
/home/mirror/cvsmirror/cygwin-apps-cvs/packaging/templates/generic-build-scr
ipt,v
retrieving revision 1.22
diff -u -p -r1.22 generic-build-script
--- generic-build-script 31 Mar 2004 00:56:17 - 1.22
+++ generic-build-script 8 Jun 2004 12:16:18 -
@@ -180,12 +180,13 @@ install() {
 fi ;\
   done \
   if [ -d ${instdir}${prefix}/share/info ] ; then \
-find ${instdir}${prefix}/share/info -name *.info | xargs gzip -q ; \
+find ${instdir}${prefix}/share/info -name *.info | \
+  xargs --no-run-if-empty gzip -q ; \
   fi  \
   if [ -d ${instdir}${prefix}/share/man ] ; then \
 find ${instdir}${prefix}/share/man -name *.1 -o -name *.3 -o \
   -name *.3x -o -name *.3pm -o -name *.5 -o -name *.6 -o \
-  -name *.7 -o -name *.8 | xargs gzip -q ; \
+  -name *.7 -o -name *.8 | xargs --no-run-if-empty gzip -q ; \
   fi  \
   templist=  \
   for f in ${install_docs} ; do \




Re: [PATCH] generic-build-script

2004-06-08 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Max Bowsher wrote:
| * generic-build-script (install): Do not invoke gzip with no
arguments, and
| consequently die with will not write compressed data to a terminal
| if a package creates usr/share/man or usr/share/info, but does not
| install any man/info pages under it.
Actually, I still have a submitted patch pending, from 19 May, which
already includes this.  Which remindes me, Igor, are you still working
on the g-b-s?  Whatever happened with that thread?
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAxc9+piWmPGlmQSMRAmSKAKDJjUUGaxnfEHFVPa3d0z10nF+LCwCgtASv
FKRH1zwrVA9H0Y7tEovfQnY=
=mvVy
-END PGP SIGNATURE-


[ITP] libwmf-0.2.8.3-1

2004-06-08 Thread Gerrit P. Haase
Hello,

I want to contribute/maintain libwmf, the library for reading vector
images Windøws Metafile Format (WMF).
This is another ImageMagick support library.

setup.hint:
===
category: Libs Graphics
requires: cygwin expat libfreetype26 libiconv2 libintl2 libjpeg62 libpng12 
xorg-x11-bin-dlls zlib
sdesc: library for reading vector images Windøws Metafile Format (WMF)
ldesc: libwmf is a library for reading vector images in Microsøft's
native Windøws Metafile Format (WMF) and for either (a) displaying them
in, e.g., an X window; or (b) converting them to more standard/open file
formats such as, e.g., the W3C's XML-based Scaleable Vector Graphic
(SVG) format. Currently bindings exist for conversion to: 

- the following vector image formats:
( Encapsulated) PostScript (EPS  PS)
Facility for Interactive Generation of graphics (FIG)
Scaleable Vector Graphic (SVG)

- the following raster image formats:
Portable Network Graphics (PNG)
Joint Photographic Experts Group (JPEG)




Question about direcory layout:
===
There are some fonts included, I need to specify --with-fontdir= and
'--with-sysfontmap=FILE  default is /usr/share/fonts/fontmap'
for configure.

Is there a common sysfontmapfile already somewhere included or should we
define one, e.g /usr/share/fonts/fontmap (if ITP is accepted)?

Download for Test  Review:
===
http://anfaenger.de/cygwin/libwmf/libwmf-0.2.8.3-1-src.tar.bz2
http://anfaenger.de/cygwin/libwmf/libwmf-0.2.8.3-1.tar.bz2
http://anfaenger.de/cygwin/libwmf/setup.hint


Please vote!
Gerrit
-- 
=^..^=



[PATCH] generic build script

2004-06-08 Thread Gerrit P. Haase
Hello Igor,


found it useful (I want to build LibJasper which is only available as
zipped archive):

--- gbs~2004-06-08 16:56:20.215388800 +0200
+++ gbs 2004-06-08 16:42:53.791884800 +0200
@@ -53,6 +53,9 @@
 elif [ -e ${BASEPKG}.tar ] ; then
   export opt_decomp=
   export src_orig_pkg_name=${BASEPKG}.tar
+elif [ -e ${BASEPKG}.zip ] ; then
+  export opt_decomp=zip
+  export src_orig_pkg_name=${BASEPKG}.zip
 else
   echo Cannot find original package.
   exit 1
@@ -116,7 +119,11 @@
 # change this if the original package was not tarred
 # or if it doesn't unpack to a correct directory
 unpack() {
-  tar xv${opt_decomp}f $1
+  if [ x$opt_decomp = xzip ] ; then \
+unzip $1 ; \
+  else \
+tar xv${opt_decomp}f $1 ; \
+  fi
 }
 
 mkdirs() {


Gerrit
-- 
=^..^=



Re: [PATCH] generic-build-script

2004-06-08 Thread Igor Pechtchanski
On Tue, 1 Jun 2004, Yaakov Selkowitz wrote:

 Yaakov Selkowitz wrote:
 | If so, let me propose the attached patch instead.

 Ping??

Pong.  Sorry for the delay.

I just reviewed the whole thread, and couldn't find the corresponding
ChangeLog, either yours or Gerritt's.  I also couldn't find a consensus
that the patch will do what it's supposed to.  Frankly, I still don't see
why you'd need anything more general than '-name *.info*', but I'm
willing to accept it if nobody else objects.

On Tue, 8 Jun 2004, Yaakov Selkowitz wrote:

 Max Bowsher wrote:

 | * generic-build-script (install): Do not invoke gzip with no arguments, and
 | consequently die with will not write compressed data to a terminal
 | if a package creates usr/share/man or usr/share/info, but does not
 | install any man/info pages under it.

 Actually, I still have a submitted patch pending, from 19 May, which
 already includes this.  Which remindes me, Igor, are you still working
 on the g-b-s?  Whatever happened with that thread?

 Yaakov

Yaakov's patch subsumes Max's.  Once I have the ChangeLog, I'll commit it.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: [PATCH] generic build script

2004-06-08 Thread Igor Pechtchanski
On Tue, 8 Jun 2004, Gerrit P. Haase wrote:

 Hello Igor,

 found it useful (I want to build LibJasper which is only available as
 zipped archive):

 --- gbs~2004-06-08 16:56:20.215388800 +0200
 +++ gbs 2004-06-08 16:42:53.791884800 +0200
 @@ -53,6 +53,9 @@
  elif [ -e ${BASEPKG}.tar ] ; then
export opt_decomp=
export src_orig_pkg_name=${BASEPKG}.tar
 +elif [ -e ${BASEPKG}.zip ] ; then
 +  export opt_decomp=zip
 +  export src_orig_pkg_name=${BASEPKG}.zip
  else
echo Cannot find original package.
exit 1
 @@ -116,7 +119,11 @@
  # change this if the original package was not tarred
  # or if it doesn't unpack to a correct directory
  unpack() {
 -  tar xv${opt_decomp}f $1
 +  if [ x$opt_decomp = xzip ] ; then \
 +unzip $1 ; \
 +  else \
 +tar xv${opt_decomp}f $1 ; \
 +  fi
  }

  mkdirs() {

 Gerrit

Gerrit,

As one of the packages I maintain is only available as a compressed shar
archive, I have already included a method into the GBS for easily dealing
with this.  Simply edit the line to set src_orig_pkg_name to
LibJasper.zip, and then edit the definition of unpack() to invoke
unzip instead of tar.  This kind of change is easy to maintain as a local
patch, which should apply with a minimum of fuzz in the future versions of
GBS.  I'm a bit reluctant at this point to include any changes that are
only needed for one package...  Maybe later we could look at restructuring
the unpack() function and augmenting the archive type detection code.
Igor
P.S. BTW, your patch won't apply as-is, since the file is named
generic-build-script, and not gbs.  It also lacks a ChangeLog.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


RE: [ITP] libwmf-0.2.8.3-1

2004-06-08 Thread Billinghurst, David (CALCRTS)
 I want to contribute/maintain libwmf, the library for reading vector
 images Windøws Metafile Format (WMF).

I'd like to see this.  I have been using the command line utils from 
libwmf for a while.


Please include unsubscribe information in announcement email

2004-06-08 Thread Christopher Faylor
I hesitate to enforce a standard template for all announcements but I
really would like to see people start including unsubscribe instructions
in their announcement email.

Please do me a favor and include unsubscribe instructions in your
announcement email.  Please just copy the few lines that I put in my
last cygwin DLL release announcement.

cgf


[ITP] subversion

2004-06-08 Thread Max Bowsher
On the Subversion dev list:
Dave Slusher wrote:
 On Wed, Jun 02, 2004 at 10:03:34AM +0100, Max Bowsher wrote:
 Dave Slusher's initial package was statically linked to many of subversion's
 dependencies, bloating the package greatly. I pointed out that shared
 libraries were much nicer, and packaged neon, apr, and apr-util myself. My
 neon package is now accepted into cygwin, and my apr/apr-util packages are
 waiting for a review. I haven't heard anything from Dave, though, about
 whether and/or when he will be trying again.
 
 I've been waiting for Max's stuff to wend its way through the cygwin
 process before trying again. I'll go for it when the apr stuff is
 accepted. I'll need some help with that, as I don't know how to do
 most of the things Max wanted done.
 
 Alternately, if someone who is better qualified and understands cygwin
 more than I do would rather take it over, that wouldn't hurt my
 feelings in the slightest. I was trying to be altruistic, but
 considering it took me no more than 10 minutes to build my personal
 copy of cygwin svn from source and at least 10 hours to prepare the
 cygwin package ready that Max rejected out of hand, my altruistic
 feelings are waning.


Accordingly, I hereby ITP subversion:

Setup URL:
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/

Individual files:
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/setup.hint
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-1.0.4-1-src.tar.bz2
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-1.0.4-1.tar.bz2
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-devel/setup.hint
http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-devel/subversion-devel-1.0.4-1.tar.bz2


# subversion
sdesc: A version control system
ldesc: Subversion is a version control system that aims to be a compelling
replacement for CVS in the open source community
category: Devel
requires: cygwin libaprutil0 libapr0 libdb4.2 libneon24 expat

# subversion-devel
sdesc: A version control system (C headers and import libraries)
ldesc: Subversion is a version control system that aims to be a compelling
replacement for CVS in the open source community
category: Devel
requires: subversion
external-source: subversion


Max.



Re: XWin and multiple users

2004-06-08 Thread Alexander Gottwald
On Tue, 8 Jun 2004, aroushdi wrote:

 How can we implement yser mount for temp . When i try to mount i get 
 rejected . Can u tell us how

mount -b -u path /tmp

The -u creates a user mount.

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


RE: xwinclip on Win95 no longer works (switched from Gnome to KDE on linux)

2004-06-08 Thread Alistair Bell

The integrated clipboard stuff works fine for me on Win95 here with an up to
date cygwin, there were some hiccups when I first used it at the end of last
year/beginning of this, but the current implementation appears to have
sorted the problems.

Alistair

 -Original Message-
 From: Jay Smith [SMTP:[EMAIL PROTECTED]
 Sent: 07 June 2004 19:23
 To:   [EMAIL PROTECTED]
 Subject:  xwinclip on Win95 no longer works (switched from Gnome to
 KDE on linux)
 
 [I hope that there are some ideas for this that do not include upgrading 
 the XFree86 stuff -- the last time I did such an upgrade it took a day and
 
 a half to get things running properly again.]
 
 xwinclip will either not start, or will not stay started, or causes XFree 
 session to lock up and/or crash the session and/or the PC.  This has just 
 started when we switch from Gnome to KDE for our Xwindowing.
 
 


Re: xwinclip on Win95 no longer works (switched from Gnome to KDE on linux)

2004-06-08 Thread Jay Smith
Thanks Alistair,
This is helpful to hear.  I was a little concerned because the Cygwin home 
page refers to Win98SE and above.

What I don't quite understand is why (my old November 2003) xwinclip was 
working perfectly fine with Gnome but won't work at all with KDE.

I will attempt upgrading (actually installing anew).
Jay
Alistair Bell said the following on 06/08/2004 04:49 AM:
The integrated clipboard stuff works fine for me on Win95 here with an up to
date cygwin, there were some hiccups when I first used it at the end of last
year/beginning of this, but the current implementation appears to have
sorted the problems.
Alistair

-Original Message-
From:   Jay Smith [SMTP:[EMAIL PROTECTED]
Sent:   07 June 2004 19:23
To: [EMAIL PROTECTED]
Subject:xwinclip on Win95 no longer works (switched from Gnome to
KDE on linux)
[I hope that there are some ideas for this that do not include upgrading 
the XFree86 stuff -- the last time I did such an upgrade it took a day and

a half to get things running properly again.]
xwinclip will either not start, or will not stay started, or causes XFree 
session to lock up and/or crash the session and/or the PC.  This has just 
started when we switch from Gnome to KDE for our Xwindowing.


--
Jay Smith
e-mail: [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]
website: http://www.JaySmith.com
Jay Smith  Associates
P.O. Box 650
Snow Camp, NC  27349  USA
Phone: Int+US+336-376-9991
Toll-Free Phone in US  Canada:
1-800-447-8267
Fax: Int+US+336-376-6750


src/winsup/cygwin ChangeLog include/cygwin/ipc.h

2004-06-08 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-06-08 10:53:41

Modified files:
winsup/cygwin  : ChangeLog 
winsup/cygwin/include/cygwin: ipc.h 

Log message:
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2500r2=1.2501
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/ipc.h.diff?cvsroot=srcr1=1.6r2=1.7



Re: [Patch]: fchdir

2004-06-08 Thread Corinna Vinschen
On Jun  3 20:48, Pierre A. Humblet wrote:
 2004-06-04  Pierre Humblet [EMAIL PROTECTED]
 
   * path.cc (fchdir): Pass the Posix path to chdir.

I've applied this patch.

Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


make IPC_INFO visible to ipc system utilities only

2004-06-08 Thread Egor Duda
Hi!
Currently IPC_INFO is defined whenever we include sys/sem.h, but struct
seminfo, which is returned by semctl(IPC_INFO) is defined only for
_KERNEL applications. This inconsistency breaks, for instance,
libmudflap builds. I believe there's no point to have IPC_INFO in
non-_KERNEL application as long as we can't get semctl(IPC_INFO) results
right anyway. Patch attached.
egor
2004-Jun-08  Egor Duda [EMAIL PROTECTED]

* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.

Index: include/cygwin/ipc.h
===
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/ipc.h,v
retrieving revision 1.6
diff -u -p -2 -r1.6 ipc.h
--- include/cygwin/ipc.h3 Jun 2004 19:51:10 -   1.6
+++ include/cygwin/ipc.h8 Jun 2004 07:27:29 -
@@ -49,5 +49,8 @@ struct ipc_perm
 #define IPC_SET  0x1001/* Set options. */
 #define IPC_STAT 0x1002/* Get options. */
+
+#ifdef _KERNEL
 #define IPC_INFO 0x1003/* For ipcs(8). */
+#define
 
 #ifdef _KERNEL



Re: make IPC_INFO visible to ipc system utilities only

2004-06-08 Thread Corinna Vinschen
On Jun  8 13:30, Egor Duda wrote:
 Hi!
 
 Currently IPC_INFO is defined whenever we include sys/sem.h, but struct
 seminfo, which is returned by semctl(IPC_INFO) is defined only for
 _KERNEL applications. This inconsistency breaks, for instance,
 libmudflap builds. I believe there's no point to have IPC_INFO in
 non-_KERNEL application

  as long as we can't get semctl(IPC_INFO) results right anyway.
  ^
  What is the author trying to tell me here?!?

Corinna

 Patch attached.
 
 egor
 

 2004-Jun-08  Egor Duda [EMAIL PROTECTED]
 
   * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
   utilities, to make it consistent with declaration of struct seminfo.
 

 Index: include/cygwin/ipc.h
 ===
 RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/ipc.h,v
 retrieving revision 1.6
 diff -u -p -2 -r1.6 ipc.h
 --- include/cygwin/ipc.h  3 Jun 2004 19:51:10 -   1.6
 +++ include/cygwin/ipc.h  8 Jun 2004 07:27:29 -
 @@ -49,5 +49,8 @@ struct ipc_perm
  #define IPC_SET  0x1001  /* Set options. */
  #define IPC_STAT 0x1002  /* Get options. */
 +
 +#ifdef _KERNEL
  #define IPC_INFO 0x1003  /* For ipcs(8). */
 +#define
  
  #ifdef _KERNEL
 


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: make IPC_INFO visible to ipc system utilities only

2004-06-08 Thread Egor Duda
Corinna Vinschen wrote:
Currently IPC_INFO is defined whenever we include sys/sem.h, but struct
seminfo, which is returned by semctl(IPC_INFO) is defined only for
_KERNEL applications. This inconsistency breaks, for instance,
libmudflap builds. I believe there's no point to have IPC_INFO in
non-_KERNEL application

  as long as we can't get semctl(IPC_INFO) results right anyway.
  ^
  What is the author trying to tell me here?!?
I was unclear here, probably. I meant that userspace application, i.e. 
application which includes sys/sem.h but don't define _KERNEL, may call 
semctl(IPC_INFO), but result of this call will have no meaning for 
application since it can't interpret it.

So by we in underscored sentence i meant userspace, non-system ipc 
application.

egor


Re: make IPC_INFO visible to ipc system utilities only

2004-06-08 Thread Corinna Vinschen
On Jun  8 14:12, Egor Duda wrote:
 Corinna Vinschen wrote:
   as long as we can't get semctl(IPC_INFO) results right anyway.
   ^
   What is the author trying to tell me here?!?
 
 I was unclear here, probably. I meant that userspace application, i.e. 
 application which includes sys/sem.h but don't define _KERNEL, may call 
 semctl(IPC_INFO), but result of this call will have no meaning for 
 application since it can't interpret it.
 
 So by we in underscored sentence i meant userspace, non-system ipc 
 application.

Ok, applied.

Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: g++

2004-06-08 Thread Yitzchak Scott-Thoennes
On Mon, Jun 07, 2004 at 06:23:57PM -0600, Ian Strascina wrote:
 
 I updated my cygwin last Thurs. (6/3/04) to include the Perl and Python
 packages...  Today, I'm trying to compile my c++ programs, and g++ is gone
 from my /usr/bin ...  Anyone know why this would happen...???  Now I want
 to reinstall it, but it's not on the cygwin packages page...  The closest
 I find is  gcc-g++  ...  Is this the same and will/should it work
 correctly with my current programs...???  Please help ASAP...  I'm trying
 to graduate in a month and I need my g++ to work...

Yes.  gcc was split into multiple packages, and unfortunately you don't
automatically get all the functionality you had before when you update.
You want gcc-g++.

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

2004-06-08 Thread Warren, Matthew (Retail)

Thanks for the pointer, I had already seen the mail searching through
the lists for a solution.

Unfortunatley doing a windows update to 'fix' it isnt an option for me,
this is a 'locked down' restricted XP build on work laptop. I was hoping
perhaps there was more info out there on what the problem is and wether
I can do anything specific to work around or correct it. Also, I had no
problems untill I moved to 1.5.10 a few days ago and was wondering if
anything was known in 1.5.10 to cause the problem.

In the meantime Ill just have to use a windows ssh client ://

Thanks for your time :)

Matt.

-Original Message-
From: Brian Ford [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 07, 2004 10:47 PM
To: Warren, Matthew (Retail)
Cc: [EMAIL PROTECTED]
Subject: Re: ssh problem cygheap_fixup_in_child

On Fri, 4 Jun 2004, Warren, Matthew (Retail) wrote:

 Hello cygwin peeps,

 I have a problem with ssh generating the following;

 /home/mattssh [EMAIL PROTECTED]
   3 [main] ? 1748 cygheap_fixup_in_child: Couldn't reserve 9891528
 bytes of space for cygwin's heap (0x616D 0x49) in child,
Win32
 error 487
 C:\cygwin\bin\ssh.exe (1748): *** m.AllocationBase 0x0, m.BaseAddress
 0x616D, m.RegionSize 0x78, m.State 0x1

 Rebaseall doesn't fix it, I have recently moved to 1.5.10, running
under
 XP.

 I'm Executing the ssh command from a Konsole shell under KDE3.1.4

 I have attatched the output of cygcheck.

Does this help:

http://www.cygwin.com/ml/cygwin/2004-04/msg00176.html

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


___ Disclaimer Notice __
This message and any attachments are confidential and should only be read by those to 
whom they are addressed. If you are not the intended recipient, please contact us, 
delete the message from your computer and destroy any copies. Any distribution or 
copying without our prior permission is prohibited.

Internet communications are not always secure and therefore the Powergen Group does 
not accept legal responsibility for this message. The recipient is responsible for 
verifying its authenticity before acting on the contents. Any views or opinions 
presented are solely those of the author and do not necessarily represent those of the 
Powergen Group.

Registered addresses:

Powergen UK plc, Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England  Wales No. 2366970

Powergen Retail Limited,  Westwood Way, Westwood Business Park,
Coventry CV4 8LG.
Registered in England and Wales No: 3407430

Telephone +44 (0) 2476 42 4000
Fax+44 (0) 2476 42 5432


--
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: CygUtils website going dark

2004-06-08 Thread Vince Hoffman


On Mon, 7 Jun 2004, Peter A. Castro wrote:

 On Sun, 6 Jun 2004, Charles Wilson wrote:

 Hi Charles,
   If no-one else offers, I offer to host all or part of cygutils
 (whatever you'd like to be hosted), for free.  You've provided the Cygwin
 community so much that it'd be a shame to see your work lost or otherwise
 removed from the 'net.  Let me know if this sounds interesting to you.
 If not, I might at least be able to take over some of those packages you
 have listed in the ADOPT-ME section.


I'm also happy to provide webspace but in my current job it would have to
be on my home server (only 256/512 ADSL with a static IP but I'll provide
a subdomain if wanted.)

Email me off list if this is of any interest and i'll provide
you with ftp/ssh details.

Vince
 --
 Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
   Cats are just autistic Dogs -- Dr. Tony Attwood

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



[ANNOUNCEMENT] Updated: vim-6.3-1

2004-06-08 Thread Corinna Vinschen
I've just updated vim to version 6.3-1.

This is an official new release, based on the vanilla sources.

The official release message as of two hours ago:


Announcing:  Vim (Vi IMproved) version 6.3
Author:  Bram Moolenaar et al.


Announcement


This is a bugfix release of Vim.  Since Vim 6.2 hundreds of reported
problems have been fixed.  Also included are new and updated syntax
files, translated menus and messages.

Two Beta versions revealed a number of problems, mostly for MS-Windows
98.  They have all been fixed and tested again.  A few old problems were
also fixed.  I am confident that the 6.3 release is the most stable Vim
ever!

The main new features are:
- Support for translated help files.  The files themselves are available
  separately, see http://www.vim.org/translations.php.
- More conversions are possible on Macintosh and MS-Windows without help
  of the iconv library.
- Amiga binaries are included again.  My Amiga was miraculously healed
  from a harddisk problem.
- The Win32 self-installing exe now also includes vim.exe, the console
  version.  Despite that the file size is smaller than before, because
  of using LZMA compression.
- When formatting text, marks are kept at the same position.
- Support for the NetBeans interface on MS-Windows.
- MS-Windows: Vim can run inside an MDI window of another application
  (see :help -P).  Doesn't work for all MDI applications though.
- Mousewheel support on the Macintosh.

Once you have installed 6.3 you can find details about the changes since
Vim 6.2 with :help version-6.3.  There is a long list of fixed bugs.


What is next?
-

Vim 7!  If I keep getting donations from sponsors and registered Vim
users I will be able to add several big features.  The list of votes
is an indication of the items that might get added in Vim 7:
http://www.vim.org/sponsor/vote_results.php


What is Vim anyway?
---

Vim is an almost 100% compatible version of the UNIX editor Vi.  Many
new features have been added: Multi level undo, syntax highlighting,
command line history, filename completion, block operations, etc.  Those
who don't know Vi can probably skip this message, unless you are
prepared to learn something new and useful.  Vim is especially
recommended for editing programs.

Vim runs on almost any Unix flavor, MS-DOS, MS-Windows 3.1, MS-Windows
95/98/ME/NT/2000/XP, OS/2, Atari MiNT, BeOS, VMS, RISC OS, Macintosh and
Amiga.

For more information, see http://www.vim.org.  This is also a great
place to find Vim tips and scripts!


Where to get it
---

Information about which files to download for what system, obtaining Vim
through Aap, CVS, etc.:

http://www.vim.org/download.php

All files can be found below this directory:

ftp://ftp.vim.org/pub/vim/

A list of mirror sites can be found here:

http://www.vim.org/mirrors.php

An overview of the files:

UNIX:
unix/vim-6.3.tar.bz2   sources + runtime files, bzip2 compressed
The same in parts that fit on a floppy:
  unix/vim-6.3-rt1.tar.gzruntime files part 1
  unix/vim-6.3-rt2.tar.gzruntime files part 2
  unix/vim-6.3-src1.tar.gz   sources part 1
  unix/vim-6.3-src2.tar.gz   sources part 2

VARIOUS:
extra/vim-6.3-extra.tar.gz extra files
extra/vim-6.3-lang.tar.gz  multi-language files
doc/vim63html.zip  help files converted to HTML

DIFFS between 6.3b and 6.3:
unstable/unix/vim-6.3b-6.3.diff.gz  sources and runtime files
unstable/extra/vim-6.3b-6.3-extra.diff.gz   extra files
unstable/extra/vim-6.3b-6.3-lang.diff.gzmulti-language files

MS-WINDOWS:
pc/gvim63.exe  self-installing, includes all runtime files,
   gvim.exe, vim.exe, etc.
pc/vim63rt.zip runtime files (use with one of the binaries)
pc/vim63lang.zip   files for translated messages and menus
pc/gvim63.zip  GUI binary for Windows 95/98/NT/2000/XP
pc/gvim63ole.zip   GUI binary with OLE support
pc/vim63d16.zip16 bits real mode - works on any system
pc/vim63d32.zip32 bits protected mode - needs 386 and DPMI
pc/vim63w32.zipconsole version for Windows NT/2000/XP
pc/vim63src.zipsources for PC (with CR-LF)

AMIGA:
amiga/vim63rt.tgz  runtime files (always needed)
amiga/vim63bin.tgz executable files
amiga/vim63src.tgz sources packed for Amiga


Mailing lists
-

For user questions you can turn to the Vim mailing list.  There are a
lot of tips, scripts and solutions.  You can ask your Vim questions, but
only if you subscribe.  First search the archive, it is full of useful
hints.

If you want to help Vim development or get the latest patches, subscribe
to the vim-dev mailing list.

Subject specific lists:
Multi-byte issues: 

Pastor: What Are You Preaching During the Summer Olympics?

2004-06-08 Thread Dr. David R. Mains
Pastor, 

What are you preaching during the upcoming Summer Olympics in Greece?

The 2004 Summer Olympics will be front-page news in America soon. These 
upcoming Olympic games occur from August 11-29 in Athens, Greece, and 
feature world-class competitors who are vying to become Olympic athletic 
champions.

Pastor, you can leverage all that Olympic attention into spiritual 
lessons taught at your church! Preach through the brand new sermon 
series Go for the Gold: Becoming a Spiritual Champion. 

Visit http://www.sermon-series.com/gftg/ for more details online.

Encourage your congregation to adopt what the Scriptures have to say 
about becoming spiritual champions while they watch others become 
Olympic champions! 

Use these 6 Olympic Sermon Themes:

Believers with a go for the gold mindset: 
1.  Remember the Witnesses (1st sermon) 
2.  Remove Any Hindrances (2nd sermon) 
3.  Run with Perseverance (3rd sermon) 
4.  Reach for the Goal (4th sermon) 
5.  Respect Divine Discipline (optional 5th sermon) 
6.  Recover from Injuries (optional 6th sermon) 

The foundational Scripture texts for this sermon series are found in 
Hebrews 12:1-13:Therefore, since we are surrounded by such a huge crowd 
of witnesses to the life of faith...let us run with endurance the race 
that God has set before us. NIV

Order the Go for the Gold Pastor's CD by Wednesday, June 30th to save 
22% on this life-changing sermon series, and its timely, time-saving 
collection of preaching resources and worship service helps. That's $20 
off the normal price?only $69 for your Pastor's Deluxe Go for the Gold 
CD! You save 22% on 6 weeks of exceptional, time-saving preaching and 
worship service helps, and this timely Olympic sermon topic will make an 
deep and lasting impact on your congregation. 

Visit http://www.sermon-series.com/gftg/ for more details or to order 
online today.

Dr. David R. Mains, Director
Mainstay Church Resources

P.S. The summer Olympics are less than 64 days away. Be prepared when 
they do arrive with a preaching series that relates. Order your copy of 
the Go for the Gold Pastor's Sermon Series CD today. Visit 
http://www.sermon-series.com/gftg/ for more details or to order online 
and save 22%.


- 
Drip Marketing Email Campaigns Work:
a href=http://emailfactory.com/forms/1376emf10285.html; Find Out How 
Drip Marketing Email Campaigns Work/a  
http://emailfactory.com/forms/1376emf10285.html



To UNSUBSCRIBE from this mailing list, go to:

http://bye.emf0.com/handler.cfm?idAddress=L9652792479.121525



--
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: Visual Studio linking

2004-06-08 Thread Alastair Growcott
Thankyou.

Actually my source is testing a library, so if I did distribute the test
programs, I would only have to make the code for the test programs and not
the code for the libraries available (dynamic linking to the libraries).

Alastair.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Christopher Faylor
Sent: 07 June 2004 17:25
To: [EMAIL PROTECTED]
Subject: Re: Visual Studio linking


On Mon, Jun 07, 2004 at 05:13:25PM +0100, Alastair Growcott wrote:
A .def file is generated for cygwin when the DLL is built, actually.

I'm not building the Cygwin dll, so I need this step.

5a) Modify the license of your program to the GNU General Public
License, since your binary has now become GPLed, meaning that you must
now offer the source code to your sources under the terms of the GPL.

My program is non-distributable.  I am using it to run unit tests
internally.

I thought that, under the terms of the GPL, if my binary links
dynamically to the Cygwin DLL, I do NOT have to offer my source code
up, I only need to ensure that people can use my software against
future (or past) versions of Cygwin by rebuilding the DLL themselves.
This includes either distributing the Cygwin DLL source code or
ditributing a link to somewhere they can obtain it.

5) Download crt0.c from the cygwin website and include it in your
sources.  Modify it to call my_crt0() instead of cygwin_crt0().

You're including crt0.c in your source code.  That's not linking
dynamically.  You are also using a .def file for your linking rather
than calling LoadLibrary and cousins.

AFAICT, you aren't doing anything differently from what a normal build
of a binary using gcc and would do.

Or is that the lesser GPL?

Surely the source code will not be GPL'ed if I do not make it or the
binary publically available!

I suspect that you probably haven't read the GPL FAQ.  This section
is probably pertinent:

http://www.gnu.org/licenses/gpl-faq.html#TOCGPLRequireSourcePostedPublic

but the rest should make interesting reading as well.

cgf

--
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: cygwin Nightly Snapshots - NOT obvious enough

2004-06-08 Thread Brian . Kelly

 On Mon, Jun 07, 2004 at 02:26:49PM -0700, Lex Ein wrote:
 http://www.cygwin.com/snapshots/
 Cygwin Interim Snapshots
 Whoo, racy.
 Guess I missed the party.

 Ok, ok.  I added a subtitle to the snapshot page to make it's true nature
 more obvious.

 cgf

First of all - where's the 900 number?

Second - where's all the pop-ups with disabled exit points when you try to
navigate away from the page?

Third - when is cgf re-locating to Amsterdam?

Fourth - with competing sites like *bang bus*  and  *bang boat*  should't
the page be renamed to  *Captain cgf's bang Linux-like environment for
Windows where innocent unsuspecing OS's are picked up and .

You get the picture 
  
  
  





WellChoice, Inc. made the following
 annotations on 06/08/2004 05:14:03 AM
--
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement


--
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: Cygpath: Path name conversion Issue

2004-06-08 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of john george
 Sent: 08 June 2004 05:23

 Hi,
 I'm trying to convert the following path name to a
 unix specific format so that it could be passed as a
 parameter to the Unix open(..) system call.
 cygpath
 \\Device\\harddiskdmvolumes\\physicaldmvolumes\\rawvolume3
 
 The converted path name is not accepted by the
 open()
 system call due to which I'm not able to access this
 device.
 Actually I'm trying to access a raw volume which I'm
 able to do if I use the CreateFile() API in Windows.
 I've no clue as to why I'm not able to access this raw
 device using the open().. system call.
 Any suggesstions?

  Have you tried this way yet?

.\\Device\\harddiskdmvolumes\\physicaldmvolumes\\rawvolume3

Not sure but I think that might sort it.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
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: makefile syntax %.d:%.c misunderstood

2004-06-08 Thread Sébastien Douheret
Hi,
Firstly, i thank Dave K. for helping me.
I don't understand all functionnalities of VPATH, but i think that i don't
used it.
You can find below a minimal test case that demonstrates the problem.
I wish to make it clear that directories name with letter '_' seem maybe to
be the source of problem !
You can find sources files below.
Thanks,
Seb.


Directory tree is :
Test_pb_path
  |
  +-- ver_100
 |
 + c : files root.c and foo.c
 |
 + s : file init.S
 |
 + compiler : file makefile
  |
  + obj

root.c :
  extern int foo(void);
  int root(void);
  /* root function */
  int root(void)
  {
int i=0, j;
while(1) {
i++;
j = foo();
}
  }

foo.c :
   /* foo function */
  int foo(void) {
return(55);
  }

init.S :
   .text
   .globl   _start
   _start:
   /* Call C function */
   bl  root
   .end

makefile :

#   Compiler selection
PROC=   powerpc
TYPE=   eabi
GCC_VER =   3.3.2
COMPILER_DIR=   /opt/crosstool/$(PROC)-$(TYPE)/gcc-$(GCC_VER)
PATH_TMP:=  $(PATH)
PATH=   $(COMPILER_DIR)/bin:/usr/bin:.:$(PATH_TMP)
CC  =   $(PROC)-$(TYPE)-gcc
LD  =   $(PROC)-$(TYPE)-ld
SHELL   =   /bin/sh


#   Files list
SRC_APP_S   = ../s/init.S
SRC_APP_C   = ../c/root.c ../c/foo.c

#   Listing of all source files
SRC_DEP = $(SRC_APP_S:.S=.d) $(SRC_APP_C:.c=.d)
SRC_OBJ = $(foreach file,$(SRC_DEP), obj/$(notdir $(file:.d=.o)) )



#   Linker command name
LDFLAGS = -g --cref -lgcc -Lobj



# Check if dependencies are correct
EXTERNAL_FILES_D = $(strip $(sort $(wildcard obj/*.d)))
INTERNAL_FILES_D = $(strip $(sort $(SRC_OBJ:.o=.d)))
ifeq ($(EXTERNAL_FILES_D), $(INTERNAL_FILES_D))

all: test_pb_path.elf

test_pb_path.elf: $(SRC_OBJ)
@echo 'Linking $@'
@$(LD) -g -o obj/test.elf $(SRC_OBJ)

# includes all dependency files
include obj/*.d

else# else = dependencies are not correct

recover_dep: clean_all $(SRC_DEP)

endif


clean_all cl:
@-/bin/rm -f obj/*.*


#~~~
~~~
#   Create a file.d for each file.c which contains dependencies!
#~~~
~~~
%.d:%.c
@echo 'Make dependencies of $'
@$(CC) -MM $(@:.d=.c) | sed -u s/'$(notdir $(@:.d=.o)):'/'obj\/$(notdir
$(@:.d=.o)):'/g  obj/$(notdir $@)
@echo ' @echo Building $$@'  obj/$(notdir $@)
@echo ' @$$(CC) -c $$ $$(CFLAGS) -o $$@'  obj/$(notdir $@)

%.d:%.S
@echo 'Make dependencies of $'
@$(CC) -MM $(@:.d=.S) | sed -u s/'$(notdir $(@:.d=.o)):'/'obj\/$(notdir
$(@:.d=.o)):'/g  obj/$(notdir $@)
@echo ' @echo Building $$@'  obj/$(notdir $@)
@echo ' @$$(CC) -c $$ $$(ASFLAGS) -o $$@'  obj/$(notdir $@)

#DO NOT DELETE






 -Original Message-
 From: cygwin-owner On Behalf Of Sébastien Douheret
 Sent: 07 June 2004 17:37
 To: cygwin
 Subject: makefile syntax %.d:%.c misunderstood

   Hi,
 i have a strongly problem with make under cygwin !
 Make don't understand this syntax %.d:%.c of my makefile.

  Then you've typed something wrong.  Cygwin make has no problem with that
format.  I use it all the time successfully.

 If sources files are on my local drive (eg. :
 c:\dev\sources), make is
 successful, but if my sources files are on network drive
 mounted as /f, an
 error occurs during compilation :
   make: *** No rule to make target `../c/boardboot.d',
 needed by `make_dep'.
 Stop.

 Is it a problem of mount ?

  Most likely something's wrong in your makefile.  Are you using a hardcoded
VPATH that makes it work on your C drive but not any other?  Can you strip
down your makefile to a minimal test case that demonstrates the problem
using just a single .c file and %.d:%.c rule?


cheers,
  DaveK


--
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: Updated: vim-6.3-1

2004-06-08 Thread BERESH Bob
Thanks,

I have already installed the new version ;-)

Bob


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Corinna Vinschen
 Sent: Tuesday, June 08, 2004 4:27 AM
 To: [EMAIL PROTECTED]
 Subject: Updated: vim-6.3-1
 
 
 I've just updated vim to version 6.3-1.
 
 This is an official new release, based on the vanilla sources.
 
 The official release message as of two hours ago:
 
 ==
 ==
 Announcing:  Vim (Vi IMproved) version 6.3
 Author:  Bram Moolenaar et al.
 
 
 Announcement
 
 
 This is a bugfix release of Vim.  Since Vim 6.2 hundreds of reported
 problems have been fixed.  Also included are new and updated syntax
 files, translated menus and messages.
 
 Two Beta versions revealed a number of problems, mostly for MS-Windows
 98.  They have all been fixed and tested again.  A few old 
 problems were
 also fixed.  I am confident that the 6.3 release is the most 
 stable Vim
 ever!
 
 The main new features are:
 - Support for translated help files.  The files themselves 
 are available
   separately, see http://www.vim.org/translations.php.
 - More conversions are possible on Macintosh and MS-Windows 
 without help
   of the iconv library.
 - Amiga binaries are included again.  My Amiga was miraculously healed
   from a harddisk problem.
 - The Win32 self-installing exe now also includes vim.exe, the console
   version.  Despite that the file size is smaller than before, because
   of using LZMA compression.
 - When formatting text, marks are kept at the same position.
 - Support for the NetBeans interface on MS-Windows.
 - MS-Windows: Vim can run inside an MDI window of another application
   (see :help -P).  Doesn't work for all MDI applications though.
 - Mousewheel support on the Macintosh.
 
 Once you have installed 6.3 you can find details about the 
 changes since
 Vim 6.2 with :help version-6.3.  There is a long list of fixed bugs.
 
 
 What is next?
 -
 
 Vim 7!  If I keep getting donations from sponsors and registered Vim
 users I will be able to add several big features.  The list of votes
 is an indication of the items that might get added in Vim 7:
 http://www.vim.org/sponsor/vote_results.php
 
 
 What is Vim anyway?
 ---
 
 Vim is an almost 100% compatible version of the UNIX editor Vi.  Many
 new features have been added: Multi level undo, syntax highlighting,
 command line history, filename completion, block operations, 
 etc.  Those
 who don't know Vi can probably skip this message, unless you are
 prepared to learn something new and useful.  Vim is especially
 recommended for editing programs.
 
 Vim runs on almost any Unix flavor, MS-DOS, MS-Windows 3.1, MS-Windows
 95/98/ME/NT/2000/XP, OS/2, Atari MiNT, BeOS, VMS, RISC OS, 
 Macintosh and
 Amiga.
 
 For more information, see http://www.vim.org.  This is also a great
 place to find Vim tips and scripts!
 
 
 Where to get it
 ---
 
 Information about which files to download for what system, 
 obtaining Vim
 through Aap, CVS, etc.:
 
 http://www.vim.org/download.php
 
 All files can be found below this directory:
 
 ftp://ftp.vim.org/pub/vim/
 
 A list of mirror sites can be found here:
 
 http://www.vim.org/mirrors.php
 
 An overview of the files:
 
 UNIX:
 unix/vim-6.3.tar.bz2   sources + runtime files, bzip2 
 compressed
 The same in parts that fit on a floppy:
   unix/vim-6.3-rt1.tar.gzruntime files part 1
   unix/vim-6.3-rt2.tar.gzruntime files part 2
   unix/vim-6.3-src1.tar.gz   sources part 1
   unix/vim-6.3-src2.tar.gz   sources part 2
 
 VARIOUS:
 extra/vim-6.3-extra.tar.gz extra files
 extra/vim-6.3-lang.tar.gz  multi-language files
 doc/vim63html.zip  help files converted to HTML
 
 DIFFS between 6.3b and 6.3:
 unstable/unix/vim-6.3b-6.3.diff.gz  sources and runtime files
 unstable/extra/vim-6.3b-6.3-extra.diff.gz   extra files
 unstable/extra/vim-6.3b-6.3-lang.diff.gzmulti-language files
 
 MS-WINDOWS:
 pc/gvim63.exe  self-installing, includes all 
 runtime files,
gvim.exe, vim.exe, etc.
 pc/vim63rt.zip runtime files (use with one of 
 the binaries)
 pc/vim63lang.zip   files for translated messages and menus
 pc/gvim63.zip  GUI binary for Windows 95/98/NT/2000/XP
 pc/gvim63ole.zip   GUI binary with OLE support
 pc/vim63d16.zip16 bits real mode - works on any system
 pc/vim63d32.zip32 bits protected mode - needs 
 386 and DPMI
 pc/vim63w32.zipconsole version for Windows NT/2000/XP
 pc/vim63src.zipsources for PC (with CR-LF)
 
 AMIGA:
 amiga/vim63rt.tgz  runtime files (always needed)
 amiga/vim63bin.tgz executable files
 amiga/vim63src.tgz sources packed 

make problem: command works thru CLI, not thru make file

2004-06-08 Thread santhosh km
Hi,

I am trying porting of c files to VxWorks thru cygwin
using the GNU-Make Version 3.80 .
I have a problem while using makefile. The problem is
the commond:
ccsimpc -o HELLO_WORLD helloWorld.c
works on the command line and I get the HELLO_WORLD
executable file.
But doesn't work thru makefile, I get the error as:
make: *** [x] Error 1

Here the ccsimpc is equivalent to gcc, but ccsimpc is
the compiler for VxWorks.


My make file helloWorld.mk, which has one target and
one line is

x:
ccsimpc -o HELLO_WORLD helloWorld.o

THE OPTIONS TRIED:

1) I read in the manuals that make invoked a command
which returned non-zero error code.
   for this I got echo $? as 0, after executing
ccsimpc thru command line.

2) I also read in the manuals that errors in the
commands, does not indicate an error. For that
   I tried -i and -k options but no output was
written.

3) When I tried with -d option the end lines said
that:
Updating goal targets
Considering target file `x'.
 File `x' does not exist.
 Finished prerequisites of target file `x'.
Must remake target `x'.
ccsimpc -o HELLO_WORLD helloWorld.o
Putting child 0x1002aeb8 (x) PID 2648 on the chain.
Live child 0x1002aeb8 (x) PID 2648
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x1002aeb8 PID 2648
Removing child 0x1002aeb8 PID 2648 from chain.



I don't know what to do for this problem

4) And also I tried this first on make -version 3.79.1
it didn't work, then I found the new version
  3.80 on the gnu site and tried on that, but the same
thing.

Please let me know the answer ASAP.

Thanks in advace  Regards,
Santhosh





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: Visual Studio linking

2004-06-08 Thread Christopher Faylor
On Tue, Jun 08, 2004 at 10:02:08AM +0100, Alastair Growcott wrote:
Actually my source is testing a library, so if I did distribute the
test programs, I would only have to make the code for the test programs
and not the code for the libraries available (dynamic linking to the
libraries).

As long as you don't release the cygwin DLL...  If you do, you need to
provide sources, too.

cgf

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



Textmode mounts broken in cygwin 1.5.10-3

2004-06-08 Thread W. Tuchan
Hi,
I've upgraded to 1.5.10-3 and now the gcc preprocessor does not like my
CRLFs. That is know problem of gcc that should be cured by appropriate
textmode mounts but this does not work anymore.
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
c:\P680_200 on /P680_200 type user (textmode)
C:\cygwin on / type system (binmode)
C:\P680 on /p680 type user (textmode)
g: on /g type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
f: on /cygdrive/f type user (binmode,noumount)
h: on /cygdrive/h type user (binmode,noumount)
i: on /cygdrive/i type user (binmode,noumount)
j: on /cygdrive/j type user (binmode,noumount)
k: on /cygdrive/k type user (binmode,noumount)
l: on /cygdrive/l type user (binmode,noumount)
m: on /cygdrive/m type user (binmode,noumount)
This is a strace of the problem but I still don't know why cygwin decides
that loopbacktest.cpp should be opened in binary mode. Can someone help me
here. Meanwhile I am back to 1.5.9.
   58   26507 [main] cpp0 1652 open: open (main\loopbacktest.cpp, 0x0)
   44   26551 [main] cpp0 1652 normalize_posix_path: src main\loopbacktest.cpp
   40   26591 [main] cpp0 1652 cwdstuff::get: posix /p680/firmware
   39   26630 [main] cpp0 1652 cwdstuff::get: (/p680/firmware) = cwdstuff::get 
(0x22EC50, 260, 1, 0), errno 2
   47   26677 [main] cpp0 1652 cwdstuff::get: posix /p680/firmware
   38   26715 [main] cpp0 1652 cwdstuff::get: (C:\P680\firmware) = cwdstuff::get 
(0x22EC50, 260, 0, 0), errno 2
   39   26754 [main] cpp0 1652 normalize_win32_path: 
C:\P680\firmware\main\loopbacktest.cpp = normalize_win32_path (main\loopbacktest.cpp)
   39   26793 [main] cpp0 1652 mount_info::conv_to_win32_path: conv_to_win32_path 
(C:/P680/firmware/main/loopbacktest.cpp)
   45   26838 [main] cpp0 1652 mount_info::conv_to_win32_path: src_path 
C:/P680/firmware/main/loopbacktest.cpp, dst C:\P680\firmware\main\loopbacktest.cpp, 
flags 0x0, rc 0
  131   26969 [main] cpp0 1652 symlink_info::check: not a symlink
   60   27029 [main] cpp0 1652 symlink_info::check: 0 = symlink.check 
(C:\P680\firmware\main\loopbacktest.cpp, 0x22E910) (0x0)
   44   27073 [main] cpp0 1652 path_conv::check: 
this-path(C:\P680\firmware\main\loopbacktest.cpp), has_acls(1)
   46   27119 [main] cpp0 1652 build_fh_pc: fh 0x616D1650
   41   27160 [main] cpp0 1652 fhandler_base::open: 
(C:\P680\firmware\main\loopbacktest.cpp, 0x10)
   96   27256 [main] cpp0 1652 fhandler_base::open: 0 = NtCreateFile (0x734, 8010, 
C:\P680\firmware\main\loopbacktest.cpp, io, NULL, 0, 7, 1, 20, NULL, 0)
   58   27314 [main] cpp0 1652 fhandler_base::set_flags: flags 0x10, supplied_bin 
0x0
   41   27355 [main] cpp0 1652 fhandler_base::set_flags: filemode set to binary
   40   27395 [main] cpp0 1652 fhandler_base::open: 1 = fhandler_base::open 
(C:\P680\firmware\main\loopbacktest.cpp, 0x10)
   40   27435 [main] cpp0 1652 fhandler_base::open_fs: 1 = fhandler_disk_file::open 
(C:\P680\firmware\main\loopbacktest.cpp, 0x0)
   41   27476 [main] cpp0 1652 open: 3 = open (main\loopbacktest.cpp, 0x0)
   68   27544 [main] cpp0 1652 fhandler_base::fstat_by_handle: 1 = 
GetFileInformationByHandle (C:\P680\firmware\main\loopbacktest.cpp, 1844)
--
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/


wish84: incredibly slow

2004-06-08 Thread fergus
I have been using Cygwin on a very slow Toshiba. By which I mean one can
sometimes wait 1 or 2 or 3 secs for what appears instantaneous on other
machines. But wish84 requires geological time to respond, as in:

-- at the bash or rxvt or xterm prompt: 

$ wish  # delay 25 secs for panel to appear 
$ wish  # delay 25 secs for panel to appear 
$ wish  # delay 5 secs for panel to appear 

and thereafter, 5 secs' delay. 

Incidentally, I might have understood all responses slow, all responses
fast, 1st slow, subsequent fast but I find 1st and 2nd responses slow,
subsequent fast extremely odd?

I have tried strace -o wish.log /bin/wish84 but get a file an amazing 7000
lines long. In any case, I'm not asking you to crack my problems for me, I'm
just wondering at this stage whether a wish84 expert can say Yes, that's
the way wish84 behaves and must behave: on an old machine the time lag is
accentuated. 

Fergus 



--
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: Annoucement: GCC-3.4.0 binary release candidat

2004-06-08 Thread Arthur I Schwarz
Hello Tim,

At 2004-06-06 16:44 you wrote:

 At 04:38 AM 6/6/2004, Gerrit P. Haase wrote:

Hello Hans,

  I'd like to give this one a test drive! Is it possible to use it under
the
  cygwin gcc frontend (i.e. gcc -mno-cygwin) ??
  Or do I need to wait for the cygwin folks to catch up (which may take
an
  eternity and a half :-)?

Please try to build gcc-3.3.3 or gcc-3.4.0 (including ALL languages)
and if it succeeds, send me your patches!


Gerrit
--
=^..^=

 I've never seen instructions on where to get the special cygwin patches,
 let alone mingw.  The public releases up through the latest 3.3.4 build
and
 pass testsuite fine on cygwin.  I suppose the few minor changes since the
 supported versions aren't sufficient to motivate anyone to produce and
 verify the cygwin patches.  3.4.0 is OK, except that there is no gnu way
to
 bootstrap ada, and the pch feature has not been ported to cygwin. Current
 3.4.1 exposes an internal error in g++ when I attempt to build libgcj.


There was a branch for Cygwin/MinGW at version 3.3.1/3.3.2,
(called cygming33x), it includes some MinGW exclusive fixes, some
backported patches from HEAD and some MinGW/Cygwin specials to
enable the Cygwin gcc version to use the Windows API and produce
Cygwin independant binaries (-mno-cygwin and -mwin32 switches).

This branch is also the version which the latest release of gcc for
Cygwin (3.3.1-3) is based on.


3.4.0: the first build finished, but I got nearly 900 FAILS for the
libjava testsuite, every following build of libjava even failed to
finish with linking errors when building jv-convert.exe with a longer
list of undefined references.  As I tried to build from vanilla
3.4.0 sources because I thought, some of the MinGW/Cygwin exclusive
extensions may have broken s.th. I saw the 900 FAILS which is about 10
times more FAIL than you reported.

3.3.3/3.3.4: I tried to build 3.3.3 instead of 3.4.0, now I got this
error which was reported to be fixed somewhere in 2002:


To all;

Well I'v tried to compile GCC 3.4.0. My results are given for two machines
with Win2000 and the latest version of Cygwin with gcc-3.3.1.

  My home computer, AMD 2100+. No problems. Ada didn't compile correctly
but that's probably my fault.
  My work computer, Intel 800Mhz. Problems. See below.

Configure was vanilla flavored. If I remember, something like
./configure.

I'd like to help and (most particularly) I'd like to find out what to do
and where to find what to do.

art

 I've tried to compile and install gcc-3.4.0 under Cygwin on an AMD XP and
 Pentium IV computer, both under Win2000.

 On the AMD the bootstrap succeeds with no error and I am ready to
install.

 On the Pentium the bootstrap fails (during link?) in Stage 1 when it is
 unable to locate 'user32' (-luser32). user32 is located in: C:
 \winnt\sysstem32\user32.dll, and this is in my Cygwin PATH variable and
in
 the Windows System PATH variable. Don't know what to do to discover
what's
 wrong or work around the problem. Don't understand why I succeed in my
home
 AMD computer and fail at my work pentium computer.





--
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: Textmode mounts broken in cygwin 1.5.10-3

2004-06-08 Thread Christopher Faylor
On Tue, Jun 08, 2004 at 05:02:36PM +0200, W. Tuchan wrote:
I've upgraded to 1.5.10-3 and now the gcc preprocessor does not like my
CRLFs. That is know problem of gcc that should be cured by appropriate
textmode mounts but this does not work anymore.

It's not a known problem of gcc.  gcc should not care about text mode
mounts.  It is supposed to work correctly with any mount modes.

Can someone help me here.

http://cygwin.com/problems.html

--
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: Annoucement: GCC-3.4.0 binary release candidat

2004-06-08 Thread Gerrit P. Haase
Hi Arthur,

you wrote:

 Well I'v tried to compile GCC 3.4.0. My results are given for two machines
 with Win2000 and the latest version of Cygwin with gcc-3.3.1.

   My home computer, AMD 2100+. No problems. Ada didn't compile correctly
 but that's probably my fault.

I got an error with Ada / gcc-3.4.0 when I used -O3 plus some more
optimization flags, but it builds just fine with default settings.

   My work computer, Intel 800Mhz. Problems. See below.

You probably are missing the win32api package which includes the import
libraries and headers for accessing the Windows DLLs.


 Configure was vanilla flavored. If I remember, something like
 ./configure.

 I'd like to help and (most particularly) I'd like to find out what to do
 and where to find what to do.


I can compile libjava, but when jv-convert (gcc-3.3.3) should be linked
I get errors with multiple defined symbols.  I found a two year old
thread and a patch which was integrated, but it seems that this doesn't
work anymore for Cygwin.  Well, I could link jv-convert (gcc 3.4.0) in
the first try, however it crashes when I try to run it.  As I tried a
second time I got undefined references when linking jv-convert.

So it seems I have no luck with Java and probably I'll release gcc-3.3.3
without Java included.

If someone with a fast machine could test / track down whether it is
a libjava / gcjh problem or if it is a problem with cygwin-1.5.10
(which is the version I'm currently using).

I also tried the 2004-06-04 cygwin snapshot with the same result.

No matter if you take 3.3.3, 3.3.4 or 3.4.0, I cannot build libjava in
all three versions.

My next bet is to downgrade to cygwin-1.5.9 and try if this works
better.

Gerrit
-- 
=^..^= http://nyckelpiga.de/donate.html


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



compile error with mysql 4.1.2-alpha

2004-06-08 Thread cygwin
Hi,
i am trying to get DBI working with mysql...
I am trying to compile mysql, and get a compile error (see below). Has 
anyone built a mysql recently?

regards,
jeremy
=
if gcc -DDEFAULT_BASEDIR=\/usr/local\ -DDATADIR=\/usr/local/var\ 
-DDEFAULT_CHARSET_HOME=\/usr/local\ 
-DSHAREDIR=\/usr/local/share/mysql\
 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.-O3 -DDBUG_OFF-MT 
my_thr_init.o -MD -MP -MF .deps/my_thr_init.Tpo \
  -c -o my_thr_init.o `test -f 'my_thr_init.c' || echo 
'./'`my_thr_init.c; \
then mv -f .deps/my_thr_init.Tpo .deps/my_thr_init.Po; \
else rm -f .deps/my_thr_init.Tpo; exit 1; \
fi
my_thr_init.c: In function `my_thread_global_init':
my_thr_init.c:72: error: `PTHREAD_MUTEX_ERRORCHECK_NP' undeclared (first 
use in this function)
my_thr_init.c:72: error: (Each undeclared identifier is reported only once
my_thr_init.c:72: error: for each function it appears in.)
make[2]: *** [my_thr_init.o] Error 1
make[2]: Leaving directory `/c/Documents and Settings/jeremy/My 
Documents/My Downloads/tmp/mysql-4.1.2-alpha/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Documents and Settings/jeremy/My 
Documents/My Downloads/tmp/mysql-4.1.2-alpha'
make: *** [all] Error 2
=



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jun 08 17:16:07 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   e:\cygwin\usr\local\bin
e:\cygwin\bin
e:\cygwin\bin
e:\cygwin\usr\X11R6\bin
e:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\Common Files\GTK\2.0\bin
c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
c:\Program Files\Microsoft Visual Studio\Common\Tools
c:\Program Files\Microsoft Visual Studio\VC98\bin
e:\cygwin\home\jeremy\scripts
c:\mysql\scripts
c:\mysql\bin\

Output from e:\cygwin\bin\id.exe (nontsec)
UID: 1000(jeremy) GID: 513(None)
513(None)

Output from e:\cygwin\bin\id.exe (ntsec)
UID: 1000(jeremy) GID: 513(None)
513(None)544(Administrators)  
547(Power Users) 545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

HOME = `e:\cygwin\home\jeremy'
MAKE_MODE = `unix'
PWD = `/usr/doc'
USER = `jeremy'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\jeremy\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `FINGERS2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\jeremy'
HOSTNAME = `fingers2'
INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program 
Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual 
Studio\VC98\include'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program 
Files\Microsoft Visual Studio\VC98\lib'
LOGONSERVER = `\\FINGERS2'
LS_COLORS = 
`no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/doc/Cygwin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PALMTOPCENTERDIR = `C:\Program Files\Sharp Zaurus 2\Qtopia Desktop'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = [EMAIL PROTECTED]:\w $ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\jeremy\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\jeremy\LOCALS~1\Temp'
USERDOMAIN = `FINGERS2'
USERNAME = `jeremy'
USERPROFILE = `C:\Documents and Settings\jeremy'
VMPRODUCTPATH = `C:\Program Files\ICS Triplex ISaGRAF'
VMPROJECTPATH = `C:\Program Files\ICS Triplex ISaGRAF\Projects'
WINDIR = `C:\WINNT'
_ = `/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

Installation problems

2004-06-08 Thread Chris Carlson
I just thought I'd post a problem I've been having for a while now in
case if someone wants to look into it.

uname -a returns:
CYGWIN_NT-5.0 jackal 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown
unknown Cygwin


I just did an update.  My previous download was last week.  At the time,
I requested everything to be installed.  This time I just allowed
Default.

Both during the initial installation and the current installation, one
of the shell scripts failed with find.exe because it couldn't find
cygintl-1.dll.  I copied this file from a previous installation in order
to complete the installation.  My guess is that the new cygwin uses
cygintl-2.dll (which exists) but some of the applications (find.exe and
grep.exe) still expect cygintl-1.dll.

Also, I discovered the following in /var/log/setup.log.full:

2004/06/08 09:36:42 running: C:\cygwin\bin\sh.exe -c
/etc/postinstall/postinstall-lilypond.sh
rm: too few arguments
Try `rm --help' for more information.




Chris Carlson
iStor Networks, Inc.


--
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: Textmode mounts broken in cygwin 1.5.10-3

2004-06-08 Thread Pierre A. Humblet
On Tue, Jun 08, 2004 at 06:31:30PM +0200, W. Tuchan wrote:
 
   58   26507 [main] cpp0 1652 open: open (main\loopbacktest.cpp, 0x0)
 
 
 The mounts are not looked up because you are specifying a Windows path.
 
 Pierre
 
 If that is the reaseon then 1.5.10-3 behaves different that 1.5.9.
 Unfortunately I cannot change the path easyly because it is generated
 from nmake.

I think Cygwin always meant to consider paths with a \ as Windows
paths, but that was not consistently enforced until 1.5.10
AFAIK there is no way to specify a default for Windows paths.
Perhaps the cygdrive choice could apply to them as well, but
changing anything in this area is sure to break something, somewhere.

Pierre

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

2004-06-08 Thread Menon, Girish (MED, WIPRO-GE MED)
Hi,

I am currently using cygwin's inetd and wanted to use xinetd
instead. What packages other than the xinetd package, I should download? I
have recently downloaded the new xinetd package. Please see the cygcheck
output below:


Cygwin Configuration Diagnostics
Current System Time: Tue Jun 08 12:23:07 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\bin
c:\insite
c:\insite\bin
c:\insite\ProDiags\bin
C:\cygwin\bin
.\
C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\WINNT
C:\cygwin\WINNT\system32
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\insite\bin
c:\insite\ProDiags\bin
c:\insite\java\bin
c:\insite\jiro\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(insite) GID: 544(Administrators)
544(Administrators)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(insite) GID: 544(Administrators)
0(root)  513(None)
544(Administrators)  545(Users)

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

HOME = `C:\insite'
LD_LIBRARY_PATH = `C:\cygwin\usr\lib:\lib:\lib'
MAKE_MODE = `unix'
PWD = `/c/insite'
USER = `insite'

!EXITCODE = `'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\insite\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ROCKY'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HASHFILE = `c:/insite/server/.iipweb.slic'
HASHFILEKEY = [EMAIL PROTECTED]'
HOMEDRIVE = `C:'
HOMEPATH = `/insite'
HOSTNAME = `rocky'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/aut
otool/stable/info:'
LD_LIBRARY64_PATH = `/usr/lib64:/lib64'
LD_LIBRARYN32_PATH = `/lib32:/usr/lib32://lib32'
LOGNAME = `root'
LOGONSERVER = `\\ROCKY'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/ma
n'
NT_OS_TYPE = `WORKSTATION'
NUMBER_OF_PROCESSORS = `1'
OLC_SERVER_ALIAS = `olciiweb'
OLC_SERVER_NAME = `150.2.1.250'
OLC_SERVER_PORT = `80'
OLDPWD = `/etc/xinetd.d'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `${USER:-$USERNAME} '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\DOCUME~1\insite\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\insite\LOCALS~1\Temp'
USERDOMAIN = `ROCKY'
USERNAME = `insite'
USERPROFILE = `C:\Documents and Settings\insite'
WINDIR = `C:\WINNT'
_ = `/bin/cygcheck'
POSIXLY_CORRECT = `1'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   39197Mb   8% CP CS UN PA FC 
d:  cd  CDFS   0Mb 100%CS UN   040514_1134

C:\cygwin  / system  binmode
C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
.  / system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: \bin\bash.exe
Warning: C:\cygwin\bin\bash.exe hides \bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: \bin\sh.exe
Warning: C:\cygwin\bin\sh.exe hides \bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  cygbz2-1.dll v0.0 ts=2003/8/9 1:35
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
  cygcrypt-0.dll v0.0 ts=2003/10/19 2:57
  841k 2004/03/17 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.7.dll v0.0 ts=2004/3/17 16:58
   22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
  cygcygipc-2.dll v0.0 ts=2004/2/9 20:48
  831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
  cygdb-4.1.dll v0.0 ts=2003/9/20 16:51
 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
  cygdb_cxx-4.1.dll v0.0 ts=2003/9/20 16:53
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25 0:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/9 0:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
  cygform7.dll v0.0 ts=2003/8/9 4:25
   28k 2003/07/20 

RE: Cygwin and xinetd

2004-06-08 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Menon, Girish (MED, WIPRO-GE MED)
 Sent: 08 June 2004 18:18
 To: cygwin
 Subject: Cygwin and xinetd
 
 Hi,
 
   I am currently using cygwin's inetd and wanted to use xinetd
 instead. What packages other than the xinetd package, I 
 should download? I have recently downloaded the new xinetd package. 

  I dunno, but since you've just downloaded xinetd, why don't you look in
its documentation to find out?  Take a look in /usr/doc/Cygwin, which is
where the documentation for cygwin packages gets put when you download and
install them.

 Please see the cygcheck output below:

  It's tempting to point out that you appear to be missing clue-1.0.0-0 ...

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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

2004-06-08 Thread Igor Pechtchanski
Mark,

It's usually best to post questions to the Cygwin mailing list, as this
allows both the questions and the answers to be archived, and also gets
you access to the combined expertise of the list, which is larger than
that of any one person.  I've redirected this message to the list, and set
the Reply-To accordingly.

More inline below.

On Tue, 8 Jun 2004, Rutten, Mark wrote:

 Hi Igor,

 A while ago now (Oct 2002) you posted to the cygwin mailing list with
 the subject:

 cvs unable to remove lock directory; rm -r works

 I have been using cvs under cygwin for a while now and have only just
 come across this problem.  Did you find a solution?

 Thanks,
 Mark

It would have helped if you'd included the URL of the message you're
referring to (in the web archives).  Luckily, I do recall the problem (for
the archives: I had a CVS repository on a Samba drive, and cvs was unable
to clean up lock directories that it created in the repository).

The thread you refer to should have included a summary of my debug
attempts.  Due to lack of debugging time, I never found a real solution,
but used the following workaround: since I had full access to the
repository, I changed the value of LockDir in CVSROOT/config to
/tmp/igor/cvslock (a directory that I created on my local disk).  I don't
know if you can do this with a repository that you don't have admin access
to...

FYI, this problem happened with a very old version of Cygwin.  I haven't
tried to reproduce it with newer versions.  Unless you're using the very
latest version of Cygwin, I suggest upgrading and trying again.  If you
are using the latest, and are willing to invest some debugging time,
perhaps you'll be luckier in locating the culprit.

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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 packages: apr, libapr0, apr-util, libaprutil0 0.9.5pre20040608-1

2004-06-08 Thread Max Bowsher
APR and APR-Util, the Apache Portable Runtime library, and the APR utility
library, will shortly be propagating to a mirror near you.

The addition of these packages to Cygwin brings us another step closer to a
Cygwin package of Subversion, an interesting new version control system.



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.

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.

Max.


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

2004-06-08 Thread Rutten, Mark

 As far as I know I am running the latest version of cygwin 
 (1.5.10-3) and cvs (1.11.6-3).  As I said in my original 
 post, I have been using cvs successfully under cygwin for a 
 while and have only recently (as in the last week or so) 
 started to experience this problem.  I will try debugging 
 when I have some spare time.

It turns out that when I revert back to cygwin version 1.5.9-1 the  cvs problem (of 
being able to remove the #cvs.lock directory)disappears.  However this isn't the most 
satisfying solution.  Once again, I'll try debugging when I have some spare time.

Mark.

--
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: sshD fails to start as a service

2004-06-08 Thread cygwin
 
 On Mon, Jun 07, 2004 at 11:50:40PM +0100, 
 [EMAIL PROTECTED] wrote:
  sshd : PID 3576 : starting service `sshd' failed: execv: 
 255, error 255.
 
 I've encountered such problems when the binaries and 
 libraries were not
 executable by SYSTEM. chmod 755 /usr/sbin/* /usr/bin/* fixed the
 problem.
 
 With kind regards,
 Baurjan.
 

Cheers for the response, but having just attempted this, I still get the
same error..

Any further ideas?
Anyone?

It is rather annoying, especially as I can manually start sshd and it works
fine..

Chris


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



more pain - YAM

2004-06-08 Thread Buzz
I tried not to, but... I'll bite...

Op Mon, 7 Jun 2004 00:19:11 -0400 schreef Christopher Faylor
in [EMAIL PROTECTED]:
:  On Mon, Jun 07, 2004 at 05:16:08AM +0200, Bas van Gompel wrote:
:  [multiple recipients: cygwin mailing-list + Rose Naftaly at RedHat]
:  Note: This is legal stuff, many of you may want to skip this mail...
:
:   Good advice.

You could have taken it, and avoided this thread.

:  In url:http://cygwin.com/contrib.html it says to ask questions on
:  the mailing-list, while in url:http://cygwin.com/assign.txt it says
:  to send questions to R. Naftaly. Hence this (b)cc'd message.
:
:   There is no reason to send legal questions here.  This list will not
:  resolve your grievances.  Contacting the person in the contrib link
:  is the correct way to do this.

Did you read what you are replying to? The contrib page states:
| Here is our standard assignment form for changes to Cygwin that
| you can fill out, sign, and send back. It shouldn't end up being
| that much of a pain. If you have any questions, please send them
| to the cygwin mailing list.

Should this text be modified?

:  Lets not discuss this here any further.  There is no reason to subject
:  the cygwin mailing list to Red Hat specific legal questions.  We don't
:  need a bunch of IANAL's wasting bandwidth with their expert legal
:  opinions.

Nobody was discussing this, nor requesting any discussion of this.
I agree there is nothing to discuss. Let's wait for the response from
the Red Hat legal department. I just mailed this here FYI.

hth, hand.

EOT IIIUTM

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re 

--
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: sshD fails to start as a service

2004-06-08 Thread Igor Pechtchanski
On Wed, 9 Jun 2004, cygwin wrote:

  On Mon, Jun 07, 2004 at 11:50:40PM +0100, [EMAIL PROTECTED] wrote:
   sshd : PID 3576 : starting service `sshd' failed: execv: 255, error 255.
 
  I've encountered such problems when the binaries and
  libraries were not
  executable by SYSTEM. chmod 755 /usr/sbin/* /usr/bin/* fixed the
  problem.
 
  With kind regards,
  Baurjan.

 Cheers for the response, but having just attempted this, I still get the
 same error..

 Any further ideas?
 Anyone?

 It is rather annoying, especially as I can manually start sshd and it works
 fine..

 Chris

You have user mounts instead of system ones.  Re-mount all your mounts as
system mounts, and it should work.  Below is probably the shortest way of
doing this:

eval `mount -m | sed 's/ -u / -s /'`

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Annoucement: GCC-3.4.0 binary release candidat

2004-06-08 Thread Tim Prince
At 09:04 AM 6/8/2004, Gerrit P. Haase wrote:
Hi Arthur,
you wrote:
 Configure was vanilla flavored. If I remember, something like
 ./configure.
I don't believe the defaults are entirely adequate nowadays, even for 
linux. I usually copy my own previous configure parameters, or those 
reported by someone else whose testsuite results look OK.

So it seems I have no luck with Java and probably I'll release gcc-3.3.3
without Java included.
If someone with a fast machine could test / track down whether it is
a libjava / gcjh problem or if it is a problem with cygwin-1.5.10
(which is the version I'm currently using).
I also tried the 2004-06-04 cygwin snapshot with the same result.
No matter if you take 3.3.3, 3.3.4 or 3.4.0, I cannot build libjava in
all three versions.
My next bet is to downgrade to cygwin-1.5.9 and try if this works
better.
As you''ve probably noticed (I've reported each testsuite to 
gcc-testsuite), libgcj has continued to build on my 3.3.3 and 3.3.4 
installations, on cygwin-1.5.9-1.  Many of the exception handling cases in 
the testsuite hang until timeout.  I'm mildly curious about the pch 
facility of 3.4, whether it is out of reach on Windows.  I'm more curious 
to know how others managed to build gfortran of 3.5.

Tim Prince 

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

2004-06-08 Thread Menon, Girish (MED, WIPRO-GE MED)
I found that I needed the chkconfig package too. Thanks

Anyways, now I am unable to enable xinetd. Here's what I did.

cygrunsrv -I xinetd -d 'Cygwin xinetd' -p
/usr/sbin/xinetd -a -d -e CYGWIN=ntsec
cygrunsrv -E xinetd
cygrunsrv -S xinetd

When I execute cygrunsrv -S xinetd, I get the following error:
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32
error 1062:
The service has not been started.

I checked the Event Viewer and here is the event log

6/8/200410:52:44 PM xinetd  Error   None0   NT
AUTHORITY\SYSTEMGEMSWINXPV101   The description for Event ID ( 0
) in Source ( xinetd ) cannot be found. The local computer may not have
the necessary registry information or message DLL files to display
messages from a remote computer. You may be able to use the /AUXSOURCE=
flag to retrieve this description; see Help and Support for details. The
following information is part of the event: xinetd : PID 3544 : starting
service `xinetd' failed: execv: 1, Operation not permitted.


Any ideas?

Girish

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Dave Korn
Sent: Tuesday, June 08, 2004 12:42 PM
To: [EMAIL PROTECTED]
Subject: RE: Cygwin and xinetd


 -Original Message-
 From: cygwin-owner On Behalf Of Menon, Girish (MED, WIPRO-GE MED)
 Sent: 08 June 2004 18:18
 To: cygwin
 Subject: Cygwin and xinetd
 
 Hi,
 
   I am currently using cygwin's inetd and wanted to use xinetd
 instead. What packages other than the xinetd package, I 
 should download? I have recently downloaded the new xinetd package. 

  I dunno, but since you've just downloaded xinetd, why don't you look
in
its documentation to find out?  Take a look in /usr/doc/Cygwin, which is
where the documentation for cygwin packages gets put when you download
and
install them.

 Please see the cygcheck output below:

  It's tempting to point out that you appear to be missing clue-1.0.0-0
...

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



New packages: apr, libapr0, apr-util, libaprutil0 0.9.5pre20040608-1

2004-06-08 Thread Max Bowsher
APR and APR-Util, the Apache Portable Runtime library, and the APR utility
library, will shortly be propagating to a mirror near you.

The addition of these packages to Cygwin brings us another step closer to a
Cygwin package of Subversion, an interesting new version control system.



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.

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.

Max.