Re: pipe data form windows program to cygwin program

2004-10-29 Thread bertrand marquis
Hi bob thanks for your help, i solve the problem bny using only windows functions to have a pipe and that is working well. It seems that posix and windows doesn't work well together. bertrand Le ven 29/10/2004 04:18, Bob Byrnes a crit : | Are you *sure* that you have closed *all* of the

Re: pipe data form windows program to cygwin program

2004-10-28 Thread bertrand marquis
Le mer 27/10/2004 21:37, Bob Byrnes a crit : I'm writing a program which need to send data to a cygwin program using a pipe on the stdin (actually data to compress using gzip). All is working well but at the end of the program when i close the pipe it seems that gzip doesn't see that

Re: pipe data form windows program to cygwin program

2004-10-28 Thread bertrand marquis
hi again, i join to this mail an example. This must be compiled with mingw compiler. the program is going great but at the end gzip( or you can try with cat to see that data is in output file) stay open. bertrand Le mer 27/10/2004 21:37, Bob Byrnes a crit : I'm writing a program which

pipe data form windows program to cygwin program

2004-10-27 Thread bertrand marquis
Hi, I'm writing a program which need to send data to a cygwin program using a pipe on the stdin (actually data to compress using gzip). All is working well but at the end of the program when i close the pipe it seems that gzip doesn't see that the pipe has been closed and so it stay

Re: setup for all users

2004-10-07 Thread bertrand marquis
Le jeu 07/10/2004 13:05, Max Bowsher a crit : Jens Wilken wrote: I made some changes to the setup to allow commandline configuration for all user changeable settings (except package selection). We use this extended setup for automatic installations, so the user has no chance to change

/tmp/.X11-unix in multi-user environnement

2004-10-07 Thread bertrand marquis
Hi, I'm using cygwin on a windows workstation with several user. The Xwin server user a directory placed in /tmp named .x11-unix. The problem is that when one user create it, all other user can't start XWin as they are not able to overwrite to this file. Is there any way to specifie an other

setup for all users

2004-10-06 Thread bertrand marquis
Hello, I'm running cygwin setup in quiet mode and i want to do it with all users options. i thought it was set by default as it is when you run the setup in standard mode but when i install cygwin as regular user under windows xp or 2000 the mount entry in the registry are set into

Re: How to make setup not look for external mirrors

2004-10-06 Thread bertrand marquis
Hello, there is an option to the setup in command line specifying the mirror site, perhaps could you try that. see http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html for more info. bertrand Le mer 06/10/2004 09:50, Carlo Florendo a crit : Hello great cygwin people! I

Re: Problem regarding CYGWIN

2004-09-21 Thread bertrand marquis
hello, did you choose to install make and gcc during cygwin install ? because make is installed in /bin to that can be your problem. you need to restart the setup and to add those packages i think bertrand Le mar 21/09/2004 15:21, Mahboob Ali a crit : Hi, My name is Ali, I am the

log files of setup

2004-09-08 Thread bertrand marquis
Hello, i need to install a small cygwin from a cd-rom. So i downloaded what i need from a mirror and then put it on a cd. Then i made a bat script to run setup automatically specifying all the options i need : setup.exe -q -n -L -5 -l D:\ -R C:\cygwininstall this is working well from a hard

Re: log files of setup

2004-09-08 Thread bertrand marquis
oops... sorry it was my mistake in the localdirectory which was wrong.. in fact it is working well as logs are written directly in the install directory. bertrand Le mer 08/09/2004 10:18, bertrand marquis a crit : Hello, i need to install a small cygwin from a cd-rom. So i downloaded what

Re: setup

2004-09-07 Thread bertrand marquis
Le mar 07/09/2004 16:52, Colin JN Breame a crit : Is there a way of installing packages on the command line? i think you can dowmload the packages form a server than you will have to extract them in / using tar -xjf ... than you will have to run the postinstall scripts in /etc/postinstall

Re: cygwin implementation of fork() eating all resourses?

2004-09-06 Thread bertrand marquis
Hi, i had the same behaviour under windows xp. It seems that you need to give back the end to the system sometimes in a while(1) unless it will take all resources of the system and the child won't do anything. i had the problem waiting for a network message which wasn't able to be received as

Re: configure-script failure

2004-08-30 Thread bertrand marquis
Le lun 30/08/2004 07:50, Jani tiainen a crit : Why sometimes running ./configure doesn't work? Usually it reports that some feature is missing, but running second time with same parameters doesn't produce error.. like: configure --prefix=/target --disable-static in first run I

python 2.3 pydoc : sys.modules.get error

2004-08-13 Thread bertrand marquis
hello, i'm using pydoc to generate informations out of python source. But sometimes i've got this error: Traceback (most recent call last): File /usr/bin/pydoc, line 4, in ? pydoc.cli() File /usr/lib/python2.3/pydoc.py, line 2119, in cli help.help(arg) File

cygserver shmat

2004-08-12 Thread bertrand marquis
Hello, i'm trying to use shmat specifying an address but each time i got the error: invalid argument. in fact i need to map something just next to something previously mapped without argument. is this a limitation of cygserver ? thanks -- Unsubscribe info:

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 11:32, Corinna Vinschen a crit : On Aug 12 11:23, bertrand marquis wrote: Hello, i'm trying to use shmat specifying an address but each time i got the error: invalid argument. in fact i need to map something just next to something previously mapped without

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 12:44, Corinna Vinschen a crit : On Aug 12 12:13, bertrand marquis wrote: In fact i wasn't using the SHM_RNd flag. In details here is what i do: - get a shared segment of with size= SIZE (SIZE multiple of SHMLBA) - attach the segment without specifying address

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 14:03, bertrand marquis a crit : Le jeu 12/08/2004 12:44, Corinna Vinschen a crit : On Aug 12 12:13, bertrand marquis wrote: In fact i wasn't using the SHM_RNd flag. In details here is what i do: - get a shared segment of with size= SIZE (SIZE multiple

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 14:19, bertrand marquis a crit : Le jeu 12/08/2004 14:03, bertrand marquis a crit : Le jeu 12/08/2004 12:44, Corinna Vinschen a crit : On Aug 12 12:13, bertrand marquis wrote: In fact i wasn't using the SHM_RNd flag. In details here is what i do

cygserver cleanup thread

2004-08-11 Thread bertrand marquis
Hello, i'm making a program using shared memory and as a consequence i need to use the cygserver. But when i close my program the ipcs give me this output: $ ipcs -ma Shared Memory: T ID KEYMODE OWNERGROUP CREATOR CGROUP NATTCH SEGSZ CPID LPIDATIME

Re: cygserver cleanup thread

2004-08-11 Thread bertrand marquis
Le mer 11/08/2004 10:50, Corinna Vinschen a crit : On Aug 11 10:13, bertrand marquis wrote: Hello, i'm making a program using shared memory and as a consequence i need to use the cygserver. But when i close my program the ipcs give me this output: $ ipcs -ma Shared Memory: T

cygwin setup local install

2004-08-06 Thread bertrand marquis
Hello, i need to run the cygwin setup with the quiet option using the local-install option but the setup is always loking for the packages in the directory where cygwin packages have first been stored is there an option to specifie where is the local packages directory ? thanks

rebuild rpm-4.1 from sources

2004-07-23 Thread bertrand marquis
Hello i need to recompile rpm-4.1 from sources but when it is trying to compile in db3/lock i have : cc -c -I. -I../db/dist/../include -I../db/dist/../include_auto -O2 -g -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts

Re: ncurses not found when compiling various packages

2004-07-19 Thread bertrand marquis
you should ckeck if there is links between ncurses and curses files. ex: curses.h - ncurses.h etc if not you should reinstall libncurses bertrand Thorsten Kampe a écrit: Hi, I often get the message from configure scripts for applications that are curses-based that no ncurses could be found

gcc-mingw

2004-07-15 Thread bertrand marquis
hello on the latest release it seems that there is a problem with gcc-mingw in fact the src package and the package contains nothing c616cffee0f344c37fd4e045a7a87054 gcc-mingw-20030911-4-src.tar.bz2 c616cffee0f344c37fd4e045a7a87054 gcc-mingw-20030911-4.tar.bz2 i'm using the

Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread bertrand marquis
Saurabh Agarwal a écrit: On Thu, 1 Jul 2004 13:42:30 +0530, Saurabh Agarwal [EMAIL PROTECTED] wrote: On Thu, 1 Jul 2004 13:02:39 +0530, Saurabh Agarwal [EMAIL PROTECTED] wrote: Hi All, I want to write Kernel Modules and test them using cygwin as most of time i have windows machine. Can i

sunrpc librairie

2004-06-15 Thread bertrand marquis
Hello, i'm trying to port a program using rpc calls to cygwin. But when i compiled using the headers from the sunrpc package i discovered that in clnt.h all the arguments of functions are in commentary: /* * Print why creation failed */ void clnt_pcreateerror(/* char *msg */);/* stderr

compiling glib-2.2.3

2004-06-02 Thread bertrand marquis
Hello i'm trying to build glib-2.2.3. I have downloaded the patch from cygnome2.sourceforge.net. I have configured it like this: ./configure --host=i686-pc-cygwin \ --prefix=/opt/elinos/cygwin/i686-pc-cygwin \ --sysconfdir=/etc \ --with-gnu-ld \ --with-libicon=native \

problem with make under cygwin

2004-06-01 Thread bertrand marquis
Hello i'm having a strange problem with the make command and shell. i try to run a makefile with this : HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config /dev/null echo yes || echo no) the shell command is working out of a makefile but in the makefile the HAVE_DEVFS

Re: problem with make under cygwin

2004-06-01 Thread bertrand marquis
, bertrand marquis wrote: Hello i'm having a strange problem with the make command and shell. i try to run a makefile with this : HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config /dev/null echo yes || echo no) the shell command is working out of a makefile but in the makefile

problem with cygwin crypt function

2004-05-27 Thread bertrand marquis
Hello i need to use the cygwin crypt function to compare the result with the result of the linux string function. Under linux i crypt the string with a salt and then i have to remove the first characters to remove the salt from the result string. But under cygwin it seems that i only have

Re: How To Export NFS?

2004-05-14 Thread bertrand marquis
Hello i think that's not the good way to run portmap nfsd and mountd directly you should install them as windows services. there is a script with cygwin called nfs-server-config which will configure that for you: install the services and generate default config files, you will then be able

libiberty and getopt

2004-04-29 Thread bertrand marquis
Hi, I need to compile a program using libiberty.a and the function getopt_long. When compiling with the flag -liberty my program crash because it don't take the right arguments from the command line. But without libiberty this part work before. i made a small program showing that problem,

Re: libiberty and getopt

2004-04-29 Thread bertrand marquis
in versions between my linux and my cygwin. bertrand marquis a écrit: Hi, I need to compile a program using libiberty.a and the function getopt_long. When compiling with the flag -liberty my program crash because it don't take the right arguments from the command line. But without libiberty

Re: stat()/lstat() problem (?)

2004-04-28 Thread bertrand marquis
ZXPLESPAC001, Ext a écrit: Hi, here is my question/problem (see the example program below): -// #include stdio.h #include sys/types.h #include sys/stat.h #include errno.h static int is_dir(char * dr) { struct stat st; if(stat(dr, st) == -1) {

Re: cygrunsrv

2004-04-23 Thread bertrand marquis
no you are not wrong it is the same for me under win2k and it is working i think that cygrunsrv is the one who call the right program Christopher Benson-Manica a écrit: When I try to install services using cygrunsrv, the XP service manager always lists the path to the executable as cygrunsrv

Re: stty under cygwin

2004-04-22 Thread bertrand marquis
Christopher Faylor a écrit: On Thu, Apr 22, 2004 at 09:10:46AM +0200, bertrand marquis wrote: First of all stty 1:0:cbd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 /dev/ttyS0 is a regular linux command, you can try. In fact i'm trying to porting some stuff

stty under cygwin

2004-04-21 Thread bertrand marquis
i need to use stty to send commands through the serial port under cygwin: stty 1:0:cbd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 /dev/ttyS0 but stty answer me that 1:...:0 is a wrong argument ? I'm using the last version of cygwin and the serial port is

need loadkeys --mktable under cygwin

2004-03-30 Thread bertrand marquis
Hello i.m trying to build the kernel under cygwin with a cross compiler (host=cygwin target=i386-linux) and it seems that the kernel need the loadkeys program to be build. I have tried to find it but it seems that it don't exist. Does anyone know a solution for that problem ? thanks --

Re: need loadkeys --mktable under cygwin

2004-03-30 Thread bertrand marquis
/share/kbd\ findfile.c i686-pc-cygwin-gcc -c -Wall -O2 -DDATADIR=\/usr/share/kbd\ getfd.c i686-pc-cygwin-gcc -s loadkeys.o ksyms.o findfile.o getfd.o -o loadkeys Igor Pechtchanski a écrit: On Tue, 30 Mar 2004, bertrand marquis wrote: Hello i.m trying to build the kernel under cygwin

porting gcc-3.2.3 to cygwin

2004-03-23 Thread bertrand marquis
For a project i need to use gcc-3.2.3 under cygwin and also as a cross compiler to make cygwin programs on a linux computer but it seems that when i'm compiling stuff with this gcc, there are problem accessing the file system under cygwin. for example if i stat a directory and check if it is a