What I did wrong?
What I did wrong?
От:
Mileta Vinerte <mvinerte@cbnco.com>
Дата:
Hi 1. I did install cygwin setup.exe version 2.249.2.5 in the c:\cygwin 2. Then I did copied cygipc-1.13-2-src.tar into c:\cygwin 3. Added c:\cygwin to PATH 4. From the Start-> Program Files->Cwywin-> Cygwin Bash shell : mvinerte@CANADIAN-MNR7BS ~ $ pwd /cygdrive/c mvinerte@CANADIAN-MNR7BS ~ $ cd cygwin $ tar -jxvf cygipc-1.13-2-scr.tar.bz2 cygipc-1.13-2.patch cygipc-1.13-2.sh cygipc-1.13.tar.bz2 $ tar x-jxvf cygipc-1.13.tar.bz2 cygipc-1.13/ cygipc-1.13/build.sh cygipc-1.13/ChangeLog cygipc-1.13/contrib/ cygipc-1.13/contrib/Makefile cygipc-1.13/contrib/msgtool.c cygipc-1.13/contrib/README cygipc-1.13/contrib/semtool.c cygipc-1.13/contrib/shmtool.c cygipc-1.13/COPYING cygipc-1.13/doc/ cygipc-1.13/doc/contents_motif.gif cygipc-1.13/doc/index.html cygipc-1.13/doc/next_motif.gif cygipc-1.13/doc/node21.html cygipc-1.13/doc/node22.html .. cygipc-1.13/ftok.c cygipc-1.13/include/ cygipc-1.13/include/IpcNtExt.h cygipc-1.13/include/IpcNtLit.h cygipc-1.13/include/IpcNtStr.h cygipc-1.13/include/sys/ cygipc-1.13/include/sys/ipc.h cygipc-1.13/include/sys/ipctrace.h cygipc-1.13/include/sys/msg.h cygipc-1.13/include/sys/sem.h cygipc-1.13/include/sys/shm.h cygipc-1.13/ipc-daemon.c cygipc-1.13/ipck cygipc-1.13/ipcrm.c cygipc-1.13/ipcs.c cygipc-1.13/ipctest.c cygipc-1.13/Makefile cygipc-1.13/msg.c cygipc-1.13/name_mangle.c cygipc-1.13/NEWS cygipc-1.13/README cygipc-1.13/README.old cygipc-1.13/reverse.c cygipc-1.13/sem.c cygipc-1.13/shm.c cygipc-1.13/strace.c cygipc-1.13/TODO cygipc-1.13/USAGE cygipc-1.13/version.c 5. Changing directory: mvinerte@CANADIAN-MNR7BS ~/cygwin $ cd cygipc-1.13 mvinerte@CANADIAN-MNR7BS ~/cygwin/cygipc-1.13 $ ls COPYING USAGE ipc-daemon.c ipctest.c reverse.dep version.c ChangeLog build.sh ipc-daemon.dep ipctest.dep sem.c version.dep Makefile contrib ipck msg.c sem.dep version.o NEWS doc ipcrm.c msg.dep shm.c README ftok.c ipcrm.dep name_mangle.c shm.dep README.old ftok.dep ipcs.c name_mangle.dep strace.c TODO include ipcs.dep reverse.c strace.dep $ make gcc -Wall -g -mwin32 -O2 -pipe -mcpu=i586 -fno-strength-reduce -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DVERSION_NUM=1.13 -I./include -I. -c -o s em.o sem.c In file included from sem.c:43: include/IpcNtExt.h:54:21: windows.h: No such file or directory In file included from sem.c:43: include/IpcNtExt.h:56: parse error before "GSemSem" include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of `GSemSe m' include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of `GSemSh m' include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of `GSemMs g' include/IpcNtExt.h:56: warning: data definition has no type or storage class sem.c: In function `IsGSemSemExist': sem.c:96: warning: implicit declaration of function `OpenSemaphore' sem.c:96: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function) sem.c:96: (Each undeclared identifier is reported only once sem.c:96: for each function it appears in.) sem.c:96: `FALSE' undeclared (first use in this function) sem.c:97: warning: comparison between pointer and integer sem.c: In function `sem_connect': sem.c:134: warning: implicit declaration of function `WaitForSingleObject' sem.c:134: `INFINITE' undeclared (first use in this function) sem.c: In function `sem_deconnect': sem.c:159: warning: implicit declaration of function `ReleaseSemaphore' sem.c:159: `LONG' undeclared (first use in this function) sem.c:159: parse error before numeric constant sem.c: In function `FDestroySem': sem.c:191: `HANDLE' undeclared (first use in this function) sem.c:191: parse error before "LHandle" sem.c:196: `LHandle' undeclared (first use in this function) sem.c:196: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function) sem.c:196: `FALSE' undeclared (first use in this function) sem.c:200: warning: implicit declaration of function `CloseHandle' sem.c: At top level: sem.c:207: parse error before "FCreateSem" sem.c:208: warning: return type defaults to `int' sem.c: In function `FCreateSem': sem.c:209: `HANDLE' undeclared (first use in this function) sem.c:209: parse error before "LHandle" sem.c:214: `LHandle' undeclared (first use in this function) sem.c:214: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function) sem.c:214: `FALSE' undeclared (first use in this function) sem.c:219: warning: implicit declaration of function `CreateSemaphore' sem.c:229: warning: return makes integer from pointer without a cast sem.c: In function `newary': sem.c:239: `HANDLE' undeclared (first use in this function) sem.c:239: parse error before "LHandle" sem.c:271: warning: implicit declaration of function `memset' sem.c:293: `LHandle' undeclared (first use in this function) sem.c: In function `do_semop': sem.c:371: `HANDLE' undeclared (first use in this function) sem.c:371: parse error before "LHandle" sem.c:383: `LHandle' undeclared (first use in this function) sem.c:383: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function) sem.c:383: `FALSE' undeclared (first use in this function) sem.c: In function `semctl': sem.c:476: `HANDLE' undeclared (first use in this function) sem.c:476: parse error before "LHandle" sem.c:521: warning: implicit declaration of function `memcpy' sem.c:621: `LHandle' undeclared (first use in this function) sem.c:622: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function) sem.c:622: `FALSE' undeclared (first use in this function) make: *** [sem.o] Error 1 mvinerte@CANADIAN-MNR7BS ~/cygwin/cygipc-1.13 $ WHAT I DID WRONG?????? PS. make install gives me the same errors. Sincerely, Mileta Vinerte
Where is cygrunsrv ?
От:
"Opis Boi" <anci@centrin.net.id>
Дата:
Hi Friends. I need to know where I can get cygrunsrv ? I need to install it as Windows 2000 service, but could not find the cygrunsrv. Posgresql 7.2.3 is running ok ( with manually typed command ) but I'm trying to install it as a service. Thank you very much for any help. Best regards Andy
Re: What I did wrong?
От:
Jason Tishler <jason@tishler.net>
Дата:
Mileta,
On Thu, Feb 13, 2003 at 10:05:53AM -0500, Mileta Vinerte wrote:
> WHAT I DID WRONG??????
You need to install the binary package not the source one:
$ wget -nd -P /tmp http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/cygipc-1.13-2.tar.bz2
$ tar -C / -xjf /tmp/cygipc-1.13-2.tar.bz2
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Re: Where is cygrunsrv ?
От:
Jason Tishler <jason@tishler.net>
Дата:
Andy, On Fri, Feb 14, 2003 at 10:11:38AM +0700, Opis Boi wrote: > I need to know where I can get cygrunsrv ? cygrunsrv is a standard Cygwin package which is in the Admin category. Rerun setup.exe to install it. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6