RE: Problem after upgrade to gcc-3.3.3

2004-08-13 Thread Johnny Willemsen
Hi,

> > I just upgraded to gcc-3.3.3 which was available from 
> setup. I now get the
> > following error:
> 
> > g++: installation problem, cannot exec `gm2l': No such file 
> or directory
> > make[2]: *** 
> 
> > Any ideas? I updated all packages setup proposed.
> 
> As Dave Korn suggested, use the -Wl, flag to pass .def files to the
> linker as a workaround until I have finished a new gcc build (probably
> without Modula 2 driver then).

The -Wl, flag also works for ACE, thanks for this workaround, I am
committing it to ACE soon. 

Regards

Johnny Willemsen
Remedy IT
Leeghwaterstraat 25
2811 DT Reeuwijk
The Netherlands
www.theaceorb.nl / www.remedy.nl 
 


--
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 sshd started as service doesn't respect mount points

2004-08-13 Thread Claus-Thomas Buhl
I have installed Cygwin sshd as a service and these are the mount points
of interest:
D:\Programme\cygwin on / type system (binmode)
E:\Benutzer\buhl on /home/buhl type system (binmode)
Under /home/buhl/.ssh (that is E:\Benutzer\buhl\.ssh), I have setup my
.ssh folder with my ssh keys.
When I now try to do a `ssh localhost', sshd looks for my ssh keys in
D:\Programme\cygwin\home\buhl\.ssh which means that sshd doesn't respect
the mount point /home/buhl.
I had to copy my .ssh folder from E:\Benutzer\buhl\.ssh to
D:\Programme\cygwin\home\buhl\.ssh to make `ssh localhost' work which is
obviously redundant and thus not easy to maintain.
Regards,
CTB
--
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: Problem after upgrade to gcc-3.3.3

2004-08-13 Thread Johnny Willemsen
Hi,

New results are online, everything is fine again. What I also see is that
with 3.3.1 we got warnings about mixing declspec import/export with inline,
all those warnings are gone again.

Johnny 

> -Original Message-
> From: Gerrit P. Haase [mailto:[EMAIL PROTECTED] 
> Sent: vrijdag 13 augustus 2004 8:27
> To: Johnny Willemsen
> Cc: [EMAIL PROTECTED]
> Subject: Re: Problem after upgrade to gcc-3.3.3
> 
> Hallo Johnny,
> 
> Am Donnerstag, 12. August 2004 um 13:38 schriebst du:
> 
> > Hi,
> 
> > I just upgraded to gcc-3.3.3 which was available from 
> setup. I now get the
> > following error:
> 
> > g++: installation problem, cannot exec `gm2l': No such file 
> or directory
> > make[2]: *** 
> 
> > Any ideas? I updated all packages setup proposed.
> 
> As Dave Korn suggested, use the -Wl, flag to pass .def files to the
> linker as a workaround until I have finished a new gcc build (probably
> without Modula 2 driver then).
> 
> 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/



Cygwin, samba, smbntsec and domain groups

2004-08-13 Thread Dan Alderman
Hi guys and girls,

I know from looking at the lists this topic has been covered many times
before, but I don't seem to be able to find the answers I'm looking for,
or at least I'm missing them.  Sorry if this has already been covered
and I missed it.

Background.
===

I have a small network of developers who need to use windows machines as
some of the tools we require are Windoze only :-(.  Being a bunch of
Linux people we opted to try and do everything under Cygwin using make
etc so our build system works on both platforms. So far so good.  In an
effort to keep things neat and tidy I have created a Samba PDC so user
profiles follow people around, and people work on the same filestore
regardless of being on Windows / Linux.  The Samba server is a Debian
Woody box using Samba 3.0.5 from www.backports.org.

I have pasted in my configuration for the Samba server at the end of the
email under the section "Configuration and tool output".

Domain logons seem to be fine, profiles are being saved correctly and
windows usage itself is hunky dory.

The output from cygcheck -s is at the bottom underneath the smb.conf.

The problem.


My Samba server has the group mapping database populated, this is the
entry for my user in the group map.

dan (S-1-5-21-283032880-4000665858-140500845-3001) -> dan

This is the output from pdbedit for my user

Unix username:dan
NT username:
Account Flags:[U  ]
User SID: S-1-5-21-283032880-4000665858-140500845-3000
Primary Group SID:S-1-5-21-283032880-4000665858-140500845-3001
Full Name:Dan Alderman
Home Directory:   \\gawain\dan
HomeDir Drive:j:
Logon Script: logon.bat
Profile Path: \\gawain\profiles\dan\
Domain:   180SOFTWARE
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  Tue, 19 Jan 2038 03:14:07 GMT
Kickoff time: Tue, 19 Jan 2038 03:14:07 GMT
Password last set:Thu, 12 Aug 2004 13:23:57 GMT
Password can change:  Thu, 12 Aug 2004 13:23:57 GMT
Password must change: Tue, 19 Jan 2038 03:14:07 GMT
Last bad password   : 0
Bad password count  : 0

There actually seems to be a few problems with the setup, but I'm not
sure if they are related.

First of all there seems to be an inconsistency with the Cygwin tools
for creating the passwd and group files.

If I run mkpasswd -d to get my domain user details I get

[EMAIL PROTECTED] j] $ mkpasswd -d
dan:unused_by_nt/2000/xp:13000:13001: \
Dan Alderman,U-180SOFTWARE\dan,S-1-5-21-283032880-4000665858-140500845-3000: \
//gawain/dan:/bin/bash

And then for the group details I get this

[EMAIL PROTECTED] j] $ mkgroup -d
dan:S-1-5-21-283032880-4000665858-140500845-3000:13001:

You may have noticed that this seems somewhat inconsistent as according
to the groupmap output my group id is this (notice the 3001 on the end)

dan (S-1-5-21-283032880-4000665858-140500845-3001) -> dan

Does this mean there is an off by 1 error somewhere in the tools?  If I
put these entries as shown into /etc/group and /etc/passwd respectively
an ls in a cygwin terminal gives me:

-rwxr--r--1 dan  0 Aug 13 09:52 test

This is with the CYGWIN variable set to smbntsec.  If I edit /etc/group
manually and change the line to read:

dan:S-1-5-21-283032880-4000665858-140500845-3001:13001:

(Notice the ...140500845-3000 is now ...140500845-3001) I get sensible
output from an ls -l as shown.  The permissions even match what is on
the server :-)

-rwxr--r--1 dan  dan 0 Aug 13 09:52 test

Is this to be expected, has it been seen before? Could something be
corrupt somewhere or is this just a bug? I also cannot chown the files
from the Cygwin terminal, I get permission denied.  Is that expected?

I also have a problem with XEmacs on Cygwin.  I installed using the
"all/unix" mode rather than "myself/native".  XEmacs seems unable to
write a file on the network share, whenever it tries I get a 

Opening output file: Permission denied, /cygdrive/j/.xemacs/recent

(That error was created when trying to exit, I ended up having to kill
the process).

I shall try XEmacs using the native mode install and see if that makes a
difference, but I'd really like to use the non native version as the
path names are unix style.

If anyone can help shed some light on the situation it would be most
appreciated, I been trying to fix this for almost a week now and it's
getting very frustrating.

Many thanks for taking the time if you got this far :-)  Any help is
most appreciated.

Kind regards,

Dan.


Configuration and tool output.
==

1: smb.conf.


[global]
workgroup = 180SOFTWARE
server string = %h server (Samba %v)
interfaces = lo, eth0
bind interfaces only = Yes
obey pam restrictions = Yes
passdb backend = tdbsam:/var/lib/samba/passdb.tdb
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\

SSH drops connection immediately after MOTD

2004-08-13 Thread Jørgen Frøjk Kjærsgaard
I'm having a strange problem with Cygwin SSHD on a Windows Server 2003. I can
log in with password authentication without any problems, but with RSA
authentication, a session is opened and immediately closes again.

ssh -v localhost says:

...
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Requesting pty.
debug1: Requesting shell.
debug1: Entering interactive session.
Last login: Fri Aug 13 14:39:26 2004 from 127.0.0.1
Connection to localhost closed.
debug1: Transferred: stdin 0, stdout 54, stderr 33 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 306.8, stderr 187.5
debug1: Exit status 255

With password authentication something slightly different happens at the end
which gives me a useful login:

debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.

If I use RSA authentication but don't request a tty (ssh -T), the connection
is still closes immediately.

Any ideas about what may be wrong?

/jfk


--
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: Slashdot: cygwin in a Production Environment?

2004-08-13 Thread Christopher Faylor
On Fri, Aug 13, 2004 at 12:20:50AM -0300, Fr?d?ric L. W. Meunier wrote:
>I noticed that story on Slashdot -
>http://ask.slashdot.org/article.pl?sid=04/08/12/1932246 . May
>be of interest for some people (or not).

Interesting how some of the vaguely erroneous entries are modded up as
"interesting" or "informative".

Seems like at least some people think that somehow "Red Hat" has put its
full corporate might behind cygwin, which is pretty funny.

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/



ssh & ssh-agent weirdness

2004-08-13 Thread Dan Alderman
Hi again,

This is kind of related to my previous post (Subject: Cygwin, samba,
smbntsec and domain groups) but is sufficiently different enough to
warrant a new thread I think.

On my XP boxes I have Cygwin installed with domain users in
/etc/passwd.  I have been unable to get ssh to work correctly regardless
of whether the CYGWIN envar set to smbntsec or just ntsec due to file
permission problems (outlined in my previous post).

I have just discovered that if I run ssh-agent using

$ eval `ssh-agent`

then

$ ssh-add



it all works all of a sudden (i.e. I can ssh -A to any machine and get
straight in) regardless of what Cygwin thinks the permissions on my
~/.ssh/id_dsa are.

Is this expected behaviour?

I believe I should be setting smbntsec as the home drives are samba
mounts, but that seems to screw up the group numbers, they all become
off by one (please see my other post for more details).  Can someone
shed any light on this please?  I'm sure this is all related to the ssh
problem that I am seeing in the first place (i.e. it won't correctly
work without the agent).

Thanks muchly.

Dan.
-- 
=
Dan AldermanSoftware Engineer

OneEighty Software Ltd. Phone: +44 20 8680 8712
Cygnet HouseFax: +44 20 8680 8453
12-14 Sydenham Road
Croydon Email: [EMAIL PROTECTED]
CR9 2ET
UK

Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act.



--
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 packaging suggestion - vendor_perl

2004-08-13 Thread Gerrit P. Haase
Hello Max,

>>> Would it be possible to package the extra modules included in the Cygwin
>>> perl package in the vendor_perl hierarchy?
>> Sure, this is obviously a good thing.

> Thanks! I look forward to 5.8.6 or whatever.

>>> This would leave the site_perl hierarchy clear for site additions, and
>>> allow site additions to be purged without affecting parts of the
>>> package. 

>> More interesting is that you can install your own version which goes
>> to site_perl and overrides the distributed version in vendor_perl
>> which is last path in the search order.

> I've never understood that.

> It seems to me that "site, vendor, core" would be a better order - to allow
> core modules to be upgraded by a package. Or am I missing something?

IIRC, core modules are installed into the main path, replacing the old
version.  And one should always use `UNINST=1` when installing modules
anyway (I have this as default in my CPAN config file).


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/



Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Andres Corrada-Emmanuel
Hello,

I'm having a strange problem with Cygwin and the PATH variable.

I try the following:

/home/corrada
6 % jython.bat
jython.bat: Command not found.

/home/corrada
7 % /cygdrive/u/dl/Jython/jython/dist/jython.bat
Jython 2.2a0 on java1.4.2_05 (JIT: null)
>>> ^Z


/home/corrada
8 % printenv
!C:=C:\Documents and Settings\corrada\Desktop
!S:=S:\cygwin\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\corrada\Application Data
CLASSPATH=.;U:\rexo\src\rexo\class;U:\rexo\src\rexo\lib\jdom-b10.jar
CLIENTNAME=Console
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=EAKINS
COMSPEC=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\corrada
LOGONSERVER=\\INVID
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PATH=/usr/local/bin:/usr/bin:/bin:.:/cygdrive/u/dl/Jython/jython/dist:/cygdrive/u/j2sdk1.4.2_05/bin:
/cygdrive/c/texmf/miktex/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Sy
stem32/Wbem:/cygdrive/c/Program Files/Common Files/Adaptec
Shared/System:/cygdrive/c/Emacs20.3.1/bin

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

Why is the shell unable to find jython.bat eventhough it is in one of the
PATH directories?

Andres Corrada-Emmanuel
Senior Research Fellow
Information Extraction and Synthesis Laboratory
University of Massachusetts, Amherst


--
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: problem with libfreetype2

2004-08-13 Thread Paul Slusarz
Thank you, Gerrit.
- Paul

- Original Message - 
From: "Gerrit P. Haase" <[EMAIL PROTECTED]>
To: "Pawel Slusarz" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 13, 2004 12:46 AM
Subject: Re: problem with libfreetype2


: Hallo Pawel,
:
: Am Donnerstag, 12. August 2004 um 19:35 schriebst du:
:
: > /usr/share/aclocal/freetype2.m4:8: warning: underquoted
: > definition of AC_CHECK_FT2
: >   run info '(automake)Extending aclocal'
: >   or see
: >
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
:
: This is just a warning.
:
:
: > ' is already registered with AC_CONFIG_FILES.
: > autoconf/status.m4:848: AC_CONFIG_FILES is expanded from...
: > configure.in:1367: the top level
:
: This is the actual error and has nothing to do with freetype.
:
: > autom4te: /usr/bin/m4 failed with exit status: 1
: > aclocal: autom4te failed with exit status: 1
: > autoreconf: aclocal failed with exit status: 1
:
:
: 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/



Re: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Andres Corrada-Emmanuel
Yes, it is, by everybody. The command history below shows that I can
exectute it when I specify the full path.

Andres Corrada-Emmanuel
Senior Research Fellow
Information Extraction and Synthesis Laboratory
University of Massachusetts, Amherst

On Fri, 13 Aug 2004, Ken Dibble wrote:

>
> Is it executable?
>
> ls -l  /cygdrive/u/dl/Jython/jython/dist/jython.bat
>
>
> Andres Corrada-Emmanuel wrote:
>
> >Hello,
> >
> >I'm having a strange problem with Cygwin and the PATH variable.
> >
> >I try the following:
> >
> >/home/corrada
> >6 % jython.bat
> >jython.bat: Command not found.
> >
> >/home/corrada
> >7 % /cygdrive/u/dl/Jython/jython/dist/jython.bat
> >Jython 2.2a0 on java1.4.2_05 (JIT: null)
> >
> >
> ^Z
> 
> 
> >
> >
> >/home/corrada
> >8 % printenv
> >!C:=C:\Documents and Settings\corrada\Desktop
> >!S:=S:\cygwin\bin
> >ALLUSERSPROFILE=C:\Documents and Settings\All Users
> >APPDATA=C:\Documents and Settings\corrada\Application Data
> >CLASSPATH=.;U:\rexo\src\rexo\class;U:\rexo\src\rexo\lib\jdom-b10.jar
> >CLIENTNAME=Console
> >COMMONPROGRAMFILES=C:\Program Files\Common Files
> >COMPUTERNAME=EAKINS
> >COMSPEC=C:\WINDOWS\system32\cmd.exe
> >HOMEDRIVE=C:
> >HOMEPATH=\Documents and Settings\corrada
> >LOGONSERVER=\\INVID
> >NUMBER_OF_PROCESSORS=2
> >OS=Windows_NT
> >PATH=/usr/local/bin:/usr/bin:/bin:.:/cygdrive/u/dl/Jython/jython/dist:/cygdrive/u/j2sdk1.4.2_05/bin:
> >/cygdrive/c/texmf/miktex/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Sy
> >stem32/Wbem:/cygdrive/c/Program Files/Common Files/Adaptec
> >Shared/System:/cygdrive/c/Emacs20.3.1/bin
> >
> >PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> >
> >Why is the shell unable to find jython.bat eventhough it is in one of the
> >PATH directories?
> >
> >Andres Corrada-Emmanuel
> >Senior Research Fellow
> >Information Extraction and Synthesis Laboratory
> >University of Massachusetts, Amherst
> >
> >
> >--
> >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: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Larry Hall
At 11:36 AM 8/13/2004, you wrote:
>Yes, it is, by everybody. The command history below shows that I can
>exectute it when I specify the full path.
>
>Andres Corrada-Emmanuel
>Senior Research Fellow
>Information Extraction and Synthesis Laboratory
>University of Massachusetts, Amherst
>
>On Fri, 13 Aug 2004, Ken Dibble wrote:
>
>>
>> Is it executable?
>>
>> ls -l  /cygdrive/u/dl/Jython/jython/dist/jython.bat
>>
>>
>> Andres Corrada-Emmanuel wrote:
>>
>> >Hello,
>> >
>> >I'm having a strange problem with Cygwin and the PATH variable.
>> >
>> >I try the following:
>> >
>> >/home/corrada
>> >6 % jython.bat
>> >jython.bat: Command not found.
>> >
>> >/home/corrada
>> >7 % /cygdrive/u/dl/Jython/jython/dist/jython.bat
>> >Jython 2.2a0 on java1.4.2_05 (JIT: null)


WFM in /tmp.  I guess I can only point to .
Beyond that, maybe you'll find the results of strace helps you figure out
what's going on in your environment.


--
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: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Andres Corrada-Emmanuel
> Sent: 13 August 2004 16:37

> 
> Yes, it is, by everybody. The command history below shows that I can
> exectute it when I specify the full path.


  'What do you get from "ls -l
/cygdrive/u/dl/Jython/jython/dist/jython.bat"?' is not the same question as
'Can you run it?'

  This isn't windoze, this is *nix.  We don't decide if a file is an
executable by looking at the last four characters of its filename; we look
and see if it has the unix 'x' perm for (user, group, other) as appropriate.

  Your .bat file may be executable, in practice, but that doesn't mean it
has the x perm applied; it could just be a side-effect of a mountpoint with
the -x flag.

  So give us the ls -la output along with your cygcheck.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Andres Corrada-Emmanuel
Okay. It gets weirder:

/home/corrada
45 % strace jython.bat
Jython 2.2a0 on java1.4.2_05 (JIT: null)
>>> import sys
>>> sys.exit(0)

/home/corrada
46 % jython.bat
jython.bat: Command not found.

Why does 'strace jython.bat' work but not 'jython.bat'?

Andres Corrada-Emmanuel
Senior Research Fellow
Information Extraction and Synthesis Laboratory
University of Massachusetts, Amherst

On Fri, 13 Aug 2004, Larry Hall wrote:

>
> WFM in /tmp.  I guess I can only point to .
> Beyond that, maybe you'll find the results of strace helps you figure out
> what's going on in your environment.
>
>
> --
> 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/



setup shows categories not packages in partial view

2004-08-13 Thread Don Sharp
Hi Everyone

Have I missed something? I am running setup and when I look at the Full
or Partial views the version numbers are shown against the Category name
rather than the package name. Should I have a new setup.exe? I hope it
isn't meant to look like that as it is not at all helpful.

Anyone else seeing this effect?

Cheers

Don Sharp

--
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: python 2.3 pydoc : sys.modules.get error

2004-08-13 Thread Jason Tishler
Bertrand,

Wrong list, I'm redirecting to the correct one...

On Fri, Aug 13, 2004 at 04:16:07PM +0200, bertrand marquis wrote:
> 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 "/usr/lib/python2.3/pydoc.py", line 1581, in help
> elif request: doc(request, 'Help on %s:')
>   File "/usr/lib/python2.3/pydoc.py", line 1375, in doc
> pager(title % desc + '\n\n' + text.document(object, name))
>   File "/usr/lib/python2.3/pydoc.py", line 283, in document
> if inspect.ismodule(object): return self.docmodule(*args)
>   File "/usr/lib/python2.3/pydoc.py", line 958, in docmodule
> if (inspect.getmodule(value) or object) is object:
>   File "/usr/lib/python2.3/inspect.py", line 373, in getmodule
> return sys.modules.get(object.__module__)
> SystemError: error return without exception set
> 
> this is happening sometimes when trying to have doc out of compiled
> modules (*.dll)
> 
> any idea ?

No, I have tried a few times and cannot reproduce the error (yet).  What
is the exact command line that triggers the above stack trace?

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/



Apache CGI Scripts - Network layer permission denied

2004-08-13 Thread Peter Flanigan
When I run CGI scripts from Apache I'm getting permission denied errors.

use Net::protoent;
my $p = getprotobyname(shift || 'tcp');

if (defined $p) {
 printf("proto for %s is %d, aliases are %s\n",
  $p->name, $p->proto, "@{$p->aliases}");
} else {
 printf("Bad protocol 'tcp'\n");
}

This correctly turns ths string 'tcp' into the number 6 via lookup in
/etc/protocols when run from the pdksh prompt. Returns the bad protocol
error when run as a CGI script from Apache. Apache is being started (by
apachectl start) from the same shell prompt which correctly runs the script.
In general I'm finding that all network related calls (creating new sockets
and similar) are failing.

I also note (and think that it's related) that uname -n returns the correct
mixed case hostname when run from the shell prompt but returns an incorrect
(all upper case) string when run from the cgi-bin/test-cgi shell script.
This eliminates Perl from the equation.

I think this is the same problem as posted to this mailing list by:

Richard Morse <[EMAIL PROTECTED]>
Problems with Amanda and Cygwin 1.5.10
28/07/2004

and

"David A. Rogers" [EMAIL PROTECTED]
Socket problem w/ apache & perl cgi
30/07/2004

I did not notice any follow up posts to these queries (my spam filter was
rejecting some Cygwin mailing list posts).

Regards


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/

"Can't get list of download sites."

2004-08-13 Thread Thomas L Roche
I recently upgraded my Cygwin, using setup.exe, and everything works
nicely ... except setup! When I do  from Internet, I
get the error dialog

> Error
> Can't get list of download sites.
> Make sure your network settings are correct and try again.

However all my other networking is OK, e.g. I can browse to

http://sources.redhat.com/cygwin/mirrors.lst

without difficulty. When I do this with Connection Type=Direct
Connection (my {usual, correct} setting), I get

2004/08/12 23:13:36 Starting cygwin install, version 2.427
2004/08/12 23:13:36 Current Directory: d:\download\Cygwin
2004/08/12 23:13:36 Changing gid to Users
2004/08/12 23:13:36 Could not open service McShield for query, start and 
stop. McAfee may not be installed, or we don't have access.
2004/08/12 23:14:00 source: download
2004/08/12 23:14:02 Selected local directory: d:\download\Cygwin
2004/08/12 23:16:30 net: Direct
get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream failed!
get_url_to_membuf failed!

in /d/download/Cygwin/setup.log.full. I noted

http://www.cygwin.com/ml/cygwin/2004-02/msg01064.html
> Make sure you didn't install and run any firewall software.

but my firewall software (Zone Labs) is not running, and ...

> Also, try the "Use IE5 Settings" connection mode in setup.

... when I try Connection Type=Use IE5 Settings, I get

2004/08/12 23:18:46 net: IE5
get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream failed!
get_url_to_membuf failed!

How to make them succeed? Apologies if this is a FAQ, but I haven't
found anything useful via searching

http://cygwin.com/faq/faq0.html
http://cygwin.com/cgi-bin/htsearch
http://www.google.com/search?as_epq=Can%27t+get+list+of+download+sites&as_oq=cygwin+setup

Please reply to me (as well as the list) if possible, feel free to
forward or question, and TIA.


--
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: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Dave Korn
> -Original Message-
> From: cygwin-owner  On Behalf Of Andres Corrada-Emmanuel
> 
> Okay. It gets weirder:
> 
> /home/corrada
> 45 % strace jython.bat
> Jython 2.2a0 on java1.4.2_05 (JIT: null)
> >>> import sys
> >>> sys.exit(0)
> 
> /home/corrada
> 46 % jython.bat
> jython.bat: Command not found.
>
> Why does 'strace jython.bat' work but not 'jython.bat'?

  Because strace is a win32 exe, not a cygwin one.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Command not found eventhough it is on one of the PATH directories

2004-08-13 Thread Andrew Schulman
> /home/corrada
> 6 % jython.bat
> jython.bat: Command not found.

What does 'which jython.bat' tell you?


--
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 shows categories not packages in partial view

2004-08-13 Thread Larry Hall
At 12:21 PM 8/13/2004, you wrote:
>Hi Everyone
>
>Have I missed something? I am running setup and when I look at the Full
>or Partial views the version numbers are shown against the Category name
>rather than the package name. Should I have a new setup.exe? I hope it
>isn't meant to look like that as it is not at all helpful.
>
>Anyone else seeing this effect?


Nope.  Are you sure that you made the window large enough to see the package 
names?  They're to the right of the category names.

BTW, I've redirected the discussion to the cygwin-apps list, which is the 
more appropriate place to discuss 'setup.exe'.  I also set the 'Reply-To' to 
point to that list.  Any follow-ups should go to that list rather than 
the Cygwin list.


--
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: setup shows categories not packages in partial view

2004-08-13 Thread Don Sharp
Silly me! That will teach me to run setup at full screen in future.
The default edge cuts off the package column.

Sorry for the noise

Cheers

Don Sharp

Don Sharp wrote:
> 
> Hi Everyone
> 
> Have I missed something? I am running setup and when I look at the Full
> or Partial views the version numbers are shown against the Category name
> rather than the package name. Should I have a new setup.exe? I hope it
> isn't meant to look like that as it is not at all helpful.
> 
> Anyone else seeing this effect?
> 
> Cheers
> 
> Don Sharp
> 
> --
> 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/



error in compiling berkeleydb-4.2.52 in cygwin

2004-08-13 Thread kevin J
Hi,
I downloaded berkeleydb-4.2.52 and two patches from sleepycat.
When I tried to compile it I got the errors from ../lock/lock_region.c 
as below.
Anybody know what's wrong? 

Thanks,
Kevin
--
pas-lap-030210:/home/kihoonj/db-4.2.52/build_win32> make
/usr/bin/sh ./libtool --mode=compile cc -c -I. -I../dist/..  
-D_GNU_SOURCE -D_REENTRANT -O2 ../dist/../lock/lock_region.c
cc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -O2 
../dist/../lock/lock_region.c  -DPIC -o .libs/lock_region.o
../lock/lock_region.c:98:49: macro "__lock_init" passed 2 arguments, but 
takes just 1
../lock/lock_region.c: In function `__lock_open':
../lock/lock_region.c:98: warning: assignment makes integer from pointer 
without a cast
../lock/lock_region.c:159:22: macro "__lock_init" passed 2 arguments, 
but takes just 1
../lock/lock_region.c: At top level:
../lock/lock_region.c:160: error: syntax error before "DB_ENV"
../lock/lock_region.c:162: error: syntax error before '{' token
../lock/lock_region.c:175: error: syntax error before "if"
../lock/lock_region.c:179: error: conflicting types for `region'
../lock/lock_region.c:167: error: previous declaration of `region'
../lock/lock_region.c:179: warning: data definition has no type or 
storage class
../lock/lock_region.c:180: error: syntax error before numeric constant
../lock/lock_region.c:186: warning: initialization makes integer from 
pointer without a cast
../lock/lock_region.c:186: warning: data definition has no type or 
storage class
../lock/lock_region.c:187: error: syntax error before '}' token
../lock/lock_region.c:189: error: redefinition of `lk_conflicts'
../lock/lock_region.c:186: error: `lk_conflicts' previously defined here
../lock/lock_region.c:189: warning: initialization makes integer from 
pointer without a cast
../lock/lock_region.c:189: warning: data definition has no type or 
storage class
../lock/lock_region.c:190: error: syntax error before '}' token
../lock/lock_region.c:193: error: redefinition of `lk_conflicts'
../lock/lock_region.c:189: error: `lk_conflicts' previously defined here
../lock/lock_region.c:193: warning: initialization makes integer from 
pointer without a cast
../lock/lock_region.c:193: error: initializer element is not constant
../lock/lock_region.c:193: warning: data definition has no type or 
storage class
../lock/lock_region.c:194: error: syntax error before '}' token
../lock/lock_region.c:197: error: syntax error before '&' token
../lock/lock_region.c:203: error: syntax error before '&' token
../lock/lock_region.c:215: error: syntax error before '*' token
../lock/lock_region.c:215: warning: data definition has no type or 
storage class
../lock/lock_region.c:216: error: syntax error before '->' token
../lock/lock_region.c:222: error: syntax error before '->' token
../lock/lock_region.c:222: error: conflicting types for `__db_hashinit'
../dbinc_auto/env_ext.h:16: error: previous declaration of `__db_hashinit'
../lock/lock_region.c:222: warning: data definition has no type or 
storage class
../lock/lock_region.c:223: error: syntax error before '->' token
../lock/lock_region.c:229: error: syntax error before '->' token
../lock/lock_region.c:229: warning: data definition has no type or 
storage class
../lock/lock_region.c:230: error: syntax error before '->' token
../lock/lock_region.c:259: error: syntax error before "struct"
../lock/lock_region.c:259: error: syntax error before '->' token
../lock/lock_region.c:259: error: syntax error before '->' token
../lock/lock_region.c:270: error: syntax error before "struct"
../lock/lock_region.c:270: error: syntax error before '->' token
../lock/lock_region.c:270: error: synta

--
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: "Can't get list of download sites."

2004-08-13 Thread Larry Hall
At 12:42 PM 8/13/2004, you wrote:
>I recently upgraded my Cygwin, using setup.exe, and everything works
>nicely ... except setup! When I do  from Internet, I
>get the error dialog
>
>> Error
>> Can't get list of download sites.
>> Make sure your network settings are correct and try again.
>
>However all my other networking is OK, e.g. I can browse to
>
>http://sources.redhat.com/cygwin/mirrors.lst
>
>without difficulty. When I do this with Connection Type=Direct
>Connection (my {usual, correct} setting), I get
>
>2004/08/12 23:13:36 Starting cygwin install, version 2.427
>2004/08/12 23:13:36 Current Directory: d:\download\Cygwin
>2004/08/12 23:13:36 Changing gid to Users
>2004/08/12 23:13:36 Could not open service McShield for query, start and 
>stop. McAfee may not be installed, or we don't have access.
>2004/08/12 23:14:00 source: download
>2004/08/12 23:14:02 Selected local directory: d:\download\Cygwin
>2004/08/12 23:16:30 net: Direct
>get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
>getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
>getUrlToStream failed!
>get_url_to_membuf failed!
>
>in /d/download/Cygwin/setup.log.full. I noted
>
>http://www.cygwin.com/ml/cygwin/2004-02/msg01064.html
>> Make sure you didn't install and run any firewall software.
>
>but my firewall software (Zone Labs) is not running, and ...
>
>> Also, try the "Use IE5 Settings" connection mode in setup.
>
>... when I try Connection Type=Use IE5 Settings, I get
>
>2004/08/12 23:18:46 net: IE5
>get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
>getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
>getUrlToStream failed!
>get_url_to_membuf failed!
>
>How to make them succeed? Apologies if this is a FAQ, but I haven't
>found anything useful via searching


If you're running ZoneAlarm5, try downgrading or uninstalling and 
reinstalling a different firewall.  ZoneAlarm affects your TCP/IP 
stack even without it running.  There have been lots of problems 
reported on the Cygwin/X list about ZoneAlarm5, though the issues
there are a bit different.  But it's something to try. 


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



igawk problem

2004-08-13 Thread Hans Horn
 Group,

I have a rather lengthy awk script (that internally includes a bunch of awk 
library functions; therefore I'm using igawk).

When I invoke it, e.g. like

echo | igawk -f script.awk
eval: gawk: argument list too long

The script and the awk library functions together make up approx. 34kByte.

Does anybody have a clue whether I'm running here into a hard shell limit, 
or some internal limit of gawk?

thx,
H.





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



Issues with SFTP

2004-08-13 Thread Strader, William A.
OK I locked a users account down so they cant do anything but get into their
own directory. I can SSH2 into the system just fine but when I try to SFTP
into the system I log in and it just sits there doing nothing.  Any
suggestions?

Billy S.

--
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: error in compiling berkeleydb-4.2.52 in cygwin

2004-08-13 Thread Gerrit P. Haase
Hello Kevin,


Kevin writes:
> I downloaded berkeleydb-4.2.52 and two patches from sleepycat.
> When I tried to compile it I got the errors from ../lock/lock_region.c
> as below.
> Anybody know what's wrong? 

Anything wrong with the precompiled BDB version available from the
Cygwin mirrors?


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/



Re: "Can't get list of download sites."

2004-08-13 Thread Thomas L Roche
Tom Roche 12:42 PM 8/13/2004
>> I recently upgraded my Cygwin, using setup.exe, and everything
>> works nicely ... except setup! When I do  from
>> Internet, I get the error dialog

>> Error
>> Can't get list of download sites.
>> Make sure your network settings are correct and try again.

Larry Hall 08/13/2004 02:56:26 PM:
> If you're running ZoneAlarm5, try downgrading or uninstalling and 
> reinstalling a different firewall. ZoneAlarm affects your TCP/IP
> stack even without it running. 

Hmm ... I've got Zone Labs Integrity Client 3.5, dunno how that
relates, will check.

> There have been lots of problems reported on the Cygwin/X list about
> ZoneAlarm5, though the issues there are a bit different.

AFAIK setup.exe has nothing to do with X--am I missing something?


--
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: error in compiling berkeleydb-4.2.52 in cygwin

2004-08-13 Thread kevin J
Hello Gerrit,
I need to make a dpkg with berkeleydb so I need to be able to compile 
berkeleydb source.
Is there any required libs for berkeleydb compilation?

Kihoon
Gerrit P. Haase wrote:
Hello Kevin,
Kevin writes:
 

I downloaded berkeleydb-4.2.52 and two patches from sleepycat.
When I tried to compile it I got the errors from ../lock/lock_region.c
as below.
Anybody know what's wrong? 
   

Anything wrong with the precompiled BDB version available from the
Cygwin mirrors?
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/


Re: Cannot find C:\cygwin\cygwin.bat

2004-08-13 Thread Pratheepan Raveendranathan
Larry & Dave,
I tried to install it from the internet, and I was getting the same
problem, hence I resorted to installing it locally, to see if there would
be a difference. Thanks for your suggestions abt permissions (I tried
that but permissions seem to be ok), I will keep trying. Let me know if
you come up with any other ideas.

Regards,
Pratheep.

Pratheep Raveendranathan
Computer Science Major
University of Minnesota Duluth

" Today is tomorrow's everlasting glory, what you do today affects what
will happen tomorrow, so make it glorious."
David Z. Hood --- Georgia

"the road to success is always under construction"


On Thu, 12 Aug 2004, Larry Hall wrote:

> At 01:52 PM 8/12/2004, you wrote:
> >Hi,
> >This is what I did:
> >1) Downloaded setup.exe from cygwin.com
> >2) Ran setup, and hit next (for default installation). And stored
> >   downloaded files onto c:\download.
> >3) Ran setup again, and asked it to install from local directory.
> >4) Installation got done, it asked me if I wanted a short cut on the
> >desktop, and I said yes.
> >5) I tried running cygwin using the short cut, and I get an alert saying:
> >"Cannot find c:\cygwin\cygwin.bat (or one of its components)".
> >
> >The setup.exe version i s 2.427.
> >
> >The operating system is Windows 2000.
>
>
> OK.  Without the output of 'cygcheck -s -r -v', which is one of the things
>  requests, there's not allot of data to
> go on here.  Dave's right.  You'll need to do a little local debugging.
> Sounds like you downloaded, installed, and are running as the same user,
> so there's not an obvious mismatch there.  You need to check if
> 'c:\cygwin\cygwin.bat' exists and has the right permissions like Dave
> suggests.  That's the best advice I can give with the information I have.
>
> Any reason you didn't just "Install from Internet"?
>
>
>
> --
> 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/
>

--
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: "Can't get list of download sites."

2004-08-13 Thread Larry Hall
At 04:03 PM 8/13/2004, you wrote:
>Tom Roche 12:42 PM 8/13/2004
>>> I recently upgraded my Cygwin, using setup.exe, and everything
>>> works nicely ... except setup! When I do  from
>>> Internet, I get the error dialog
>
>>> Error
>>> Can't get list of download sites.
>>> Make sure your network settings are correct and try again.
>
>Larry Hall 08/13/2004 02:56:26 PM:
>> If you're running ZoneAlarm5, try downgrading or uninstalling and 
>> reinstalling a different firewall. ZoneAlarm affects your TCP/IP
>> stack even without it running. 
>
>Hmm ... I've got Zone Labs Integrity Client 3.5, dunno how that
>relates, will check.


Ok, that's probably different then.  If you've made any changes recently 
that affect your firewall, that's something to check though.


>> There have been lots of problems reported on the Cygwin/X list about
>> ZoneAlarm5, though the issues there are a bit different.
>
>AFAIK setup.exe has nothing to do with X--am I missing something?


No, you're not.  I brought up Cygwin/X to explain the source of the 
information and issues surrounding ZoneAlarm.  X has nothing to do 
with your problem.  But there's a (remote) chance that your 'setup.exe'
problem is firewall related.  That's all I was suggesting.



--
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: error in compiling berkeleydb-4.2.52 in cygwin

2004-08-13 Thread Gerrit P. Haase
Hello kevin,

> I need to make a dpkg with berkeleydb so I need to be able to compile
> berkeleydb source.
> Is there any required libs for berkeleydb compilation?

No. But now I see, you are building in the "build_win32" subdirectory.
The Windows version cannot be compiled with Cygwin, the Unix version
is distributed.

Look in the source package from the Cygwin distribution, there is a
patchfile, this is what I used to build BDB for the release.  There is
also a script which may be helpful.


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/



Re: igawk problem

2004-08-13 Thread Igor Pechtchanski
On Fri, 13 Aug 2004, Hans Horn wrote:

>  Group,
>
> I have a rather lengthy awk script (that internally includes a bunch of awk
> library functions; therefore I'm using igawk).
>
> When I invoke it, e.g. like
>
> echo | igawk -f script.awk
> eval: gawk: argument list too long
>
> The script and the awk library functions together make up approx. 34kByte.
>
> Does anybody have a clue whether I'm running here into a hard shell limit,
> or some internal limit of gawk?

This looks like an upstream igawk portability bug -- the lines

processed_program=`gawk -- "$expand_prog" /dev/stdin