[ITP] rxp-1.3.0 - a new package for review (XML parser)

2003-08-14 Thread Jari Aalto+mail.emacs

IƤve found rxp easier to use than xmlwf (expat), especially when
rxp has more options for verification purposes. I'm attaching
the manual below for people interested in option differences to
expat.

Please review packages below.
Jari 

http://tierra.dyndns.org:81/cygwin/rxp/rxp-1.3.0-1-src.tar.bz2
http://tierra.dyndns.org:81/cygwin/rxp/rxp-1.3.0-1.tar.bz2

sdesc: RXP is simple validating XML parser written by Richard Tobin.
ldesc: RXP is simple validating XML parser written by Richard Tobin. It supports XML 
1.1, Namespaces 1.1, and XML Catalogs.
category: Devel, Doc, Interpreters, Text
requires: cygwin

+ tar jtvf rxp-1.3.0-1.tar.bz2
drwxr-xr-x root/None 0 2003-08-13 23:47:46 usr/
drwxr-xr-x root/None 0 2003-08-13 23:47:46 usr/doc/
drwxr-xr-x root/None 0 2003-08-13 23:47:46 usr/doc/rxp-1.3.0/
-rw-r--r-- root/None 17976 2003-08-13 23:47:46 usr/doc/rxp-1.3.0/COPYING
-rw-r--r-- root/None   570 2003-08-13 23:47:46 usr/doc/rxp-1.3.0/COPYRIGHT
-rw-r--r-- root/None  2042 2003-08-13 23:47:48 usr/doc/rxp-1.3.0/RELNOTES
drwxr-xr-x root/None 0 2003-08-13 23:47:50 usr/doc/Cygwin/
-rw-r--r-- root/None  1146 2003-08-13 23:47:50 usr/doc/Cygwin/rxp-1.3.0.README
drwxr-xr-x root/None 0 2003-08-13 23:47:50 usr/bin/
-rwxr-xr-x root/None123904 2003-08-13 23:47:52 usr/bin/rxp.exe
drwxr-xr-x root/None 0 2003-08-13 23:47:50 usr/man/
drwxr-xr-x root/None 0 2003-08-13 23:47:50 usr/man/man1/
-rw-r--r-- root/None  3633 2003-08-13 23:47:50 usr/man/man1/rxp.1

NAME
   rxp - XML parser program

SYNOPSIS
   rxp [ -avVEsbnmtx ] [ -o b|p|0|1|2|3 ] [ -c encoding ] [ url ]

DESCRIPTION
   rxp  reads  and  parses  XML from the url (or standard input if none is
   provided) and writes it to standard output, optionally expanding  enti-
   ties,  defaulting  attributes,  and  translating  to a different output
   encoding.

OPTIONS
   -a Insert declared default values for omitted attributes.

   -v Be verbose.

   -V Validate the document.  Repeating this option will make the pro-
  gram  treat  validity errors as well-formedness errors, and exit
  after the first validity error  (otherwise  a  warning  will  be
  printed for each one).

   -d Read  the  whole DTD (internal and external parts) regardless of
  any standalone  declaration.   Otherwise  a  declaration  stan-
  dalone='yes'  will  prevent  the  external part from being read
  (unless validation is selected).

   -N Enable XML namespace support.  The document will be checked  for
  correct namespace syntax, and if -b is specified  qualified ele-
  ment and attribute names will be displayed with their URIs.

   -S Keep track of xml:space attributes.  This will only affect  out-
  put when -b is specified.

   -e Obsolete, do not use.

   -E Do not expand entity references (opposite of old -e flag)

   -s Be  silent  (that is, suppress output).  Useful for benchmarking
  or if you just want to see the error messages.

   -b Print output as bits.

   -n Treat the  input  as  normalised  SGML  rather  than  XML.   Not
  intended for general use.

   -o If  this  flag is p, output is in the default (plain) format. If
  it is b, output is printed as bits (equivalent to  -b). If
  it is 0, output is suppressed (equivalent to -s).  If it is 1, 2
  or 3, output is in first, second or third canonical form.

   -m Merge PCData across entity references.  This  will  only  affect
  the output when -b is specified.

   -t Read  in  the input as a tree, rather than bits.  Should make no
  difference to the output.

   -u base_uri
  Use the specified base URI when resolving system identifiers.

   -x Strict XML mode.   This  suppresses  some  warnings  (eg  entity
  redefinitions)  but  treats  all  XML  well-formedness errors as
  fatal.  This flag implies the  -a  flag,  and  sets  the  output
  encoding to UTF-8 unless the -c flag is given.  It sets the out-
  put format to first canonical form unless the -o, -b or -s  flag
  is given.

   -c encoding
  Produce  output  in  the  specified  character  encoding.  Known
  encodings include ISO-8859-1, UTF-8, ISO-10646-UCS  and  UTF-16.
  16-bit  encoding  names  my be suffixed with -B or -L to specify
  big- or little-endian byte order (the default is the  host  byte
  order).   If  no -c or -x option is given, output is in the same
  encoding as the input document.

   -z Use a shorter format for error  messages.   Particularly  useful
  when  using  the parser in 

Re: joe-2.8 - a new package for review

2003-08-01 Thread Jari Aalto+mail.emacs
* Tue 2003-07-22 Gerrit Haase [EMAIL PROTECTED] list.cygwin-apps
* Message-Id: [EMAIL PROTECTED]
 I'm looking for a maintainer.  If you want to maintain joe, take it
 and contribute it.  I do already perl which takes lot of my spare
 time.

Ok,

 It will also need some cleanup, I just compiled it because I use it
 every day and I want to have a recent version.

 Obviously I will vote for this package if you offer it again (updated
 to the last releaseed version).

Here is newer port. Thanks for the SF pointer.

http://tierra.dyndns.org:81/cygwin/joe/joe-2.9.8-1-src.tar.bz2
http://tierra.dyndns.org:81/cygwin/joe/joe-2.9.8-1.tar.bz2


setup.hint:
sdesc: Fast and simple editor which emulates 5 other editors
ldesc: JOE emulates several other editors. JSTAR is a close
immitation  of WordStar with many JOE extensions. JPICO
is a close immitation of the Pine  mailing  system's PICO
editor,  but with many extensions and improvements. JMACS
is a GNU-EMACS immitation. RJOE is a  restricted  version
of JOE, which allowes you to edit only the files specified
on the command line.
category: Editors
requires: cygwin ncurses


joe-2.9.8-1.tar.bz2:
drwxr-xr-x root/None 0 2003-08-01 18:47:10 etc/
-rw-r--r-- root/None 17156 2003-08-01 18:47:10 etc/joerc
-rw-r--r-- root/None 16382 2003-08-01 18:47:10 etc/jmacsrc
-rw-r--r-- root/None 15212 2003-08-01 18:47:12 etc/jstarrc
-rw-r--r-- root/None 16425 2003-08-01 18:47:12 etc/rjoerc
-rw-r--r-- root/None 13390 2003-08-01 18:47:12 etc/jpicorc
drwxr-xr-x root/None 0 2003-08-01 18:47:00 usr/
drwxr-xr-x root/None 0 2003-08-01 18:47:00 usr/doc/
drwxr-xr-x root/None 0 2003-08-01 18:47:00 usr/doc/joe-2.9.8/
-rw-r--r-- root/None 12488 2003-08-01 18:47:00 usr/doc/joe-2.9.8/COPYING
-rw-r--r-- root/None  7145 2003-08-01 18:47:00 usr/doc/joe-2.9.8/INFO
-rw-r--r-- root/None  4935 2003-08-01 18:47:00 usr/doc/joe-2.9.8/LIST
-rw-r--r-- root/None  8859 2003-08-01 18:47:00 usr/doc/joe-2.9.8/NEWS
-rw-r--r-- root/None  9430 2003-08-01 18:47:00 usr/doc/joe-2.9.8/README
-rw-r--r-- root/None  1524 2003-08-01 18:47:00 usr/doc/joe-2.9.8/README.cvs
-rw-r--r-- root/None  1741 2003-08-01 18:47:02 usr/doc/joe-2.9.8/TODO
-rw-r--r-- root/None 22435 2003-08-01 18:47:02 usr/doc/joe-2.9.8/ChangeLog
-rw-r--r-- root/None  2954 2001-11-07 17:58:56 usr/doc/joe-2.9.8/help-system.html
drwxr-xr-x root/None 0 2003-08-01 18:47:04 usr/doc/Cygwin/
-rw-r--r-- root/None  1588 2003-08-01 18:47:04 usr/doc/Cygwin/joe-2.9.8.README
drwxr-xr-x root/None 0 2003-08-01 18:47:08 usr/bin/
lrwxrwxrwx root/None 0 2003-08-01 18:47:14 usr/bin/jmacs - joe
lrwxrwxrwx root/None 0 2003-08-01 18:47:14 usr/bin/jstar - joe
lrwxrwxrwx root/None 0 2003-08-01 18:47:14 usr/bin/rjoe - joe
lrwxrwxrwx root/None 0 2003-08-01 18:47:14 usr/bin/jpico - joe
-rwxr-xr-x root/None255488 2003-08-01 18:47:20 usr/bin/joe.exe
-rwxr-xr-x root/None 11264 2003-08-01 18:47:20 usr/bin/termidx.exe
drwxr-xr-x root/None 0 2003-08-01 18:47:14 usr/man/
drwxr-xr-x root/None 0 2003-08-01 18:47:14 usr/man/man1/
-rw-r--r-- root/None 36854 2003-08-01 18:47:16 usr/man/man1/joe.1



-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm



Re: joe-2.8 - a new package for review

2003-07-22 Thread Jari Aalto+mail.emacs
* Fri 2003-07-04 Gerrit Haase [EMAIL PROTECTED] list.cygwin-apps
* Message-Id: [EMAIL PROTECTED]
 Jari schrieb:


 Project http://heather.cs.ucdavis.edu/~matloff/joe.html has been
 ported. Please review. I personally like joe because it includes 
 'jmacs', a joe Emacs keybinding emulation.

 The official JOE website is: http://sourceforge.net/projects/joe-editor/
 The latest version is:  joe-2.9.8  May 5, 2003

 This is also the version which needs not to be ported as I did this
 already before (IIRC it was 2.9.7, 2001-12-03).

 I have the latest online since some weeks already:
 http://anfaenger.de/cygwin/joe/

 And the first port some months:
 http://familiehaase.de/cywgin/joe/


 Can you tell us what the advantage of 2.8 over 2.9.7 is?


Good that newer version has been ported. Please include Gerrit's
version. I'll drop mine.

Jari



-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm



joe-2.8 - a new package for review

2003-07-04 Thread Jari Aalto+mail.emacs

Project http://heather.cs.ucdavis.edu/~matloff/joe.html has been
ported. Please review. I personally like joe because it includes 
'jmacs', a joe Emacs keybinding emulation.

Jari

http://tierra.dyndns.org:81/cygwin/joe/joe-2.8-1-src.tar.bz2
http://tierra.dyndns.org:81/cygwin/joe/joe-2.8-1.tar.bz2

sdesc: Fast and simple editor which emulates 5 other editors
ldesc: JOE emulates several other editors. JSTAR is a close
immitation  of WordStar with many JOE extensions. JPICO
is a close immitation of the Pine  mailing  system's PICO
editor,  but with many extensions and improvements. JMACS
is a GNU-EMACS immitation. RJOE is a  restricted  version
of JOE, which allowes you to edit only the files specified
on the command line.
category: Editors
requires: cygwin


drwxr-xr-x root/None 0 2003-07-04 14:17:34 etc/
drwxr-xr-x root/None 0 2003-07-04 14:17:34 etc/joe/
-rw-r--r-- root/None 17169 2003-07-04 14:17:34 etc/joe/joerc
-rw-r--r-- root/None 16344 2003-07-04 14:17:34 etc/joe/jmacsrc
-rw-r--r-- root/None 15142 2003-07-04 14:17:34 etc/joe/jstarrc
-rw-r--r-- root/None 16348 2003-07-04 14:17:36 etc/joe/rjoerc
-rw-r--r-- root/None 13352 2003-07-04 14:17:36 etc/joe/jpicorc
-rw-r--r-- root/None  4926 2003-07-04 14:17:36 etc/joe/termcap
-rw-r--r-- root/None  4668 2003-07-04 14:17:36 etc/joe/terminfo
drwxr-xr-x root/None 0 2003-07-04 14:17:28 usr/
drwxr-xr-x root/None 0 2003-07-04 14:17:28 usr/doc/
drwxr-xr-x root/None 0 2003-07-04 14:17:28 usr/doc/joe-2.8/
-rw-r--r-- root/None  7121 2003-07-04 14:17:28 usr/doc/joe-2.8/INFO
-rw-r--r-- root/None  4935 2003-07-04 14:17:28 usr/doc/joe-2.8/LIST
-rw-r--r-- root/None 10624 2003-07-04 14:17:30 usr/doc/joe-2.8/README
-rw-r--r-- root/None  1178 2003-07-04 14:17:30 usr/doc/joe-2.8/TODO
-rw-r--r-- root/None  4688 2003-07-04 14:17:30 usr/doc/joe-2.8/VERSION
drwxr-xr-x root/None 0 2003-07-04 14:17:30 usr/doc/Cygwin/
-rw-r--r-- root/None  1520 2003-07-04 14:17:32 usr/doc/Cygwin/joe-2.8.README
drwxr-xr-x root/None 0 2003-07-04 14:17:32 usr/bin/
-rwxr-xr-x root/None187904 2003-07-04 14:17:32 usr/bin/joe.exe
-rwxr-xr-x root/None187904 2003-07-04 14:17:34 usr/bin/jmacs.exe
-rwxr-xr-x root/None187904 2003-07-04 14:17:34 usr/bin/jstar.exe
-rwxr-xr-x root/None187904 2003-07-04 14:17:34 usr/bin/rjoe.exe
-rwxr-xr-x root/None187904 2003-07-04 14:17:34 usr/bin/jpico.exe
-rwxr-xr-x root/None 21099 2003-07-04 14:17:34 usr/bin/termidx.exe
drwxr-xr-x root/None 0 2003-07-04 14:17:34 usr/man/
drwxr-xr-x root/None 0 2003-07-04 14:17:34 usr/man/man1/
-rw-r--r-- root/None 36895 2003-07-04 14:17:36 usr/man/man1/joe.1



-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm



Re: Emacs: completion of buffer names ignores case

2002-12-13 Thread Jari Aalto+mail.emacs
* 2002-12-12 Eric Hanchrow [EMAIL PROTECTED] list.cygwin
* Message-Id: [EMAIL PROTECTED]
 I'm using emacs-21.2-10.

 I frequently want to switch to the buffer named `*shell*', so I type
 *Shell Command Output* *shell*

 Now, I can understand that Emacs would ignore case when completing
 file names on Windows, since Windows itself doesn't distinguish file
 names by case.  But since Emacs does distinguish buffer names by case,
 I expect it, when completing buffer names, to ignore a buffer whose
 name differs in case from what I've typed.

You may like package `ibuffer'

  (global-set-key \C-xb 'iswitchb-buffer)
  (autoload 'iswitchb-buffer iswitchb  t)

  (setq iswitchb-default-method 'always-frame)
  (setq iswitchb-case   nil)
  (setq iswitchb-resize-minibuffer-mode nil)

Just type ANY characters you remember, and hit RET.


Jari


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




postgres 7.3 postmaster: invalid value for option 'LC_MESSAGES':'en_US'

2002-12-11 Thread Jari Aalto+mail.emacs

Thanks to Jason, after upgrading ipc-daemon
http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html
the 7.3 got installed and I rebuilt database.

Now I have a strange problem. I haven't changes my wnvironment, so this
worked with 7.2. 

$ postmaster -i -D /usr/share/postgresql/data
FATAL:  invalid value for option 'LC_MESSAGES': 'en_US'

$ env | grep LC_
LC_ALL=en_US

My Cygwin setup below
Jari


--


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Dec 11 22:27:01 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   H:/bin/emacs/XEmacs/bin/i686-pc-cygwin
h:/unix-root/u/bin
h:/unix-root/u/usr/bin
H:\unix-root\u\usr\local\bin
H:\unix-root\u\bin
H:\unix-root\u\usr\bin
H:\unix-root\u\usr\sbin
H:\unix-root\u\sbin
H:\unix-root\u\usr\X11R6\bin
E:\home\jaalto\bin\bat\picasso\bin
E:\home\jaalto\tmp\sforge\perl-text2html\bin
E:\home\jaalto\tmp\sforge\perl-webget\bin
E:\home\jaalto\bin\perl\my
H:\bin\dos
H:\bin\dos\misc
H:\bin\dos\other
H:\bin\dos\zip
H:\bin\dos\vc\rcs\gnu-5.7\bin
E:\home\jaalto\bin\shell
E:\home\jaalto\elisp\tiny\bin
H:\bin\dos
H:\bin\dos
H:\bin\dos\expat
H:\bin\dos\expat\Libs
G:\Program Files\commercial\Perforce
d:\wbin\server\sql\mysql\bin
D:\wbin\server\apache
H:\bin\lang\php\php4
H:\bin\lang\php\php4\dlls
H:\bin\apache\jakarta-tomcat\bin
D:\java\sun\jdk-1.4.1\bin
H:\bin\oracle\ora81\bin
G:\Program Files\Oracle\jre\1.1.7\bin
G:\WINNT\system32
G:\WINNT
G:\WINNT\System32\Wbem
G:\Program Files\Resource Pro Kit\
H:\unix-root\u\usr\share\site-perl\script\misc
H:\bin\dos\crypto\gpg
H:\bin\dos\crypto\pgp
H:\bin\emacs\XEmacs\XEmacs-21.4.6\i586-pc-win32
E:\home\jaalto\tmp\sforge\perl-dyndns\bin

SysDir: G:\WINNT\System32
WinDir: G:\WINNT

CYGWIN = `tty ntsec binmode'
HOME = `E:\home\jaalto'
PWD = `/cygdrive/e/home/jaalto'
USER = `jaalto'

ALLUSERSPROFILE = `G:\Documents and Settings\All Users.WINNT'
APPDATA = `G:\Documents and Settings\Administrator.W2KPICASSO.000\Application Data'
BASH_UNIX_ROOT_START = `h:/unix-root/u'
BLASTER = `A220 I5 D1 H5 P330  T6'
CATALINA_HOME = `D:\wbin\server\http\apache\jakarta-tomcat-4.1.7-LE-jdk14'
CLASSPATH = 
`.;d:\wbin\server\http\apache\jakarta-tomcat-4.1.7-LE-jdk14\common\lib\servlet.jar'
COMMONPROGRAMFILES = `G:\Program Files\Common Files'
COMPUTERNAME = `W2KPICASSO'
COMSPEC = `G:\WINNT\system32\cmd.exe'
CTSYN = `C:\WINDOWS'
DYNDNS_PL_CFG = `E:\home\jaalto\config\other\dyndns.conf'
EMACSDATA = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/etc'
EMACSDOC = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/etc'
EMACSLOADPATH = 
`H:/bin/emacs/gnu-emacs/emacs-20.7.3/site-lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/../site-lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/leim'
EMACSLOCKDIR = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/lock'
EMACSPATH = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/bin'
EMACS_DIR = `H:/bin/emacs/gnu-emacs/emacs-20.7.3'
EMAIL = `[EMAIL PROTECTED]'
EM_PARENT_PROCESS_ID = `316'
HOMEDRIVE = `G:'
HOMEPATH = `\'
ISP_FLAG = `E:\home\jaalto\tmp\dial-ok.flag'
ISP_WEEKEND = `E:\home\jaalto\tmp\dial-weekend.flag'
JAVA_HOME = `D:\java\sun\jdk-1.4.1'
JRE = `D:\java\sun\jdk-1.4.1\jre'
LC_ALL = `en_US.iso88591'
LOGNAME = `jaalto'
LOGONSERVER = `\\W2KPICASSO'
MAILHOST = `mail.koti.tpo.fi'
MYWEBGET_PL_CFG = `E:\home\jaalto\config\mywebget\mywebget.conf'
MY_EMACS_ROOT = `h:/bin/emacs'
MY_HOME_NEWS_ROOT = `f:/home/jaalto/News'
MY_JAVA_ROOT = `D:\java\sun'
NNTPSERVER = `news.koti.tpo.fi'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `G:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL5LIB = `/usr/share/site-perl/CPAN'
PERL5LIB_1 = `h:/unix-root/u/usr/share/site-perl/CPAN'
PGPPATH = `e:\home\jaalto\.pgp'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `G:\Program Files'
RCSINIT = `-x,v -zLT'
SHELL = `h:/unix-root/u/bin/bash.exe'
SHLVL = `1'
SITE_LISP_ROOT_START = `h:/unix-root/u/usr/share/site-lisp'
SITE_NEWTON_PASS = `1Takamine'
SITE_SAUNALAHTI_PASS = `nets'
SITE_TPO_PASS = `mxnfyt3a'
SITE_UTA_PASS = `1Can2jon'
SMTPSERVER = `smtp.sooninternet.net'
SYSTEMDRIVE = `G:'
SYSTEMROOT = `G:\WINNT'
TEMP = `G:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp'
TERM = `cmd'
TMP = `G:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp'
TMPDIR = `G:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp'
TZ = `EET-2EETDST'
USERDOMAIN = `W2KPICASSO'
USERNAME = `Administrator'
USERPROFILE = `G:\Documents and Settings\Administrator.W2KPICASSO.000'
WINDIR = `G:\WINNT'
_ = `/usr/bin/cygcheck'


postgres 7.3 IpcSemaphoreCreate: semget(key=1, num=17, 03600)failed: Function not implemented

2002-12-08 Thread Jari Aalto+mail.emacs

Hi, [keep CC if you can]

I tried to upgrade to latest postgres (and all the rest of the cygwin 
utilities), but I got weird error I haven't seen before. As expected
the log first said:

$ postmaster -i -D /usr/share/postgresql/data  /tmp/postgre.log 21 
$ cat /tmp/postgre.log

FATAL: The data directory was initialized by PostgreSQL
version 7.2, which is not compatible with this version 7.3.

So I did:

$ rm -rf /usr/share/postgresql/data
$ initdb -D /usr/share/postgresql/data

The files belonging to this database system will be owned by user root.
This user must also own the server process.

The database cluster will be initialized with locale en_US.
This locale setting will prevent the use of indexes for pattern matching
operations.  If that is a concern, rerun initdb with the collation order
set to C.  For more information see the Administrator's Guide.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
creating template1 database in /usr/share/postgresql/data/base/1... 
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not implemented

initdb failed.
Removing /usr/share/postgresql/data.

Stopping the ipc-daemon made no difference. The cygwin setup is attached below.
I'm running W2K + FAT32

Jari


--


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun Dec 08 14:54:53 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   H:/bin/emacs/XEmacs/bin/i686-pc-cygwin
h:/unix-root/u/bin
h:/unix-root/u/usr/bin
H:\unix-root\u\usr\local\bin
H:\unix-root\u\bin
H:\unix-root\u\usr\bin
H:\unix-root\u\usr\sbin
H:\unix-root\u\sbin
H:\unix-root\u\usr\X11R6\bin
E:\home\jaalto\bin\bat\picasso\bin
E:\home\jaalto\tmp\sforge\perl-text2html\bin
E:\home\jaalto\tmp\sforge\perl-webget\bin
E:\home\jaalto\bin\perl\my
H:\bin\dos
H:\bin\dos\misc
H:\bin\dos\other
H:\bin\dos\zip
H:\bin\dos\vc\rcs\gnu-5.7\bin
E:\home\jaalto\bin\shell
E:\home\jaalto\elisp\tiny\bin
H:\bin\dos
H:\bin\dos
H:\bin\dos\expat
H:\bin\dos\expat\Libs
G:\Program Files\commercial\Perforce
d:\wbin\server\sql\mysql\bin
D:\wbin\server\apache
H:\bin\lang\php\php4
H:\bin\lang\php\php4\dlls
H:\bin\apache\jakarta-tomcat\bin
D:\java\sun\jdk-1.4.1\bin
H:\bin\oracle\ora81\bin
G:\Program Files\Oracle\jre\1.1.7\bin
G:\WINNT\system32
G:\WINNT
G:\WINNT\System32\Wbem
G:\Program Files\Resource Pro Kit\
H:\unix-root\u\usr\share\site-perl\script\misc
H:\bin\dos\crypto\gpg
H:\bin\dos\crypto\pgp
H:\bin\emacs\XEmacs\XEmacs-21.4.6\i586-pc-win32
E:\home\jaalto\tmp\sforge\perl-dyndns\bin

SysDir: G:\WINNT\System32
WinDir: G:\WINNT

CYGWIN = `tty ntsec binmode'
HOME = `E:\home\jaalto'
PWD = `/cygdrive/e/home/jaalto'
USER = `jaalto'

ALLUSERSPROFILE = `G:\Documents and Settings\All Users.WINNT'
APPDATA = `G:\Documents and Settings\Administrator.W2KPICASSO.000\Application Data'
BASH_UNIX_ROOT_START = `h:/unix-root/u'
BLASTER = `A220 I5 D1 H5 P330  T6'
CATALINA_HOME = `D:\wbin\server\http\apache\jakarta-tomcat-4.1.7-LE-jdk14'
CLASSPATH = 
`.;d:\wbin\server\http\apache\jakarta-tomcat-4.1.7-LE-jdk14\common\lib\servlet.jar'
COMMONPROGRAMFILES = `G:\Program Files\Common Files'
COMPUTERNAME = `W2KPICASSO'
COMSPEC = `G:\WINNT\system32\cmd.exe'
CTSYN = `C:\WINDOWS'
DYNDNS_PL_CFG = `E:\home\jaalto\config\other\dyndns.conf'
EMACSDATA = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/etc'
EMACSDOC = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/etc'
EMACSLOADPATH = 
`H:/bin/emacs/gnu-emacs/emacs-20.7.3/site-lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/../site-lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/lisp;H:/bin/emacs/gnu-emacs/emacs-20.7.3/leim'
EMACSLOCKDIR = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/lock'
EMACSPATH = `H:/bin/emacs/gnu-emacs/emacs-20.7.3/bin'
EMACS_DIR = `H:/bin/emacs/gnu-emacs/emacs-20.7.3'
EMAIL = `[EMAIL PROTECTED]'
EM_PARENT_PROCESS_ID = `316'
HOMEDRIVE = `G:'
HOMEPATH = `\'
ISP_FLAG = `E:\home\jaalto\tmp\dial-ok.flag'
ISP_WEEKEND = `E:\home\jaalto\tmp\dial-weekend.flag'
JAVA_HOME = `D:\java\sun\jdk-1.4.1'
JRE = `D:\java\sun\jdk-1.4.1\jre'
LC_ALL = `en_US.iso88591'
LOGNAME = `jaalto'
LOGONSERVER = `\\W2KPICASSO'
MAILHOST = `mail.koti.tpo.fi'
MYWEBGET_PL_CFG = `E:\home\jaalto\config\mywebget\mywebget.conf'
MY_EMACS_ROOT = `h:/bin/emacs'
MY_HOME_NEWS_ROOT = `f:/home/jaalto/News'
MY_JAVA_ROOT = `D:\java\sun'
NNTPSERVER = `news.koti.tpo.fi'
NUMBER_OF_PROCESSORS = `1'

gcc -mno-cygwin fail -- undefined reference to `_impure_ptr'

2001-12-12 Thread Jari Aalto+mail.emacs


[Keep CC thank you]

Does anyone know why following code fails? Do I need some
other libraries or gcc compile options? This is latest
Cygwin / W2k Pro / srv.p. 2

Jari

---

//root@W2KPICASSO /usr/src/cvs-source/emacs/nt $ ld -v
GNU ld version 2.11.92 20011001

//root@W2KPICASSO /usr/src/cvs-source/emacs/nt $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)

//root@W2KPICASSO /usr/src/cvs-source/emacs/nt $ gcc -g -mno-cygwin ~/tmp/test2.c
/tmp/ccc071ri.o: In function `main':
/home/jaalto/tmp/test2.c:12: undefined reference to `_impure_ptr'
collect2: ld returned 1 exit status

---

#include stdio.h
#include stdlib.h

#include X11/Intrinsic.h

main ()
{
fprintf(stdout, To stdout\n);
printf(Reading stdin now. Type character: );
}


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/