[PHP-users 16935]header fileが見つかりません?

tk tk @ ss.iij4u.or.jp
2003年 7月 24日 (木) 18:43:08 JST


tkと申します。
かなり初心者です。
サーバーを引っ越しして、新しいサーバーにphpをインストールしました。

php-4.2.3-multibyteをソースから、FreeBSD4.7にインストールして、
その後で、--enable mbregexが抜けていたことに気が付き、再configureを
実行したのですが、configureの途中で、エラーとなってしまいました。
configure: error: Cannot find header files under /usr/local/lib

再configureの際に、make cleanをしようとしたのですが、これもエラーと
なりmake cleanできず、再度ソースからはじめました。

「headerがない」?というのは、なんのheaderのことなのでしょうか?
誠に恐れ入りますが、アドバイスお願いできますでしょうか?

以前のサーバーで使っていたphpで、日本語正規表現を使っているので、
現在そのページはエラーが表示されて非常に弱っています。

以下configureからエラーまでのログです。よろしくお願い申し上げます。
======================================
tk /usr/local/src/php/php-4.2.3# ./configure --enable-track-vars 
--enable-trans-sid --with-mysql=/usr/local/lib --with-pgsql 
--with-apxs=/usr/local
/apache/bin/apxs --enable-versioning --enable-mbstring 
--enable-mbstr-enc-trans --enable-mbregex --with-gd=/usr/local 
--with-jpeg-dir=/usr/local/lib -
-with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i386-unknown-freebsd4.7
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) nawk
checking for bison... bison -y
checking bison version... 1.75 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... yes
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Caudium support... no
checking for fhttpd module support... no
checking for CLI build... no
checking for FastCGI support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web Support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache

Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket in -lsocket... no
checking for htonl in -lsocket... no
checking for yp_get_default_domain... yes
checking for dlopen in -ldl... no
checking for sin in -lm... yes
checking for inet_aton in -lresolv... no
checking for inet_aton in -lbind... no
checking for __inet_aton in -lbind... no
checking for res_search in -lsocket... no
checking for res_search in -lresolv... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for ApplicationServices/ApplicationServices.h... no
checking for alloca.h... no
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for crypt.h... no
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... no
checking for sys/vfs.h... no
checking for sys/sysexits.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... no
checking for crypt... no
checking for flock... yes
checking for gai_strerror... yes
checking for gcvt... no
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... no
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) no
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR, and where... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... no
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking for crypt in -lcrypt... yes

Configuring extensions
checking if the location of ZLIB install directory is defined... yes
checking for ZLIB support... no
checking for gzgets in -lz... yes
checking for fopencookie... no
checking for ASPELL support... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for CCVS support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking for CyberCash support... no
checking for cybermut support... no
checking for cyrus imap support... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for Berkeley DB3 support... no
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking for dbplus support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking for DOM support... no
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking whether to enable EXIF support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking for FriBidi support... no
checking whether to enable FTP support... no
checking for GD support... yes
checking whether to enable truetype string function in GD... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking for FreeType 1.x support... no
checking for T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... yes
checking for gdImageGif in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... yes
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageStringFTEx in -lgd... yes
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... yes
checking for GNU gettext support... no
checking for GNU MP support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for Java support... no
checking for LDAP support... no
checking whether to enable multibyte string support... yes
checking whether to enable japanese encoding translation... yes
checking whether to enable multibyte regex support... yes
checking for MCAL support... no
checking for mcrypt support... no
checking for MCVE support... no
checking for mhash support... no
checking for MING support... no
checking for mnoGoSearch support... no
checking for msession support... no
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
checking size of char... 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... no
checking for type uchar... no
checking for type uint... yes
checking for type ushort... yes
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
configure: error: Cannot find header files under /usr/local/lib
tk /usr/local/src/php/php-4.2.3#
======================================
よろしくお願い申し上げます。
tk




PHP-users メーリングリストの案内