[ITP] qt3-3.3.4

2005-09-02 Thread Yaakov S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

As much as I prefer GNOME, I think it's about time for qt to be in the
distro as well:

ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-3.3.4-2-src.tar.bz2
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-3.3.4-2.tar.bz2
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/setup.hint
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-bin/qt3-bin-3.3.4-2.tar.bz2
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-bin/setup.hint
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-devel/qt3-devel-3.3.4-2.tar.bz2
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-devel/setup.hint
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-doc/qt3-doc-3.3.4-2.tar.bz2
ftp://sunsite.dk/projects/cygwinports/release/KDE/qt3/qt3-doc/setup.hint

To clarify a few things:

1) In order to allow room for qt4, installation layout is as follows (a
combination of ideas from gentoo and debian):
/etc/qt3: empty upon installation; uses for rc files at runtime
/usr/bin: runtime libraries, and -qt3 symlinks to the major apps
/usr/include/qt3: headers
/usr/lib/qt3: QTDIR
/usr/lib/qt3/bin: all apps
/usr/lib/qt3/lib: link libraries
/usr/lib/qt3/mkspecs/cygwin-g++
/usr/lib/qt3/plugins
/usr/share/qt3: docs (for use with assistant), designer templates, and
translations

2) The subpackage layout is as follows:
qt3: runtime libraries, imageformat and sqldrivers plugins (theme
engines are built into the library, as they affect API), qtconfig,
readmes, and translations
qt3-bin: linguist and its tools, designer and its plugins and templates
qt3-devel: qmake, moc, uic, headers, link libraries, and the cygwin-g++
qmake spec
qt3-doc: assistant, html and man documentation

3) Runtime libraries are correctly named as libtool would do (patches
based on kde-cygwin, except that this package makes real import
libraries instead of symlinks to the DLL), however plugins are named
libfoo.dll; changing to a 'cyg' prefix would mean further changes to
both qmake and QGPlugin code, which I don't think is worth it just for
plugins.

4) Some changes may be necessary in the future to allow qt4 in parallel,
but I won't know for sure until I build it, and I'm planning to wait a
little longer until I see that it's stable first.


Yaakov

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGJ9upiWmPGlmQSMRAlUqAJ9Ur1J4ugEvuI8vftoWNzrGEGLhKgCg8JV7
u65x/lyxrvO5bD3p4taWSJk=
=3xU0
-END PGP SIGNATURE-


Cygwin-wnpp#20050902T2051 ITP: tinyirc - A real tiny IRC client

2005-09-02 Thread Jari Aalto

Debian includes this. It's real small, basic and and handy. I had to hand
fix the C code to ake it work correctly in Cygwin rxvt.

   http://packages.debian.org/unstable/net/tinyirc

Jari

DOWNLOAD:

1) Traditional
  wget --non-verbose\
http://cygwin.cante.net/tinyirc/tinyirc-1.1-1.tar.bz2.sig \
http://cygwin.cante.net/tinyirc/tinyirc-1.1-1.tar.bz2 \
http://cygwin.cante.net/tinyirc/tinyirc-1.1-1-src.tar.bz2.sig \
http://cygwin.cante.net/tinyirc/tinyirc-1.1-1-src.tar.bz2 \
http://cygwin.cante.net/tinyirc/setup.hint

2) Automated
  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir tinyirc ; cd tinyirc
  rm -f get.sh get.sh.sig
  wget -q http://cygwin.cante.net/tinyirc/get.sh \
  http://cygwin.cante.net/tinyirc/get.sh.sig
  gpg --verify get.sh.sig get.sh 
  sh get.sh

[ATTACHMENT: setup.hint]
sdesc: A tiny IRC client with all the basic features.
ldesc: A very small, stripped down IRC client. It doesn't have most of the
more advanced commands in the ircII family of IRC Clients, nor does it
have any color, but it works, and it's tiny.
category: Net
requires: cygwin



Re: Cygwin-wnpp#20050902T2051 ITP: tinyirc - A real tiny IRC client

2005-09-02 Thread Christopher Faylor
On Fri, Sep 02, 2005 at 11:59:30PM +0300, Jari Aalto wrote:
Debian includes this. It's real small, basic and and handy. I had to hand
fix the C code to ake it work correctly in Cygwin rxvt.

   http://packages.debian.org/unstable/net/tinyirc

Did I miss a memo?  What is all of the extra crap in the subject?

cgf


texi2html coming back soon in tetex ?

2005-09-02 Thread James R. Phillips
May I please add my voice to the request [1] to get a version of texi2html back
into tetex soon?  I would like to produce an octave html doc package, but I
can't build it without texi2html.

[1]:
http://sourceware.org/ml/cygwin/2005-08/msg00149.html

Thanks,

Jim Phillips
octave maintainer



Re: texi2html coming back soon in tetex ?

2005-09-02 Thread Brian Dessent
James R. Phillips wrote:

 May I please add my voice to the request [1] to get a version of texi2html 
 back
 into tetex soon?  I would like to produce an octave html doc package, but I
 can't build it without texi2html.

It's just a single perl script.  To install it just place it in the path
somewhere.  It's not hard to do.  If anything, it should be in its own
package, because it does not require latex to run, and installing all of
latex just for a single perl script is pretty silly.

Brian


AW: problem

2005-09-02 Thread Marco Lechner
Hi Richard,

could it be a simple Firewall-Problem?

Marco

-
Marco Lechner

office:
Department of Physical Geography
University of Freiburg
Werderring 4
D-79085 Freiburg
Germany
phone +49 (0)761 / 203-3548
email [EMAIL PROTECTED]
 
 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von RICHARD D HILDNER
 Gesendet: Donnerstag, 1. September 2005 22:55
 An: cygwin-xfree@cygwin.com
 Betreff: problem
 
 
 I have installed cygwin and everything seems to run smoothly except I 
 can't get any display to work.  If I execute XWin then it opens up a 
 grey window with an X at the top followed by Cygwin/X-0:0 and 
 that's it.  There's no menu options or anything.  If i do XWin -query 
 remote_host then the same thing comes up with Cygwin/X-
 remote_host.  
 If I connect with ssh -Y remote_host it connects me but if i try to 
 execute something that requires a display...such as xeyes...Then it 
 says connect 127.0.0.1 port 6000: Connection refused/ Xconnection to 
 localhost:12.0 broken (explicit kill or server shutdown)
 
 So i don't know what I'm doing wrong.
 
 Thanks a lot,
 -Richard Hildner 
 
 --
 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/
 

--
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: How to have more than one X display?

2005-09-02 Thread Soong, SylokeJ

Thanks.

I could not find that in XWin man pages,
but XWin -help showed it.

Though $DISPLAY is ineffectual to XWin,
I needed to set it since wmaker (or any xdm)
would need to know the display/screen
to use. I am a happy clam now.

I use wmaker because I don't like using multiwindow mode.
I am not good in dealing with disorganised clutter.
(the antithesis is rather an oxymoron - organised clutter).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn
Sent: Fri, September 02, 2005 12:16 AM
To: cygwin-xfree@cygwin.com
Subject: Re: How to have more than one X display?


Joe Krahn wrote:
Oh...
The DISPLAY variable has no effect on XWin. Try the following:

   XWin :0.0
and
   XWin :1.0

I can run several of these. But, I noticed that MultiWindow mode is 
broken for anything but display :0.

Joe

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

2005-09-02 Thread Joe Krahn

Soong, SylokeJ wrote:

When I first installed Cygwin/X and tried,
I ran into the same puzzlement, if not panic.

All the xterms and xclock I started were heaped
into the same corner, intransigently unmoveable.
(The sun shall not strike thee, nor the moon by
night and your feet will not be moved, as though).

Then I recalled, hmm 
There is an X Display Server and then
there is an X Display Manager.
I think. I'm sure I have not confused the
terminology.
Almost right: the Windows are managed by thw Window Manager, sort of 
like iexplore.exe in Windows, with the X Display Server being like Win32 
GDI.


The X Display Manager is actually access control, the log-in prompt on 
X-based systems.


...

So I looked into the startxwin files and was as
assured to find twm (which I guessed correctly is
an X display mgr) commented out.
 
I uncommented it and when XWin restarted

my xterms and xclock were moveable.

But I didn't like twm because the extremity of my
X habits tends to pile up lots of windows
and would have me a hard time searching for them
without a desktop window locater. Which led me
to install wmaker.

Actually, the MultiWindow mode is nicer; it wraps windows to be managed 
by the native Win32 window manager, and also gets rid of the extra 
desktop root window.


...

Or get a little more screwy,
start x server on my laptop cygwin,
throw wmaker from my win2k box to my laptop,
login to sun box and throw xterms to my laptop.
Sure, that would work just fine. X is well-designed enough to do such 
things, even if the remote host has a different binary format. You'll 
never see that from MS...


Joe Krahn

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



Some diffs to try

2005-09-02 Thread Joe Krahn

Some diffs to try out:
http://joekrahn.homelinux.com/XWin/

Nice patch for windialogs.c icon issues.
Removed hard-wired references to /tmp/XWin.log

Still working on icons a bit.

Question: How much should I worry about pre-WinXP compatibility? WinXP 
accepts ARGB icons. I think Win95/NT/2000 do not. Maybe just try an ARGB 
icon patch and see if someone can test it?


Joe Krahn

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



RDP issues

2005-09-02 Thread Ruth Ivimey-Cook
Folks,

It's not particularly bothering me, but I thought I'd let you know that the
following scenario fails:

Set up xwin talking to remote linux server on machine A
Use rdesktop or windows remote desktop to view A's screen from machine B

The pixels on machine B are all stretched, and you can't really read
anything. Of course, the view from A's screen is fine.

Ruth


--
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: How to have more than one X display?

2005-09-02 Thread Soong, SylokeJ
It's the IDE mindset.
I have two/more projects whose windows I prefer to be completely segregated.
I could use wmaker multiple desktops to achieve that.

However, I prefer a complete segregation. Especially when it involves
two versions of the same project. Need to prevent myself from
inadvertently moving a window onto another desktop. The files of
the two versions would be of such similarity that I had edited one
version with modification intended for another. Rootless would
excercebate (how the h*** do you spell this!) that.

My dream xdm:
Tabs to separate multiple X screens. Like a multi-desktop but
the tabs are managed by xdm not xwm. I know I am cluttering my
X?M terminology. I mean, xwin=xdm, wmaker=xwm.

I'm sorry I'm not aware what RANDR is and therefore am a little
blurry-eyed about that.

I'm not sure if Reflection has its configured but uninvoked
screen as actually an active window parked far off into the
edges of the galaxy. But my impression feels it is not so, as I
had not found it in process/window listing utility I once ran.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn
... In Reflection, is the 2nd screen 'live' but not 
always visible?

But, why have two actual screens instead of one large virtual screen?
If you don't want to lose your WIn32 desktop space, why not go rootless 
or MultiWIndow mode?

If you want the X desktop space, it would probably be possible to use 
RANDR to allow dynamic resizing of one screen to fill one or both Win32 
Displays.

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



Facename fonts vs XLFD fonts

2005-09-02 Thread Brian Willis

I have an application that by default looks for the Facename font
ncenb14.  I can over ride the setting by using the Xdefaults and
specifying the XLFD (X Logical Font Description) instead.  While this
works, it's not the ideal situation.  I would rather it just found the
Facename name by default.  This application's fonts work fine when you
run it from a Linux or HP console, but not when forwarded back to Cygwin.

I tested with xterm to make sure that it could find the font name.  When
I used the -fn switch it wouldn't find the xcenb14 font, but when I used
the -fa it would.  Is there a way to make Cygwin look at the Facename
and the XLFD?

I tried finding some documentation on how X uses fonts and searches for
them but really couldn't find much.  If anyone has some really good
references, let me know also.

Brian Willis
OHD System Admin
NWS/NOAA


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



GetDC(NULL), GetModuleHandle(NULL), etc.

2005-09-02 Thread Joe Krahn
There are several GetDC(NULL) statements. Should these really be 
GetDC(hwndScreen)? It might make a difference for two screens with 
different pixel layouts.


GetModuleHandle(NULL) is also in several places. Maybe it's OK, but why 
not use the hInstance global?


These probably are just too low on the importance list for now. But, I 
thought it was worth mentioning.


Joe


--
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: Some diffs to try

2005-09-02 Thread Colin Harrison
Hi,
I'll try out your diff's (I build mainly for Xming.exe), am looking for a
solution that names everything appropriate for Cygwin/X and Xming projects
(no hard wiring).
I've got my own private patches that build for log files and screens etc.
named for Xming (e.g. about, exit, Xwinrc to Xmingrc)..a bit of #idef..ing
will make them more universal, I'll merge your diffs and play..when I have
time!

Try the icon ARGB stuff anyway..I know cygwin supports all Windows
versions..but MS don't, and sometimes it's hard to not let go and move on at
the same time!

Colin Harrison


--
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: Mouse scroll wheel acts as left arrow/right arrow.

2005-09-02 Thread Brian Keener



On Thursday, September 01 at 01:35, Brian Keener wrote:
 

I have a microsoft mouse with a scroll wheel that scrolls both up and 
down, and left/right.  The up/down scrolling action seems to act as 
left/right arrows.


In firefox, using the scroll wheel goes back/forwards a page, for an 
example.


Any idea what to do to fix this?

Brian K
   



If this behaviour is consistent across all X applications, you could
try using xmodmap:

First, use xev to identify which button numbers are associated with the
up, down, left  right movements.  Let's say these are 4, 5, 6  7
respectively.  If you want the up button swapping with left, and
down swapping with right, you would enter:

xmodmap -e pointer = 1 2 3 6 7 4 5

you can use xmodmap -pp to verify the change.  You should see
something like this:

$ xmodmap -pp
There are 7 pointer buttons defined.

   PhysicalButton
Button  Code
   1  1
   2  2
   3  3
   4  6
   5  7
   6  4
   7  5

I can't guarantee that this will work with XWin, but this technique
works for xorg on Linux, so it's likely to be OK.

HTH

Phil
 


Worked like a charm, Phil.

Thanks.

Brian K

--
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 Makefile.in cygheap.cc ...

2005-09-02 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-09-02 17:12:38

Modified files:
cygwin : ChangeLog Makefile.in cygheap.cc dcrt0.cc 
 exceptions.cc fork.cc heap.cc init.cc pinfo.cc 
 sigproc.cc sigproc.h 

Log message:
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to 
generate
dependencies when invoked from top-level make.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3062r2=1.3063
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/Makefile.in.diff?cvsroot=uberbaumr1=1.179r2=1.180
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaumr1=1.118r2=1.119
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaumr1=1.258r2=1.259
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaumr1=1.243r2=1.244
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.160r2=1.161
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/heap.cc.diff?cvsroot=uberbaumr1=1.43r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/init.cc.diff?cvsroot=uberbaumr1=1.51r2=1.52
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.182r2=1.183
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaumr1=1.236r2=1.237
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaumr1=1.80r2=1.81



Problems with a fresh install

2005-09-02 Thread Luke Kendall
I just installed a fresh version of Cygwin from a mirror site.
Despite installing All, and running ssh-host-config there were no
/etc/ssh* files created.

After the install I tried to chown files to the Administrators group so
that other people could update the Cygwin installation if desired.  I
got many, many errors like this:

chown: changing ownership of `/usr/share/doc/lynx/lynx_help/COPYING': No such 
file or directory
 
$ ls -l /usr/share/doc/lynx/lynx_help/COPYING
lrwxrwxrwx  1 luke Users 47 Sep  2 13:48 /usr/share/doc/lynx/lynx_help/COPYING 
- /tmp/install/INSTALL/usr/share/doc/lynx/COPYING
$ ls -l /tmp/install/INSTALL/usr/share/doc/lynx/COPYING
ls: /tmp/install/INSTALL/usr/share/doc/lynx/COPYING: No such file or directory
$ ls -l /tmp/install
ls: /tmp/install: No such file or directory
$ ls -l /tmp
total 0

Cygwin seems to be running extraordinarily slowly too.  Even an ls
takes a long time:

$ time ls -l /tmp
total 0 

real0m3.897s
user0m0.020s
sys 0m0.060s

Also, the real time reported from /bin/time is wrong:

$ /bin/time /bin/ls /tmp
0.07user 0.03system 0:01.64elapsed 6%CPU (0avgtext+0avgdata 14528maxresident)k  
0inputs+0outputs (907major+0minor)pagefaults 0swaps

since I timed that via a watch at over 4 seconds.  This suggests that
/bin/time also took about two seconds for its part of the process.

Later, though, the missing files do indeed exist, and speed is okay.
Any idea what on earth is going on?  Why the failed chmods?

Likewise, running ssh-host-config (later) creates the ssh files.

It's almost like lots of the files hadn't actually been flushed through
onto the filesystem, which seems like crazy talk.  Is there some
background task which runs after setup.exe has finished, that is still
going?

luke


--
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: Unknown keyboard

2005-09-02 Thread Alexander Gottwald
On Fri, 2 Sep 2005, Huszár, László wrote:

 Hi,
 
 I've found these lines in my log file:
 (--) winConfigKeyboard - Layout: 040E (040e)
 (EE) Keyboardlayout Hungarian (040E) is unknown
 
 Would you be so kind to help me ?

The hungarian layout is detected since February 2005. You should update 
XWin.

FollowUp to cygwin@cygwin.com

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723

--
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: Unknown keyboard

2005-09-02 Thread Huszár , László
Hi Ago,

Thanks for your very quick response. In the meantime I've updated my XWin and 
it works. How can I display my languagae specific characters under X (for 
example é).

Thanks,
Joe 

-Original Message-
From: Alexander Gottwald [mailto:[EMAIL PROTECTED] 
Sent: 2005. szeptember 2. 11:21
To: Huszár, László
Cc: [EMAIL PROTECTED]; cygwin@cygwin.com
Subject: Re: Unknown keyboard

On Fri, 2 Sep 2005, Huszár, László wrote:

 Hi,
 
 I've found these lines in my log file:
 (--) winConfigKeyboard - Layout: 040E (040e)
 (EE) Keyboardlayout Hungarian (040E) is unknown
 
 Would you be so kind to help me ?

The hungarian layout is detected since February 2005. You should update XWin.

FollowUp to cygwin@cygwin.com

bye
ago
--
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723

--
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: Segfault in Cactid

2005-09-02 Thread Larry Adams
Brian Dessent brian at dessent.net writes:

 
 Larry Adams wrote:
 
  So my questions are: How do I trace the memory location above to a known 
system
  call using gdb?  When, I attach to my hung process, what should I be doing 
to
  determine the calling/offending function.
 
 Build a cygwin1.dll with debug symbols and then use addr2line.  Or use
 strace.  At the very least you should try the latest snapshot to see if
 it fixes your problem.
 

Brian, I am assuming that I can just download the latest cygwin of winsup and 
then configure/make.  What configure/make options should I be using to 
incorporate debug symbols?

 The fact that you get that popup is a little puzzling.  That popup is
 the result of an SEH exception not being handled by the process and
 falling through to the system default handler.  But Cygwin installs its
 own SEH handlers so that it can convert those sort of exceptions into
 signal 11 without the popup.  Normally you would not get a popup and
 it would terminate as on unix with a segmentation fault message and
 stackdump.  But I guess if something internal to Cygwin is getting
 corrupted then all bets are off.

The previous version of Cactid did not have this problem.  The one major 
change in this version of Cactid is that I am using upto 100 process threads 
and each thread is allocating large amounts of memory using primarily 
the calloc function.  I was wondering if maybe Cygwin is having difficulty 
making memory available to the calloc function after several threads have 
chopped up the heap.

If that is the case, are there other alternatives?  I could use a linked list 
so that memory fragmentation would occur in smaller chunks, or maybe there are 
some house keeping functions I can utilize to free up some contiguous blocks 
of memory or some way to increase the amount of memory available for the heap.

Your further comments would be very appreciated.

Larry

 
 Brian
 
 





--
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: Segfault in Cactid

2005-09-02 Thread Dave Korn
Original Message
From: Larry Adams
Sent: 02 September 2005 10:48

 Brian Dessent brian at dessent.net writes:
 
 
 Larry Adams wrote:
 
 So my questions are: How do I trace the memory location above to a
 known system call using gdb?  When, I attach to my hung process, what
 should I be doing to determine the calling/offending function.
 
 Build a cygwin1.dll with debug symbols and then use addr2line.  Or use
 strace.  At the very least you should try the latest snapshot to see if
 it fixes your problem. 
 
 
 Brian, I am assuming that I can just download the latest cygwin of winsup
 and then configure/make.  What configure/make options should I be using to
 incorporate debug symbols?

  I may not be Brian, but I like to use

make CPPFLAGS_FOR_TARGET='-g -O0' CFLAGS_FOR_TARGET='-g -O0'
CXXFLAGS_FOR_TARGET='-g -O0' all 21 | tee build.log
 
which gets you an unoptimised debug build.  Killing optimisation makes
stepping through the source much easier as it doesn't jump around all over
the place.


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: Two problems that i _can_ reproduce.

2005-09-02 Thread Dave Korn
Original Message
From: Dave Korn
Sent: 01 September 2005 19:36

 Original Message
 From: Brian Dessent
 Sent: 01 September 2005 19:29
 
 Dave Korn wrote:
 
   Anyone else seeing this with the latest snapshot/CVS head build?
 
 That's odd.  I've been following CVS (my current is from 2005-08-28) and
 haven't seen any of that, and I use rxvt daily.  I'll cvs up and try
 HEAD as of now. 
 
 Brian
 
 
   Okeydokey, and I'll blow away my build objdir and try from fresh...
 maybe there's something stale in there.  Won't get around to it tonight
 though, I'm afraid.


  And that solved it.  Bizarre.

  Hmm.  This is odd:  Source dir has

-snip!-
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin ls -lart cygtls.h
-rw-r--r--  1 dk Domain Users 6545 Aug 30 12:30 cygtls.h
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin grep -l cygtls t*.cc
termios.cc
thread.cc
timer.cc
times.cc
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin grep -l cygtls t*.cc | xargs ls 
-lart
-rw-r--r--  1 dk Domain Users 14331 Jul  6 10:14 times.cc
-rw-r--r--  1 dk Domain Users  5977 Jul 13 10:08 termios.cc
-rw-r--r--  1 dk Domain Users 10395 Jul 13 10:08 timer.cc
-rw-r--r--  1 dk Domain Users 69916 Aug 17 11:31 thread.cc
-snip!-

object dir has

-snip!-
[EMAIL PROTECTED] /usr/build/obj-that-went-wrong/i686-pc-cygwin/winsup/cygwin 
ls
-lart t*
-rw-r--r--  1 dk Domain Users 374186 Aug 23 13:10 termios.o
-rw-r--r--  1 dk Domain Users 507599 Aug 23 13:10 thread.o
-rw-r--r--  1 dk Domain Users 419076 Aug 23 13:10 timer.o
-rw-r--r--  1 dk Domain Users 449185 Aug 23 13:10 times.o
-rw-r--r--  1 dk Domain Users 571652 Aug 23 13:10 tty.o
-rw-r--r--  1 dk Domain Users 367527 Aug 23 13:11 textmode.o
-rw-r--r--  1 dk Domain Users 54 Aug 23 13:11 textmode.d
-rw-r--r--  1 dk Domain Users 62 Aug 23 13:11 textreadmode.d
-rw-r--r--  1 dk Domain Users 367750 Aug 23 13:11 textreadmode.o
[EMAIL PROTECTED] /usr/build/obj-that-went-wrong/i686-pc-cygwin/winsup/cygwin 
ls *.d
| wc -w
33
[EMAIL PROTECTED] /usr/build/obj-that-went-wrong/i686-pc-cygwin/winsup/cygwin 
ls *.o
| wc -w
140
-snip!-

  Ah, now I think I get it:

-snip!-
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin ls *.c | wc -w
18
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin ls */*.c | wc -w
17
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin ls *.cc | wc -w
102
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin ls */*.cc | wc -w
2
[EMAIL PROTECTED] /usr/build/src/winsup/cygwin
-snip!-

  Ok, 18+17 == 33 .o files built from .c files, and 104 pretty much accounts
for the remaining .o files, so I think I see the pattern: we only have
auto-dependencies for C source files, not C++.  Well, you learn something
new every day.


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: Segfault in Cactid

2005-09-02 Thread Brian Dessent
Larry Adams wrote:

 Brian, I am assuming that I can just download the latest cygwin of winsup and
 then configure/make.  What configure/make options should I be using to
 incorporate debug symbols?

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin

The default compiler options include -g so you get symbols by default. 
Note that in recent CVS versions this means a seperate .dbg file.

You can also add --enable-debugging to ./configure, but this enables a
number of things in the code, not just compiler flags.  Grep for #ifdef
DEBUGGING in the source for details.  Mostly this means more verbose
strace ourput and some extra sanity checking.

 The previous version of Cactid did not have this problem.  The one major
 change in this version of Cactid is that I am using upto 100 process threads
 and each thread is allocating large amounts of memory using primarily
 the calloc function.  I was wondering if maybe Cygwin is having difficulty
 making memory available to the calloc function after several threads have
 chopped up the heap.

Until you debug the crash it's all just speculation.  It could be a
million things.  That said, even if the above was the case, Cygwin
should not crap its pants and dereference a NULL pointer no matter how
bad the heap is thrashed, so something is definitely wrong.

Brian

--
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: Trial Cygwin packages available for octave-2.1.71

2005-09-02 Thread James R. Phillips
--- Olisoft  wrote:

 Mister,
 
 My name is Olivier Th and I'm student in computer science in Belgium.  I have
 to use this year the program Octave under Cygwin.
 
 I contact you about a problem you seems to have solved on internet, but I
 don't know how to do that :
 
 -I installed Cygwin including Octave from the internet installer. 
 -So, I ran octave but it don't start : it gave me an error message :
 impossible to find cygblas.dll ...
 
 I think I have to add somewhere a line that specify the
 C:\cygwin\lib\lapack directory that contain the dll file. But I absolutely
 don't know what to write and where. Maybe could you help me ?
 
 I thank you in advance for your answer.
 
 Olivier Th
 [EMAIL PROTECTED]
 

Forwarding to cygwin@cygwin.com mailing list.  This is the place for technical
assistance, not the maintaner's e-mail.

You haven't supplied much information.  Suggest you follow the problem
reporting procedures at the cygwin.com website, providing a snapshot of the
important parameters of your install.

Since you seem relatively unfamiliar with cygwin, let me point out something
basic: you must start cygwin before you use octave.

Also, the lapack install contains a script to modify the user's path during
shell login/startup (/etc/profile.d/lapack.sh).  It is necessary to log out and
log back in to cygwin at least once following the lapack install in order for
this to take effect properly.

Please try this, and report back to the mailing list if problems persist,
including the system information recommended on the website.

Jim Phillips
cygwin/octave maintainer



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



GTK2-X11 / gtk+-2.0 is not found after it is installed?

2005-09-02 Thread Bob Paddock


I am trying to build the program PCB, http://pcb.sf.net/ that
requires the GTK2 widget set, with some GTK version greater than 2.4.0.

I have installed a fresh copy of Cygwin and installed all of the
gtk2-x11 packages.

When I run this test script:

#! /bin/sh

if pkg-config --exists gtk+-2.0 = 2.4.0 ; then
echo Yes
else
echo No
fi

pkg-config --modversion  gtk+-2.0

I get:

No [No gtk+ = 2.4.0 was found]
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gobject-2.0', required by 'GdkPixbuf', not found


Is there a missing dependency I need to install?


I have looked at the /lib/pkgconfig/gtk+-2.0.pc file on Cygwin and on my
Linux box, they look nearly the same (Linux used $(), Cygwin does not for  
the paths).


The above test script says 'Yes' on Linux and 'No' on Cygwin.  I can't get  
PCB to build until I get a 'Yes' from Cygwin.


What am I missing?


--
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: Two problems that i _can_ reproduce.

2005-09-02 Thread Christopher Faylor
On Fri, Sep 02, 2005 at 11:35:26AM +0100, Dave Korn wrote:
Ok, 18+17 == 33 .o files built from .c files, and 104 pretty much
accounts for the remaining .o files, so I think I see the pattern: we
only have auto-dependencies for C source files, not C++.  Well, you
learn something new every day.

.d files are supposed to be created for every .o by the Makefile in
winsup/cygwin, with the exception of sigfe.o.  I just verified that this
is the case by cd'ing to 'winsup/cygwin' and doing a 'make clean all'
and then, in zsh:

  for f in *.o; do
  ls $f:r.d  /dev/null || echo $f
  done

I haven't tried this from outside of the winsup/cygwin directory so
maybe your problem is due to building from a higher level directory.

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/



using Thawte certificates?

2005-09-02 Thread Lester Ingber
I see an old doc on using Thawte certificates with mutt:
http://www.equiraptor.com/smime_mutt_how-to.html
but the mutt that comes with cygwin does not seem to have all smime
features required for use?  I have certificates that work fine on
Iexplorer, Firefox and Thunderbird, and I would like to use them in
mutt.

Has anyone worked on this?

Thanks.

Lester
-- 
 Prof. Lester Ingber  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 www.ingber.com www.alumni.caltech.edu/~ingber

--
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: GTK2-X11 / gtk+-2.0 is not found after it is installed?

2005-09-02 Thread Yaakov S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bob Paddock wrote:
 No [No gtk+ = 2.4.0 was found]
 Package gobject-2.0 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `gobject-2.0.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'gobject-2.0', required by 'GdkPixbuf', not found

Looks like glib2-devel is not installed.

In the future, please follow *exactly* the directions at the URL below,
so that we can help you better next time:

http://cygwin.com/problems.html


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGJHXpiWmPGlmQSMRAmvOAKCaPFqEGreinQanjPS0SrdFAWTJgACdG9Zu
SMRFTCKsPfBGoSYNuvqsLZM=
=E9bq
-END PGP SIGNATURE-

--
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: xmkmf resuling in bad search path for std includes?

2005-09-02 Thread Angelo Graziosi


On Thu, 1 Sep 2005, Larry Hall wrote:

 At 05:53 PM 9/1/2005, you wrote:
 
 
 On Wed, 31 Aug 2005, Larry Hall wrote:
 
 
 I have uninstalled GPC package and removed the
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/ directory so that now there is not
 any reference to 3.3.3 version of GCC (not in the registry not on the
 disk).
 
 After this I have tried new builds of CERNLIB with 3.4.4-1 and also in
 this case there is the warning like this:
 
 
 
 makedepend: warning: ..  (reading /usr/include/sys/unistd.h, line
 13): cannot
 find include file stddef.h
 not in /usr/X11R6/include/stddef.h
 not in /usr/local/lib/gcc-include/stddef.h
 not in /usr/include/stddef.h
 not in /usr/include/w32api/stddef.h
 
 not in /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include/stddef.h
 ^^
 
 
 
 From where the reference to /usr/./3.3.3/ ?
 
 
 Must your local config of CERNLIB itself that still remembers things as
 they were when 3.3.3 was installed.  Have you regenerated the makefile 
 since then?
 
 

Every time I build starting from scartch, i.e. untaring the source and
regenerating the makefile.

It could be that there is some config file in the build process that
references to GCC 3.3.3.

I will investigate this deeply.

Thanks,

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/



Re: Intermittent scp crash on completion, Win98 SE, snapshot

2005-09-02 Thread Christopher Faylor
On Fri, Sep 02, 2005 at 07:27:46PM -0600, Aaron Humphrey wrote:
For the past few weeks--not sure exactly how long, sorry--I have
gotten intermittent crashes when using scp to copy a file to my
computer.  My computer is running Windows 98 SE;
the remote computer is running Linux.  It doesn't happen that
consistently, but just now I
was able to get it to happen twice with the same zip file; another zip
file copied fine twice
without the crash.  I am using the 20050901 snapshot, with the .dbg
file, but it was happening with 1.5.18-1, too.  (Probably not before
that, but I'm not sure.)

What happens is this: just as the file has completed its transfer, a
dialog pops up:

Ssh

This program has performed an illegal operation and will be shut
down[...etc, we all know the message]

Details:

SSH caused an invalid page fault in
module CYGWIN1.DLL at 0167:61093599.
Registers:
EAX= CS=0167 EIP=61093599 EFLGS=00010246
EBX= SS=016f ESP=00bafa94 EBP=00bafc80
ECX=6300 DS=016f ESI=6300 FS=6aaf
EDX= ES=016f EDI= GS=
Bytes at CS:EIP:
8b 00 c3 8d 74 26 00 55 89 e5 5d eb ea 8d 76 00 
Stack dump:
63001191    630600e5  
     7ff42264 
 7ff42225

Cygcheck output is attached.

I'm sure this won't be enough information, but I don't know whether
running scp with -vvv is
the thing to do, or strace-ing it, or what.  Let me know what I can do
help debug this problem.

If you can get this to fail under strace, that would probably point to
the problem pretty quickly.  It looks like something is trying to get
the pid of the process during the final stages of process shutdown after
all of the info about the process has been purged.

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: Problems with a fresh install

2005-09-02 Thread Larry Hall
At 04:22 AM 9/2/2005, you wrote:
It's almost like lots of the files hadn't actually been flushed through
onto the filesystem, which seems like crazy talk.  Is there some
background task which runs after setup.exe has finished, that is still
going?


No.  Sounds like a local problem but that's just a guess.


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