Re: nfs server config

2005-02-12 Thread Luca
but doesn't work!!!
the mount log tell me the is a problem..
there isn't access to the partition!!
and in another cygwin installation i don't have this time of error...
- Original Message - 
From: Larry Hall [EMAIL PROTECTED]
To: Luca Andreoli [EMAIL PROTECTED]; cygwin-apps@cygwin.com
Sent: Friday, February 11, 2005 11:25 PM
Subject: Re: nfs server config


At 04:44 PM 2/11/2005, you wrote:
and we i use the command
nfs-server-config
i have this problem
$ nfs-server-config
Installing portmap as 'Cygwin portmap'
Installing mountd as 'Cygwin mountd'
Installing nfsd as 'Cygwin nfsd'
mount(1) command did not return SYSTEM mount(s).
It looks like you have installed Cygwin for a single user.
Cygwin mount points will not be available to programs installed
as Windows services. This will keep portmap, mountd, and nfsd
from running as Windows services.
In order for portmap, mountd and nfsd to function properly,
you should establish global mount points using the /bin/mount
utility. You can change user-specific Cygwin mount points to
global mount points using the following command:
   eval mount -f -s -b C:/cygwin/bin /usr/bin;
mount -f -s -b C:/cygwin/lib /usr/lib;
mount -f -s -b C:/cygwin /;
mount -s -b --change-cygdrive-prefix /cygdrive;
You current mount -m  listing is:
mount -f -s -b C:/cygwin/bin /usr/bin
mount -f -s -b C:/cygwin/lib /usr/lib
mount -f -s -b C:/cygwin /
mount -s -b --change-cygdrive-prefix /cygdrive
pls help me

Hm, seems I remember this as an old bug but I couldn't google up a 
reference
to it.  If mount -m shows you the above listing, you can ignore the
warning.  It's erroneous.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746




tessellation problem with OpenGL

2005-02-12 Thread Denis Roegel

Hi,

using an advice by André Bleau a year ago, I got the two
tessellation examples (tess.c and tesswind.c) from OpenGL working.
However, the example below, slightly different from
tess.c doesn't work. I get a segmentation fault, but I have no idea
how to solve the problem. I would appreciate any help as this is
a reduced case of a larger program which works well on linux,
and that I'd love to port on cygwin. I suspect this problem is 
related with tessellation, but I am not sure.

Can someone reproduce the problem and is there a new maintainer
for the OpenGL package (André Bleau's email does no longer work)?

Thanks in advance,

Denis

$ gcc -g -o mytess mytess.c -lopengl32 -lglu32 -lglut32

$mytess.exe
Ok here
Segmentation fault (core dumped)

$ gdb mytess.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions. Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details. This GDB was configured as i686-pc-cygwin...
(gdb) r
Starting program: /home/denis/opengl/redbook/mytess.exe 
Ok here

Program received signal SIGSEGV, Segmentation fault.
0x68f82d23 in gluTessEndPolygon () from
/cygdrive/c/WINDOWS/System32/glu32.dll (gdb) bt
#0  0x68f82d23 in gluTessEndPolygon () from
/cygdrive/c/WINDOWS/System32/glu32.dll
#1  0x004014a4 in init () at mytess.c:102
#2  0x004015c8 in main (argc=1, argv=0x10041590) at mytess.c:130
(gdb)

-
// adapted from tess.c

#include GL/glut.h
#include stdlib.h
#include stdio.h

#ifndef CALLBACK 
#define CALLBACK __attribute__ ((__stdcall__))
#endif

void display (void) {
   glClear(GL_COLOR_BUFFER_BIT);
   glColor3f(1.0, 1.0, 1.0);
   glFlush();
}

void CALLBACK beginCallback(GLenum which)
{
   glBegin(which);
}

void CALLBACK errorCallback(GLenum errorCode)
{
   const GLubyte *estring;

   estring = gluErrorString(errorCode);
   fprintf(stderr, Tessellation Error: %s\n, estring);
   exit(0);
}

void CALLBACK endCallback(void)
{
   glEnd();
}

void CALLBACK vertexCallback(GLvoid *vertex)
{
   const GLdouble *pointer;

   pointer = (GLdouble *) vertex;
   glColor3dv(pointer+3);
   glVertex3dv(vertex);
}

/*  combineCallback is used to create a new vertex when edges
 *  intersect.  coordinate location is trivial to calculate,
 *  but weight[4] may be used to average color, normal, or texture * 
 coordinate data.  In this program, color is weighted.
 */
void CALLBACK combineCallback(GLdouble coords[3], 
 GLdouble *vertex_data[4],
 GLfloat weight[4], GLdouble **dataOut )
{
   GLdouble *vertex;
   int i;

   vertex = (GLdouble *) malloc(7 * sizeof(GLdouble));

   vertex[0] = coords[0];
   vertex[1] = coords[1];
   vertex[2] = coords[2];
   for (i = 3; i  7; i++)
  vertex[i] = weight[0] * vertex_data[0][i] 
  + weight[1] * vertex_data[1][i]
  + weight[2] * vertex_data[2][i] 
  + weight[3] * vertex_data[3][i];
   *dataOut = vertex;
}

void Contour(GLUtesselator *tobj,GLdouble v[][3],GLint n) {
  GLint i;
  gluTessBeginContour(tobj);
  for (i=n-1;i=0;i--) {
v[i][0]=cos((2*3.14159*i)/n);
v[i][1]=sin((2*3.14159*i)/n);
v[i][2]=0.0;
gluTessVertex(tobj, v[i], v[i]);
  }
  gluTessEndContour(tobj);
}

void tess_properties(GLUtesselator *tobj) {
   gluTessProperty (tobj, GLU_TESS_WINDING_RULE,
   GLU_TESS_WINDING_POSITIVE);  gluTessCallback(tobj,
   GLU_TESS_VERTEX,(_GLUfuncptr)glVertex3dv); gluTessCallback(tobj,
   GLU_TESS_BEGIN,(_GLUfuncptr)beginCallback); gluTessCallback(tobj,
   GLU_TESS_END,(_GLUfuncptr)endCallback);
   gluTessCallback(tobj, GLU_TESS_ERROR,(_GLUfuncptr)errorCallback);
   gluTessCallback(tobj, GLU_TESS_COMBINE, (_GLUfuncptr)combineCallback);
   gluTessCallback(tobj,
   GLU_TESS_VERTEX_DATA,(_GLUfuncptr)vertexCallback);
}

void init() {
   GLUtesselator *tobj;
   GLdouble v0[100][3];
   tobj = gluNewTess();
   tess_properties(tobj);
   gluTessBeginPolygon(tobj, NULL);
 gluTessNormal(tobj,0.0,0.0,-1.0);
 glNormal3f(0.0,0.0,-1.0); 
 Contour(tobj,v0,50);
 printf(Ok here\n);fflush(stdout);
 gluTessEndPolygon(tobj); // this produces a segfault
   printf(Not Ok here\n);fflush(stdout);
   gluDeleteTess(tobj);
}

void reshape (int w, int h)
{
   glViewport(0, 0, (GLsizei) w, (GLsizei) h);
   glMatrixMode(GL_PROJECTION);
   glLoadIdentity();
   gluOrtho2D(0.0, (GLdouble) w, 0.0, (GLdouble) h);
}

void keyboard(unsigned char key, int x, int y)
{
   switch (key) {
  case 27:
 exit(0);
 break;
   }
}

int main(int argc, char** argv)
{
   glutInit(argc, argv);
   glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
   glutInitWindowSize(500, 500);
   glutCreateWindow(argv[0]);
   init();
   glutDisplayFunc(display);
   

OpenGL maintainership

2005-02-12 Thread André Bleau
Denis Roegel Denis dot Roegel at loria dot fr wrote:
...
Can someone reproduce the problem and is there a new maintainer
for the OpenGL package (André Bleau's email does no longer work)?
...
I'm still the OpenGL package maintainer. Issues regarding Glut, Glu, GLUI, 
GLUIX and OpenGL in the Cygwin environment should be reported to cygwin at 
cygwin dot com, not to me directly. I am subscribed to cygwin-allow and 
cygwin-apps-allow, and I read those mailing list several times a week 
through the archives.

Solving problems in someone else's program takes time. If you report an 
issue that is not obvious, I will typically need a few days to investigate 
it in the little free time that I have. If that is not fast enough for you, 
it will not go faster by writting directly to me. Instead, you should write 
to cygwin at cygwin dot com with the following subject line:

Offering $100/hour to solve some urgent OpenGL problem under Cygwin
Quick response garranteed.
André Bleau, Cygwin's OpenGL package maintainer.
_
MSN Calendar vous aide à vous organiser et simplifie la planification des 
rencontres. http://join.msn.com/?pgmarket=fr-capage=features/calendar 
Commencez dès maintenant à profiter de tous les avantages de MSN Premium et 
obtenez les deux premiers mois GRATUITS*.



Re: Update: perl-Win32-GUI, perl-libwin32

2005-02-12 Thread Gerrit P. Haase
Reini Urban wrote:
I would like to maintain perl-Win32-GUI, the Win32-platform native 
graphical user interface toolkit for perl, and I want to take over 
maintainership for perl-libwin32.
We need a current perl-5.8.6 build.
What about the changes we talk about in PM, are they still needed?
Well, just tell me if I need to integrate the patches and release
an update of perl *now* or if it may wait for another two weeks?
Gerrit
--
=^..^=


Re: Update: perl-Win32-GUI, perl-libwin32

2005-02-12 Thread Gerrit P. Haase
Reini Urban wrote:
I would like to maintain perl-Win32-GUI, the Win32-platform native 
graphical user interface toolkit for perl, and I want to take over 
maintainership for perl-libwin32.
We need a current perl-5.8.6 build.
Both extract to:
usr/lib/perl5/site_perl/
Wasn't it you who propagates to use vendor_perl for distributed modules?
It should work to run `make install_vendor` instead of `make install`.
Gerrit
--
=^..^=


RE: MRXVT

2005-02-12 Thread Henry Camacho
 I was able to get .13 working.  Tabs worked for me without problems.

HFC


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nappi Chris-ra5809
Sent: Thursday, February 10, 2005 4:10 PM
To: cygwin-xfree@cygwin.com
Subject: RE: MRXVT

Unfortunately it appears I spoke too soon - while version .03.13 compiles,
it doesn't seem to like to make new tabs (x-server error).  .03.00 does
work...

Regards,
Chris

-Original Message-
From: Nappi Chris-ra5809
Sent: Thursday, February 10, 2005 9:00 AM
To: 'cygwin-xfree@cygwin.com'
Subject: MRXVT

FYI,
After a number of versions that did not build easily under Cygwin, the
latest MRXVT (tabbed RXVT) compiles out of the box.  

Home page: http://materm.sourceforge.net/ Version verified to compile:
0.3.13

Regards,
Chris Nappi


smime.p7s
Description: S/MIME cryptographic signature


Re: Need more documentation

2005-02-12 Thread Matthew Johnson
I visited that page, and it offered to download
_source_, not documentation. But the OP asked for
documentation.

I would have hoped that most contributors to this list
know the difference between source and documentation!

Besides: nobody wants to download an entire Gzip
archive of source just for the info or man pages that
may or may not be included in the archive:-(

--- Patrick Griffiths [EMAIL PROTECTED] wrote:

 
 http://www.x.org/download.cgi?rel=6.8.2
 
 
 - Original Message - 
 From: Paquet-Roy, Frederik
 [EMAIL PROTECTED]
 To: cygwin-xfree@cygwin.com
 Sent: Friday, February 11, 2005 1:28 PM
 Subject: Need more documentation
 
 
 I was wondering if there is any document available
 about how data is managed 
 on the client side and on the server side.  I want
 to know what exactly is 
 done on each side and what is sent to the other. 
 Maybe a kind of 
 flowchart...
 
 Thanks
 
 Frédéric Paquet
 CMC Electronics
 www.cmcelectronics.ca
 
 




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Re: Need more documentation

2005-02-12 Thread Kensuke Matsuzaki
If you want to know X window system documents, there are links.
http://x.cygwin.com/devel/
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp


Make Xwin.exe run something on start-up

2005-02-12 Thread Alex Dubov
Hello everybody.
Currently, I'm using Xwin.exe+Openssh+winssh_askpass
to allow users access to Linux servers. It works ok in
a more or less graphical way expected by the silly
user (he clicks icon, password dialog appears and then
session is started through ssh). The problem is window
timing. When X is in windowed mode, it starts in
background, but window is opened slightly later.
Password dialog, on the other hand, already appears
and gets obscured by the opened Xwin rootwindow,
baffling the user and causing inconvenience.
I believe that to solve this problem correctly, an
option can be added to Xwin, making it run some
program after all window initialization is completed.
This program can then be implemented to provide nice
authentication dialogs in whatever environment user
wants - thus resembling commercial X server products
such as starnet or wrq, but with improved flexibility.
I think it is not difficult to do for somebody already
working on Xwin configuration options, so I'm humbly
asking to implement this feature.



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


Re: Need more documentation

2005-02-12 Thread Alexander Gottwald
Paquet-Roy, Frederik wrote:

 I was wondering if there is any document available about how data is managed 
 on the client side and on the server side.  I want to know what exactly is 
 done on each side and what is sent to the other.  Maybe a kind of flowchart...

Are you referring to X11 or to cygwin/X in special. For X11 there are various
design descriptions available in xc/doc of the XOrg source distribution and
on the net.

For cygwin/X there is no such documentation available but it tries to be
as close  as possible to the X11 Porting Layer Definition. This document
should be available on the cygwin/X website.

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


Re: Make Xwin.exe run something on start-up

2005-02-12 Thread Alexander Gottwald
Alex Dubov wrote:

 Hello everybody.
 Currently, I'm using Xwin.exe+Openssh+winssh_askpass
 to allow users access to Linux servers. It works ok in
 a more or less graphical way expected by the silly
 user (he clicks icon, password dialog appears and then
 session is started through ssh). The problem is window
 timing. When X is in windowed mode, it starts in
 background, but window is opened slightly later.
 Password dialog, on the other hand, already appears
 and gets obscured by the opened Xwin rootwindow,
 baffling the user and causing inconvenience.
 I believe that to solve this problem correctly, an
 option can be added to Xwin, making it run some
 program after all window initialization is completed.
 This program can then be implemented to provide nice
 authentication dialogs in whatever environment user
 wants - thus resembling commercial X server products
 such as starnet or wrq, but with improved flexibility.
 I think it is not difficult to do for somebody already
 working on Xwin configuration options, so I'm humbly
 asking to implement this feature.

xinit (and startx) already uses such an approach. It waits until the server
is acception connections and starts the clients. I think this method is
more suitable than adding another point of failure to the xserver sources.

bye
ago
NP: Das Ich - Erde ruft (Kramm Rmx)
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: sourceware.org downtime

2005-02-12 Thread Ronald Landheer-Cieslak
Christopher Faylor wrote:
If you were subscribed to this list you should have received email
telling you that sourceware.org (aka cygwin.com/gcc.gnu.org) was down.
As you can see, we are now back up again.
We had a hard disk failure which was exacerbated by faulty RAID
firmware.  Putting a new disk into the array caused massive
system corruption.
We're back online now, running from backups that are less than 24 hours
old.  The RAID firmware has been updated and we've verified that this
problem should not reoccur.
Running from backups means that we've jumped back in time so if you've
subscribed or unsubscribed from this list and now are either not getting
or getting it, that's why.
Also any package maintainers who released packages last Thursday (2005-02-03)
or Wednesday (2005-02-02) should double check that their packages are
still there.
And now to bed.
cgf
 

For the record, I'd like to congratulate you and the other 
overseers/admins four your incredibly quick response time. You guys  
gals are obviously doing a great job, and you've proven it once again.

Thanks!
rlc



Troubleshooting

2005-02-12 Thread ssyamal
I installed cygwin and opened it up and typed in XWin.exe -query 
ruby.engin.umich.edu and pressed enter and I get this screen with funny 
patterns, how can I get cygwin to work?? I looked at the Faqs and this 
problem is not there. Will you help me? Thanks!
~Sujata 


Re: Troubleshooting

2005-02-12 Thread Alexander Gottwald
On Sat, 12 Feb 2005 [EMAIL PROTECTED] wrote:

 I installed cygwin and opened it up and typed in XWin.exe -query 
 ruby.engin.umich.edu and pressed enter and I get this screen with funny 
 patterns, how can I get cygwin to work?? I looked at the Faqs and this 
 problem is not there. Will you help me? Thanks!

Those funny patterns is the default screen of the xserver. If it does not
show anything else. Check the faq for xdmcp problems.

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


RE: RE: scponly for chrooted sftp server in cygwin

2005-02-12 Thread Chad Neufeld
I solved my problem with scponly.  Sftp-server could not find
cygcrypto-0.9.7.dll and cygwin1.dll in the /bin of the chroot directory.  I
placed them in /usr/local/sbin with sftp-server and it works.  :-)

Running scponly 4.0-1 on windows xp with cygwin dll 1.5.12-1

Thanks for the help in setting this up.


--
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: nfs server config

2005-02-12 Thread Luca
but doesn't work!!!
the mount log tell me the is a problem..
there isn't access to the partition!!
and in another cygwin installation i don't have this time of error...
- Original Message - 
From: Larry Hall [EMAIL PROTECTED]
To: Luca Andreoli [EMAIL PROTECTED]; cygwin-apps@cygwin.com
Sent: Friday, February 11, 2005 11:25 PM
Subject: Re: nfs server config


At 04:44 PM 2/11/2005, you wrote:
and we i use the command
nfs-server-config
i have this problem
$ nfs-server-config
Installing portmap as 'Cygwin portmap'
Installing mountd as 'Cygwin mountd'
Installing nfsd as 'Cygwin nfsd'
mount(1) command did not return SYSTEM mount(s).
It looks like you have installed Cygwin for a single user.
Cygwin mount points will not be available to programs installed
as Windows services. This will keep portmap, mountd, and nfsd
from running as Windows services.
In order for portmap, mountd and nfsd to function properly,
you should establish global mount points using the /bin/mount
utility. You can change user-specific Cygwin mount points to
global mount points using the following command:
   eval mount -f -s -b C:/cygwin/bin /usr/bin;
mount -f -s -b C:/cygwin/lib /usr/lib;
mount -f -s -b C:/cygwin /;
mount -s -b --change-cygdrive-prefix /cygdrive;
You current mount -m  listing is:
mount -f -s -b C:/cygwin/bin /usr/bin
mount -f -s -b C:/cygwin/lib /usr/lib
mount -f -s -b C:/cygwin /
mount -s -b --change-cygdrive-prefix /cygdrive
pls help me

Hm, seems I remember this as an old bug but I couldn't google up a 
reference
to it.  If mount -m shows you the above listing, you can ignore the
warning.  It's erroneous.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746


--
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: hyperthreading fix try #2

2005-02-12 Thread Volker Bandke
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On my machine my own test case, and the make -j2 test case, have been
running now for more than an hour, no problem so far.

You seem to be on the right track :)




Thanks for your efforts

  
  
  
  

 With kind Regards|\  _,,,---,,_
ZZZzz /,`.-'`'-.  ;-;;, 
 Volker Bandke   |,4-  ) )-,_. ,\ (  `'-'   
  (BSP GmbH)'---''(_/--'  `-'\_)

  Lesser known machine instructions - SDLI: Shift Disk Left
Immediate
  
(Another Wisdom from my fortune cookie jar) 

-BEGIN PGP SIGNATURE-
Version: PGP 8.0.1

iQA/AwUBQg3Lax5trGyhAF0wEQIkRACeOEFBg5fg9uexTMbuuks2T8Tc6qYAnAoB
12qf6LJ7bKUWGMv8s/51fbKg
=/+0S
-END PGP SIGNATURE-



--
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: Apache as a Windows Service?

2005-02-12 Thread Peter Rehley
On Feb 11, 2005, at 6:49 PM, Ronald S Woan wrote:
have read /usr/share/doc/Cygwin/apache-1.3.29-1.README which indicates 
all
you need is the -a -F flag. I did have to run rebaseall which cause 
httpd
to fail which was fixed using setup to do a reinstall of apache. 
Problem now
is I quit my shell that started the httpd daemon and disconnected, 
httpd
dies, so it seems like the windows service is the best option to keep 
it
running even when I am logged off.


[EMAIL PROTECTED] /usr/share/doc/Cygwin
$ cygrunsrv -I apache -p /usr/sbin/httpd.exe -a -F

[EMAIL PROTECTED] /usr/share/doc/Cygwin
$ cygrunsrv -S apache
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 
1062:

The service has not been started.


[EMAIL PROTECTED] /usr/share/doc/Cygwin
$ /usr/sbin/httpd.exe -F

Thanks,
Ronald S Woan

Did you check the log files?
Enjoy,
Peter
---
A Møøse once bit my sister
--
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/


Setup.exe 2.457.2.2: spin button won't allow me to reinstall coreutils

2005-02-12 Thread Steve Munson
Installing the newest version of cygutils (1.2.6-1) removed
/bin/readlink, as explained in the ChangeLog entry for 1/31/05. I
thought the remedy would be to reinstall coreutils (5.2.1-5), which
cygcheck now reported as incomplete. However, setup.exe refused to
reinstall it. The spin button only presented the options to Keep and
Uninstall, no matter which view I used. Finally, I used the spin button
on the Base category in the Category view to select Reinstall for the
whole category, and then selected Keep for the rest of the packages in
the Base category individually. Clicking the Next button displayed a
message box with this error:

Fatal Error: Uncaught Exception
Thread: install
Type: St16invalid_argument
Message: URL Scheme not registered!

In my setup directory, coreutils-5.2.1-5.tar.bz2 is in the directory

ftp%3a%2f%2fmirrors.kernel.org%2fsources.redhat.com%2fcygwin/release/cor
eutils,

if that has anything to do with it. I'm not sure what URL it's referring
to. I finally restored readlink by doing:

$ tar Cxvkpfj / /[...path omitted...]/coreutils-5.2.1-5.tar.bz2

This is on an IBM ThinkPad 600E running Windows 2000 SP3. The output
from cygcheck -s -v -r is attached. Cygcheck ended with the message,
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1

Steve Munson


cygcheck.out
Description: Binary data
--
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: hyperthreading fix try #2

2005-02-12 Thread Rolf Campbell
Christopher Faylor wrote:
I'm not claiming that it is right now.  I haven't tried a make -j test
yet.  I just thought it was time to release another try on the world
again:
http://cygwin.com/snapshots/
To help preserve my tenuous grasp on sanity, please reply to *this
thread* when reporting problems.  Please don't start a new thread.  Just
reply here so that mailing list threading is preserved and I can easily
check for all success or error reports.  As before, any kind of report
is welcome but it is unlikely that I'm going to spend a lot of time
debugging problems that I can't reproduce.
cgf
My make -j test has been running for a while with no failures, and 
beyond that, this seems to fix a long-standing problem for me having to 
do with more excessive parallelization make -j100 issues.

-Rolf
--
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: RE: scponly for chrooted sftp server in cygwin

2005-02-12 Thread Chad Neufeld
Once again, thanks for the help Christian.

I am now able to login to the sftp server but the connection seems to hang.

This is what I login with:
$ sftp [EMAIL PROTECTED]
Connecting to ipaddress...
[EMAIL PROTECTED]'s password: 


And then nothing.  It just sits until I cancel the connection.  However, on
the server machine scponlyc.exe and sftp-server.exe startup and are shown as
active processes.  

I am attemptin to chroot the user to the base directory / to make sure
scponlyc is working.  I have the following line in /etc/passwd

chrtest:unused_by_nt/2000/xp:107:545:chrtest,U-PINOCCHIO
\chrtest,S-1-5-21-1482476501-261478967-725345543-1007:/:/usr/local/sbin/scpo
nlyc

I couldn't find anything on scponly hanging at this point.

Chad


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



hyperthreading fix try #2

2005-02-12 Thread Christopher Faylor
The latest snapshot has my latest try at fixing the dreaded
hyperthreading problem.  My previous fix was flawed in that once Corinna
corrected a typo in my change, the problem showed up again.

So, I've reworked the synchronization logic again and even ran cygwin
through that test suite thing that is all the rage with cygwin
developers these days.  In fact, I ran the test suite while running the
hyperthreading tests.

To test this, I ran two invocations of the standard shell script test
along with the Brian Ford variation of the same for 24 hours.  For some
reason, Brian's shell script seemed to trip the error more quickly than
the other one but the combination of running his script + the other
script seemed to produce the problem even more quickly.

(I'd modified both of the scripts so that they beeped if they exited,
causing me to jump out of my chair a couple of times as I struggled to
get this right.)

I'm not claiming that it is right now.  I haven't tried a make -j test
yet.  I just thought it was time to release another try on the world
again:

http://cygwin.com/snapshots/

To help preserve my tenuous grasp on sanity, please reply to *this
thread* when reporting problems.  Please don't start a new thread.  Just
reply here so that mailing list threading is preserved and I can easily
check for all success or error reports.  As before, any kind of report
is welcome but it is unlikely that I'm going to spend a lot of time
debugging problems that I can't reproduce.

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/



Re: Setup.exe 2.457.2.2: spin button won't allow me to reinstall coreutils

2005-02-12 Thread Reini Urban
Steve Munson schrieb:
Installing the newest version of cygutils (1.2.6-1) removed
/bin/readlink, as explained in the ChangeLog entry for 1/31/05. I
thought the remedy would be to reinstall coreutils (5.2.1-5), which
cygcheck now reported as incomplete. However, setup.exe refused to
reinstall it. The spin button only presented the options to Keep and
Uninstall, no matter which view I used. Finally, I used the spin button
on the Base category in the Category view to select Reinstall for the
whole category, and then selected Keep for the rest of the packages in
the Base category individually. Clicking the Next button displayed a
message box with this error:
Fatal Error: Uncaught Exception
Thread: install
Type: St16invalid_argument
Message: URL Scheme not registered!
Thanks for the report.
Filed as bug #717
http://sources.redhat.com/bugzilla/show_bug.cgi?id=717
--
Reini Urban
--
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/


Apache as a Windows Service?

2005-02-12 Thread Ronald S Woan
have read /usr/share/doc/Cygwin/apache-1.3.29-1.README which indicates all
you need is the -a -F flag. I did have to run rebaseall which cause httpd
to fail which was fixed using setup to do a reinstall of apache. Problem now
is I quit my shell that started the httpd daemon and disconnected, httpd
dies, so it seems like the windows service is the best option to keep it
running even when I am logged off.

 

[EMAIL PROTECTED] /usr/share/doc/Cygwin

$ cygrunsrv -I apache -p /usr/sbin/httpd.exe -a -F

 

[EMAIL PROTECTED] /usr/share/doc/Cygwin

$ cygrunsrv -S apache

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:

The service has not been started.

 

 

[EMAIL PROTECTED] /usr/share/doc/Cygwin

$ /usr/sbin/httpd.exe -F

 

Thanks,

Ronald S Woan





--
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: Setup.exe 2.457.2.2: spin button won't allow me to reinstall coreutils

2005-02-12 Thread Thomas Nilsson

Reini Urban [EMAIL PROTECTED] skrev i meddelandet 
news:[EMAIL PROTECTED]
 Steve Munson schrieb:
 Installing the newest version of cygutils (1.2.6-1) removed
 /bin/readlink, as explained in the ChangeLog entry for 1/31/05. I
 thought the remedy would be to reinstall coreutils (5.2.1-5), which
 cygcheck now reported as incomplete. However, setup.exe refused to
 reinstall it. The spin button only presented the options to Keep 
 and
 Uninstall, no matter which view I used. Finally, I used the spin 
 button
 on the Base category in the Category view to select Reinstall for 
 the
 whole category, and then selected Keep for the rest of the packages 
 in
 the Base category individually. Clicking the Next button displayed 
 a
 message box with this error:

 Fatal Error: Uncaught Exception
 Thread: install
 Type: St16invalid_argument
 Message: URL Scheme not registered!

 Thanks for the report.
 Filed as bug #717
 http://sources.redhat.com/bugzilla/show_bug.cgi?id=717
 -- 
 Reini Urban



The above problem seems akin to the following which I encountered.

cygcheck reported shellutils and xpm as Incomplete. I tried to 
Reinstall them but only Remove and Keep was available. Selected 
Reinstall on the whole cathegory (Misc). Running that displayed a 
dialog box with the message: Can't open (null) for reading. No such 
file.

Setup.exe is 2.457.2.2

Solved my problem by clicking OK. This lead to someother packages 
being Incomplete but these did Reinstall second time around.

/Thomas




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



Installation problem on win XP SP2

2005-02-12 Thread Kim Youngbae
Dear Cygwin: 

I'm using XP pro SP2. 
I had installed cygwin with setup.exe (version 2.457.2.2). 

The problem is that installation was incomplete i.e., 
as cygwin being installed and started, 
bash-2.05b$ prompt was shown in a cygwin window, 
but commands in /bin did not works due to no path to /bin. 
Files or directories such as /etc/profile, /etc/bashrc /home 
were not generated. 
And some applications, for example gnuplot.exe, could not be started, and 
the error message is as following: 
since cyggd-2.dll is not found, the application cannot be started. 
In order to fix this problem, reinstall the application. 
I have reinstall the application which is downloaded from internet. 
But it did not work. 

I assumed that this problem is post-installation failure. 
So I read related the mail archive of the cygwin@cygwin.com 
http://www.cygwin.com/ml/cygwin/2003-08/msg01420.html 
Following the article, I reseted the permission of c driver 
and installed the cygwin, but it did not works. 

Why the installation have the problems in this case ? 

The output of 'cygcheck -svr' is attached in this mail 

Sincerely 

Young
_
...   MSN  !   
http://groups.msn.com/?pgmarket=ko-kr  
Cygwin Configuration Diagnostics
Current System Time: Sat Feb 12 17:42:24 2005
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path:   C:\Program Files\ESTsoft\ALZip\
C:\Program Files\ESTsoft\ALZip\
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(ybkim) GID: 513(¾øÀ½)
513(¾øÀ½)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(ybkim)GID: 513(¾øÀ½)
0(root) 513(¾øÀ½)   544(Administrators) 545(Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\ybkim'
PWD = `/'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ybkim\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `BLUEDAWN'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\ybkim'
LOGONSERVER = `\\BLUEDAWN'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\ybkim\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\ybkim\LOCALS~1\Temp'
USERDOMAIN = `BLUEDAWN'
USERNAME = `ybkim'
USERPROFILE = `C:\Documents and Settings\ybkim'
WINDIR = `C:\WINDOWS'
_ = `/bin/cygcheck'
POSIXLY_CORRECT = `1'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
 (default) = `/cygdrive'
 cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `C:\cygwin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `C:\cygwin/bin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `C:\cygwin/lib'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a:  fd N/AN/A
c:  hd  NTFS 18002Mb  41% CP CS UN PA FC system
d:  hd  NTFS 76316Mb  91% CP CS UN PA FC DATA
e:  hd  NTFS 20151Mb  44% CP CS UN PA FC user
f:  cd  CDFS 0Mb -2147483548%CS  Audio CD
C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive
Not Found: awk
Not Found: bash
Not Found: cat
Not Found: cp
Not Found: cpp (good!)
Not Found: find
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: ld
Not Found: ls
Not Found: make
Not Found: mv
Not Found: rm
Not Found: sed
Not Found: sh
Not Found: tar
Warning: cygwin1.dll not found on your path
Cygwin Package Information
Last downloaded files to: E:\source\cygwin_new
Last downloaded files from: E:\source\cygwin_new
Package  Version
_update-info-dir 00231-1
a2ps 4.12-2
ash  20040127-1
aspell   0.50.3-1
aspell-en0.51.0-1
base-passwd  2.1-1
bash 2.05b-17
clear1.0-1
coreutils5.3.0-2
cygwin   1.5.12-1
ed   0.2-1
gcc  3.4.1-1
gcc-core 3.4.1-1
gcc-testsuite3.4.1-1
gdb  20041228-1

Re: perl Win32 lib support

2005-02-12 Thread Reini Urban
Gerrit P. Haase schrieb:
linda w wrote:
File.o(.text+0x7450):File.c: undefined reference to 
`_win32_get_osfhandle'
File.o(.text+0x13b79):File.c: undefined reference to 
`_win32_open_osfhandle'
collect2: ld returned 1 exit status
Hmm, we really should wait until Reini gets all bits together and
releases libwin32 for cygwin as package.
Gerrit,
Did you miss my cygwin-apps message Update: perl-Win32-GUI, perl-libwin32?
I would appreciate a review there.
--
Reini Urban
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


cygheap version mismatch ?

2005-02-12 Thread CV

It looks like I have managed to screw up my cygwin installation
more or less completely :o(

What I did: I was trying out some of the latest snapshots, and
noticed that KDE would not start with them. So I kept trying,
changing back and forth between the different cygwin1.dll files,
rebooting and running rebaseall -v between tries.

Result: Now, whenever I try starting XWin (whether with KDE or
without) it will fail with the message such as the following:

C:\cygwin\usr\X11R6\bin\XWin.exe (4056): *** cygheap version
   mismatch detected - 0x6179/0x101.
You have multiple copies of cygwin1.dll on your system.
Search for cygwin1.dll using the Windows Start-Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.

I have tried putting the original cygwin1.dll back, including
reboot and rebaseall -v, but still the same results.

As it is, the only thing I can do is run bash in a dos window.

There are definitely no multiple copies of that file. I renamed
all the other snapshopts to something_else._dll and searched all
disks.

Any pointers or advice would be greatly appreciated.

Cheers CV



--
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: Installation problem on win XP SP2

2005-02-12 Thread John Morrison
Try installing base-files which you somehow must have deselected... :)



--
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: where is mh?

2005-02-12 Thread Jeff . Hodges
(n)mh is not in the cygwin distro. mebbe someday (as I understand) if someone 
were to step forward to make it happen.

Earl Hood's done a some of the work already (below), tho someone would have to 
take his stuff and back-fit his changes into the autoconf stuff so that it'd 
actually build correctly.

I've got Earl's nmh installed and am playing with it. my goal is to install 
exmh on top of it. will report back if I get it all to work.


JeffH
-

from..
http://www.cs.uu.nl/wais/html/na-dir/mail/mh-faq/part1.html

search for..


From: Earl Hood ehood at earlhood.com
Date: Sat, 08 Jun 2002 20:30:44 GMT

  I've made a tar/bz2 bundle available at

http://www.nacs.uci.edu/indiv/ehood/tmp/nmh-1.0.4-ehood-cygwin.tar.bz2

  This includes the patched source with binaries pre-built.

  I just remembered that I also had to hack the makefiles to get
  things to install since windoze executables have to end with .exe. I
  hacked the generated makefiles, so if you rerun configure, you may
  lose the hacks. Also, I believe the install will fail when trying to
  install the documentation, so to force things do:

make -i install

  The binaries and support files should get installed (under
  /usr/local/nmh), but the docs probably won't.

  Then you will need to edit /usr/local/nmh/etc/mts.conf to reflect
  your local configuration.

  If anyone has any problems installing, I could zip up my
  /usr/local/nmh since I think it contains everything needed for
  runtime usage.


---
end


--
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: cygheap version mismatch ?

2005-02-12 Thread Larry Hall
At 10:58 AM 2/12/2005, you wrote:

It looks like I have managed to screw up my cygwin installation
more or less completely :o(

What I did: I was trying out some of the latest snapshots, and
noticed that KDE would not start with them. So I kept trying,
changing back and forth between the different cygwin1.dll files,
rebooting and running rebaseall -v between tries.

Result: Now, whenever I try starting XWin (whether with KDE or
without) it will fail with the message such as the following:

C:\cygwin\usr\X11R6\bin\XWin.exe (4056): *** cygheap version
   mismatch detected - 0x6179/0x101.
You have multiple copies of cygwin1.dll on your system.
Search for cygwin1.dll using the Windows Start-Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.

I have tried putting the original cygwin1.dll back, including
reboot and rebaseall -v, but still the same results.

As it is, the only thing I can do is run bash in a dos window.

There are definitely no multiple copies of that file. I renamed
all the other snapshopts to something_else._dll and searched all
disks.

Any pointers or advice would be greatly appreciated.

Start here:

Problem reports:   http://cygwin.com/problems.html


Also, did you start any Cygwin services? 



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: nfs server config

2005-02-12 Thread Larry Hall
At 08:50 PM 2/11/2005, you wrote:
but doesn't work!!!
the mount log tell me the is a problem..
there isn't access to the partition!!
and in another cygwin installation i don't have this time of error...


Sounds like a classic local configuration issue.  Something local to the
machine you're experiencing the problem with is different than the other
machine on which you've installed Cygwin where you don't see this issue.  
I don't know what that difference is.  You haven't given any real 
information on which to base any analysis.  You might want to start by
comparing the output of 'cygcheck -s -r -v' on both machines.  Also, user
access rights are also important, assuming the issue is that you cannot 
connect to exported file systems of the NFS server.  Check Windows access
rights as well as any that you might be imposing through NFS.  If you can't 
find the issue and want to inquire of this list again, let me suggest you 
read and follow the problem reporting guidelines at 
http://cygwin.com/problems.html.  We'll need to know the details of what
you've done, any differences you've noted, attempts you've made and errors
that result.  That will at least boot-strap the resolution process.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: [ANNOUNCEMENT] Updated: zsh-4.2.4-1

2005-02-12 Thread zzapper
On Fri, 11 Feb 2005 18:42:39 +,  wrote:


Peter,
I tried various things to make sure I had a completely up to date zsh.

This is what I did:-

rm /etc/z*

mv ~/.z* ~/bak

del zsh.exe  (actually did this from DOS)

Then used Cygwin setup.exe  to UNINSTALL zsh.exe 


Then installed via CygWin setup.exe

REINSTALL didn't worked probably for the same reason my zsh wouldn't upgrade


zzapper (vim, cygwin, wiki  zsh)
--

vim -c :%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


--
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: cygheap version mismatch ?

2005-02-12 Thread CV
Larry Hall lh-no-personal-replies-please at cygwin.com writes:

 Start here:
 Problem reports:   http://cygwin.com/problems.html

Yes thank you, I looked through the FAQ and instructions, and also 
googled around but didn't find anything specific on this.

 Also, did you start any Cygwin services? 
No. No services.

But I got it working again now by running setup and reinstalling
everything related to X11.

Still, there is the nagging doubt about whether I didn't miss
a package or two in the reinstall and perhaps have a time-bomb
lurking in the depths of the system that may blow up in my
face somewhere a little further down the road.

I would have preferred to actually understand what was 
happening - were the files corrupt ? How did it happen ?
If they weren't, how would reinstalling the same files fix
the problem ? 

Cheers CV



--
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: still a tessellation problem with OpenGL

2005-02-12 Thread André Bleau
Denis dot Roegel at loria dot fr wrote:
Hi,
Hi Denis,
using an advice by Andre Bleau a year ago, I got the two
tessellation examples (tess.c and tesswind.c) from OpenGL working.
However, the example below, slightly different from
tess.c doesn't work. I get a segmentation fault, but I have no idea
how to solve the problem.
Well, reading the manual about how to properly call glu functions would be 
a step in the right direction; see below.

I would appreciate any help as this is
a reduced case of a larger program which works well on linux,
and that I'd love to port on cygwin. I suspect this problem is related with 
tessellation, but I am not sure.
Your problem is indeed related to tessellation, but this time it is not 
Cygwin-specific. I'll give you some help anyway.

Thanks in advance,
Denis
$ gcc -g -o mytess mytess.c -lopengl32 -lglu32 -lglut32
First thing: the proper order for linking is -lglut32 -lglu32 -lopengl32
, as documented in /usr/share/doc/opengl-1.1.0/README.txt
Order is important; you were just lucky this time.
$mytess.exe
Ok here
Segmentation fault (core dumped)
...
- 
// adapted from tess.c
#include GL/glut.h
#include stdlib.h
#include stdio.h
#ifndef CALLBACK #define CALLBACK __attribute__ ((__stdcall__))
#endif
...
void CALLBACK vertexCallback(GLvoid *vertex)
{
   const GLdouble *pointer;
   pointer = (GLdouble *) vertex;
   glColor3dv(pointer+3);
   glVertex3dv(vertex);
}
...
void tess_properties(GLUtesselator *tobj) {
   gluTessProperty (tobj, GLU_TESS_WINDING_RULE,
   GLU_TESS_WINDING_POSITIVE);  gluTessCallback(tobj,
   GLU_TESS_VERTEX,(_GLUfuncptr)glVertex3dv); gluTessCallback(tobj,
   GLU_TESS_BEGIN,(_GLUfuncptr)beginCallback); gluTessCallback(tobj,
   GLU_TESS_END,(_GLUfuncptr)endCallback);
   gluTessCallback(tobj, GLU_TESS_ERROR,(_GLUfuncptr)errorCallback);
   gluTessCallback(tobj, GLU_TESS_COMBINE, (_GLUfuncptr)combineCallback);
   gluTessCallback(tobj,
   GLU_TESS_VERTEX_DATA,(_GLUfuncptr)vertexCallback);
}
...

Here's the problem: vertexCallback is your  GLU_TESS_VERTEX_DATA callback 
function. Proper GLU_TESS_VERTEX_DATA callback functions need to have the 
following prototype:

void CALLBACK vertexData (void * vertex_data, void * polygon_data);
Maybe your version of linux and/or gcc on linux is more tolerant to missing 
arguments. Or maybe you screwed-up the stack there too, only just not enough 
for crashing your program.

You may find other useful info about gluTessCallback in the man pages for 
glu. There are available at many places on the web. Example:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glufnc01_9bu3.asp
I've modified a single line in your test program:
void CALLBACK vertexCallback(GLvoid *vertex)
was changed to:
void CALLBACK vertexCallback(GLvoid *vertex, GLvoid *polygon)
Running it opens an all-black window. Probably not what you would like, but 
certainly no crash. As this is not some problem specific to cygwin's support 
of glut, glu or open GL, please use some open GL forum, such as:

http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=forum;f=2
if you need further help with your program.
Regards,
André Bleau, Cygwin's OpenGL package maintainer.
_
Balayez vos courriels entrants et sortants et les pièces jointes et 
contribuez à éliminer les virus destructeurs susceptibles d’y être intégrés. 
http://join.msn.com/?pgmarket=fr-capage=features/virus Commencez dès 
maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
deux premiers mois GRATUITS*.

--
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: OPENGL package maintainer?

2005-02-12 Thread André Bleau
Larry Hall lh-no-personal-replies-please at cygwin dot com wrote, in 
response to
Denis Roegel Denis dot Roegel at loria dot fr :

At 04:38 PM 2/9/2005, you wrote:
Hi,

I have tried unsuccessfully to reach André Bleau who is/was
the OpenGL package maintainer. Does anybody know how I can
reach him or whom I should send my problems with the OpenGL
package?
This list is generally the preferred way to discuss Cygwin issues
unless they are actual packaging issues, in which case cygwin-apps
is the preferred list.
You are right, Larry. Issues regarding Glut, Glu, GLUI, GLUIX and OpenGL in 
the Cygwin environment should be reported to cygwin@cygwin.com, not to me 
directly.

André Bleau, Cygwin's OpenGL package maintainer.
_
MSN Calendar vous aide à vous organiser et simplifie la planification des 
rencontres. http://join.msn.com/?pgmarket=fr-capage=features/calendar 
Commencez dès maintenant à profiter de tous les avantages de MSN Premium et 
obtenez les deux premiers mois GRATUITS*.

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


Re: perl Win32 lib support

2005-02-12 Thread Gerrit P. Haase
Reini Urban wrote:
Gerrit P. Haase schrieb:
linda w wrote:
File.o(.text+0x7450):File.c: undefined reference to 
`_win32_get_osfhandle'
File.o(.text+0x13b79):File.c: undefined reference to 
`_win32_open_osfhandle'
collect2: ld returned 1 exit status

Hmm, we really should wait until Reini gets all bits together and
releases libwin32 for cygwin as package.

Gerrit,
Did you miss my cygwin-apps message Update: perl-Win32-GUI, 
perl-libwin32?
I would appreciate a review there.
Somehow, I read it but didn't realized that this is the long awaited
update.
Gerrit
--
=^..^=
--
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/


missing man pages?

2005-02-12 Thread Mathew Yeates
I've looked everywhere and I can't find a complete set of manpages. In 
particular, I want stat.3 or fstat.3. Are these available? Where can I 
get them?

tia
Mathew
--
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: [ANNOUNCEMENT] Updated: zsh-4.2.4-1

2005-02-12 Thread Peter A. Castro
On Sat, 12 Feb 2005, zzapper wrote:

 On Fri, 11 Feb 2005 18:42:39 +,  wrote:
 Peter,

Hi zzapper,

 I tried various things to make sure I had a completely up to date zsh.

 This is what I did:-

 rm /etc/z*

 mv ~/.z* ~/bak

 del zsh.exe  (actually did this from DOS)

 Then used Cygwin setup.exe  to UNINSTALL zsh.exe
 Then installed via CygWin setup.exe
 REINSTALL didn't worked probably for the same reason my zsh wouldn't upgrade

I can't seem to reproduce your symptoms.  Is it possible that you have
another zsh exe somewhere else in your Windows PATH?  If you un-install
zsh, can you then still run 'zsh' ?  For that matter, once you
un-install, did you verify all exe's were removed?  There was one case
where someone did an install from one account and when they tried
upgrading from another account couldn't do it because of file
ownership/permissions issues.

I'd recommend running uninstall first, then delete whatever's left over
(and making sure the files were really removed) and then installing.
Beyond that, I can't think of any reason why an older version would so
stubornly stick around, unless you have two cygwin homes and they are
both in your Windows PATH.

 zzapper (vim, cygwin, wiki  zsh)
 --
 vim -c :%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?

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



Re: more ctime bugs

2005-02-12 Thread Eric Blake
Corinna Vinschen corinna-cygwin at cygwin.com writes:
 I'll update Cygwin to set ctime in close and link.  Link
 is special since it doesn't involve using any explicit file descriptors,
 so it's a bit unclear where to set the flags inside Cygwin to get that
 right.  Using close() seems a good way to have ctime set for write()
 as well as open(O_TRUNC).

I see the new has_changed flag in the 20050211 snapshot.  But you still have to
add a call to touch_ctime() within the stat() family of calls if has_changed is
set, in order to comply with the required semantics; stat and lstat are not
allowed to return out-of-date timestamps.

--
Eric Blake



--
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: Apache as a Windows Service?

2005-02-12 Thread Bert-Steffen Visser
I also had problems installing httpd (apache 1.3.29) as a system service, 
cygrunsrv -I httpd -d 'Cygwin HTTPD' -p /usr/sbin/httpd -a '-F'
cygrunsrv -S httpd

/var/logs/apache/error_log reports:
---
[Sun Feb 13 05:20:40 2005] [alert] (22)Invalid argument: setuid: unable to 
change to uid: -1
[Sun Feb 13 05:20:40 2005] [alert] (22)Invalid argument: setuid: unable to 
change to uid: -1
[Sun Feb 13 05:20:40 2005] [alert] (22)Invalid argument: setuid: unable to 
change to uid: -1
[Sun Feb 13 05:20:40 2005] [alert] (22)Invalid argument: setuid: unable to 
change to uid: -1
[Sun Feb 13 05:20:40 2005] [notice] Apache/1.3.29 (Cygwin) configured -- 
resuming normal operations
[Sun Feb 13 05:20:40 2005] [notice] Accept mutex: pthread (Default: pthread)
[Sun Feb 13 05:20:40 2005] [alert] Child 3712 returned a Fatal error... 
Apache is exiting!
[Sun Feb 13 05:20:40 2005] [alert] (22)Invalid argument: setuid: unable to 
change to uid: -1
---

So, perhaps our problems are related. I also found some older references 
reporting the same problem, but no with a clear solution:
http://www.cygwin.com/ml/cygwin/2003-10/msg00557.html
http://sources.redhat.com/ml/cygwin/2002-10/msg01009.html

After quite a bit of trial and error (thought I messed something up with 
security rights), the solution seems to be to add the following line to 
/etc/apache/httpd.conf:
User SYSTEM
(or whatever your name is for the Local System account in /etc/passwd)

I wonder if this is normal. I can't remember I needed this with previous apache 
versions. At least, it would be nice to add this in the README.

greetz,
Bert


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



Add single package manually with setup.exe (with network).

2005-02-12 Thread Bernd Müller-Zimmermann
[ This must be an old question, but I really searched
  the archives, sorry... ]

How would I use/configure setup.exe to install a *single*
package manually from the network?

I have a nicely working Cygwin installation on my W98 PC.
I came from a CD, which I currently don't have.
I'm just missing make and nasm. (And I think, they
weren't on this CD either.)

I didn't manage to make setup.exe install only those
two packages. I would select Default for all groups
and then click away all packages but make and nasm,
but it would still start to download *many* packages
(which I can't afford on my modem connection).

Thanks a lot

Bernd
Bernd [dot] temporary1 [at] gmx [dot] de

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