1727c1727 < int res; --- > int res; int i; 1742c1742,1745 < res = SetDIBitsToDevice(hDC,0,0,width,height,0,0,0,height,image->data,&bmInfo,DIB_RGB_COLORS); --- > for (i=0; i < height; i++) { > res = SetDIBitsToDevice(hDC,dx,dy+i,width,1,sx,sy+i,0,i+1,image->data,&bmInfo,DIB_RGB_COLORS); > if (res==0) break; > }
Obviously, you have to replace the 'c:\cygwin\bin' with the ms-dos path name of your /bin directory. You also *must* use Windows tools (e.g., "copy" or GUI "drag and drop") to copy the DLL to its new home since you can't easily overwrite a busy DLL.
http://www.gnu.org/manual/cvs-1.9/html_node/cvs_86.html#SEC88 > In place of the command name you can use cvs to > specify global options (see section Global options). > For example the following line in `.cvsrc' > > cvs -z6 > > causes CVS to use compression level 6
これを読んで「-d も global option だから"cvs -d /usr/local/cvsroot"を .cvsrcに追加すればいいのか」と思ったわけです。周りに聞ける人が いないのでこういうときにいつも困ってしまうのですが、今回はここで教えてもらって 助かりました。これで安心してプログラムが組めます。
2002-07-19 12:31:52 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream,socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:166) at java.net.SocketInputStream.read(SocketInputStream.java:144) at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown Source) at org.apache.catalina.connector.warp.WarpRequestHandler.handler(Unknown Source) at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:536)
おもいっきり 初心者です。cygwin最新版でenlightenmentしたいんですが、libFnlib.soがないって言われまして いろいろ探して見つけて/usr/local/lib入れたんですが、やっぱりないって言われるのは どうしたらいいんでしょうか。./configure --with-xです。 checking for libintl.h... yes checking for gettext in libc... no checking for bindtextdomain in -lintl... yes checking for gettext in libintl... checking for gettext in -lintl... yes yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... no checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... de dk en_US es fr hu ko nl no ru sv p pt_BR tr checking for esd-config... /usr/local/bin/esd-config checking for ESD - version >= 0.2.17... yes checking for imlib-config... /usr/local/bin/imlib-config checking for IMLIB - version >= 1.9.8... yes checking for Fnlib_init in -lFnlib... no ERROR: Enlightenment needs a system with libFnlib.so (Fnlib) You can obtain it from: ftp://ftp.enlightenment.org/pub/enlightenment/ ftp://www.rasterman.com/pub/enlightenment/ ftp://ftp.labs.redhat.com/pub/fnlib/ configure: error: Fatal Error: no Fnlib detected.
mount --help Usage: mount [OPTION] [<win32path> <posixpath>] -b, --binary text files are equivalent to binary files (newline = \n) -c, --change-cygdrive-prefix change the cygdrive path prefix to <posixpath> -f, --force force mount, don't warn about missing mount point directories -h, --help output usage information and exit -m, --mount-commands write mount commands to replace user and system mount points and cygdrive prefixes -p, --show-cygdrive-prefix show user and/or system cygdrive path prefix -s, --system (default) add system-wide mount point -t, --text (default) text files get \r\n line endings -u, --user add user-only mount point -v, --version output version information and exit -x, --executable treat all files under mount point as executables -E, --no-executable treat all files under mount point as non-executables -X, --cygwin-executable treat all files under mount point as cygwin executables
> In the last patch, I left a wrong and unnecessary type cast in > each of wcscmp and wcsncmp. I didn't understand why these type > casts are necessary in NetBSD C library and how wchar_t is > defined in newlib.
$ mount D:\\bin on /usr/bin type system (binmode) D:\\lib on /usr/lib type system (binmode) D: on / type system (binmode) c: on /cygdrive/c type user (binmode,noumount)
PATH="/usr/local/bin:/usr/bin:/bin:$PATH" USER="`id -un`" # Set up USER's home directory if [ -z "$HOME" ]; then HOME="/home/$USER" fi if [ ! -d "$HOME" ]; then mkdir -p "$HOME" fi export HOME USER for i in /etc/profile.d/*.sh ; do if [ -f $i ]; then . $i fi done export MAKE_MODE=unix export PS1='\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' cd "$HOME"
$apachectl start すると、 Syntax error on line 279 of /etc/apache/httpd.conf: Cannot add module via name 'mod_ntsec_auth.c': not in list of loaded modules /usr/sbin/apachectl start: httpd could not be started と怒られてしまい。line 279はAddModule mod_ntsec_auth.cです。 とりあえずパスして、、、line 279をコメントアウトしてモッカイやると、 起動はするのですが、、、 [hoge@apache]$D:\usr\sbin\httpd.exe: *** unable to remap D:\lib\apache\mod_vhost _alias.dll to same address as parent -- 0x8F0000 というエラーが連発し始めてしまいます。 これはなにか足りないものがあるのでしょうか、、、 mod_vhost,nod_ntsec_authのdllはちゃんとあります。
debug1: service_accept: ssh-userauth debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is publickey debug1: try pubkey: /home/moner/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: try privkey: /home/moner/.ssh/id_dsa debug1: read PEM private key done: type DSA debug2: we sent a publickey packet, wait for reply debug1: authentications that can continue: publickey,password,keyboard-interactive debug2: we did not send a packet, disable method debug1: next auth method to try is keyboard-interactive