Re: postgres initdb: error while loading shared libraries: ?
On 08/01/2013 9:20 PM, Yaakov (Cygwin/X) wrote: On Tue, 08 Jan 2013 20:44:10 -0800, Ryan Johnson wrote: The error message is: $ initdb -D /usr/share/postgresql/data /usr/sbin/initdb.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory Any ideas? I can't reproduce it on my own machine. Running cygcheck on /usr/sbin/initdb give very normal-looking results, and BLODA checks are coming up empty. Is there something obviously wrong in my instructions? Or should I have them send their cygcheck output and let folks on the list try to diagnose the problem? cygcheck output would be helpful, as always, but my wild guess is that they have the wrong, or more than one, libpq installed. If I'm right, reinstalling libpq5 should fix this. ! I just checked the cygcheck output again and found this: cygcheck: track_down: could not find cygldap-2-3-0.dll Not sure how I missed seeing that before... cygcheck on my machine says the .dll belongs to libopenldap2_3_0-2.3.43-3; acursory check of setup.ini didn't turn up an obvious dependency listing. Is there a chance the dependency didn't get pulled in automatically like it should have? Meanwhile, I'll tell my students to install libopenldap and see if that helps... Thanks, Ryan -- 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
Re: postgres initdb: error while loading shared libraries: ?
On Tue, 08 Jan 2013 20:44:10 -0800, Ryan Johnson wrote: > The error message is: > > $ initdb -D /usr/share/postgresql/data > > /usr/sbin/initdb.exe: error while loading shared libraries: ?: cannot > > open shared object file: No such file or directory > > Any ideas? I can't reproduce it on my own machine. Running cygcheck on > /usr/sbin/initdb give very normal-looking results, and BLODA checks are > coming up empty. Is there something obviously wrong in my instructions? > Or should I have them send their cygcheck output and let folks on the > list try to diagnose the problem? cygcheck output would be helpful, as always, but my wild guess is that they have the wrong, or more than one, libpq installed. If I'm right, reinstalling libpq5 should fix this. Yaakov -- 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
[ANNOUNCEMENT] New packages: GStreamer 0.10/1.0 core/base/good
GStreamer is a plugin-based framework for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. I have added the GStreamer 0.10 and 1.0 frameworks to the Cygwin distribution, together with the Base and Good plugin sets. Plugins with external library dependencies are provided in individual packages. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
postgres initdb: error while loading shared libraries: ?
Hi all, I've had several students report difficulties installing postgresql under cygwin yesterday and today. They are starting with a brand new cygwin install, with the following packages beyond the defaults: ocygrunsrv: NT/W2K service initiator olibxml2: GNOME XML library opostgresql: PostgreSQL Data Base Management System opostgresql-client: Front-end programs for PostgreSQL opostgresql-dev: Development files for PostgreSQL opython: Python language interpreter osqlite3: An embeddable SQL database engine owget: Utility to retrieve files from the WWW via FTP and HTTP They're instructed to run / usr/bin/cygserver-config from an administrator mintty, and then to follow the "easy impatient" instructions in /usr/share/doc/Cygwin/postgresql-8.2.11.README The error message is: $ initdb -D /usr/share/postgresql/data /usr/sbin/initdb.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory Any ideas? I can't reproduce it on my own machine. Running cygcheck on /usr/sbin/initdb give very normal-looking results, and BLODA checks are coming up empty. Is there something obviously wrong in my instructions? Or should I have them send their cygcheck output and let folks on the list try to diagnose the problem? Thanks, Ryan -- 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
[ANNOUNCEMENT] Updated: perl-DBI-1.623-1
The following package has been updated in the Cygwin distribution: *** perl-DBI-1.623-1 The Perl Database Interface (DBI) provides a single API to access a wide variety of databases, support for which is provided by a DBD::* driver module (such as perl-DBD-mysql for MySQL servers). This is an update to the latest upstream release. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: dialog-1.2-20121230-1
The following packages have been added to the Cygwin distribution: *** dialog-1.2-20121230-1 *** libdialog11-1.2-20121230-1 *** libdialog-devel-1.2-20121230-1 Dialog is a script-interpreter which provides a set of widgets for in-terminal dialogs. Widgets are objects whose appearance and behavior can be customized. This is an update to the latest upstream release, with an ABI version bump for libdialog. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: swig-2.0.9-1
The following package has been updated for the Cygwin distribution: *** swig-2.0.9-1 SWIG reads annotated C/C++ header files and creates wrapper code (glue code) in order to make the corresponding C/C++ libraries available to the listed languages, or to extend C/C++ programs with a scripting language. This is an update to the latest upstream version. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] New package: libcaca-0.99.beta18-1
The following packages have been added to the Cygwin distribution: *** libcaca0-0.99.beta18-1 *** libcaca-bin-0.99.beta18-1 *** libcaca-devel-0.99.beta18-1 *** libcaca-doc-0.99.beta18-1 *** libcaca++0-0.99.beta18-1 *** libcaca++-devel-0.99.beta18-1 *** python-caca-0.99.beta18-1 *** python3-caca-0.99.beta18-1 *** ruby-caca-0.99.beta18-1 libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals. It is not unlike the famous AAlib library, except that colors are supported. libcaca can use almost any virtual terminal to work, and there is also a native X11 driver that does not require a text terminal. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: vim-7.3.762-1
The following packages have been updated for the Cygwin distribution: *** vim-7.3.762-1 *** vim-common-7.3.762-1 *** xxd-7.3.762-1 *** gvim-7.3.762-1 Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set and a choice of terminal and GTK+ interfaces. This is an update to the latest upstream patchset. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: nspr-4.9.4-1, nss-3.14.1-1
The following packages have been updated in the Cygwin distribution: *** libnspr4-4.9.4-1 *** libnspr-devel-4.9.4-1 *** nss-3.14.1-1 *** libnss3-3.14.1-1 *** libnss-devel-3.14.1-1 Netscape Portable Runtime (NSPR) provides a platform-neutral API for system-level and libc-like functions. Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. This is an update to the latest upstream stable branches. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: mingw64-x86_64-libgcrypt-1.5.0-2
The following package has been updated in the Cygwin distribution: *** mingw64-x86_64-libgcrypt-1.5.0-2 This package is intended to be used in conjunction with the x86_64-w64-mingw32 toolchains to create Win64 binaries. This release includes a patch from Fedora to fix the assembly code for Win64. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: gtypist-2.9.2-1
The following package has been updated for the Cygwin distribution: *** gtypist-2.9.2-1 GNU Typist is a console-mode typing tutor with lessons for different keyboards and languages. This is an update to the latest upstream release. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: dbus-1.6.8-1
The following packages have been updated for the Cygwin distribution: *** dbus-1.6.8-1 *** libdbus1_3-1.6.8-1 *** libdbus1-devel-1.6.8-1 D-BUS is a message bus system, a simple way for applications to talk to one another. It supplies both a system daemon (for events such as 'new hardware device added' or 'printer queue changed') and a per-user-login-session daemon (for general IPC needs among user applications). This is an update to the latest upstream release. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: apache2, bind, curl, heimdal
The following packages have been updated in the Cygwin distribution, having been rebuilt for openldap-2.4: *** apache2-2.2.23-2 *** apache2-devel-2.2.23-2 *** apache2-manual-2.2.23-2 *** bind-9.9.2-P1-2 *** bind-utils-9.9.2-P1-2 *** curl-7.28.1-2 *** libcurl4-7.28.1-2 *** libcurl-devel-7.28.1-2 *** heimdal-1.5.2-4 *** libasn1_8-1.5.2-4 *** libgssapi3-1.5.2-4 *** libhdb9-1.5.2-4 *** libheimbase1-1.5.2-4 *** libheimntlm0-1.5.2-4 *** libhx509_5-1.5.2-4 *** libkadm5clnt7-1.5.2-4 *** libkadm5srv8-1.5.2-4 *** libkafs0-1.5.2-4 *** libkdc2-1.5.2-4 *** libkrb5_26-1.5.2-4 *** libkrb5-devel-1.5.2-4 *** libotp0-1.5.2-4 *** libroken18-1.5.2-4 *** libsl0-1.5.2-4 *** libwind0-1.5.2-4 -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
updatedb.local
I've just set up locate(1) for the first time. The default configuration of updatedb doesn't scan all of C:, only c:\cygwin, so I did the obvious thing and got spammed by permission denied errors. Rather than cope by indexing the disk as Administrator, I decided to just start adding exclusions. The list grew long enough that I decided I should share the result to save someone else the pain of recreating it: #!/bin/sh updatedb --localpaths='/c /' \ --prunepaths=' .*Logs .*/LogFiles .*Temp .*Tmp /c/cygwin /c/$Recycle.* /c/PerfLogs /c/ProgramData /c/Recovery /c/System.* /c/Program.*/WindowsApps /c/Program.*/.*/CrashReports /c/Users/Administrator /c/Users/cyg_server /c/Users/Public /c/Windows/AppCompat/Programs /c/Windows/AUInstallAgent /c/Windows/CSC /c/Windows/LiveKernelReports /c/Windows/Minidump /c/Windows/PLA /c/Windows/Prefetch /c/Windows/Resources/Themes /c/Windows/ServiceProfiles /c/Windows/security /c/Windows/ServiceProfiles /c/Windows/Sys.*/Com/dmp /c/Windows/Sys.*/config /c/Windows/Sys.*/MsDtc /c/Windows/Sys.*/networklist /c/Windows/Sys.*/sru /c/Windows/Sys.*/Tasks /c/Windows/WinSxS /c/Windows.old /proc /tmp /usr/tmp /var/tmp' Note that it's written with the assumption that you hack away the 'cygdrive' stuff in /etc/fstab. Most of the exclusions are just system directories of one sort or another, which Windows wants to hide away from you. I've added the usual assortment of temp, log and trash directories, in addition to the ones at the end which recapitulate the defaults, except for /afs which doesn't exist on Cygwin. There's a minor trick of including / but excluding /c/cygwin, so searches for files in the Cygwin tree don't show up twice. I've excluded WinSxS, even though it's readable, because it just contains backups of files that normally live elsewhere. When you go looking for one of the files it mirrors, you almost certainly want to find the canonical copy only. Some of the excluded directories won't exist on all systems, but are common enough that I felt comfortable leaving them in the public version of this script. (e.g. Google Chrome's CrashReports folder, Windows.old...) I welcome additions to the exclusion list. Maybe this script can show up in a future findutils release, with a note about it in /usr/share/doc/Cygwin/findutils.README? -- 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
Re: Cygwin installer v2.774, lyx postinstall error
On 1/7/2013 10:59 PM, marco atzeri wrote: > On 1/8/2013 7:49 AM, Tim Collins wrote: >> Marco, >> >> The package is lyx not lynx. >> >> $ cygcheck -l lyx | grep etc >> /etc/postinstall/lyx.sh/lyx.sh >> > > > sorry, than it is a package mistake > > Mon Jun 14 02:22:31 2010 0 etc/postinstall/ > Mon Jun 14 02:23:03 2010 0 etc/postinstall/lyx.sh/ > Thu Sep 28 03:08:48 2006440 etc/postinstall/lyx.sh/lyx.sh I'm a long time user of cygwin, but have not participated in development and thus unfamiliar with "general package ownership" or "how to fix". This seems like it would be easy to fix so others don't have to deal with it. Is this something I can help fix and if yes, can you provide an initial direction? > > as workaround same suggestion > > remove etc/postinstall/lyx.sh/ > move etc/postinstall/lyx.sh/lyx.sh to etc/postinstall/lyx.sh > > My install was unaffected - it doesn't have the file that would be manipulated: /etc/fonts/local.conf === listing of lyx.sh ===\ $ cat /etc/postinstall/lyx.sh/lyx.sh #!/bin/sh # Add /usr/share/lyx/fonts to /etc/fonts/local.conf # if it is not already there. if [ -f /etc/fonts/local.conf ]; then grep -q /usr/share/lyx/fonts /etc/fonts/local.conf if [ $? -ne 0 ]; then sed 's/^<\/fontconfig>/\/usr\/share\/lyx\/fonts<\/dir> <\/fontconfig>/' /etc/fonts/local.conf > /etc/fonts/local.conf.tmp mv -f /etc/fonts/local.conf.tmp /etc/fonts/local.conf fc-cache /usr/share/lyx/fonts fi fi $ > /etc/postinstall should have no subdirectory > > > -- > 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 > > -- 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
RE: disk format question
bartels sent the following at Tuesday, January 08, 2013 9:00 AM >I frequently need to destroy a file system on removable media. The >windows format.com claims the fs is write protected, but I hope dd >can help out. In Windows Explorer, right clicking on the drive should give a format command. Whether using it will tell you that the drive is write protected works is another issue. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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
Re: sqlite3-3.7.15.1-1 packages to test
Warren Young writes: > I guess I shouldn't have moved this discussion to Cygwin-Apps, since > it's been greeted by crickets for the past 10 days. So to repost: I've downloaded the test packages and been reviewing the patches, but just being back at work from the holidays I couldn't spend much time on it yet, especially not setting up a test machine. I'll report back when I know more. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra -- 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
Re: sqlite3-3.7.15.1-1 packages to test
On 11/21/2012 12:01, Achim Gratz wrote: FWIW, I think Yaakov is more immediately concerned about the additional API: -DSQLITE_ENABLE_COLUMN_METADATA\ -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS_PARENTHESIS\ -DSQLITE_ENABLE_FTS4 I guess I shouldn't have moved this discussion to Cygwin-Apps, since it's been greeted by crickets for the past 10 days. So to repost: I've made some SQLite 3.7.15.1-1 packages, and put them up for testing: http://etr-usa.com/cygwin/sqlite3/libsqlite3-devel-3.7.15.1-1.tar.bz2 http://etr-usa.com/cygwin/sqlite3/libsqlite3_0-3.7.15.1-1.tar.bz2 http://etr-usa.com/cygwin/sqlite3/sqlite3-3.7.15.1-1-src.tar.bz2 http://etr-usa.com/cygwin/sqlite3/sqlite3-3.7.15.1-1.tar.bz2 These packages enable the requested build options. In addition, they attempt to work around at least one of the problems that lead us to try building SQLite in Unix mode on Cygwin in the first place. Instead of a wholesale Unix mode switch, it patches in just one focused aspect of this in an attempt to address problems reported both by Achim Gratz and Daniel Colascione. (Temporary directory selection.) This required a fairly ugly hack to the SQLite code, so I'm not even going to consider posting an RFU message for these packages until I get some positive feedback from those affected. -- 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
Re: disk format question
On 1/8/2013 08:38, bartels wrote: On 01/08/2013 04:14 PM, Warren Young wrote: On 1/8/2013 06:59, bartels wrote: The windows format.com format.com hasn't existed since the DOS days. That may very well be true, but I have a friend called locate: I *had* a friend called "which", but he didn't find it. I have now unfriended him. ;) My question is this: which device in /dev do I use? According to [this][1] it's probably /dev/sdb. But please do read through what I pointed you to first, and check its applicability carefully before attempting this. 'Probably' is not good enough when the goal is targeted destruction :) In that case, you shouldn't be looking at /dev names anyway. They're assigned in order of device discovery, so the device that gets called /dev/sdb or whatever depends on what happened before your code ran. Actually, it's even worse than that. In Disk Management, you can permanently assign a USB key a different drive letter than the default. Now when you put it in, it appears somewhere other than code blindly hard-coded with a /dev name expects. Or, put two USB keys in, one gets called F: (say) and the other G:. Remove both. Now plug the second back in...it's still called G:! Hence, it gets a different /dev name. If this were Linux, I'd suggest basing your script's logic on device or filesystem UUIDs, but I don't know how to do that under Cygwin. Does windows leave a trail when mounting? Oh, doubtless there's something buried in the NT device namespace, mentioned in the document I pointed you to. Maybe you could dump two copies of it and diff(1) them, and assume that the one line that appears in the output is the new device. Ugh. -- 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
Re: Problem with HTTPS in LWP module in Perl - solution
FYI, I ran into the same problem, did some wiresharking, and figured out what the differences are between a successful handshake (Firefox) and the failure (LWP using SSLeay/openssl). I'm not too familiar with SSL/TLS etc, but it turns out that the cipher list is way larger using openssl (64 suites) than with Firefox (36 suites). I figure the order and presence of some ciphers is the cause: the actual cipher used is TLS_RSA_WITH_RC4_128_SHA, which is present in both cases. Also the TLS version used (1.0 for Firefox, 1.2 for openssl) does not make a difference. The following code allows for a successful transaction with https://www.geocaching.com. The solution is in the SSL_cipher_list: $ perl -e '$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS}="IO::Socket::SSL";\ use IO::Socket::SSL; IO::Socket::SSL::set_defaults(SSL_cipher_list => "RC4-SHA");\ use LWP::UserAgent; print LWP::UserAgent->new()->request(\ HTTP::Request->new(GET=>"https://www.geocaching.com";))->content;' However this includes only the one cipher (and TLS_EMPTY_RENEGOTIATION_INFO_SCSV). Expanding to all SHA ciphers, the following filter must be used: 'SHA:!NULL:!3DES:!DES:!ADH:!SRP' Finally, this is the filter with a relatively broad scope, and again all exclusions are required: 'ALL:!3DES:!DES:!ADH:!SRP:!AESGCM:!SHA256:!SHA384' When any of these excluded ciphers/hashes are present in the Client Hello negotiation packet, there is no response from the server besides a TCP ACK. Note that, for instance, '!3DES' also filters out ciphers that use 3DES as an encoding (I guess) and not as the main cipher, such as TLS_RSA_WITH_3DES_EDE_CBC_SHA, who's presence in the handshake is not problematic. I figure that servers that do not respond at the TLS/SSL level when they see a client offering certain capabilities have their reasons for doing so, for a 'rep scasw' can't be that buggy. Yours sincerely, Kenney Westerhof -- 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
Re: Fwd: ctags recursion broken? [ATTN: ctags, xemacs-tags maintainers]
> The clash involves xemacs. The xemacs maintainer said he would take care of > it. You probably missed his reply because the discussion got moved to the > cygiwn-apps list: > > http://cygwin.com/ml/cygwin-apps/2012-12/msg00045.html > > Ken OK - Thank you for the update. Alan -- 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
Re: Fwd: ctags recursion broken? [ATTN: ctags, xemacs-tags maintainers]
On 1/8/2013 2:04 PM, Alan Thompson wrote: Hello - Are you still active as the Cygwin emacs maintainer? There appears to be a clash between emacs and ctags as described below. Could you help us to resolve it? The clash involves xemacs. The xemacs maintainer said he would take care of it. You probably missed his reply because the discussion got moved to the cygiwn-apps list: http://cygwin.com/ml/cygwin-apps/2012-12/msg00045.html Ken -- 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
Part time jobs (1/8/2013)
Our company is part of an internet base of over 37 million subscribers, mostly US/Canada based. This online technology allows us the ability to present our subscribers with a first choice when they look for anything on any of the major search engines. We're looking for a preferred source to send our users searching for part time job opportunities in various markets. I’m in the office weekdays from 9:00 AM to 5:00 PM Pacific time. Yours truly, David Stevens NS Analyst, SPS Online Phone: 877.709.6971, ext. 1980 -- 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
Re: 'svn export' fails when given UNC path as destination
On 1/7/2013 10:01 AM, Adam Dinwoodie wrote: > When attempting an "svn export" specifying a destination UNC path, I'm > seeing the export unexpectedly fail. Thanks for the report. I'll take a look as soon as I have time, although that may not be for a little while. -- David Rothenberger daver...@acm.org Volunteer Subversion Cygwin packager -- 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
Re: disk format question
On Tue, Jan 8, 2013 at 4:14 PM, Warren Young wrote: > On 1/8/2013 06:59, bartels wrote: >> >> >> The windows format.com > > > format.com hasn't existed since the DOS days. That includes the DOS-based > versions of Windows, up through Windows ME. Under NT-derived versions of > Windows, "format" is a built-in command in cmd.exe. Your statements are contradicted by evidence: $ ls -l /cygdrive/c/Windows/System32/format.com -rwxrwx---+ 2 35K Nov 2 2006 /cygdrive/c/Windows/System32/format.com* $ file /cygdrive/c/Windows/System32/format.com /cygdrive/c/Windows/System32/format.com: PE32 executable (console) Intel 80386, for MS Windows $ strings /cygdrive/c/Windows/System32/cmd.exe | grep -wi format Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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
Re: RES: hiding cursor on text terminals
On Tue, Jan 8, 2013 at 10:16 AM, Christopher Faylor wrote: > Probably just sheer orneriness. We like to leave some things undone > just to mess with people's minds. Or in other words, http://cygwin.com/acronyms/#BWAM -- Earnie -- https://sites.google.com/site/earnieboyd -- 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
Re: disk format question
On 01/08/2013 04:14 PM, Warren Young wrote: On 1/8/2013 06:59, bartels wrote: The windows format.com format.com hasn't existed since the DOS days. That includes the DOS-based versions of Windows, up through Windows ME. Under NT-derived versions of Windows, "format" is a built-in command in cmd.exe. That may very well be true, but I have a friend called locate: $ locate format.com /cygdrive/c/Windows/System32/format.com /cygdrive/c/Windows/SysWOW64/format.com /cygdrive/c/Windows/winsxs/amd64_microsoft-windows-format_31bf3856ad364e35_6.1.7600.16385_none_827dd459a3aa9980/format.com /cygdrive/c/Windows/winsxs/x86_microsoft-windows-format_31bf3856ad364e35_6.1.7600.16385_none_265f38d5eb4d284a/format.com And it even seems to work ;-) > claims the fs is write protected, but I hope dd can help out. It's worth a try, but if I had to take a blind bet on it, I'd say you're going to find that dd will give the same result. Cygwin is essentially a user-level process. If cmd.exe cannot do a thing, dd.exe probably can't, either. It is *possible* that unmounting the filesystem with the taskbar button will let you write to the raw device. But Windows being Windows, it's possible that will make it disappear from the system entirely, too. I cannot touch the gui. It may not be necessary, as format.com has a /x feature. The mtab is not very helpful: That's because Cygwin proper does not mount local filesystems. The Cygwin mount table just shows you Cygwin-specific mappings that it has added on top of what the underlying NT kernel has done. Okay, I see. My question is this: which device in /dev do I use? According to [this][1] it's probably /dev/sdb. But please do read through what I pointed you to first, and check its applicability carefully before attempting this. 'Probably' is not good enough when the goal is targeted destruction :) I need a solid automated procedure to locate my device. $ cat /proc/partitions major minor #blocks name 8 0 732574584 sda 8 1104391 sda1 8 2 245063542 sda2 816 976762584 sdb 817102400 sdb1 818 976657408 sdb2 832 4882808320 sdc 833131072 sdc1 834 4882675712 sdc2 848 3909092 sdd 849 3909091 sdd1 864 7566844 sde 865 7566016 sde1 880 31590400 sdf 881 31590400 sdf1 $ df -h Filesystem Size Used Avail Use% Mounted on C:/cygwin/bin 932G 62G 871G 7% /usr/bin C:/cygwin/lib 932G 62G 871G 7% /usr/lib C:/cygwin 932G 62G 871G 7% / C: 932G 62G 871G 7% /cygdrive/c D: 31G 31G 0 100% /cygdrive/d E: 102M 30M 73M 30% /cygdrive/e F: 234G 137G 98G 59% /cygdrive/f K: 3.8G 616M 3.2G 17% /cygdrive/k O: 4.6T 1.7T 3.0T 36% /cygdrive/o X: 3.1G 3.1G 0 100% /cygdrive/x Y: 4.6T 1.7T 3.0T 36% /cygdrive/y Z: 7.3G 46M 7.2G 1% /cygdrive/z [1] http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices Yeah, I had a look see on that page before and it is not all that helpful, for reasons you explained. Does windows leave a trail when mounting? Prospects are not good without it. Thanks for the help. - bartels -- 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
Re: disk format question
On 01/08/2013 10:14 AM, Warren Young wrote: On 1/8/2013 06:59, bartels wrote: The windows format.com format.com hasn't existed since the DOS days. That includes the DOS-based versions of Windows, up through Windows ME. Under NT-derived versions of Windows, "format" is a built-in command in cmd.exe. FWIW in Windows 7: objdump -p c:/Windows/System32/format.com c:/Windows/System32/format.com: file format pei-i386 Characteristics 0x102 executable 32 bit words Time/Date Tue Jul 14 00:15:15 2009 Magic 010b(PE32) I don't know if that changes anything here though. Roger Wells > claims the fs is write protected, but I hope dd can help out. It's worth a try, but if I had to take a blind bet on it, I'd say you're going to find that dd will give the same result. Cygwin is essentially a user-level process. If cmd.exe cannot do a thing, dd.exe probably can't, either. It is *possible* that unmounting the filesystem with the task/c/Windows/System32/format.combar button will let you write to the raw device. But Windows being Windows, it's possible that will make it disappear from the system entirely, too. The mtab is not very helpful: That's because Cygwin proper does not mount local filesystems. The Cygwin mount table just shows you Cygwin-specific mappings that it has added on top of what the underlying NT kernel has done. In this case... D: /cygdrive/d udf binary,posix=0,user,noumount,auto 1 1 ...it is showing you the /cygdrive/d alias Cygwin has provided for you. My question is this: which device in /dev do I use? According to [this][1] it's probably /dev/sdb. But please do read through what I pointed you to first, and check its applicability carefully before attempting this. [1] http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices -- 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 -- Roger Wells, P.E. SAIC 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) roger.k.we...@saic.com -- 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
Re: RES: hiding cursor on text terminals
On Tue, Jan 08, 2013 at 12:33:49PM -0200, Damian Rodriguez Sanchez wrote: >>> I have compiled a Linux ncurses gcc application on Cygwin. Everything works >>> fine except for curs_set(0) calls which do not hide the cursor on text mode >>> terminals (they work on X though). Does anybody know of a way to achieve >>> this, even if it's not a portable solution? >> >>What terminals have you tried running it in? There's a DEC control >>sequence called DECTCEM for hiding or showing the cursor, which is >>implemented in mintty (the default Cygwin terminal), xterm, rxvt, and >>presumably others. >> >>However, it isn't implemented in the Cygwin console layer used when >>running a Cygwin program in a console window. (It could probably be >>implemented in the Cygwin DLL using Windows' SetConsoleCursorInfo() >>function.) >> >>Andy > >Well, I've tried using things like printf("\e[?25l") and >printf("\e[?25h") in my code, if that's what you mean. >But, yes, just like curs_set(), it only works on terminals >running in graphics mode, not in the console windows. > >I wonder why it hasn't been implemented. Probably just sheer orneriness. We like to leave some things undone just to mess with people's minds. cgf -- 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
Re: disk format question
On 1/8/2013 06:59, bartels wrote: The windows format.com format.com hasn't existed since the DOS days. That includes the DOS-based versions of Windows, up through Windows ME. Under NT-derived versions of Windows, "format" is a built-in command in cmd.exe. > claims the fs is write protected, but I hope dd can help out. It's worth a try, but if I had to take a blind bet on it, I'd say you're going to find that dd will give the same result. Cygwin is essentially a user-level process. If cmd.exe cannot do a thing, dd.exe probably can't, either. It is *possible* that unmounting the filesystem with the taskbar button will let you write to the raw device. But Windows being Windows, it's possible that will make it disappear from the system entirely, too. The mtab is not very helpful: That's because Cygwin proper does not mount local filesystems. The Cygwin mount table just shows you Cygwin-specific mappings that it has added on top of what the underlying NT kernel has done. In this case... D: /cygdrive/d udf binary,posix=0,user,noumount,auto 1 1 ...it is showing you the /cygdrive/d alias Cygwin has provided for you. My question is this: which device in /dev do I use? According to [this][1] it's probably /dev/sdb. But please do read through what I pointed you to first, and check its applicability carefully before attempting this. [1] http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices -- 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
RES: hiding cursor on text terminals
>> I have compiled a Linux ncurses gcc application on Cygwin. Everything works >> fine except for curs_set(0) calls which do not hide the cursor on text mode >> terminals (they work on X though). Does anybody know of a way to achieve >> this, even if it's not a portable solution? > >What terminals have you tried running it in? There's a DEC control >sequence called DECTCEM for hiding or showing the cursor, which is >implemented in mintty (the default Cygwin terminal), xterm, rxvt, and >presumably others. > >However, it isn't implemented in the Cygwin console layer used when >running a Cygwin program in a console window. (It could probably be >implemented in the Cygwin DLL using Windows' SetConsoleCursorInfo() >function.) > >Andy Well, I've tried using things like printf("\e[?25l") and printf("\e[?25h") in my code, if that's what you mean. But, yes, just like curs_set(), it only works on terminals running in graphics mode, not in the console windows. I wonder why it hasn't been implemented. Damian. 0 -- 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
disk format question
Hello Forum, I frequently need to destroy a file system on removable media. The windows format.com claims the fs is write protected, but I hope dd can help out. The mtab is not very helpful: D: /cygdrive/d udf binary,posix=0,user,noumount,auto 1 1 My question is this: which device in /dev do I use? - bartels -- 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
Re: hiding cursor on text terminals
On 7 January 2013 18:24, Damian Rodriguez Sanchez wrote: > I have compiled a Linux ncurses gcc application on Cygwin. Everything works > fine except for curs_set(0) calls which do not hide the cursor on text mode > terminals (they work on X though). Does anybody know of a way to achieve > this, even if it's not a portable solution? What terminals have you tried running it in? There's a DEC control sequence called DECTCEM for hiding or showing the cursor, which is implemented in mintty (the default Cygwin terminal), xterm, rxvt, and presumably others. However, it isn't implemented in the Cygwin console layer used when running a Cygwin program in a console window. (It could probably be implemented in the Cygwin DLL using Windows' SetConsoleCursorInfo() function.) Andy -- 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
RES: hiding cursor on text terminals
>>> Hello list, >>> >>> I have compiled a Linux ncurses gcc application on Cygwin. Everything works >>> fine except for curs_set(0) calls which do not hide the cursor on text mode >>> terminals (they work on X though). Does anybody know of a way to achieve >>> this, even if it's not a portable solution? >> >>Hello! >> >>Please don't hide the cursor in a text interface. That will make the >>app impossible or difficult to use with technology like a screen reader >>or braille output. Instead, ensure that the cursor is following the >>soft cursor. Then, the program is accessible to more people. > >Come on now. There is no reason for you to care what someone does with >their private application. > >The OP was reporting a potential bug which, if it is really a bug, should >be fixed. They don't need to lecture them on UI design. It seems this is an old problem. I had a look at the archives and found following post from 2001: http://sourceware.org/ml/cygwin/2001-07/msg01115.html Does anybody know if there's been any change since then? Apparently not, but maybe I'm missing something. And as I said, any workaround would be appreciated. Lars, I've never worked with the kind of device you mention. Maybe one day I'll be able to contribute to having a more egalitarian access to computer programs. For now, I don't see how having a cursor flickering around a screen that has to be constantly updated will help blind people. Regards, Damian. 0 -- 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