Re: [ITP] Installation Profiles packages
(Sorry for the late post, I was trying to get the news server to take it. guess that isn't an option for this list?) This would be particularly nice if setup.exe were modified so that on an initial installation, it showed a profile selection page first, instead of the package selection page. The profile selection page would let the user choose one or more profiles to install; the packages selected would be a union of the dependencies from the profiles. There could be a check box for advanced package selection that the user could select if they wanted to go to the regular package selection page. Good idea. In addition: user picks profiles and advanced, the package selection page would be setup with the packages that the picked profiles use. Now for the fun: If they hit advanced alter the current package selections, hit Back the package list should reflect what profiles are still fully supported. For instance: pick WebServer + advanced, next, unselect php, back - WebServer should no longer be selected. more fun: WebServer is 1/2 selected - gray or something. Better fun: 15 of 16 packages selected. Roll the Profile and Advanced into one: Profiles items in the package selection tree, and under it are all the related packages. The same package can be in more than one Profile, and the bottom of the list would be the All profile. Re-running setup.exe (for updates, as opposed to an installation) would skip the profile selection page and go straight to the package selection page. Not so good. I think it should always start with the profile page, defaulting to the currently selected packages, just like if they had hit Back. ^Carl
Regrouping on installation profile idea
Have we converged on the naming for Igor's profile idea? I seem to be seeing a lot of people essentially discussing GUI design whereas Igor had an idea for a lightweight implementation which required no changes to setup.exe. While there may be other improvements to the setup.exe GUI, Igor's idea is something that can be implemented quickly and I think it will help. So, do we have a list of potential ways to label these profiles? I personally think that the term profile isn't intuitive enough. I think that something like either installation type or just installation might be clearer. Has anyone been collecting the list of names that have been proposed? cgf
Attn: xemacs maintainer: xemacs fails after upgrading postgresql to 8.0.4-1
After updating my installed packages to the current versions with setup.exe xemacs 21.4.17-1 started to complain about a missing pq.dll in my path. Downgrading postgresql to 7.4.5-1 fixes this problem, but that is obviously not a permanent solution. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [Patch] setup: site.cc: dot[3] may not be valid.
Op Tue, 25 Oct 2005 01:42:56 +0200 (MET DST) schreef Bas van Gompel in n2m-g.djjiq9.3vsgglv.1atbuzzy-box.bavag: [...] : * site.cc (site_list_type::init): Avoid reading past end of : string. Ping. [...] L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | // really is | and false bits entirely.| mail for ) | | //a 72 by 4 +---+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe s.u(z)\1.as.| me. 4^re
Re: [Patch] Setup: Display mirrors sorted by location
Igor Pechtchanski [EMAIL PROTECTED] wrote: On Thu, 10 Nov 2005, Rajesh Balakrishnan wrote: Ok, here goes. First, thanks for doing this. However, if this is to be done at all, let's do it right. Thanks Igor for your comments and I agree with it. I was just trying to display the location info, without expecting the user to sort it. Notes on the changes * The earlier setup sorts sites based on url. This patch sorts on area, location too. That's good, but the sort order should be user-selectable, not unconditional as you have it. In fact, why are you still using the ListBox widget? Why not a ListView (with sortable columns)? MSDN has some sample code for this... OK, shall look at ListView, am a novice at UI :-) * area, location are new members of the class. * The 'key' for site sorting is area + location + url Again, this is a bad default. We should keep the current sort order, but Sorting by URL isn't a good default. User-selectable sort order is of course better. allow sorting by other fields. What I especially don't like is the Sorting order is comment in operator() -- if it belongs anywhere at all, it should precede the assignment to key in site_list_type::init(). Oh, and the location info should *follow* the URL, not precede it. * Two sites are same if the URLs are same (area doesn't matter). last-mirror doesn't store the area info. Huh? Will we ever have this situation? A couple of reasons for this: * last-mirror only has the URL and no location. So when the find() is done on the all_site_list (mirrors.lst), they should be treated as the same site, despite lacking location info. A similar situation would be when the user adds an existing site. * I think that mirrors.lst actually has a duplicate entry (for Australia?) * I've added String.find(char, pos) method in String++. string.find(c, pos) handles negative pos better. substr() is better too. Why not also add String.split(char) that returns an array or a vector of Strings? That would make your parseSite() much simpler. Yes, that will be better. And two more comments: 1) The above isn't a proper ChangeLog. 2) Next time, please attach the patch, rather than including it inline. Thanks Igor, shall follow that for future patches. Regards, rb __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Query
A message from [EMAIL PROTECTED] has been BLOCKED since the SIZE was too Large. Contact [EMAIL PROTECTED] for further Information. Email Admin Future Software -- 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/
two cygwin X sessions at the same time
I would like to run two cygwin X sessions at the same time. In addition, they will have the same look and feel as using startx. $ startx ... XWin was started with the following command line: X :0 -multiwindow -clipboard ... These commands will start two cygwin X sessions but having different look and feel: X :0 -query mycomputer X :1 -query mycomputer This command will get an error: X :0 -query mycomputer -multiwindow -clipboard __ Find your next car at http://autos.yahoo.ca -- 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/
src/winsup/w32api ChangeLog include/wingdi.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-11-12 01:10:12 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: wingdi.h Log message: * include/wingdi.h (GetICMProfile{AW}): Correct prototype. Thanks to: Paul J Lucas Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.696r2=1.697 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/wingdi.h.diff?cvsroot=srcr1=1.44r2=1.45
Sony rootkit
I was wondering if cygwin can see the $sys$ files after the sony rootkit has corrupted their computer? ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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: Sony rootkit
On Nov 11 08:12, tom potts wrote: I was wondering if cygwin can see the $sys$ files after the sony rootkit has corrupted their computer? Since the $sys$ prefix is handled on a device driver level, it's very unlikely. You will understand that I don't want to install the Sony rootkit to test this. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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: Hang with 20051018 (3rd version) snapshot while building OOo
On Nov 7 11:18, Volker Quetschke wrote: (snip) There's a new snapshot with even more debugging available now. Here is the new strace: http://www.scytek.de/tc5_20051104.tar.bz2 That one showed that cygwin was hanging in a windows function that shouldn't really hang. I can't explain why but the new snapshot avoids calling that function so much. Please give it a try. If it still hangs an strace will, as always, be interesting. Unfortunately it still does hang. See here: http://www.scytek.de/tc6_20051106.tar.bz2 for details. I don't know how long every try takes, but would you be able to repeat it a couple of times so that we can see if it always hangs in the same spot? You can reproduce this on more than one machine, right? Otherwise there would be a chance of a corrupted system ... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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/
shutdown 1.7.1 problem on windows 2000
hello my problem is that when i launch it with shutdown -f -s 15 then it correctly terminates the windows session and everything but doesn't switch off computer, it will stay with message that it is safe to turn off computer however when i shutdown windows manually (or for example when i set winrar that after compression it should poweroff) then computer is really switched off. so i am sure that computer and system actually support it. i tried to launch this shutdown.exe as administrator but result was the same. if you need any more details just let me know thanks in advance Cygwin Configuration Diagnostics Current System Time: Fri Nov 11 12:38:54 2005 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\WINNT\system32 C:\WINNT C:\WINNT\system32\WBEM C:\Program Files\Sybase\SQL Anywhere 7\win32 C:\Program Files\Sybase\Shared\Sybase Central 4.0\java C:\Program Files\Sybase\SQL Anywhere 8\drivers c:\bin c:\cygnus\CYGWIN~1\H-I586~1\bin c:\Program Files\PRC-Tools\H-i586-cygwin32\bin\ C:\MSSQL7\BINN c:\cygwin\bin\ c:\cygwin\usr\X11R6\bin\ C:\Program Files\Sybase\SQL Anywhere 9\drivers C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32 C:\Program Files\Sybase\SQL Anywhere 9\win32 C:\Program Files\Sybase\Shared\win32 C:\Program Files\Subversion\bin C:\Program Files\Executive Software\DiskeeperLite\ Output from C:\cygwin\bin\id.exe (nontsec) UID: 1000(seligam) GID: 513(None) 0(root) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1000(seligam) GID: 513(None) 0(root) 544(Administrators) 545(Users) SysDir: C:\WINNT\system32 WinDir: C:\WINNT Path = `C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Program Files\Sybase\SQL Anywhere 7\win32;C:\Program Files\Sybase\Shared\Sybase Central 4.0\java;C:\Program Files\Sybase\SQL Anywhere 8\drivers;c:\bin;c:\cygnus\CYGWIN~1\H-I586~1\bin;c:\Program Files\PRC-Tools\H-i586-cygwin32\bin\;C:\MSSQL7\BINN;c:\cygwin\bin\;c:\cygwin\usr\X11R6\bin\;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Subversion\bin;C:\Program Files\Executive Software\DiskeeperLite\' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\seligam.VISICOM-BA\Application Data' APR_ICONV_PATH = `C:\Program Files\Subversion\iconv' ASANY7 = `C:\Program Files\Sybase\SQL Anywhere 7' ASANY9 = `C:\Program Files\Sybase\SQL Anywhere 9' ASANYSH9 = `C:\Program Files\Sybase\Shared' COMMANDER_PATH = `C:\Program Files\totalcmd' CommonProgramFiles = `C:\Program Files\Common Files' COMPUTERNAME = `WS-P04' ComSpec = `C:\WINNT\system32\cmd.exe' DiskeeperIcon = `C:\Program Files\Executive Software\DiskeeperLite\' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\seligam.VISICOM-BA' LOGONSERVER = `\\KENNY' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' Os2LibPath = `C:\WINNT\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0103' ProgramFiles = `C:\Program Files' PROMPT = `$P$G' SystemDrive = `C:' SystemRoot = `C:\WINNT' TEMP = `C:\DOCUME~1\SELIGA~1.VIS\LOCALS~1\Temp' TMP = `C:\DOCUME~1\SELIGA~1.VIS\LOCALS~1\Temp' USERDNSDOMAIN = `visicom-ba.in.visicom.sk' USERDOMAIN = `VISICOM-BA' USERNAME = `seligam' USERPROFILE = `C:\Documents and Settings\seligam.VISICOM-BA' VSCOMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\' windir = `C:\WINNT' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a
Re: shutdown 1.7.1 problem on windows 2000
On Nov 11 12:42, Selmi Luko? wrote: hello my problem is that when i launch it with shutdown -f -s 15 then it correctly terminates the windows session and everything but doesn't switch off computer, it will stay with message that it is safe to turn off computer http://cygwin.com/ml/cygwin-announce/2005-04/msg00034.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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: boost program_options library with cygwin
On Thu, Nov 10, 2005 at 10:25:40AM -0800, Brian Dessent wrote: Thomas Porschberg wrote: because libcppunit was built as cygwin-library. I resolved the problem by compiling the library from sources with -mno-cygwin flag. And then I used this library for both, my application cygwin-build and my application mingw-build. If I understand you right, this is at least dangerous. I have Yes, it's dangerous, and I'm surprised it works. Basically, you have to treat Cygwin and mingw as two completely separate platforms. You'll have to compile two versions of your code and every library that it links with. In the case of the Cygwin version of the library, you can use the copy installed by setup.exe from the Cygwin mirrors. But it is not a goal of the Cygwin project to provide packaged versions of mingw libraries (except for a couple of common cases like zlib) so don't expect to use any of the libraries found on a Cygwin mirror when compiling for mingw. You'll have to do this yourself, or get them from the mingw site. To do this sanely under Cygwin, it seems to me like you could do something like the following (untested) for each package/library: mkdir cygwin-build cd cygwin-build CC=gcc ../configure --prefix=/usr/local/cygwin \ CFLAGS=-I/usr/local/cygwin/include \ LDFLAGS=-L/usr/local/cygwin/lib # etc.. make make install cd .. mkdir mingw-build cd mingw-build CC=gcc -mno-cygwin ../configure --prefix=/usr/local/mingw \ CFLAGS=-I/usr/local/mingw/include \ LDFLAGS=-L/usr/local/mingw/lib # etc.. make make install This keeps the separation between installed packages such that everything installed under /usr/local/cygwin is Cygwin, and everything installed under /usr/local/mingw is mingw. The reason for not using just /usr/local is that the compiler picks up libraries installed there by default, so you wouldn't want it picking up a cygwin lib when compiling in mingw mode, and so on. You could also do it by using mounts. Mount one /usr/local, do a Cygwin compile and install of all packages, then unmount and remount a different /usr/local and redo everything in mingw mode. However you handle it, you have to keep this separation. I would not try to mix them under the same --prefix unless you really know what you're doing. You can even just forget about using -mno-cygwin and have an install of Cygwin and an install of mingw+MSYS, and treat them as if they have no idea about each other, just as you would if you were supporting e.g. Cygwin and MS VC++. Also, it's important to realize that the -mno-cygwin flag is provided as a convenience to turn the Cygwin build environment into mingw mode, but the mingw project is an independant effort from Cygwin. Porting mingw applications is not really on-topic for this list. If you have questions about compiling with mingw you should ask on their mailing list. Thanks for your guideline. It made things much more clear to me. Thomas -- -- 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/
Binary file write has CRLF inserted
Hi, I have used cygwin to build the GCC ARM tools and libraries. I am using the cygwin1.dll for running my application on windows. But file write in my application program has problem. The code is { FILE *fp; fp = fopen(c:\\hi.yuv, wb); fwrite(OutputArray, 0x14E200, 1, fp); fclose(fp); } All Line Feeds(0x0A) are replaced by CRLF( 0x0D 0x0A) when written to a file though I am opening the file in binary mode. Is there a method to write the data in the buffer Outputarray as it is. Kindly help Regards Ralf _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- 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: Binary file write has CRLF inserted
I have used cygwin to build the GCC ARM tools and libraries. I am using the cygwin1.dll for running my application on windows. fp = fopen(c:\\hi.yuv, wb); There's your problem. Use POSIX names if you want POSIX behavior. Try fopen(/cygdrive/c/hi.yuv) instead. -- Eric Blake -- 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: Hang with 20051018 (3rd version) snapshot while building OOo
(snip) Unfortunately it still does hang. See here: http://www.scytek.de/tc6_20051106.tar.bz2 for details. It's still hanging in a multimedia timer call, which is interesting. The latest snapshot comments out the part of the code which sets the timer resolution, on the off chance that setting it to 1ms is what is causing the problem. It's a long shot but please try out the latest snapshot. Testing will happen soon ... Have you ever mentioned what kind of system this is, btw? Is it hyperthreaded, SMP, what clock speed, how much memory...? It is a system with 1.8GHz, no hyperthreading, no smp, 512Mb. The only abnormal thing we could find is that it is running in a Terminal Service session. On *that* system it is pretty easy to reproduce the hang. It hangs when you move another window over the one that is currently building OOo. The build window is a cygwin bash prompt started with cygwin.bat. I just asked in the OOo development ml who else can reproduce the problem. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Hard links on a UDF file system
I have a removable disc (IOMEGA REV), and I want to use cygwin to take backups using cp -l and rsync as per http://www.mikerubel.org/computers/rsync_snapshots/ This requires hard links to work, which they do on the NTFS partitions, but the IOMEGA has a UDF file system and they don't seem to work there (revealed by ls -i). I believe UDF supports hard links (http://www.k-par.com/pdfs/resources/whitepaper/DVDWhitePaper.pdf), so maybe its just Cygwin that does not allow them? Can anyone help? Some additional background: My first thought was to reformat the IOMEGA to NTFS but I found I could not. IOMEGA's web site says the following: * *Why does the Iomega REV drive use the UDF file system for PCs?* The UDF file system is the file system of choice as it overcomes many of the limitations of other popular file systems. The FAT32 file system has a 30GB format limit and a 4GB file size limitation. The NTFS file system does not support removable media. UDF also allows Iomega REV disks to use advanced ECC error correction on its media. *I am not sure if that claim is true, but I have not been able to find a way to format the disc to NTFS. -- 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 NFSD 2.3.3
[ redirecting to the cygwin mailing list... ] I've just been trying to get Cygwin NFSD working on a WinXP x64 workstation using Cygwin version 1.5.18(0.132/4/2). I have nearly got a working setup, but I have run into a particular problem. The problem involves running /bin/pwd on the UNIX client system. The problem exists on both a HPUX 11.11 and Solaris 2.8 clients. Trying to run /bin/pwd within the Cygwin NFS mounted file system fails with a pwd: No such file or directory error. I have traced the /bin/pwd command and I suspect the problem involves the inode numbers coming from Cygwin NFSD. /bin/pwd first does an lstat on . which returns an inode for the current directory. It then opens ../ and calls getdents to get the directory entries. However, the inode value for the directory returned by getdents does not match the value return by the lstat of .. I believe that this is what causes the failure. Does this make any sense? Is this an issue with NFSD or Cygwin itself? This is a cygwin issue - essentially, cygwin generates it's own values for file/directory inodes, and the stat() and readdir() use different methods for figuring out what they want to claim the inode is. See http://www.cygwin.com/ml/cygwin-apps/2003-01/msg00158.html I really didn't have the time to spend on trying to come up with a patch to fix this behavior, so I worked around it in the nfs-server. Given your problem (and a couple of others I've seen), I'm starting to think that I might need to make time to work on it now... -Samrobb -- 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: [ANNOUNCEMENT] updated: postgresql-8.0.4-1 and 8.1.0-1
Reini Urban wrote: postgresql 8.0.4 and 8.1.0 is released. Just a note, changing from 7.4.5 to 8.1.0 breaks Xemacs 21.4.17. Somehow Xemacs depends on pq.dll which came with the old postgresql, the new one only has cygpq.dll; why does Xemacs depends on postgresql? Regards. -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Hard links on a UDF file system
On Nov 11 17:54, Jason Pearce wrote: I have a removable disc (IOMEGA REV), and I want to use cygwin to take backups using cp -l and rsync as per http://www.mikerubel.org/computers/rsync_snapshots/ This requires hard links to work, which they do on the NTFS partitions, but the IOMEGA has a UDF file system and they don't seem to work there (revealed by ls -i). I believe UDF supports hard links (http://www.k-par.com/pdfs/resources/whitepaper/DVDWhitePaper.pdf), so maybe its just Cygwin that does not allow them? Can anyone help? Some additional background: My first thought was to reformat the IOMEGA to NTFS but I found I could not. IOMEGA's web site says the following: * *Why does the Iomega REV drive use the UDF file system for PCs?* The UDF file system is the file system of choice as it overcomes many of the limitations of other popular file systems. The FAT32 file system has a 30GB format limit and a 4GB file size limitation. The NTFS file system does not support removable media. UDF also allows Iomega REV disks to use advanced ECC error correction on its media. *I am not sure if that claim is true, but I have not been able to find a way to format the disc to NTFS. Very likely Cygwin is not the culprit, but the UDF device driver, or even Windows itself which might or might not support hardlinks on anything other than NTFS. Cygwin duly calls CreateHardlink (or the appropriate pre-W2K functionality), but apparently the function returns with an errno. stracing the ln(1) application might give some insight. As for claiming that NTFS doesn't support removable media... I'm using NTFS successfully on floppies and memory sticks. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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: nfs problems
Hi Sam, many thanks for following up on this problem. Does your local windows machine has more than 2 (two) hard drives? In my machine, c: and d: are two different drives. I have tried by creating /exports/c and /exports/d as explained in the README file. First I just created /exports/d; mounted and exported it within cygwin as described. In this situation, mounting it from linux does work just fine, great!. I can live with just this. But, if now I follow the same procedure for c then something weird goes one. Now in cygwin I have c: and d: mounted over /exports/c and /exports/d, respectively, and my /etc/exports looks like this /exports/c (ro, no_root_squash) /exports/d (ro, no_root_squash) if in linux now I mount /exports/d then what I see by ls-ing its content is not 'd' but 'c'! Am I clear? After this strange situation I have exported a third entry, '/usr'. And yes, it mounts just fine in the remote linux box. As far as I can tell, I can export 'd' and properly mount it in the remote machine only when it is the only one. thanks again, Rodrigo -- 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 GetICMProfile() declaration
In /usr/include/w32api/wingdi.h, GetICMProfile() has its second argument declared as a DWORD. According to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/icm/icm_5aed.asp it should be declared as an LPDWORD. Indeed, in order to call this function correctly, I current have to do something like: HDC dc = GetDC( NULL ); char path[ MAX_PATH ]; DWORD len = sizeof path; GetICMProfile( dc, (DWORD)len, path ); So this really looks like a bug in the declaration. - Paul -- 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 compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4 (was: Apache with mod_perl up and running)
Eric Blake wrote, on 11/7/2005 3:35 PM: BTW i think there is a bug in the snapshot in file /usr/include/sys/stdio.h, line 338. Had to change: -ssize_t _EXFUN(__getline, (char **, size_t *, FILE *)); +ssize_t _EXFUN(__getline, (char **, size_t *, int, FILE *)); No, this is wrong. getline really is (char**, size_t*, FILE*), while getdelim is (char**, size_t*, int, FILE*). Maybe it is apache that is mistakenly using getline when they want getdelim. http://www.die.net/doc/linux/man/man3/getline.3.html -- Eric Blake My mistake, I realized I didn't install the snapshot properly. /nenad -- 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 GetICMProfile() declaration
Paul J. Lucas wrote: So this really looks like a bug in the declaration. It looks like you're right. I believe that the w32api headers are maintained by the mingw project so the best thing to do would probably be submit a patch here http://sourceforge.net/tracker/?group_id=2435atid=302435 or a message here http://sourceforge.net/forum/forum.php?forum_id=286641 alerting them of the issue. Note that for w32api you have to be careful not to submit patches that are based on code found in e.g. the platform SDK or MS sample code, so that there isn't any question of taint. I don't think a patch that just changes DWORD to LPDWORD would have any issues though. 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: i686-pc-cygwin crash gcc-4.0 branch
Brian Dessent wrote: Brian Dessent wrote: /home/sherlock/gcc/o/gcc/xgcc -B/home/sherlock/gcc/o/gcc/ -B/usr/local/i686-pc-c ygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/i nclude -isystem /usr/local/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I. -I../. ./../../gcc-4_0-branch/libstdc++-v3/libmath -I.. -O2 -g -O2 -c ../../../../gcc-4 _0-branch/libstdc++-v3/libmath/signbit.c -o signbit.o In file included from ../../../../gcc-4_0-branch/libstdc++-v3/libmath/signbit.c: 32: ../../../../gcc-4_0-branch/libstdc++-v3/libmath/mathconf.h:167: error: conflicti ng types for 'ieee_double_shape_type' It looks like what is happening is BYTE_ORDER isn't getting defined correctly. This is supposed to be taken care of by the sys/param.h header of the target, which Cygwin does provide correctly. It looks like for some reason gcc isn't picking this up in your case. Are you doing a native or a cross? What configure options are you using? This is caused by this change: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/endian.h.diff?r1=1.3r2=1.4cvsroot=srcf=h. This modified include/endian.h to only conditionally define BYTE_ORDER etc. if __USE_BSD is defined, whereas before in newlib's machine/endian.h http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/machine/endian.h?rev=1.2content-type=text/x-cvsweb-markupcvsroot=src they were defined unconditionally. Thus if you build gcc with the 1.5.18 version of cygwin and its headers you don't run into this, but if you try to use a snapshot that contains this change you get the above error. 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/ I nuked my cygwin, and started over again. Used svn to get the trunk of gcc. I have a snapshot gcc 4.0, but I am not building it. Anyway, compiling just with the 1.5.18 cygwin dll solved. Since this is just staying on the cutting edge of programming, I am only going to use release cygwin1.dll. Waiting for cygwin 1.5.19 Bobby. It worked. trunk is able to compile again in Cygwin. -- 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/
Collections - Commercial Accounts
DeVoy, O'Brien Associates Inc. COLLECTIONS - COMMERCIAL ACCOUNTS Hi. My name is David DeVoy with DeVoy O'Brien Associates Inc. We specialize in Professional Mediations and COLLECTIONS. I have emailed you today to ask your permission on forwarding our Corporate Collections Profile. In that you will receive information on our Commercial Collections Capabilities and our General Rate Quote. ? NO COST IF WE DON'T COLLECT ? WE WORK AS AN EXTENSION OF YOUR COMPANY ? WE DO THE THINGS THAT ARE NOT FEASIBLE FOR YOU TO DO ? WE WANT YOUR CUSTOMERS TO REMAIN YOUR CUSTOMERS ? YOU DECIDE HOW AGGRESSIVE WE ARE, NICE TO NUCLEAR ? WE HAVE A NETWORK OF CREDIT TRAINED INVESTIGATORS AND ATTORNEYS NATIONWIDE GIVE US A TRY. NO CONTRACT TO SIGN, SO WHY NOT GET STARTED? *To receive information/Mediations Profile or to opt-out, please reply. Sincerely, David DeVoy -- 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/