X



Cygwin使っている人いますか? その22
0002名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:52:25.40
過去スレ
1 ttp://pc.2ch.net/unix/kako/963/963123573.html
2 ttp://pc.2ch.net/unix/kako/1003/10033/1003358904.html
3 ttp://pc.2ch.net/unix/kako/1011/10113/1011345180.html
4 ttp://pc.2ch.net/unix/kako/1018/10188/1018882767.html
5 ttp://pc.2ch.net/unix/kako/1024/10248/1024809685.html
6 ttp://pc.2ch.net/unix/kako/1033/10334/1033484276.html
7 ttp://pc.2ch.net/unix/kako/1039/10394/1039449446.html
8 ttp://pc.2ch.net/unix/kako/1047/10474/1047489645.html
9 ttp://pc.2ch.net/unix/kako/1055/10552/1055250582.html
10 ttp://pc.2ch.net/unix/kako/1066/10660/1066042212.html
11 ttp://pc5.2ch.net/test/read.cgi/unix/1076240971/
12 ttp://pc5.2ch.net/test/read.cgi/unix/1086622860/
13 ttp://pc5.2ch.net/test/read.cgi/unix/1099157755/
14 ttp://pc8.2ch.net/test/read.cgi/unix/1107587275/
15 ttp://pc8.2ch.net/test/read.cgi/unix/1119982766/
16 ttp://pc8.2ch.net/test/read.cgi/unix/1134474192/
17 ttp://pc11.2ch.net/test/read.cgi/unix/1154022733/
18 ttp://pc11.2ch.net/test/read.cgi/unix/1184677144/
19 ttp://pc12.2ch.net/test/read.cgi/unix/1230683366/
20 ttp://toro.2ch.net/test/read.cgi/unix/1268282846/
21 ttp://peace.2ch.net/test/read.cgi/unix/1331382186/
0003名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:52:52.50
関連スレ
http://find.2ch.net/?STR=Cygwin&;TYPE=TITLE&x=0&y=0&BBS=ALL&ENCODING=SJIS&COUNT=50

FAQ
Q. XXX というコマンドはどのパッケージに含まれているの?
A. ttp://www.cygwin.com/packages/ で検索しれ

Q. Cygwin は UNIX の勉強に使えますか?
A. Cygwin は UNIX に慣れた人間が Windows 上で楽するのには向いていますが、
  UNIX の勉強には向いていません。
0004名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:54:08.67
関連スレ検索はこっちで
ttp://dig.2ch.net/?keywords=Cygwin&AndOr=0&maxResult=50&atLeast=1&Sort=5&Link=1&Bbs=all&924=1
0006名無しさん@お腹いっぱい。
垢版 |
2014/09/11(木) 23:50:19.41
Windowsベースだからファイル名の大文字小文字を区別しないのは納得できる。
しかし sortコマンドがファイルの内容まで大文字区別しないのは納得しかねる。
具体的には

$ cat a.txt
a1
A2
_1

を sortすると
$ sort a.txt
_1
a1
A2

になる。
もしかしてそのたぐいのオプションとかあります?
0009名無しさん@お腹いっぱい。
垢版 |
2014/09/13(土) 11:18:57.28
>>7
オプションのとこしか見てなかった。

>>8
サンクス

しかし en_US.UTF-8 でも区別してくれないんだな。
Macはどうなんだろう?
0010名無しさん@お腹いっぱい。
垢版 |
2014/09/13(土) 14:41:53.02
>>9
bash-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.4
BuildVersion: 13E28
bash-3.2$ echo $LANG
ja_JP.UTF-8
bash-3.2$ sort --version | head -n1
sort (GNU coreutils) 5.93
bash-3.2$ cat a.txt
a1
A2
_1
bash-3.2$ sort a.txt
A2
_1
a1
bash-3.2$ sort -d a.txt
_1
A2
a1
bash-3.2$ sort -df a.txt
_1
a1
A2
0015名無しさん@お腹いっぱい。
垢版 |
2014/10/26(日) 17:27:57.04
>>14
stat は coreutils に入ってるので、ソース(パッチ)見てみた。
setpu-x86.exe で coreutils の src にチェックを付けてインストール。
mintty 起動して、/usr/src/ に coreutils-x.xx 出来てるので、

$ grep -C 10 ctime coreutils-8.23-4.cygwin.patch
(略)
+This release depends on features that did not exist prior to
+cygwin-1.7.32. There are still corner cases of POSIX compliance that
+are impossible without more support from future cygwin versions, such
+as proper treatment of directory ctime or atomicity of some low-level
+functions, or outright impossible, such as hard links on a FAT drive.
+Cygwin provides its own `kill' that understands Windows pid's, so the
+coreutils version is renamed `gkill'. Although coreutils provides
+an `uptime', on Cygwin you will need the `procps' package. I would
+appreciate help in getting `stdbuf' ported to Cygwin. There are
+several bugs in the testsuite, so don't be alarmed at failures and
+use `make -k check' to make it to the end.
0016名無しさん@お腹いっぱい。
垢版 |
2014/10/26(日) 18:41:48.26
>>15
レスありがとう。posix準拠させるには周辺状況が厳しいって事ですね。
内部的な事は、ソースを読みつつゆっくりと調べてみようと思います。
0017名無しさん@お腹いっぱい。
垢版 |
2014/10/26(日) 22:34:44.90
setpu-x86.exeてどこにあった奴よ
0019名無しさん@お腹いっぱい。
垢版 |
2014/10/27(月) 00:02:18.60
だっさ
0025名無しさん@お腹いっぱい。
垢版 |
2014/11/08(土) 19:32:40.03
助けてください
先週の末に、1.7.28から1.7.32にupdateしたのですが、
apache2が起動着なくなりました
httpd2 -k startでは、
0 [main] httpd2 17332 child_info_fork::abort: address space needed by 'mod_setenvif.so' (0x5B0000) is already occupied
fork: Resource temporarily unavailable
サービスで起動すると
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20121212/recode.dll' - No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20121212/tidy.dll' - No such process in Unknown on line 0
[Sat Nov 08 19:26:13 2014] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 08 19:26:13 2014] [notice] Digest: done
0 [main] httpd2 15344 child_info_fork::abort: address space needed by 'cygz.dll' (0x6D0000)is already occupied
[Sat Nov 08 19:26:13 2014] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process
[Sat Nov 08 19:26:23 2014] [notice] Apache/2.2.29 (Unix)
DAV/2 PHP/5.5.18 configured -- resuming normal operations
0 [main] httpd2 24048 child_info_fork::abort: address space needed by 'mod_authn_file.so' (0x280000) is already occupied
[Sat Nov 08 19:26:24 2014] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process
0 [main] httpd2 16572 child_info_fork::abort: unable to remap apr_ldap-1.dll to same address as parent (0x1F50000) - try running rebaseall
[Sat Nov 08 19:26:35 2014] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process

ash rebaseall を実行しても、改善しません
何が、良いほう方法はないでしょうか
よろしくお願いします。
レスを投稿する


ニューススポーツなんでも実況