Re: Path problem with xterm

2009-09-28 Thread John Emmas
- Original Message - From: Mike Ayers If you set PATH absolutely in .bash_profile, the right thing will happen. You may want to copy the initial value of PATH into another exported env var, so that you can see if there have been changes to the default path. Hi Mike. If I can find

Re: Path problem with xterm

2009-09-25 Thread John Emmas
- Original Message - From: Ken Brown Most of the extra entries probably come from the various bash startup files (including /etc/profile). These startup files will be invoked every time you start a new bash login shell. It looks like you're right about this Ken. Many of the scripts

Path problem with xterm

2009-09-24 Thread John Emmas
If I open a bash terminal in cygwin, then I create an xterm (either by running startxwin.bat or by running the relevant lines from it manually) then I type set, my environment settings get listed. Among them is my current PATH variable. However, the displayed path is not the same as the path I

Re: Path problem with xterm

2009-09-24 Thread John Emmas
- Original Message - From: Mike Ayers Subject: RE: Path problem with xterm Are you perhaps modifying PATH in .bashrc? No Mike, not as far as I can tell. In fact it's the original .bashrc that was installed with Cygwin. I haven't edited it and I can't see anything in it that refers

Re: Is this a known problem with getenv() ?

2009-09-24 Thread John Emmas
Regarding my problem (extra entries being added to my path when I run a program under X11) I've tracked the problem down a bit further and I've realised that it isn't a problem with getenv(). In actual fact, the problem seems to be caused by startxwin.bat and xterm, which both seem to be

Re: Is this a known problem with getenv() ?

2009-09-24 Thread John Emmas
- Original Message - From: Matthias Andree For the records, the right way to do it is either: puts(getenv(PATH)); or printf(%s\n, getenv(PATH)); Oops, a simple typo. I'd used the correct printf syntax in the actual code, but mistyped it here. Just goes to show that even the most

Re: Is this a known problem with getenv() ?

2009-09-24 Thread John Emmas
Oops, another typo as Corinna suggested. :-( -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Is this a known problem with getenv() ?

2009-09-23 Thread John Emmas
I first started using cygwin almost exactly a year ago. Because of other pressures I put it on the back burner (about 6 months ago) at which point, it was current. However, I haven't upgraded for about 6 months. This morning I needed to compile an app that uses the C call, getenv(PATH); Let's

Re: Is this a known problem with getenv() ?

2009-09-23 Thread John Emmas
- Original Message - From: Corinna Vinschen I can't reproduce this behaviour. Maybe the cygcheck output as described here Problem reports: http://cygwin.com/problems.html would help to figure out what's wrong on your machine. Many

Re: Is this a known problem with getenv() ?

2009-09-23 Thread John Emmas
- Original Message - From: John Emmas I might just try experimenting with a very simple program and see if I still get the error I partially tracked down the problem, although I don't quite know how to solve it. If I write this simple console app:- #include stdio.h #include stdlib.h

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-16 Thread John Emmas
- Original Message - From: John Emmas john...@tiscali.co.uk One more thing Jon. I'm probably being ludicrously simplistic here - but to fix the resizing problem (not resizing until the user lets go of the mouse button) could there be a simple fix for this just by responding

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
Still haven't managed to run 'configure' successfully when trying to build xorg-server from source. I'm now getting a simple error relating to GLproto:- checking for GL... configure: error: Package requirements (glproto = 1.4.9 gl = 7.1.0) were not met: Requested 'glproto = 1.4.9' but

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - From: Jon TURNEY Nope, 1.4.9 is the latest (indeed, only) version in cygwin mirrors. http://cygwin.com/cgi-bin2/package-grep.cgi?grep=glproto 1.4.8 was only ever in cygwinports as far as I can tell. I suspect that the 'exciting and different' way that setup

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - From: Jon TURNEY videoproto isn't packaged as it doesn't do anything useful for us. You need to configure with --disable-xv xkbfile is provided by libxkbfile-devel Okay, I fixed those problems and the build appeared to go okay, following these instructions (for a

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - From: Jon TURNEY Subject: Re: X / gtk-x11 / flicker and other problems [+PATCH] I guess you need to either create that directory so it can write to it Done that - but now I'm getting a bit paranoid... it fixed the original problem but now when I try to launch

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - From: Jon TURNEY Thanks for being the guinea pig. I'll update the CG document to hopefully clarify the things which caused you problems. Thanks. One more thing Jon. I'm probably being ludicrously simplistic here - but to fix the resizing problem (not resizing

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-14 Thread John Emmas
Jon - I followed the instructions from that link and everything went well until I reached stage 4 ( ./autogen.sh -V ). At that stage I get this output:- autoreconf-2.61: Entering directory `.' autoreconf-2.61: configure.ac: not using Gettext autoreconf-2.61: running: aclocal autoreconf-2.61:

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas
- Original Message - From: Jon TURNEY jon.tur...@dronecode.org.uk Subject: Re: X / gtk-x11 / flicker and other problems [+PATCH] Bah! Now I've noticed the flickering again, so I have to fix it. Your cunning plan worked. :-) Thanks very much for that, Jon. I'll apply your patch at

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas
Oh BTW, I should have added:- One particular problem is that the xserver will only support twin monitors if they both have the same settings (resolution etc). Hmm... I thought this worked. The only restriction should be that the colour-depth of the monitors is the same... Sorry, I stand

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas
Jon - I just realised that I don't seem to have the source for X11 (which is presumably what I need before applying your patch). I've looked on my usual Cygwin mirror (ftp://mirrors.xmission.com) as well as looking in Cygwin-Ports (ftp://sourceware.org) but I couldn't see what I needed to

Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas
Thanks Jon Larry, I can see a package called libX11 : X.OrgX11 core library (source). Will that bring in all the source files I need or is there a bit more to it than that? John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: X / gtk-x11 / flicker and other problems

2009-02-05 Thread John Emmas
- Original Message - From: Jon TURNEY Subject: Re: X / gtk-x11 / flicker and other problems At the moment, -multiwindow mode always selects the GDI engine for reasons which are lost in the mists of time (rooted modes are able to use DirectDraw), so a GDI BitBlt is used to transfer the

Re: X / gtk-x11 / flicker and other problems

2009-02-04 Thread John Emmas
May I say in its defence (after a bit more experimenting) that when comparing Cygwin-X/gtk-x11 against gtk-win32, X's text handling is noticeably superior at high resolutions (at least, on my system). With my monitor set to 1600x1200, Cygwin-X's text is still crisp and clear - whereas

X / gtk-x11 / flicker and other problems

2009-02-03 Thread John Emmas
I've been 'tinkering around' with Cygwin for a few months now. Not doing anything serious with it - just finding out about it. And in the main, I like it. The only disappointment (sorry guys) is 'X11' (or maybe the problems are with gtk-x11). Either way, I've been hugely disappointed at how

Re: X / gtk-x11 / flicker and other problems

2009-02-03 Thread John Emmas
- Original Message - From: Jon TURNEY Subject: Re: X / gtk-x11 / flicker and other problems btw, I use -multiwindow mode all the time, but I've obviously trained myself not to see any of these artefacts lol - fair point..! But I must admit, having seen how the graphics performance

Run a Cygwin (X) app from a DOS command line

2008-12-31 Thread John Emmas
Is it possible to run a Cygwin GUI app (i.e. requiring 'X') from a DOS terminal, as opposed to a bash terminal? After starting the X server I tried cygstart path/to/my/program but nothing happened. The app runs fine if I start it from a bash terminal. John -- Unsubscribe info:

Re: Run a Cygwin (X) app from a DOS command line

2008-12-31 Thread John Emmas
- Original Message - From: Larry Hall (Cygwin) Subject: Re: Run a Cygwin (X) app from a DOS command line You also need Cygwin's installation path in your Windows PATH variable. Thanks Larry. I already had that set up (C:\cygwin\bin) as well as C:\cygwin\lib but I can still only

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: Ralph Hempel Sent: 24 December 2008 19:47 Subject: Re: Cygwin struct alignment John, if I understand you correctly, you are running up against a classic problem in embedded systems programming. Namely that you cannot assume anything about structure packing,

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: Brian Ford Subject: Re: Cygwin struct alignment Google attribute packed as I don't remember the exact syntax, but I fail to see how this actually helps your cause. Thanks Brian. It should help me because it will hopefully guarantee that structures of a

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
Christopher / Reini - thanks for your tips. - Original Message - From: Reini Urban Which Cygwin compiler? I have about a dozen compilers in my cygwin environment. If you mean gcc-core-3.4.4-3 or gcc-mingw-core-3.4.4-20050522-1 please say so. Oops sorry, I did miss out that

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
Thanks Ralph, I haven't forgotten your link. My initial thoughts were that it seemed very impressive but there's a lot to take in. I'm intending to take a good hard look at it over the new year period John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: Christopher Faylor I still can't shake the feeling that you're attempting to do this with trial and error and googling rather than reading the gcc documentation. Reading the documentation?? That's cheating, isn't it? ;-)) -- Unsubscribe info:

Cygwin struct alignment

2008-12-24 Thread John Emmas
A program I'm building connects to a (Cygwin) server and receives the address of a shared memory segment. The memory contains an array of struct and you probably know that Microsoft (by default) aligns structure members on 8-byte boundaries (sometimes called 8-byte packing). As things stand,

Re: Cygwin struct alignment

2008-12-24 Thread John Emmas
- Original Message - From: John Emmas Subject: Cygwin struct alignment I'd assumed that Cygwin probably wouldn't use structure packing (only because I don't think Linux does). But I only get meaningful data with 8-byte packing. It looks as if Cygwin's compiler must default to 8-byte

Re: Cygwin struct alignment

2008-12-24 Thread John Emmas
Thanks Ralph, I'm still experimenting at the moment but that was very helpful. John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Named pipes (blocking problem)

2008-12-22 Thread John Emmas
I'm trying to build a program that implements inter-process communication using named pipes. Because the code needs to also work under Windows (MSVC++) it uses CreateNamedPipe(...) to create the pipes (described here):- http://msdn.microsoft.com/en-us/library/aa365150(VS.85).aspx If I

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
Many thanks guys - the blocking pipes are being created with PIPE_WAIT and without FILE_FLAG_OVERLAPPED and they successfully block if I build under VC++ but not when I build under Cygwin. I must confess, I don't understand the subtle difference between asynchronous operation and nonblocking

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
- Original Message - From: Christopher Faylor Sent: 22 December 2008 18:41 Subject: Re: Named pipes (blocking problem) Cygwin tries to emulate linux/POSIX. CreateNamedPipe is not a linux/POSIX function. Cygwin does not implement Windows functions. So, no, Cygwin does not implement

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
Thanks for that link Christopher. It was very helpful. - Original Message - From: Christopher Faylor Subject: Re: Named pipes (blocking problem) Why are you duplicating the subject in the body of the message? I know this is something that irks you and you often complain about it

Re: Named pipes (blocking problem)

2008-12-22 Thread John Emmas
- Original Message - From: Larry Hall (Cygwin) Subject: Re: Named pipes (blocking problem) I'm going to have to change my email client so I have a reason to take advantage of this great feature you've added! ;-) Glad to be of service..! ;-) -- Unsubscribe info:

Re: GTK+ externals are unresolved

2008-12-15 Thread John Emmas
- Original Message - From: M.O.D. Subject: GTK+ externals are unresolved Why are the GTK externals going unresolved on Cygwin? Thanks, Ollie $ cc `pkg-config --cflags --libs gtk+-2.0` murg.c -o murg

Re: cygwin and cygwin-xfree lists to merge

2008-12-11 Thread John Emmas
- Original Message - From: Yaakov (Cygwin/X) Subject: Re: cygwin and cygwin-xfree lists to merge That may have been true until November 12. But in the last four weeks since X11R7.4, there have been ~500 messages on cygwin-xfree, including 30 announcements (including 3 xserver

Re: cygwin and cygwin-xfree lists to merge

2008-12-11 Thread John Emmas
- Original Message - From: Yaakov (Cygwin/X) Subject: Re: cygwin and cygwin-xfree lists to merge That may have been true until November 12. But in the last four weeks since X11R7.4, there have been ~500 messages on cygwin-xfree, including 30 announcements (including 3 xserver

gdb is sooooo slow - is that normal?

2008-12-07 Thread John Emmas
I use an IDE called CodeBlocks to build and debug my Cygwin projects. The builds usually go okay but debugging is horrendously slow. CodeBlocks has a debugger output window which typically shows output like this (I assume this is either what's being sent to gdb or what's getting returned) -

Installed packages info (and backups)

2008-12-05 Thread John Emmas
Does anyone know where cygwin stores its information about which packages are currently installed? e.g. is it in the Windows registry? Is it on the main cygwin drive or is it on the drive that contains my (local) package repository? Or does setup.exe work it all out at run time? Here's my

Socket programming with Cygwin

2008-12-03 Thread John Emmas
Hi guys, For the past few weeks I've been struggling to compile a program that uses sockets. Actually, the program compiles and builds okay but the client can never connect to the server. This morning I found this simple example that implements client/server socket comms in just a few modules

Re: Socket programming with Cygwin

2008-12-03 Thread John Emmas
- Original Message - From: Brian Dessent Subject: Re: Socket programming with Cygwin The call fails because addr is junk, because the demo passed localhost to inet_pton. According to the docs, this function only takes IP addresses. If you change simple_client_main.cpp to use an IP

qt4-devel

2008-11-29 Thread John Emmas
Hi - I've already asked this question at cygwin-ports but the question is also relevant to my normal cygwin installer (setup.exe) so maybe someone here can shed some light on it. Basically, I need to install qt4-devel but it isn't listed when I run setup.exe (even though qt3-devel is listed and

Re: qt4-devel

2008-11-29 Thread John Emmas
Please ignore. After a lot of persistence I eventually found this in cygwin-ports. John - Original Message - From: John Emmas [EMAIL PROTECTED] To: cygwin@cygwin.com Sent: 29 November 2008 09:41 Subject: qt4-devel Hi - I've already asked this question at cygwin-ports

Re: [OT] Re: Opening a (cygwin-ised) DLL

2008-11-25 Thread John Emmas
- Original Message - Sent: 24 November 2008 18:56 Subject: Re: [OT] Re: Opening a (cygwin-ised) DLL Yaakov (Cygwin Ports) wrote: kernel32 is added by default because libcygwin.a depends on it. If you pass -mwindows to gcc during linking, then gdi32 is added as well. From: Brian

LD_LIBRARY_PATH

2008-11-25 Thread John Emmas
When I compile build for my Linux installation, library files and shared objects go to /usr/lib/ If I then run an executable (from /usr/bin/) it will automatically find the shared objects because it expects them to be in /usr/lib/. This isn't happening for Cygwin and I'm finding that I need to

Re: LD_LIBRARY_PATH

2008-11-25 Thread John Emmas
- Original Message - From: Corinna Vinschen Sent: 25 November 2008 10:43 Subject: Re: LD_LIBRARY_PATH $PATH is what you want and if you examine /bin resp. /usr/bin, you see that Cygwin puts all shared libs there for the above reason. /lib resp. /usr/lib only contain the static libs

Opening a (cygwin-ised) DLL

2008-11-24 Thread John Emmas
Suppose I'm building a Linux app under Cygwin and that app builds an executable and a DLL. At run time, what would be the preferred method for the executable to open the DLL under Cygwin - LoadLibrary() or dlopen() ? I'm assuming that dlopen() is better for portability - but given that the DLL

Re: Opening a (cygwin-ised) DLL

2008-11-24 Thread John Emmas
Thanks Eric. That confirms my gut feeling but I just wanted to be sure :-) John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

[OT] Re: Opening a (cygwin-ised) DLL

2008-11-24 Thread John Emmas
- Original Message - From: John Emmas Sent: 24 November 2008 14:01 Subject: Re: Opening a (cygwin-ised) DLL Thanks Eric. That confirms my gut feeling but I just wanted to be sure :-) John Oops, I meant to ask another question (almost a variation on the same theme). Does Cygwin

Re: pthread_t

2008-11-23 Thread John Emmas
- Original Message - From: Vaclav Haisman Sent: 23 November 2008 11:05 Subject: Re: pthread_t The program is wrong. The pthread_t type is opaque. You should not expect anything. [...] The only header that you should use to get pthread_t type is pthread.h. Thanks Vaclav, you're

pthread_t

2008-11-23 Thread John Emmas
I'm trying to compile a program in which pthread_t is expected to be typedef long unsigned int pthread_t; the program builds fine under Linux but when I try to compile under Cygwin I see this error:- conflicting declaration 'typedef long unsigned int pthread_t' pthread_t has a previous

Re: pthread_t

2008-11-23 Thread John Emmas
- Original Message - From: John Emmas Sent: 23 November 2008 12:12 Subject: Re: pthread_t this turned out to be due to the fact that the program is expecting 'pthread_t' and 'pthread_key_t' to be equivalent. Oops - I gave you duff information. in fact, the program had (wrongly

Using POSIX_SHM

2008-11-12 Thread John Emmas
A project I'm working on is available for both Linux and Windows. The Linux version uses a preprocessor directive called USE_POSIX_SHM which (I think) configures it to use POSIX's shared memory model. The project can also be built for Windows in which case, USE_POSX_SHM isn't defined. I just

Re: Using POSIX_SHM

2008-11-12 Thread John Emmas
- Original Message - From: Corinna Vinschen Sent: 12 November 2008 10:15 Subject: Re: Using POSIX_SHM Not yet. POSIX shared memory isn't available in the current Cygwin release 1.5.25. It will be available in the next major version 1.7.0. It doesn't exactly look like we will be able

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Larry Hall (Cygwin) Sent: 30 October 2008 22:23 Subject: Re: cygwin g++ strictness This is gcc/g++ question, not a Cygwin one. Please find an appropriate forum to ask this question if you can't find it in the available documentation. - Original

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: John Emmas Sent: 31 October 2008 08:21 Subject: Re: cygwin g++ strictness adding the compiler flag -fpermissive seems to have solved the problem. - Original Message - From: Václav Haisman Sent: 31 October 2008 10:07 Subject: Re: cygwin g

Re: canonicalize_file_name

2008-10-31 Thread John Emmas
Thanks for that advice, Corinna Mark. John -- 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: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Václav Haisman Sent: 31 October 2008 11:14 Subject: Re: cygwin g++ strictness Check what type is gint really is. I suspect the gint will be typedef for long. Long and int are two different types even though they are both 32bits wide on 32bit platforms.

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Dave Korn Sent: 31 October 2008 12:22 Subject: RE: cygwin g++ strictness You are creating temporaries here. If AddTwoInts modifies either of the int references it has, that will only change the temporaries; x and y will /not/ be modified. You'll be

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Václav Haisman Sent: 31 October 2008 11:54 Subject: Re: cygwin g++ strictness Try getting preprocessed source to see where int32_t get defined to anything else than typedef of int. I quite like this idea because I can see that this situation is going to

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Václav Haisman Sent: 31 October 2008 12:56 Subject: Re: cygwin g++ strictness I mean the -save-temps switch of GCC. Wow - that was really useful. In fact I tracked down the problem..! On Cygwin, '/usr/include/stdint.h' typedefs int32_t as long. The same

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
Thanks for everyone's help with this. I'm grateful for how quickly we tracked it down. I think I mentioned earlier that this is someone else's code and would involve me in changing dozens (if not hundreds) of modules. Casting seemed like the best workaround but as I've just found out from Dave,

Re: cygwin g++ strictness

2008-10-31 Thread John Emmas
- Original Message - From: Peter Rosin Sent: 31 October 2008 15:19 Subject: Re: cygwin g++ strictness I some projects I'm involved with there's quite a bit of the following: [...] int.c:6: warning: int format, int32_t arg (arg 2) I must confess, this has been a source of irritation

canonicalize_file_name

2008-10-30 Thread John Emmas
On my Linux boxes, /usr/include/stdlib.h declares a function called 'canonicalize_file_name()'. AFAICT its purpose is to return the absolute path to a file (or folder) after resolving any symbolic links in the supplied path. Cygwin's stdlib.h doesn't contain this function. I just wondered

cygwin g++ strictness

2008-10-30 Thread John Emmas
When compiling things under cygwin I'm noticing that the compiler is very strict about things like typedef'd variables. For example if 'gint' is typedef'd as int and 'int32' is also typedef'd as int I can't pass an int32 to a function that requires gint. This means I'm having to put dozens of

Re: canonicalize_file_name

2008-10-30 Thread John Emmas
Thanks guys. According to something I read on the internet this afternoon Calling 'canonicalize_file_name(path)' is equivalent to calling 'realpath(path, NULL)' By a stroke of luck, 'realpath()' is defined in cygwin/stdlib.h so maybe I should use that? John -- Unsubscribe info:

User name problem.

2008-10-27 Thread John Emmas
I'm trying to unsubscribe. First I tried the automated service that's found in the FAQ's:- http://cygwin.com/ml/#faq but it keeps telling me I've supplied an invalid user name. I've tried every user name that I normally tend to use for mailing lists but it won't accept any of them. Next I

User name problem

2008-10-27 Thread John Emmas
I'm trying to unsubscribe. First I tried the automated service that's found in the FAQ's:- http://cygwin.com/ml/#faq but it keeps telling me I've supplied an invalid user name. I've tried every user name that I normally tend to use for mailing lists but it won't accept any of them. Next I

Re: User name problem

2008-10-27 Thread John Emmas
- Original Message - From: John Emmas Sent: 27 October 2008 12:58 Subject: User name problem What else can I do to unsubscribe (or how can I find out my user name)? Hmmm. to say I'm confused is an understatement. Not only has the unsubscribe page failed to unsubscribe me - it's

Re: User name problem

2008-10-27 Thread John Emmas
Thanks Dave, It looks like I've somehow managed to get subscribed under 2 different names. I can't think how that happened. John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: User name problem

2008-10-27 Thread John Emmas
- Original Message - From: John Emmas Sent: 27 October 2008 13:15 Subject: Re: User name problem Thanks Dave, It looks like I've somehow managed to get subscribed under 2 different names. I can't think how that happened. Oops, no - I was being stupid. Where it says mailing list

Linker Search Directories

2008-10-11 Thread John Emmas
I hope it's okay to start a new thread about this because the previous thread had veered off-topic. I'm trying to build a project (using make) that needs python. Python's link library is in /lib/python2.5/config/ but unfortunately, 'make' doesn't seem to be aware of this and fails with the

Re: Linker Search Directories

2008-10-11 Thread John Emmas
Thanks Brian, that looks as though it's worked. Just to check that I've understood this - here's a problem that I'll be facing in a little while I'm about to build another library called liblo. This library uses various functions with names like getaddrinfo(), freeaddrinfo() etc (all of

Circular dependency problem

2008-10-11 Thread John Emmas
I'm trying to build a C++ project involving around 20 branches, the majority of whose targets are shared library objects (DLLs). Two of the branches seem to have circular dependencies (in other words, each one relies on functions contained in the other one). If I was programming in Microsoft

Re: Linker Search Directories

2008-10-11 Thread John Emmas
- Original Message - From: Brian Dessent Subject: Re: Linker Search Directories John Emmas wrote: I'm about to build another library called liblo. This library uses various functions with names like getaddrinfo(), freeaddrinfo() etc (all of which are declared in /usr/include

Can anyone help please, with syntax ?

2008-10-10 Thread John Emmas
I'm trying to build a library called aubio which requires the fftw3 math package. I built and installed fftw3 yesterday. However, when I try to build aubio, the ./configure stage fails, saying that fftw3 can't be found. The config log says:- Package fftw3f was not found in the pkg-config

[OT] Re: Can anyone help please, with syntax ?

2008-10-10 Thread John Emmas
- Original Message - From: Brian Dessent Subject: Re: Can anyone help please, with syntax ? /usr/lib and /lib are the same directory. http://cygwin.com/faq/faq-nochunks.html#faq.using.directory-structure Woo - this gets more fascinating as the days progress. I'm now installing

Re: Can anyone help please, with syntax ?

2008-10-10 Thread John Emmas
- Original Message - From: Marco Atzeri Subject: Re: Can anyone help please, with syntax ? why have you not installed : libfftw3-devel-3.1.2-2 libfftw3_3-3.1.2-2 ? it should be much simpler that rebuilding fftw3 from scratch. Oh, how embarrassing..! I've been using cygwin-ports

[OT] Re: Can anyone help please, with syntax ?

2008-10-10 Thread John Emmas
Sorry to keep asking dumb questions - but now that I've installed fftw3, I can get aubio past the stage where it was previously complaining. However, aubio's 'make' is now bombing out, saying:- cannot find -lpython2.5 collect2: ld returned 1 exit status AFAICT I do have pyhton2.5 but it's a

Re: [OT] Re: Can anyone help please, with syntax ?

2008-10-10 Thread John Emmas
- Original Message - From: Jason Tishler Subject: Re: [OT] Re: Can anyone help please, with syntax ? You need to get make to add the following: -L /usr/lib/python2.5/config Thanks Jason - presumably I'd need to do this either by passing a parameter to 'make' or by editing the

__CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
I'm having a few problems with '_off64_t' not being recognised as a valid type. For example, in expressions such as:- typedef _off64_t off_t; which appears in /usr/include/cygwin/types.h Is __CYGWIN_USE_BIG_TYPES__ only appropriate for 64-bit platforms? In other words, should I #define

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Eric Blake Subject: Re: __CYGWIN_USE_BIG_TYPES__ Please show us a reproducible test case (ie. self-contained C file with cruft removed that triggered the message, and not just the one-line That reads poorly. I meant: a self-contained C file that triggers

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Christopher Faylor Subject: Re: __CYGWIN_USE_BIG_TYPES__ gcc -dDI -E is probably your friend to help you track down who is including what. Thanks Christopher. I'll try that too. BTW, am I right in thinking that Cygwin's gcc is still at revision 3.4.4?

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Eric Blake Subject: Re: __CYGWIN_USE_BIG_TYPES__ Please show us a reproducible test case (ie. self-contained C file with cruft removed that triggered the message, and not just the one-line snippet of the error message). If it is something that compiles on

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: __CYGWIN_USE_BIG_TYPES__ Nope. Don't define it any way at all, it's private. [...] #include sys/types.h Thanks Dave, That got rid of the _off64_t problem but by some route which I haven't yet worked out,

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: __CYGWIN_USE_BIG_TYPES__ ... you forgot to show us the compiler command-line you're using. Sorry, I realised almost as soon as I'd posted. Here's what gets sent to g++ (I've split all the elements onto different line just to improve

Re: __CYGWIN_USE_BIG_TYPES__

2008-10-09 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: __CYGWIN_USE_BIG_TYPES__ -IC:/cygwin/usr/include/mingw Do not attempt to include mingw headers if you are not building a mingw program! You've cracked it again Dave..! It was the mingw directory that was causing the problem. I

liblrdf

2008-10-08 Thread John Emmas
A couple of weeks ago when I first installed cygwin, I'm sure I saw (somewhere in the setup program) that the library 'lrdf' was available for installation. I can't remember the exact description - it might have been 'rdf' or 'librdf' maybe. Anyway suddenly, now that I need it, I can't seem to

Re: liblrdf

2008-10-08 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: liblrdf John Emmas wrote on 08 October 2008 13:37: Dave, you must be psychic. I knew you were going to say that. /rimshot LOL - sadly, my elation proved to be short-lived. What was actually in cygwin-ports was l i b r d f

Re: liblrdf

2008-10-08 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: liblrdf You should probably be able to figure this out for yourself using the package list and search facility at http://cygwin.com/packages/ Either the list will trigger your memory, or you can try searching for a few variants or

Re: liblrdf

2008-10-08 Thread John Emmas
- Original Message - From: Dave Korn Subject: RE: liblrdf Don't forget to give the ports repo a check as well. Dave, you must be psychic. That's exactly where I saw it. Unfortunately, I'm now having major problems with 'sed' but I'll flag them up on cygwin-ports. Thanks again

Re: [OT] RE: liblrdf

2008-10-08 Thread John Emmas
- Original Message - From: Cliff Hones Subject: Re: [OT] RE: liblrdf And to add to the fun, John's host has the wrong timezone set (GMT not BST) so his posts are listed by my mail client *after* the replies from Dave. Spooky...! :-) -- Unsubscribe info:

Re: [OT] RE: Cygwin bash

2008-10-07 Thread John Emmas
Thanks guys. It's already a lot better than it was, only this morning!! John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Cygwin bash

2008-10-07 Thread John Emmas
- Original Message - From: Greg Chicares Subject: Re: Cygwin bash You can configure size and colors in the Properties dialog. Thanks for the tip, Greg. Just setting a bigger font has improved matters enormously..! Also, I discovered along the way that even the existing, DOS-like

  1   2   >