postgresql - Cannot initialize new Postgres database on Cygwin - Super User
When I try to initialize a new database, I get an error: $ /usr/sbin/pg_ctl init no data was returned by command ""/usr/sbin/initdb.exe" -V" The program "initdb" is needed by pg_ctl but was not found in the same directory as "/usr/sbin/pg_ctl". Check your installation. $ /usr/sbin/initdb.exe -V initdb (PostgreSQL) 9.6.1 $ "/usr/sbin/initdb.exe" -V initdb (PostgreSQL) 9.6.1 $ /usr/sbin/initdb.exe -D /usr/share/postgresql no data was returned by command ""/usr/sbin/postgres.exe" -V" The program "postgres" is needed by initdb but was not found in the same directory as "/usr/sbin/initdb". Check your installation. $ /usr/sbin/postgres -V postgres (PostgreSQL) 9.6.1 Cygwin 2.6.1, Postgres 9.6.1 http://superuser.com/questions/1166177/cannot-initialize-new-postgres-database-on-cygwin -- 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
REQUEST: Add php-pcntl to setup
Cygwin can handle signals so it would be useful for PHP to handle signals as well. http://php.net/manual/en/pcntl.installation.php signature.asc Description: OpenPGP digital signature
postgresql - How do I upgrade Postgres database in Cygwin? - Server Fault
Can you please change the Postgres packages to use postgres94, postgres95, postgres96, etc. names? Each version is incompatible with the previous. This will allow installing Postgres in separate binary directories to enable upgrades. Alternatively, please increase the 'previous version' history to allow installing old versions. Setup only has 1 previous version, and if the current version is 9.5.2 and the previous version is 9.5.1, then there is no way (or very difficult) to install 9.4! http://serverfault.com/questions/532379/how-do-i-upgrade-postgres-database-in-cygwin signature.asc Description: OpenPGP digital signature
Re: postgresql - How do I upgrade Postgres database in Cygwin? - Server Fault
OK now I really need help. I tried to install version 9.4.4-2 of Postgres with ftp://www.fruitbat.org/pub/cygwin/circa/2015/09/25/151012/index.html, but now it won't start. I also tried to install 9.4.4-1 but that won't work either. I also tried to exit all Cygwin processes and run 'dash' and 'rebaseall', but it didn't help. How do I install an old version of Postgres 9.4 to upgrade to 9.5? $ /usr/sbin/postgres --version postgres (PostgreSQL) 9.4.4 $ /usr/sbin/postgres FATAL: could not create shared memory segment: Function not implemented DETAIL: Failed system call was shmget(key=5432001, size=40, 03600). $ /setup-x86 -X -q -P postgresql-9.4.4-1 note: Hand installation over to elevated child process. $ /usr/sbin/postgres --version postgres (PostgreSQL) 9.4.4 $ /usr/sbin/postgres FATAL: could not create shared memory segment: Function not implemented DETAIL: Failed system call was shmget(key=5432001, size=40, 03600). http://stackoverflow.com/questions/36411485/how-do-i-install-postgres-9-4-on-cygwin On 4/4/2016 3:19 PM, Chloe wrote: > Can you please change the Postgres packages to use postgres94, > postgres95, postgres96, etc. names? Each version is incompatible with > the previous. This will allow installing Postgres in separate binary > directories to enable upgrades. Alternatively, please increase the > 'previous version' history to allow installing old versions. Setup > only has 1 previous version, and if the current version is 9.5.2 and > the previous version is 9.5.1, then there is no way (or very > difficult) to install 9.4! > > http://serverfault.com/questions/532379/how-do-i-upgrade-postgres-database-in-cygwin > signature.asc Description: OpenPGP digital signature
Cygwin Git thinks files are changed when they aren't
Cygwin Git always thinks files are changed even when they aren't. After a commit with a Windows Git, Cygwin Git shows files as modified. Windows Git -- C:\Users\Chloe\workspace\AffiliateArbitrage>git status On branch master nothing to commit, working directory clean C:\Users\Chloe\workspace\AffiliateArbitrage>git --version git version 1.9.5.msysgit.1 - Cygwin Git - $ git status On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: .project ... dozens of files $ git --version git version 2.1.4 $ git diff .project diff --git a/.project b/.project old mode 100644 new mode 100755 $ ls -l .project -rwxrwx---+ 1 Chloe None 574 Mar 10 21:28 .project $ uname -a CYGWIN_NT-6.3-WOW xps 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin - -- 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
Post install error
I updated Cygwin but now whenever I run setup, I get this error. How do I fix it? Package: _/_update-info-dir update-info-dir.sh exit code 127 /var/log/setup.log.full - ... 2015/03/11 17:57:05 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/update-info-dir.sh" 2015/03/11 17:57:07 abnormal exit: exit code=127 2015/03/11 17:57:07 Changing gid to Administrators 2015/03/11 17:59:03 note: Installation Complete 2015/03/11 17:59:03 Ending cygwin install -- 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
Fwd: Cannot log in to SSHD, either with public key or password
I had to use 'mkpasswd -l' to re-generate my passwd file, (and also mkgroup), and re-ran ssh-host-config. Actually I tried 'su - Chloe', saw an error, tried to edit passwd manually, screwed it up and deleted 'sshd' user (even though I don't see that user in Windows user management), found 'mkpasswd', restarted server, was trying to read another home directory, logged out of bash, log back in, re-ran ssh-host-config, and then it seemed to work. -- 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
Cannot log in to SSHD, either with public key or password
Please help, I cannot log into Cygwin with SSH. ssh -vvv Chloe@localhost log: http://pastebin.com/vt2aP86F I don't know why it says debug3: Could not load "/home/Chloe/.ssh/id_rsa" as a RSA1 public key because I can use that key to log into a VPS. I installed the latest ssh. I verified permissions: --- $ ls -ld . * drw---+ 1 Chloe None 0 May 21 19:31 . -rw--- 1 Chloe None 395 May 21 19:31 authorized_keys -rw--- 1 Chloe None 1638 Apr 6 2009 authorized_keys.old -rw--- 1 Chloe None 668 Apr 6 2009 id_dsa -rw--- 1 Chloe None 603 Apr 6 2009 id_dsa.pub -rw--- 1 Chloe None 1675 Apr 6 2009 id_rsa -rw--- 1 Chloe None 1464 Apr 23 2009 id_rsa.ppk -rw--- 1 Chloe None 395 Apr 6 2009 id_rsa.pub -rw--- 1 Chloe None 976 Apr 6 2009 identity -rw--- 1 Chloe None 640 Apr 6 2009 identity.pub -rw--- 1 Chloe None 12226 May 21 19:30 known_hosts -- This is the error in Application event viewer log: - The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 6840: Failed password for Chloe from 127.0.0.1 port 49802 ssh2 --- I've also tried $ ssh chloe@localhost and $ ssh Chloe@127.0.0.1 and I've also tried Putty. Here are non-comments in sshd_config --- $ grep -v ^\# /etc/sshd_config | grep -ve '^\s*$' Port 22 ListenAddress 127.0.0.1 StrictModes no AuthorizedKeysFile .ssh/authorized_keys UsePrivilegeSeparation sandbox # Default for new installations. Subsystem sftp/usr/sbin/sftp-server - I see this in the sshd.log -- $ tail -1 /var/log/sshd.log Could not load host key: /etc/ssh_host_ecdsa_key --- But I don't understand why it can't open it. That's how ssh-host-config set it up. I had to change owner for sshd_config to myself so I could save my edits (ListenAddress). $ ls -l ssh* -rw-r--r-- 1 cyg_server root 1574 May 21 19:22 ssh_config -rw--- 1 cyg_server root 672 May 21 18:19 ssh_host_dsa_key -rw-r--r-- 1 cyg_server root 599 May 21 18:19 ssh_host_dsa_key.pub -rw--- 1 cyg_server root 227 May 21 18:19 ssh_host_ecdsa_key -rw-r--r-- 1 cyg_server root 171 May 21 18:19 ssh_host_ecdsa_key.pub -rw--- 1 cyg_server root 399 May 21 18:19 ssh_host_ed25519_key -rw-r--r-- 1 cyg_server root 91 May 21 18:19 ssh_host_ed25519_key.pub -rw--- 1 cyg_server root 974 May 21 18:19 ssh_host_key -rw-r--r-- 1 cyg_server root 639 May 21 18:19 ssh_host_key.pub -rw--- 1 cyg_server root 1675 May 21 18:19 ssh_host_rsa_key -rw-r--r-- 1 cyg_server root 391 May 21 18:19 ssh_host_rsa_key.pub -rw---+ 1 Chloe root 3640 May 21 20:10 sshd_config I checked in Task Manager and sshd is running as cyg_server. -- 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
How do I upgrade Postgres database in Cygwin?
I updated some Cygwin packages and now I can't start Postgres: $ /usr/sbin/postmaster FATAL: database files are incompatible with server DETAIL: The data directory was initialized by PostgreSQL version 8.2, which is not compatible with this version 9.2.4. I tried [pg_upgrade](http://www.postgresql.org/docs/9.2/static/pgupgrade.html) but you need to specify both the old and new binary. Plus, pg_upgrade says it only works with 8.3. I thought I could use setup-x86.exe to pick the previous version, which is 8.2.11-1, however when I install that, then I can't start Postgres: $ /usr/sbin/postgres.exe Bad system call (core dumped) -- 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
Apache2 Crashes v2.23-2
I have apache2 2.23-2 installed and it is crashing for certain pages. It won't leave a core dump either even though I added CoreDumpDirectory /tmp to httpd.conf and restarted. Here is the error_log. httpd2: Could not reliably determine the server's fully qualified domain name, using fe80::65f2:9408:66bf:b639 for ServerName [Sat Aug 10 23:07:58 2013] [notice] Digest: generating secret for digest authentication ... [Sat Aug 10 23:07:58 2013] [notice] Digest: done [Sat Aug 10 23:07:58 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.1e DAV/2 PHP/5.4.17 configured -- resuming normal operations [Sat Aug 10 23:08:22 2013] [notice] child pid 12784 exit signal Segmentation fault (11) [Sat Aug 10 23:08:22 2013] [notice] child pid 9940 exit signal Segmentation fault (11) [Sat Aug 10 23:08:22 2013] [notice] child pid 13024 exit signal Segmentation fault (11) -- 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: Setup install issues
Ok I ran them manually. They didn't rename themselves to *.done. $ bash --norc --noprofile /etc/postinstall/inetutils.sh *** Info: Note that the inetd service and the xinetd service must not *** Info: both be active at the same time. The easiest way to ensure *** Info: this is to only install one or the other as a service. *** Query: Do you want to install the inetd super-server as a service? (yes/no) no Configuration finished. Have fun! *** Warning: The following function requires administrator privileges! *** Query: Do you want to install syslogd as service? (yes/no) no Configuration finished. Have fun! $ bash --norc --noprofile /etc/postinstall/libsasl2_3.sh $ ls /etc/postinstall/inet* /etc/postinstall/libsasl* /etc/postinstall/inetutils.sh /etc/postinstall/libsasl2.sh.done /etc/postinstall/libsasl2_3.sh - Please try running the postinstall scripts yourself and report back if they produce any error messages. You can do this from a bash shell (e.g., in mintty) with the following command: % bash --norc --noprofile /etc/postinstall/inetutils.sh % bash --norc --noprofile /etc/postinstall/libsasl2_3.sh I'm the libsasl2 maintainer some I'm especially interested in any error messages that postinstall script produces. -- David Rothenberger daver...@acm.org -- 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: Setup install issues
Of course I already tried both with the recommended packages and without. (That is a separate bug as it should not recommend any packages if I do no select anything and choose Keep current version.) It gives this error either way. - I see no error here. More than that, everything behaves as "expected": setup.exe tells you at 12:52:53 to expect some errors and you don't have to wait too long (lucky you are) since at 12:52:54 you begin to experience those errors. But you did read the messages didn't you? Therefore you'll probably _accept_ the suggested missing dependencies next time. If that still does not work let us know, but please try first. Regards, Denis Excoffier. -- 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
Setup install issues
I'm getting this error when I run setup at the end, even when I deselect all packages and choose 'Keep' current version, and deselect "Select Required packages (RECOMMENDED)". How do I resolve this? I'm using setup.exe version 2.774. Package: Unknown package inetutils.sh exit code 256 libsasl2_3.sh exit code 256 /var/log/setup.log -- 2013/07/06 12:51:55 site: http://cygwin.mirrors.hoobly.com/ 2013/07/06 12:52:53 NOTE! User refused suggested missing dependencies! Expect some packages to give errors or not function at all. 2013/07/06 12:52:53 Changing gid back to original 2013/07/06 12:52:53 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/inetutils.sh" 2013/07/06 12:52:54 abnormal exit: exit code=256 2013/07/06 12:52:54 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/libsasl2_3.sh" 2013/07/06 12:52:56 abnormal exit: exit code=256 2013/07/06 12:52:56 Changing gid to Administrators 2013/07/06 12:53:06 note: Nothing needed to be installed 2013/07/06 12:53:06 Ending cygwin install -- 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
SVN - Newest Version
How do I install the latest SVN? I have version $ svn --version svn, version 1.7.8 (r1419691) compiled Jan 26 2013, 10:45:51 $ which svn /usr/bin/svn but my working copy is a newer format: $ svn info svn: E155021: This client is too old to work with the working copy at I tried setup.exe and searched in http://cygwin.mirrors.hoobly.com http://box-soft.com ftp://ftp.cygwinports.org/pub/cygwinports but there were no SVN clients, just SVN utilities and converters. http://i.imgur.com/eqF9ftM.png?1 -- 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
Setup.exe won't run from Bash on Windows 8
But it will run if I double click it from Explorer. I have execute permissions. What is wrong? Chloe@xps ~ $ /setup.exe -bash: /setup.exe: Permission denied Chloe@xps ~ $ ls -l /setup.exe -rwx--+ 1 Chloe None 705053 Jun 13 02:03 /setup.exe Chloe@xps ~ $ icacls 'c:\cygwin\setup.exe' c:\cygwin\setup.exe xps\Chloe:(RX,W) BUILTIN\Administrators:(I)(F) NT AUTHORITY\SYSTEM:(I)(F) Successfully processed 1 files; Failed processing 0 files Chloe@xps ~ $ uname -a CYGWIN_NT-6.2-WOW64 xps 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin Setup.exe version 2.774. -- 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: Rebase problems in Ruby
If they are "standard" fpr you, Cygwin may not know about them. You have to manually supply a list of shared libs and applications your project depends upon to rebase them on the same ground with the rest of Cygwin. FYI, I saw these lines in the output. I don't know if they are relevant. Notice pixman was rebased, and notice it said ruby.exe was not rebaseable. $ rebaseall -v > rebase.lst /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14_2.dll: skipped be cause nonexistent. $ grep pixman rebase.lst /usr/bin/cygpixman-1-0.dll: new base = 68d6, new size = 9 $ rubyrebase > rubyrebase.lst /usr/bin/find: `/usr/lib/ruby/site_ruby/1.9.1/i386-cygwin': No such file or directory /usr/bin/find: `/usr/lib/ruby/vendor_ruby/1.9.1/i386-cygwin': No such file or directory /usr/bin/ruby.exe: skipped because not rebaseable Unfortunately I must forgo Cygwin for native Windows executables. -- 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: Rebase problems in Ruby
So where are these gems coming from and how many are there? Too many/ones from unknown places are going to be either missed by 'rubyrebase' or be impossible to fit in memory without collision with other installed DLLs. See this thread for more discussion of this: They come from 'bundle install' and 'gem install'. The standard Ruby places. There are about 100 in my Gemfile. The same project works on WinXP, but not Win8. I don't see how it can't fit in memory. My WinXP has 1GB and my Win8 has 8GB. I've run rebaseall and rubyrebase several times, and re-installed ImageMagick and libpixman_1.0 several times. I just can't get past this problem. Does this mean I have to give up on Cygwin? $ rails console 0 [main] ruby 6420 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x68D7) != child(0x35D) 0 [main] ruby 1500 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x68D7) != child(0x372) -- 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
Rebase problems in Ruby
I'm trying to run 'rails console' in an app with many, many gems (not a test app) and it is giving me these errors. I've already tried to run 'rebaseall' with ash and I also ran 'rubyrebase' using a script I found on this list archive. Neither helped. I've tried several times. 'cygcheck -c' says everything's OK. These are the errors I'm getting: $ rails console 2 [main] ruby 4216 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 2 [main] ruby 2892 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 4 [main] ruby 2024 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 2 [main] ruby 5404 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 3 [main] ruby 4272 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 2 [main] ruby 5944 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 2 [main] ruby 880 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 2 [main] ruby 3316 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) 3 [main] ruby 4480 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x692B) != child(0x17A) /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:382:in `fix_coderay_colors': Interrupt from /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:376:in `reset_defaults' from /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:403:in `init' from /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:453:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry.rb:265:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:8:in `' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:6:in `' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:1:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:38:in `' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:34:in `' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:1:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard.rb:10:in `' from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard.rb:8:in `' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3
Sorry Ruby-Rails still isn't working
I'm not sure whom to report this to. Suggestions? I tried to report to ActiveSupport, but it's gone nowhere. Plus the missing file is referenced in test/unit/assertions.rb, which doesn't appear to be part of a gem. Ruby version: ruby 1.9.3p385 (2013-02-06 revision 39114) [i386-cygwin] Cygwin version: CYGWIN_NT-5.1 dumbopc 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin gem install rails rails new testapp cd testapp rails console /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- minitest/unit (LoadError) from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/1.9.1/test/unit/assertions.rb:1:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/1.9.1/test/unit/testcase.rb:1:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/test_case.rb:1:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/console/app.rb:2:in `' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:304:in `initialize_console' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:152:in `load_console' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands/console.rb:27:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands/console.rb:8:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:41:in `' from script/rails:6:in `require' from script/rails:6:in `' -- 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
Cygwinports
Just curious, why isn't ftp://ftp.cygwinports.org/pub/cygwinports on the standard list of mirrors? It seems like it should be because it has many more packages. This describes how to add it manually: http://cygwinports.org/ -- 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: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
I found the fix! Solution here: http://stackoverflow.com/a/14790595/148844 peflags -X409600 `which ruby` -- 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: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
Hi Yaakov, thanks for the updated Ruby, however it still doesn't seem to work: $ gem install rails $ rails new testapp # error $ cd testapp $ rails -v# error $ rails console # error Transcript -- $ which ruby /usr/bin/ruby Chloe@dumbopc ~ $ ruby -v ruby 1.9.3p385 (2013-02-06 revision 39114) [i386-cygwin] Chloe@dumbopc ~ $ gem install rails Successfully installed rails-3.2.11 1 gem installed Chloe@dumbopc ~ $ which rails /usr/bin/rails Chloe@dumbopc ~ $ rails -v Rails 3.2.11 Chloe@dumbopc ~ $ rails new testapp create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/images/rails.png create app/assets/javascripts/application.js create app/assets/stylesheets/application.css create app/controllers/application_controller.rb create app/helpers/application_helper.rb create app/views/layouts/application.html.erb create app/mailers/.gitkeep create app/models/.gitkeep create config create config/routes.rb create config/application.rb create config/environment.rb create config/environments create config/environments/development.rb create config/environments/production.rb create config/environments/test.rb create config/initializers create config/initializers/backtrace_silencers.rb create config/initializers/inflections.rb create config/initializers/mime_types.rb create config/initializers/secret_token.rb create config/initializers/session_store.rb create config/initializers/wrap_parameters.rb create config/locales create config/locales/en.yml create config/boot.rb create config/database.yml create db create db/seeds.rb create doc create doc/README_FOR_APP create lib create lib/tasks create lib/tasks/.gitkeep create lib/assets create lib/assets/.gitkeep create log create log/.gitkeep create public create public/404.html create public/422.html create public/500.html create public/favicon.ico create public/index.html create public/robots.txt create script create script/rails create test/fixtures create test/fixtures/.gitkeep create test/functional create test/functional/.gitkeep create test/integration create test/integration/.gitkeep create test/unit create test/unit/.gitkeep create test/performance/browsing_test.rb create test/test_helper.rb create tmp/cache create tmp/cache/assets create vendor/assets/javascripts create vendor/assets/javascripts/.gitkeep create vendor/assets/stylesheets create vendor/assets/stylesheets/.gitkeep create vendor/plugins create vendor/plugins/.gitkeep run bundle install /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError) Fetching gem metadata from https://rubygems.org/... Fetching gem metadata from https://rubygems.org/.. Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! Chloe@dumbopc ~ $ rails -v Rails 3.2.11 Chloe@dumbopc ~ $ cd testapp Chloe@dumbopc ~/testapp $ rails -v /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:114: stack level too deep (SystemStackError) -- 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: Search feature does not work
> That would be a function of "sourceware.org", > Not cygwin. The list and search form is hosted on cygwin.com. http://cygwin.com/ml/cygwin/2013-01/ -- 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: Ruby: stack level too deep (SystemStackError)
> I am not sure that it is a cygwin specific problem. Unfortunately I know > nothing of ruby so debugging is a bit hard > Marco It works using RailsInstaller.org, so that leads me to believe it is Cygwin. I just started Ruby, so I don't know how to debug either. > As you open a ticket with the bundler maintainer Perhaps the bundler maintainer will know the answer, but it happens with both bundler gem and rails gem, so that leads me to believe it is because of Ruby. I don't know enough about Ruby yet to say. > two guys had similar problem in the past > http://www.ruby-forum.com/topic/4408543 I did see that too, but they reverted to Ruby 1.9.2. However that version isn't an option in setup.exe, so I'm at a loss. Thanks for replicating! -- 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: Ruby: stack level too deep (SystemStackError)
Steps to reproduce, test case: setup.exe # Install Ruby gem install rails rails new testapp # error rails -v cd testapp rails -v # error -- 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: Ruby: stack level too deep (SystemStackError)
> how we can replicate your problem, if you do not provide us > all the step you did ? > Regards > Marco Please see the 3 emails sent last night. -- 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: Ruby: stack level too deep (SystemStackError)
References: <71851B8A7D9A48F48D1311D1326528AC@dumbopc> > rails is not part of cygwin > http://cygwin.com/cgi-bin2/package-grep.cgi?grep=rails> and clarifying > from where your "rails" is coming from ? rails is like a Perl CPAN package, like CGI::Simple, but for Ruby. I believe ruby the executable is crashing. A windows version of Ruby (railsinstaller.com) works, but it installs DevKit, which is just a copy of Cygwin, and a project I'm working on requires ImageMajick, which would not install. I can install ImageMajick easier with Cygwin. -- 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: How to make persistent changes to PATH in cygwin?
Try this: $ echo 'export PATH=$PATH:/newpath' >> ~/.bashrc You can also edit your .bashrc file too. Here is an example line from the .bashrc export PATH=$PATH:"/cygdrive/c/Program Files/Notepad++" Here is a bonus useful thing alias splitpath="echo \$PATH | cut -d: -f1- --output-delimiter=$'\n'" -- 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: Ruby: stack level too deep (SystemStackError)
I may have found something. I added -d to the rails script and it printed this: Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo $ rails -v Exception `LoadError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:1264 - cannot load such file -- rubygems/defaults/operating_system Exception `LoadError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:1273 - cannot load such file -- rubygems/defaults/ruby Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # Exception `NoMethodError' at /usr/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1495 - undefined method `to_ary' for # /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:118: stack level too deep (SystemStackError) Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo $ head -1 /usr/bin/rails #!/usr/bin/ruby.exe -d -- 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: Ruby: stack level too deep (SystemStackError)
I see the Ruby packager is here a.. From: Yaakov (Cygwin/X) b.. Subject: [ANNOUNCEMENT] Updated: ruby-1.9.3-p374-1 Additional info: I tried both versions of Ruby, ruby 1.9.3p327 and ruby-1.9.3-p374-1. I found something from Google that hinted that 1.9.2 might fix the problem, but I could not select that in setup.exe. I also tried peflags -x8192000 `which ruby` which did not help. (I don't really know what peflags is.) I also tried 18192000. I uninstalled Ruby and re-installed. Same with rails. It only fails when it's inside of an app directory. When I try rails new testapp It creates the directory and files, but fails on 'bundle install'. I can't run 'rails -v' in that directory either. I suspect there are other commands that will fail too, but I haven't found them yet. I'm using Windows XP SP3. $ uname -a CYGWIN_NT-5.1 dumbopc 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin Here are the bad lines if you are curious $ rails -v /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:114: stack level too deep (SystemStackError) $ cat -n /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb | grep '^ *114' 114 requirements.map { |op, version| "#{op} #{version}" }.sort $ bundle install /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError) $ cat -n /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb | grep '^ *32' 32raise e I also tried the suggestions from bundler following its link. -- 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
Search feature does not work
The mailing list search feature does not work. For example, this link http://sourceware.org/cgi-bin/search.cgi?wm=wrd&form=extended&m=all&s=D&q=ruby&ul=%2Fml%2Fcygwin%2F2013-01%2F%25 Did not find these posts: http://cygwin.com/ml/cygwin/2013-01/msg00355.html http://cygwin.com/ml/cygwin/2013-01/msg00401.html -- 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
How to request a module be added to setup list?
How do I request a module to be added to the module setup list, or how do I upload it? http://projects.gnome.org/gtksourceview/ -- 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
Fw: Cygwin updates cause rebaseall errors
FYI, this may be a problem with Cygwin setup causing packages and DLLs not to work. - Original Message - Subject: Re: [rt.cpan.org #75664] Fails 09parser test in Cygwin with *** fatal error https://rt.cpan.org/Ticket/Display.html?id=75664 > This shouldn't be an Inline::C bug. The issue can impact just about anything that runs under cygwin, and that uses DLL's. It's likely that what is getting clobbered is the C compiler. Apparently after upgrading some packages on cygwin, a rebaseall command may be necessary. The symptom seems to be wonky behavior across a number of assorted tools (not just Perl, or the C compiler). Here are some links on the topic: http://cygwin.wikia.com/wiki/Rebaseall http://www.heikkitoivonen.net/blog/2008/11/26/cygwin-upgrades-and-rebaseall/ My suggestion is to document the issue in a future release of Inline by placing the following segment in the Inline FAQ, or the Inline::C README (not sure which would be better): Q: Why am I getting errors under cygwin after upgrading some cygwin packages? A: We have no idea, but it seems to be a cygwin issue that will affect a number of tools on your system, including the C compiler. The solution is to execute a 'rebaseall' after terminating all long-running processes. Here are links to a couple of articles that describe how to do that: ...and then include the links above, or just copy and paste the examples of how to run rebaseall. -- 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: Package 'lapack' is not installing correctly using setup
OMG I didn't realize I had to exit the shell and start a new one. Thanks, it worked! Old shell console: $ splitpath /usr/local/bin /usr/bin /cygdrive/c/WINDOWS/system32 /cygdrive/c/WINDOWS /cygdrive/c/WINDOWS/System32/Wbem /cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0 /cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn/VSShell/Common7/IDE /cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn /cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn /cygdrive/c/Program Files/DTN/IQFeed /cygdrive/c/Program Files/OpenVPN/bin /cygdrive/c/Program Files/Java/apache-ant-1.8.2/bin - New shell console: - $ splitpath /usr/local/bin /usr/bin /cygdrive/c/WINDOWS/system32 /cygdrive/c/WINDOWS /cygdrive/c/WINDOWS/System32/Wbem /cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0 /cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn/VSShell/Common7/IDE /cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn /cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn /cygdrive/c/Program Files/DTN/IQFeed /cygdrive/c/Program Files/OpenVPN/bin /cygdrive/c/Program Files/Java/apache-ant-1.8.2/bin /usr/lib/lapack - Bonus -- alias splitpath="echo \$PATH | cut -d: -f1- --output-delimiter=$'\n'" -- > - what is the PATH ? > PATH: /home/marco/bin > PATH: /usr/local/bin > PATH: /usr/bin > PATH: /usr/lib/lapack > > I suspect you redefined the path and the > /etc/profile.d/lapack0.csh > /etc/profile.d/lapack0.sh > > scripts are not effective. > > Regards > Marco -- 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
Package 'lapack' is not installing correctly using setup
After installing lapack and trying to build gretl, it fails one of the tests and things lapack is not installed. (Ignore the lapack-3.4.0 path - I attempted to work around the problem with the latest version.) This show lapack installed --- Chloe@dumbopc ~/lapack-3.4.0 $ pkg-config --modversion lapack 3.2.1 Chloe@dumbopc ~/lapack-3.4.0 $ cat /usr/lib/pkgconfig/lapack.pc prefix=/usr exec_prefix=/usr libdir=${exec_prefix}/lib includedir=${prefix}/include Name: lapack Description: Linear Algebra PACKage FORTRAN 77 reference implementation Version: 3.2.1 Requires: blas URL: http://www.netlib.org/lapack/ Libs: -llapack Chloe@dumbopc ~/lapack-3.4.0 $ cat /usr/lib/pkgconfig/blas.pc prefix=/usr exec_prefix=/usr libdir=${exec_prefix}/lib includedir=${prefix}/include Name: lapack Description: Basic Linear Algebra Subprograms F77 reference implementations Version: 3.2.1 URL: http://www.netlib.org/blas Libs: -lblas Libs.private: -lm --- This is the error message in the log when trying to configure for gretl. --- configure:16010: checking for LAPACK configure:16044: gcc -o conftest.exe -I./lib/src -g -O2 conftest.c -L/usr/lib -llapack -lblas -lgfortran -lc -lc -lm >&5 configure:16044: $? = 0 configure:16044: ./conftest.exe /home/Chloe/gretl-1.9.7/conftest.exe: error while loading shared libraries: cyglapack-0.dll: cannot open shared object file: No such file or directory configure:16044: $? = 127 configure: program exited with status 127 --- List of lapack libraries -- $ ls -l /usr/lib/*lapack* -rwxr-xr-x 1 Chloe None 4193294 Mar 29 2011 /usr/lib/cyglapack-0.dll -rw-r--r-- 1 Chloe root 13256970 Mar 29 2011 /usr/lib/liblapack.a -rwxr-xr-x 1 Chloe root 868430 Mar 29 2011 /usr/lib/liblapack.dll.a -rwxr-xr-x 1 Chloe root 927 Mar 29 2011 /usr/lib/liblapack.la /usr/lib/lapack: total 4488 -rwxr-xr-x 1 Chloe root 400910 Mar 29 2011 cygblas-0.dll -rwxr-xr-x 1 Chloe root 4193294 Mar 29 2011 cyglapack-0.dll -- Version $ uname -a CYGWIN_NT-5.1 dumbopc 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin To reproduce, build gretl: http://gretl.sourceforge.net/ -- 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: Where to report problems with Perl modules
Where should I report a problem with Perl modules? bash-3.2$ uname -a CYGWIN_NT-5.1 dumbopc 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin cpan[9]> install Log::Log4perl t/017Watch.t . 30/30 # Failed test 'log to externally recreated file' # at t/017Watch.t line 343. # got: undef # expected: 'INFO - test3 # ' # Looks like you failed 1 test of 30. t/017Watch.t . Dubious, test returned 1 (wstat 256, 0x100) Failed 1/30 subtests Log-Log4perl-1.28.tar.gz -- 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
Fw: SVN Core Dump on Cygwin 1.7.1 using UNC Path
BTW Why can't the mail server extract the text/plain portion of an email automatically? - Original Message - From: Chloe Sowers To: cygwin@cygwin.com Sent: Wednesday, May 26, 2010 5:24 PM Subject: Fw: SVN Core Dump on Cygwin 1.7.1 using UNC Path FYI - Original Message - From: Chloe Sowers To: d...@subversion.apache.org Sent: Wednesday, May 26, 2010 5:07 PM Subject: SVC Core Dump http://subversion.tigris.org/issues/show_bug.cgi?id=3647 SVN core dump. CygWin 1.7.1 using UNC path. bash-3.2$ svn commit -m "message" email.pl assertion "svn_path_is_canonical(base, pool)" failed: file "/usr/src/subversion/ branches/cygwin-1.7/subversion-1.6.6-2/src/subversion-1.6.6/subversion/libsvn_su br/path.c", line 114, function: svn_path_join Aborted (core dumped) bash-3.2$ ls email.pl email2010-05-26.log svn.exe.stackdump synch.pl bash-3.2$ svn --version svn, version 1.6.6 (r40053) compiled Oct 23 2009, 08:41:54 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme bash-3.2$ pwd //192.168.168.202/WebPortal/chloe bash-3.2$ uname -a CYGWIN_NT-5.1 dumbopc 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin bash-3.2$ svn info Path: . URL: svn+ssh://xxunamex...@svn.xxhostxx.us/home/svn/repos/sfs-serverscripts Repository Root: svn+ssh://xxxuname...@svn.xxxhostxxx.us/home/svn/repos Repository UUID: 972ebe08-67a2-460d-8f53-8e22173697f3 Revision: 3168 Node Kind: directory Schedule: normal Last Changed Author: jxx Last Changed Rev: 3167 Last Changed Date: 2010-05-25 21:14:58 -0400 (Tue, 25 May 2010) bash-3.2$ cat svn.exe.stackdump Stack trace: Frame Function Args 0022C338 7C802542 (0688, EA60, 00A4, 0022C42C) 0022C448 610BADB3 (, 00BB41ED, 0688, ) 0022C528 610B7A37 (, , , ) 0022C578 610B7E4B (0CA0, 0022C5A0, 07E8, 0022C5B8) 0022C638 610B7F71 (0CA0, 0006, 0022C668, 610B8015) 0022C648 610B7FAC (0006, 0022CE88, 55D6, 55D6) 0022C668 610B8015 (6115D054, 6D6B33F0, 6D6B3228, 0072) 0022C698 6100109B (6D6B3228, 0072, 6D6B390D, 6D6B33F0) 0022C6C8 610B5178 (10066EC8, 67DB3424, 10087350, 100669B0) 0022C6F8 67D82ADA (10087350, 0022C720, 0022C728, 67D82CA7) 0022C708 67D82B71 (10066EC8, , , 10087350) 0022C728 67D82CA7 (10066EC8, 67DB6007, 10087350, 6D699C07) 0022C768 67DA39FC (10066EC8, 0022C7C8, 10087350, ) 0022C7D8 67D96A1B (, , , ) 0022C828 67D9785D (0022C868, , 10066C60, ) 0022C888 67DA9E7E (1007CC00, 100669B0, 1007CC00, 100669B0) End of stack trace (more stack frames may be present) -- 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
Can't install Perl modules with new Cygwin because of gcc version
I can't install or build Perl modules with cpan or cpanp because it passes -fstack-protector argument flag to gcc and that argument is not accepted in the cygwin version of gcc. Here is the error message from cpan while trying to install a Perl module. gcc -c -I/usr/include/openssl -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" SSLeay.c cc1: error: unrecognized command line option "-fstack-protector" make: *** [SSLeay.o] Error 1 Here is the cc line when running perl -V. It has the -fstack-protector flag. How did this perl get built with that flag when that version of gcc is not in Cygwin distribution? cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',optimize='-O3', The cygwin setup (version 2.673) has gcc 3.4.4-999 only, which is what I have installed. The latest version of gcc is 4.4.2. I might be able to add a cc flag in cpan, but I don't know how to take one out. I was able to use cpanp, go into the build directory, edit the Makefile, delete the argument, and built the module, but when a module has dependencies, this is a nightmare to do. -- 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
1.5.17 : fail to launch after installation
I downloaded this version and locally installed it. The error message after trying to run cygwin.bat is "bash: can't find configuration file /usr/local/etc/profile.global; exiting." The setup log contains these information : 2005/06/16 10:16:31 Starting cygwin install, version 2.457.2.2 2005/06/16 10:16:31 Failed to set CYGWIN=nontsec 2005/06/16 10:16:31 Current Directory: C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin 2005/06/16 10:16:31 Changing gid to Users 2005/06/16 10:16:31 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access. 2005/06/16 10:16:41 source: from cwd 2005/06/16 10:16:46 source: from cwd 2005/06/16 10:16:49 root: C:\cygwin binary system 2005/06/16 10:16:52 Selected local directory: C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin 2005/06/16 10:26:16 Installing file://C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/release/apr/apr-0.9.6-1.tar.bz2 2005/06/16 10:26:16 Installing file://C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/release/apr-util/apr-util-0.9.6-1.tar.bz2 2005/06/16 10:26:16 Installing file://C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/release/ash/ash-20040127-1.tar.bz2 . . . 2005/06/16 10:37:14 Installing file://C:\Documents and Settings\ctchang\Desktop\ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/ftp%3a%2f%2fcygwin.osuosl.org%2fpub%2fcygwin/release/_update-info-dir/_update-info-dir-00255-1.tar.bz2 2005/06/16 10:37:14 Visited: 366 nodes out of 366. 2005/06/16 10:37:14 Dependency ordered install: 2005/06/16 10:37:14 terminfo 2005/06/16 10:37:14 libncurses8 2005/06/16 10:37:14 texinfo . . . 2005/06/16 10:37:14 xpdf 2005/06/16 10:37:14 xpm-nox 2005/06/16 10:37:14 xwinclip 2005/06/16 10:37:14 xwinwm 2005/06/16 10:37:14 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/autoconf-wrapper.sh 2005/06/16 10:37:17 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/automake1.4.sh 2005/06/16 10:37:20 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/automake1.6.sh 2005/06/16 10:37:21 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/automake1.7.sh 2005/06/16 10:37:23 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/automake1.8.sh 2005/06/16 10:37:25 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/automake1.9.sh 2005/06/16 10:37:26 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/base-files-mketc.sh 2005/06/16 10:37:27 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/base-files-profile.sh 2005/06/16 10:37:28 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/cgoban.sh . . . 2005/06/16 10:38:39 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/xpdf.sh 2005/06/16 10:38:53 mbox note: Installation Complete 2005/06/16 10:38:55 Ending cygwin install -- 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/