Re: postgresql-8.01 and 8.1 ready

2005-09-24 Thread Reini Urban

Jason Tishler schrieb:

On Fri, Sep 23, 2005 at 11:37:46AM +0200, Corinna Vinschen wrote:

On Sep 23 10:30, Gerrit P. Haase wrote:

Reini Urban wrote:

Gerrit P. Haase schrieb:

Reini Urban wrote:
Installing as service is quite hard without sysbash, 
[snip]


So it is not possible to run this as service?


No, now you have two options to run it as service: cygrunsrv and pg_ctl.


What is the problem with the method used in postgres 7?


Nothing.

What is sysbash?

Not yet a package unfortunately.
http://sources.redhat.com/ml/cygwin/2004-08/msg01177.html


[snip]


Good questions.  Ideally I'd assume that the new postgresql just works
as a replacement for the old postgresql so that existing service
installations using cygrunsrv are not suddenly broken.


postgresql-8.x work with various types of service registrations
and start methods:
* The native one is via pg_ctl (new).
* My new init.d script is to mimic the old and wellknown behaviour using 
cygrunsvr (as before).
* And then you can always start postmaster as before, without service 
and without pg_ctl.


Important changes from 7.x to 8.x:
* admin binaries in /usr/sbin, and not in /usr/bin anymore.
  (similar to debian)
* native windows service functions added to pg_ctl
* contrib binaries in /usr/lib/postgresql/bin

I recommend to set PGDATA to /usr/share/postgresql/data-8.0.
PGDATA is versioned and you can easily have multiple PGDATA dirs.
I have data-7.4, data-8.0 and data-8.1


To be specific, why doesn't the following (excerpt) from my PostgreSQL
7.x README work for 8.x?

$ cygserver-config
$ net user postgres $password /add /fullname:postgres /comment:'PostgreSQL user 
account' /homedir:$(cygpath -w /home/postgres)
$ mkpasswd -l -u postgres /etc/passwd
$ cmd /c secpol.msc # grant postgres Log on as a service user right
$ cygrunsrv --install postmaster --path /usr/bin/postmaster --args -D 
/var/postgresql/data -i --dep cygserver --termsig INT --user postgres --shutdown


Because 8.x put postmaster into /usr/sbin
I haven't checked --termsig INT though.
--
Reini


Re: postgresql-8.01 and 8.1 ready

2005-09-24 Thread Jason Tishler
Reini,

On Sat, Sep 24, 2005 at 03:07:05PM +0200, Reini Urban wrote:
 To be specific, why doesn't the following (excerpt) from my
 PostgreSQL 7.x README work for 8.x?
 
 $ cygserver-config
 $ net user postgres $password /add /fullname:postgres 
 /comment:'PostgreSQL user account' /homedir:$(cygpath -w 
 /home/postgres)
 $ mkpasswd -l -u postgres /etc/passwd
 $ cmd /c secpol.msc # grant postgres Log on as a service user right
 $ cygrunsrv --install postmaster --path /usr/bin/postmaster --args -D 
 /var/postgresql/data -i --dep cygserver --termsig INT --user postgres 
 --shutdown
 
 Because 8.x put postmaster into /usr/sbin

With the the minor change to postmaster's path, does the above still
work?

 I haven't checked --termsig INT though.

I would expect the above to still work too.  But, you should verify to
make sure of clean database shutdown semantics when the machine is
shutdown.

Thanks,
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


ssh and X server

2005-09-24 Thread Mario dos Reis
I have recently installed Cygwin on my home PC
(WinXP). I have tried to ssh to a solaris system and
then running netscape, gut I get the followig error
message and netscape terminates:

X Error of failed request:  BadDrawable (invalid
Pixmap or Window parameter)
  Major opcode of failed request:  73 (X_GetImage)
  Resource id in failed request:  0x3a
  Serial number of failed request:  121
  Current serial number in output stream:  121

To be honest I have no clue of what's going on.

I normally log onto the same solaris machine from my
linux laptop at work, and have no problem running
netscape.

Thanks,
Mario dos Reis.



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



I need help with cygwin.

2005-09-24 Thread fxiong
I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.




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



Re: I need help with cygwin.

2005-09-24 Thread Jack Tanner

[EMAIL PROTECTED] wrote:

I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-fatal-error


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



Re: ssh and X server

2005-09-24 Thread Igor Pechtchanski
On Sat, 24 Sep 2005, Mario dos Reis wrote:

 I have recently installed Cygwin on my home PC
 (WinXP). I have tried to ssh to a solaris system and
 then running netscape, gut I get the followig error
 message and netscape terminates:

 X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
   Major opcode of failed request:  73 (X_GetImage)
   Resource id in failed request:  0x3a
   Serial number of failed request:  121
   Current serial number in output stream:  121

 To be honest I have no clue of what's going on.

 I normally log onto the same solaris machine from my
 linux laptop at work, and have no problem running
 netscape.

Does
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
help?

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

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



winsup/cygwin ChangeLog sigproc.cc

2005-09-24 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-09-24 19:17:50

Modified files:
cygwin : ChangeLog sigproc.cc 

Log message:
* sigproc.cc (sigproc_terminate): More reversion of 
always-exit-from-sigthread
change.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3115r2=1.3116
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaumr1=1.249r2=1.250



Re: slrn mutt - display problem

2005-09-24 Thread Gary
Olaf Foellinger wrote:
 I don't think you need mutt to send mail from slrn

Oh, you don't! I want to use it because it has all the features that I need
when writing mails - saving mails in appropriate mailbox, being able to add
attachments, use of my address book, and so on.

--
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: slrn mutt - display problem

2005-09-24 Thread Gary
 When I try to reply to a posting by email the entire window
 simply goes black. My mail_editor_command is mutt -H '%s',
 and I am using rxvt (in Cygwin).

As I thought, it was a terminal issue.

instead of 

set mail_editor_command mutt -H '%s'

using

mail_editor_command export TERM=vt220; mutt -H '%s'; export TERM=rxvt

produces a usable display. I'd got this set as an alias in my bash profile
but had completely forgotten about it.

Many thanks everyone who chimed in with advice, even those of you who told
me not to use mutt ;-)

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

2005-09-24 Thread Pradip Jadav
On 9/23/05, Larry Hall [EMAIL PROTECTED] wrote:
 At 05:58 AM 9/23/2005, you wrote:
 Hi to all,
 
 --

 snip

 ---
 
 I am getting same problem with my new installation with
 current(latest) setup.exe.
 But my setup hangs with message
 Running...
 No Package
 /etc/postinstall/sysvinit.sh
 
 And I kept that stage upto almost 3 hours and at last I canceled it..
 I m trying this since last 3 days... But yet my setup is not completed..
 Help me as soon as possible...


 If you're just looking for the quickest way to get going, rerun 'setup.exe'
 and install the default set of packages.  Then rerun it and install whatever
 else you want.

oh sorry
It did not helped me..
Actually I have tried fresh Installation as u told(means first time
default installation and then selected items installation). But this
time also it hangs at sysvinit.sh.


 If you want to help determine why this is happening so that it can be fixed,
 you could try grabbing 'strace' from another Cygwin installation and
 attaching to the 'bash' process that's running 'sysvinit.sh'.  If you can
 get an idea of where it's going wrong from this output, it may give some
 insight into the solution.


And ya I did not understand this point. can u plz tell me in detail.



 One more question... Where can I get old setup.exe???


 Google for Cygwin Time Machine.  And going in this direction, you are
 completely on your own.




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




--
Pradip K. Jadav

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



Cygwin 1.5.18 - PadWalker-0.12 - Problems in compiling

2005-09-24 Thread Gunnar Thielebein
If I try to compile PadWalker-0.12 for Perl under Cygwin Bash I get a 
error message telling me


MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: '/usr/lib/perl5/5.8/cygwin/Config.pm' does not exist - don't know 
how to make it


although path is accessible via bash but not in explorer due to be mounted:

ls /usr/lib/perl5/5.8/cygwin/Config.pm
/usr/lib/perl5/5.8/cygwin/Config.pm

mount:
G:\cygwin\bin on /usr/bin type system (binmode)
G:\cygwin\lib on /usr/lib type system (binmode)
G:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
g: on /cygdrive/g type system (binmode,noumount)
h: on /cygdrive/h type system (binmode,noumount)
j: on /cygdrive/j type system (binmode,noumount)

If I do a make clean otherwise I'm getting the info:

MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: Unable to execute command: /bin/sh

Whats wrong in my configuration. Is there a hidden bug or do I need an 
ordinary path entry to get this to work.


thx in advance, Gunnar

appendix Makefile:

# This Makefile is for the PadWalker extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.17 (Revision: 1.133) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#   ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#
#   MakeMaker Parameters:

# DEFINE = q[]
# INC = q[]
# LIBS = [q[]]
# NAME = q[PadWalker]
# VERSION_FROM = q[PadWalker.pm]

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via 
/usr/lib/perl5/5.8/cygwin/Config.pm)


# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = 
CCDLFLAGS =  -s

DLEXT = dll
DLSRC = dl_dlopen.xs
LD = ld2
LDDLFLAGS =  -s -L/usr/local/lib
LDFLAGS =  -s -L/usr/local/lib
LIBC = /usr/lib/libc.a
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = cygwin
OSVERS = 1.5.18\(0.13242\)
RANLIB = :
SITELIBEXP = /usr/lib/perl5/site_perl/5.8
SITEARCHEXP = /usr/lib/perl5/site_perl/5.8/cygwin
SO = dll
EXE_EXT = .exe
FULL_AR = /usr/bin/ar
VENDORARCHEXP = /usr/lib/perl5/vendor_perl/5.8/cygwin
VENDORLIBEXP = /usr/lib/perl5/vendor_perl/5.8


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
DIRFILESEP = /
NAME = PadWalker
NAME_SYM = PadWalker
VERSION = 0.12
VERSION_MACRO = VERSION
VERSION_SYM = 0_12
DEFINE_VERSION = -D$(VERSION_MACRO)=\$(VERSION)\
XS_VERSION = 0.12
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\$(XS_VERSION)\
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
INST_BIN = blib/bin
INST_LIB = blib/lib
INST_MAN1DIR = blib/man1
INST_MAN3DIR = blib/man3
MAN1EXT = 1
MAN3EXT = 3pm
INSTALLDIRS = site
DESTDIR =
PREFIX =
PERLPREFIX = /usr
SITEPREFIX = /usr
VENDORPREFIX = /usr
INSTALLPRIVLIB = $(PERLPREFIX)/lib/perl5/5.8
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = $(SITEPREFIX)/lib/perl5/site_perl/5.8
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB = $(VENDORPREFIX)/lib/perl5/vendor_perl/5.8
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = $(PERLPREFIX)/lib/perl5/5.8/cygwin
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = $(SITEPREFIX)/lib/perl5/site_perl/5.8/cygwin
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH = $(VENDORPREFIX)/lib/perl5/vendor_perl/5.8/cygwin
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = $(PERLPREFIX)/bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = $(SITEPREFIX)/bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN = $(VENDORPREFIX)/bin
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = $(PERLPREFIX)/bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLMAN1DIR = $(PERLPREFIX)/share/man/man1
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = $(SITEPREFIX)/share/man/man1
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/share/man/man1
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = $(PERLPREFIX)/share/man/man3
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = $(SITEPREFIX)/share/man/man3
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/share/man/man3
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
PERL_LIB = /usr/lib/perl5/5.8
PERL_ARCHLIB = /usr/lib/perl5/5.8/cygwin
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = $(FIRST_MAKEFILE).old
MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl
PERLMAINCC = $(CC)
PERL_INC = /usr/lib/perl5/5.8/cygwin/CORE
PERL = /usr/bin/perl.exe
FULLPERL = /usr/bin/perl.exe
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) -I$(INST_ARCHLIB) -I$(INST_LIB)
FULLPERLRUNINST = $(FULLPERLRUN) -I$(INST_ARCHLIB) -I$(INST_LIB)

Re: Cygwin 1.5.18 - PadWalker-0.12 - Problems in compiling

2005-09-24 Thread Max Bowsher

Gunnar Thielebein wrote:

If I try to compile PadWalker-0.12 for Perl under Cygwin Bash I get a
error message telling me

MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: '/usr/lib/perl5/5.8/cygwin/Config.pm' does not exist - don't know
how to make it


^
This is NOT Cygwin's make! And that is your problem.

Max.


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



Re: A new day, a new snapshot, more testing required on the road to 1.5.19

2005-09-24 Thread Angelo Graziosi

I have observed with recent snapshots (20050922, 20050923 19:07:57 but
also with some previous snaps) that when one closes the Emacs window
(after the work is finished), in the xterm window, appear a lot of of
lines like these:


--
2638536 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
2639338 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1

 a lot of these lines ...

7378725 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
7379872 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
-- 

This does not happen always but rather frequently and seems correlated
with time one uses Emacs (but I am not sure).

I cannot establish with which snap this has started, but certainly
previously it did not happen.

The character 'random' does not allow to be more precise, but, perhaps,
you can link these observation to the recent changes in the snapshots.


Best regards,

   Angelo.




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



fopen cannot open device name on windows xp

2005-09-24 Thread The One
Hi Jason,

Sorry to have to send this to you.  I've been looking
for answer and have posted this on the forum but no
luck so far.  I remember your name from a few
responses on my previous posts.  I believe you're very
experience and knowledgeable in cygwin.  Hope you can
give me some hints as why fopen returns NULL on device
name in windows xp.
 
I've a c program that prints to network printer by
getting a filehandle from 
fopen(//computer1/printer1, wb).  That has always
worked on Windows 95, 98  2000.
 
When it's running under windows xp (sp1 or sp2), fopen
returns a NULL. Has any one had a similar problem?  Is
there a solution to this?
 
Thank you


--- Jason Tishler [EMAIL PROTECTED] wrote:

 Yaakov,
 
 On Fri, Sep 23, 2005 at 01:34:20PM -0500, Yaakov S
 wrote:
  When I have to run rebase from the distro, I get
 the following error:
  gzip: Argument list too long
 
 Oops!
 
  This is because of the command gzip -d -c
 /etc/setup/*.lst.gz.
  Instead, that part could work like the following:
  
  [snip]
  # Create rebase list
  for f in /etc/setup/*.lst.gz
  do
  gzip -d -c $f | grep -E ($Suffixes)\$ | \
  sed -e '/cygwin1.dll$/d' -e 's/^/\//'
 $TmpFile ;
  done
 
 I would prefer something like the following:
 
 find /etc/setup -name '*.lst.gz' -maxdepth 1 |
 xargs gzip -d -c | \
 grep -E ($Suffixes)\$ | sed -e
 '/cygwin1.dll$/d' -e 's/^/\//' \
 $TmpFile
 
 because it is more efficient than the above.
 
 I will release a new version of rebase with this
 fix.
 
 Thanks for the heads up.
 
 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
 
 --
 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/
 
 





__ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 


--
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: guile package problem

2005-09-24 Thread Jan Nieuwenhuizen
Eric Blake writes:

 Since I am now the sharutils maintainer, I wanted to try building
 sharutils from CVS.  But bootstrapping a fresh checkout requires
 autogen, so I gave a try at compiling autogen-5.7.2.  Compilation
 failed because guile-1.6.7-1 has a broken /usr/lib/libguile.la,
 generated by libtool 1.5.10 (it references cygguile.dll.a instead
 of libguile.dll.a, and has a dependency on
 /home/mingw/cygwin/root/usr/lib/libguile-ltdl.la, which does not
 exist).  Now that libtool 1.5.20 is available, can guile be repackaged
 to use the newer libtool and fix the packaging bug?

Thanks for the report, I'll have a look.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org

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



Unable to execute binary file...

2005-09-24 Thread c0ldfyr3

Hi all, im new to the list so excuse any mistaken ignorance on my behalf =P

I have a problem, and ill try to give as much detail as possible.

I am trying to run the file hldsupdatetool.bin downloaded from filefront.
When this failed, I downloaded hlds_l_1120_full.bin from the same website.

I have changed persmission using windows Security tab and gave all users 
full permissions.

I then chmod 777 both files.

When I ./ either, the result is
./hlds_l_1120_full.bin: ./hlds_l_1120_full.bin: cannot execute binary file
./hldsupdatetool.bin: ./hldsupdatetool.bin: cannot execute binary file

-rwxrwxrwx+ 1 c0ldfyr3 None 445055300 Sep 24 18:56 hlds_l_1120_full.bin
-rwxr-xr-x+ 1 c0ldfyr3 None 3513408 Apr  7 22:48 hldsupdatetool.bin (May 
have been 755 but should work anyway)


I also tried reinstalling cygwin with the LF changed to the windows lf-cr 
and still no worky.


Im stumped =( 




--
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: A new day, a new snapshot, more testing required on the road to 1.5.19

2005-09-24 Thread Christopher Faylor
On Sat, Sep 24, 2005 at 02:10:14PM +0200, Angelo Graziosi wrote:
I have observed with recent snapshots (20050922, 20050923 19:07:57 but
also with some previous snaps) that when one closes the Emacs window
(after the work is finished), in the xterm window, appear a lot of of
lines like these:


--
2638536 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
2639338 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1

 a lot of these lines ...

7378725 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
7379872 [sig] emacs 656
handle_threadlist_exception: handle_threadlist_exception called with
threadlist_ix -1
-- 

This does not happen always but rather frequently and seems correlated
with time one uses Emacs (but I am not sure).

I can't reproduce this.  Please provide more details like cygcheck
output and precisely what you mean by closes the emacs window.  There
are a number of ways to close an emacs window and I'd rather not have to
guess which one you're using.

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: Unable to execute binary file...

2005-09-24 Thread René Berber
c0ldfyr3 wrote:

 Hi all, im new to the list so excuse any mistaken ignorance on my behalf =P
 
 I have a problem, and ill try to give as much detail as possible.
 
 I am trying to run the file hldsupdatetool.bin downloaded from filefront.
 When this failed, I downloaded hlds_l_1120_full.bin from the same website.
 
 I have changed persmission using windows Security tab and gave all
 users full permissions.
 I then chmod 777 both files.
 
 When I ./ either, the result is
 ./hlds_l_1120_full.bin: ./hlds_l_1120_full.bin: cannot execute binary file
 ./hldsupdatetool.bin: ./hldsupdatetool.bin: cannot execute binary file
 
 -rwxrwxrwx+ 1 c0ldfyr3 None 445055300 Sep 24 18:56 hlds_l_1120_full.bin
 -rwxr-xr-x+ 1 c0ldfyr3 None 3513408 Apr  7 22:48 hldsupdatetool.bin (May
 have been 755 but should work anyway)
 
 I also tried reinstalling cygwin with the LF changed to the windows
 lf-cr and still no worky.
 
 Im stumped =(

You are trying to use in Windows something that is meant to be used on Linux.

Does that answer your question?

Cygwin is not Linux.  If you want to run Windows and Linux at the same time look
at coLinux.

Do you even have a Half Life dedicated server running?  Look at the
documentation for the dedicated server first.
-- 
René Berber


--
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: Unable to execute binary file...

2005-09-24 Thread c0ldfyr3
I am not trying to run it, I am trying to compile the .so for a plugin I am 
writing for the game.


To do that, I need the .so's and .lib's from the srcds package.
To get that, I either need to run the 4 hundred something mb full file.
Or the hldsupdatetool to download the package.

I have a compiler made specifically for the cygwin environment that emulates 
the c++ compiler needed by valve.
It compiles 3 of my cpp files but stops on one contained in the hl2sdk 
folder and I have come to the conclusion that when I read The srcds package 
is required to compile that I needed the srcds package.


Does this make it a lil less obscure as to what im trying to do =) ?

- Original Message - 
From: René Berber [EMAIL PROTECTED]

To: cygwin@cygwin.com
Sent: Saturday, September 24, 2005 7:52 PM
Subject: Re: Unable to execute binary file...


c0ldfyr3 wrote:

Hi all, im new to the list so excuse any mistaken ignorance on my behalf 
=P


I have a problem, and ill try to give as much detail as possible.

I am trying to run the file hldsupdatetool.bin downloaded from filefront.
When this failed, I downloaded hlds_l_1120_full.bin from the same website.

I have changed persmission using windows Security tab and gave all
users full permissions.
I then chmod 777 both files.

When I ./ either, the result is
./hlds_l_1120_full.bin: ./hlds_l_1120_full.bin: cannot execute binary file
./hldsupdatetool.bin: ./hldsupdatetool.bin: cannot execute binary file

-rwxrwxrwx+ 1 c0ldfyr3 None 445055300 Sep 24 18:56 hlds_l_1120_full.bin
-rwxr-xr-x+ 1 c0ldfyr3 None 3513408 Apr  7 22:48 hldsupdatetool.bin (May
have been 755 but should work anyway)

I also tried reinstalling cygwin with the LF changed to the windows
lf-cr and still no worky.

Im stumped =(


You are trying to use in Windows something that is meant to be used on 
Linux.


Does that answer your question?

Cygwin is not Linux.  If you want to run Windows and Linux at the same time 
look

at coLinux.

Do you even have a Half Life dedicated server running?  Look at the
documentation for the dedicated server first.
--
René Berber


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






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



Re: Unable to execute binary file...

2005-09-24 Thread René Berber
c0ldfyr3 wrote:

 I am not trying to run it, I am trying to compile the .so for a plugin I
 am writing for the game.

Are you cross-compiling?  When you say .so that is also for Linux/Unix.

 To do that, I need the .so's and .lib's from the srcds package.
 To get that, I either need to run the 4 hundred something mb full file.
 Or the hldsupdatetool to download the package.

Again, the .bin extension is not used in Cygwin, it is probably just an image
(that's the bin(ary) extension for).  Try the command file hldsupdatetool.bin
to see if the file's format is recognized.

 I have a compiler made specifically for the cygwin environment that
 emulates the c++ compiler needed by valve.

And Valve distributes this compiler?  Whithout a complete SDK?

 It compiles 3 of my cpp files but stops on one contained in the hl2sdk
 folder and I have come to the conclusion that when I read The srcds
 package is required to compile that I needed the srcds package.
 
 Does this make it a lil less obscure as to what im trying to do =) ?

Not really.  I don't know the development environment Valve or somebody else
made; and I don't know how the dedicated server for Windows is constructed,
perhaps they are emulating Linux in some way and even using/loading dynamic
libraries made for Linux.  It is possible, but I don't know.

I think it would be better to ask your question on the Valve developers forum,
don't you think?   We can only guess at what you are doing and probably don't
solve anything.

Regards.
-- 
René Berber


--
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: rebase: rebaseall growing pains

2005-09-24 Thread Jason Tishler
Yaakov,

On Fri, Sep 23, 2005 at 01:34:20PM -0500, Yaakov S wrote:
 Rebaseall is subject to growing pains.  In addition to the 500-some
 packages in the distro, I have my Cygwin Ports repository installed as
 well, which makes for a total of almost 1300 binary packages.

Actually, the above brings up an interesting question.  Did you run out
of rebase address space?  Please run rebaseall as follows:

$ rebaseall -v | tail -1

and report back to the list.

Thanks,
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

--
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: fopen cannot open device name on windows xp

2005-09-24 Thread Jason Tishler
On Sat, Sep 24, 2005 at 09:54:13AM -0700, The One wrote:
 Sorry to have to send this to you.  I've been looking for answer and
 have posted this on the forum but no luck so far.  I remember your
 name from a few responses on my previous posts.
 [snip]

Please read the following:

http://www.catb.org/~esr/faqs/smart-questions.html

Thanks,
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

--
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 error: URL Scheme not registered!

2005-09-24 Thread cygwin . overbored
I'm setting up Cygwin. I downloaded files to one machine, and I want
to install over the network to another machine (I don't have enough
space for both the pre- and post-install files on the target machine).
However, when I run setup on the other machine, as soon as it starts
copying files, I get this error:

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

I Googled for previous information about this. It seems that I needed
to move the setup.ini file aside. I tried this, but that wipes out the
list of packages when I re-run setup.exe. What gives? Thanks in
advance for any help.


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



Cross compilers and Cygwin

2005-09-24 Thread Gregg Levine
Hello from Gregg C Levine
I need to build a cross compiler using Cygwin for the SH3/4 family of
processors, for an embedded project who uses those, and then one for
the M68K processors for the VME bus based systems who use those, end
target will be Linux on them. Eventually I'll move the whole business
for building the entire works for Linux.68K off of Cygwin, to
Linux.X86 using the tool, and probably a supported distribution for
that processor. I do not know what will be next here.

I've downloaded and extracted the Crosstool cross compiler collection,
but Dan's notes on his site, indicate that problems did exist with a
prior release of the DLL, regarding parsing. He points to the message
on this list which describes the problems with Cygwin-1.5.9-1, and
then says, that upgrading to Cygwin-1.5.10-2 would work. But I think
we are past that, if CGF will agree.

However it does say, quoting, It also supports building toolchains
that target Cygwin; see demo-cygwin.sh.

Has anyone used that tool to build their compilers within a fairly
recent amount of time? And can describe their experiences?

Or am I on the wrong Cygwin list with this question?
--
Gregg C Levine [EMAIL PROTECTED]
This signature was once found posting rude
 messages in English in the Moscow subway.

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