Cygwin なんでも掲示板

一覧最新記事過去一覧 | 検索FAQアンテナHOME
(新規投稿・発言はできません)


スレッド

└◇638:
makeができないのですが・・・ [Bakaneko] 10/09 11:13

 └◇640:Re:makeができないのですが・・・ [な] 10/09 <


638● makeができないのですが・・・[ Bakaneko ] 2002 10/09 11:13
現在、CygwinでWin2000にインストールしたApacheにSSL機能を追加しようとしているのですがコンパイルとインストールがうまくいきません。

環境としてはCygwin2.249.2.5をフルインストールしています。
./configとやるとmakefileができるのですがその後makeをすると「ファイルがない」とか言われてエラーでうまくいきません。
これはインストールだけではなく、何か環境設定をしなければいけないのでしょうか?今のところ、インストールしただけの状態です。よろしくお願いします。

$ make
+ rm -f libcrypto.dll
+ rm -f cygcrypto.dll libcrypto.dll.a
+ rm -f libssl.dll
+ rm -f cygssl.dll libssl.dll.a
making all in crypto...
make[1]: Entering directory `/cygdrive/d/Apache/openssl-0.9.6g/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \
echo ' #define CFLAGS "gcc -DTHREADS -DDSO_WIN32 -DTERMIOS -DL_ENDIAN -fomit-f
rame-pointer -O2 -m486 -Wall"'; \
echo ' #define PLATFORM "Cygwin"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I../include -DTHREADS -DDSO_WIN32 -DTERMIOS -DL_ENDIAN -fomit-frame-po
inter -O2 -m486 -Wall -c -o cryptlib.o cryptlib.c
cryptlib.c:59: stdio.h: No such file or directory
cryptlib.c:60: string.h: No such file or directory
In file included from cryptlib.c:61:
cryptlib.h:62: stdlib.h: No such file or directory
cryptlib.h:63: string.h: No such file or directory
In file included from cryptlib.h:65,
from cryptlib.c:61:
../include/openssl/e_os.h:297: unistd.h: No such file or directory
../include/openssl/e_os.h:302: sys/types.h: No such file or directory
In file included from cryptlib.h:67,
from cryptlib.c:61:
../include/openssl/crypto.h:62: stdlib.h: No such file or directory
../include/openssl/crypto.h:65: stdio.h: No such file or directory
In file included from cryptlib.h:69,
from cryptlib.c:61:
../include/openssl/bio.h:63: stdio.h: No such file or directory
In file included from cryptlib.h:70,
from cryptlib.c:61:
../include/openssl/err.h:63: stdio.h: No such file or directory
../include/openssl/err.h:64: stdlib.h: No such file or directory
In file included from ../include/openssl/err.h:71,
from cryptlib.h:70,
from cryptlib.c:61:
../include/openssl/lhash.h:67: stdio.h: No such file or directory
In file included from cryptlib.h:70,
from cryptlib.c:61:
../include/openssl/err.h:90: errno.h: No such file or directory
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/cygdrive/d/Apache/openssl-0.9.6g/crypto'
make: *** [sub_all] Error 1
スレッド一覧


640● Re:makeができないのですが・・・[ な ] 2002 10/09 13:59
質問前に読んでほしいFAQ http://www.mars.dti.ne.jp/~sohda/cygwin/faq.html
の Q.0:A.0 の2番目を読みましたか?
「Cygwinをフルインストールした」ことはどうやって確かめましたか?
エラーメッセージの意味は理解していますか?
現在のNetReleaseにはmod_sslがありますが、自分でコンパイルするのはなぜですか?

うちでは以下のようになります。
$ zgrep stdio.h /etc/setup/*
/etc/setup/cygwin.lst.gz:usr/include/stdio.h
/etc/setup/cygwin.lst.gz:usr/include/sys/stdio.h
/etc/setup/gcc.lst.gz:usr/include/g++-3/iostdio.h
/etc/setup/mingw-runtime.lst.gz:usr/include/mingw/stdio.h
/etc/setup/perl.lst.gz:usr/lib/perl5/5.6.1/cygwin-multi/CORE/nostdio.h

ですから、cygwin パッケージを再インストールしてみてください。
スレッド一覧

早田のホームページへ
CGIROOM