容器技术交流

 找回密码
 立即注册
查看: 7024|回复: 17

freebsd 7.2装到Apache卡壳,求助(已解决)

[复制链接]
发表于 2009-5-22 15:24:35 | 显示全部楼层 |阅读模式
1.JPG


最新freebsd 7.2
装了2次,都是到Apache这卡住了,不知道什么原因
求助,谢谢


--------
原因是:修改了make.conf文件

[ 本帖最后由 taxuerb 于 2009-5-23 00:20 编辑 ]
发表于 2009-5-22 15:33:03 | 显示全部楼层
我的也是啊 用的服务器安装

checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... yes
checking for setpgid... 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... yes
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 strnlen... no
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for nanosleep... 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 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 for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files...
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/libxml
checking for xml2-config path... /usr/local/libxml/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... no
checking if we should use cURL for url streams... no
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/local/libxml/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... no
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libjpeg... /usr/local/jpeg
checking for the location of libpng... /usr/local/libpng
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/local/freetype
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
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 gdImageEllipse in -lgd... no
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 gdCacheCreate in -lgd... yes
checking for gdFontCacheShutdown in -lgd... yes
checking for gdFreeFontCache in -lgd... yes
checking for gdFontCacheMutexSetup in -lgd... no
checking for gdNewDynamicCtxEx in -lgd... yes
checking for gdImageCreate in -lgd... yes
checking for GNU gettext support... no
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking for iconv support... no
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for variable length prototypes and stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking for stdarg.h... (cached) yes
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 8
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... yes
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
make: no target to make.
make: don't know how to make install. Stop
cp: /usr/local/php/lib/php.ini: No such file or directory
php °&sup2;×°&sup2;&raquo;&sup3;&Eacute;&sup1;&brvbar;&pound;&iexcl;&Egrave;&iexcl;&Iuml;&ucirc;&ordm;ó&Atilde;&aelig;&micro;&Auml;°&sup2;×°
Php is not installed! Stop to install FAMP.

FAMP°&sup2;×°&Ecirc;§°&Uuml;&pound;&iexcl;

Sorry! FAMP is not installed.

×÷&Otilde;&szlig;: °&reg;&para;&acute;&Igrave;&Oslash;&Acirc;&copy;
Author: loveworking
WebSite: www.zijidelu.com

xxzxweb#
发表于 2009-5-22 15:54:52 | 显示全部楼层
我还就没碰到中间卡住的情况,呵呵,
不知道你们的咋回事,
发表于 2009-5-22 16:00:01 | 显示全部楼层
是不是分了/usr/local/mysql/var的分区
要是分了会出现这个毛病的
解决方法是只分/usr的分区就行了
 楼主| 发表于 2009-5-22 16:01:53 | 显示全部楼层
VMware内装的
 楼主| 发表于 2009-5-22 16:02:21 | 显示全部楼层
汗...分/var分区了
怎么解决???
 楼主| 发表于 2009-5-22 16:02:50 | 显示全部楼层
一般var都需要单独分出来啊
发表于 2009-5-22 16:18:24 | 显示全部楼层
不会是分区问题吧 我是完全按照教程分区的
发表于 2009-5-22 16:32:52 | 显示全部楼层

回复 1# taxuerb 的帖子

不能看完错误原因,看一下是不是安装FAMP所在分区的空间不够
发表于 2009-5-22 16:33:30 | 显示全部楼层

回复 5# dazui9999 的帖子

我自己试一下吧
 楼主| 发表于 2009-5-22 17:04:46 | 显示全部楼层
我这分区
/usr   5G
/var  50G
/tmp 2G
/Swap   512M
/www  101G
/         512M

[ 本帖最后由 taxuerb 于 2009-5-22 17:07 编辑 ]
发表于 2009-5-22 17:06:37 | 显示全部楼层
嗯,你把FAMP放在/www下解压并安装
或者放在/usr下也行
但建议放在/www下安装

cd /www
fetch http://xxxxxx/famp5.1.0beta2.tar
然后解压,再安装
 楼主| 发表于 2009-5-22 17:14:22 | 显示全部楼层
那我试试在/www下试试,稍等
 楼主| 发表于 2009-5-22 17:48:20 | 显示全部楼层
还是不行,错误为
......................
Libraries have been installed in:
   /usr/local/apache/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 apr.exp /usr/local/apache/lib/apr.exp
/usr/bin/install -c -m 644 apr.pc /usr/local/apache/lib/pkgconfig/apr-1.pc
for f in libtool shlibtool; do  if test -f ${f}; then /usr/bin/install -c -m 755 ${f} /usr/local/apache/build; fi;  done
/usr/bin/install -c -m 755 /www/famp5.1.0/soft/httpd-2.2.11/srclib/apr/build/mkdir.sh /usr/local/apache/build
for f in make_exports.awk make_var_export.awk; do  /usr/bin/install -c -m 644 /www/famp5.1.0/soft/httpd-2.2.11/srclib/apr/build/${f} /usr/local/apache/build;  done
/usr/bin/install -c -m 644 build/apr_rules.out /usr/local/apache/build/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /usr/local/apache/bin/apr-1-config
Making install in apr-util
Making all in xml/expat
make: don't know how to make //ftp.cn.freebsd.org/pub/FreeBSD/ports/distfiles//. Stop
*** Error code 2

Stop in /www/famp5.1.0/soft/httpd-2.2.11/srclib/apr-util/xml/expat.
*** Error code 1

Stop in /www/famp5.1.0/soft/httpd-2.2.11/srclib/apr-util.
*** Error code 1

Stop in /www/famp5.1.0/soft/httpd-2.2.11/srclib.
*** Error code 1

Stop in /www/famp5.1.0/soft/httpd-2.2.11.
./apache.sh: cannot create /usr/local/apache/conf/httpd.conf: No such file or directory
./apache.sh: cannot create /usr/local/apache/conf/vhost.conf: No such file or directory
chown: /usr/local/apache/conf/vhost.conf: No such file or directory
chmod: /usr/local/apache/conf/vhost.conf: No such file or directory
Apache °&sup2;×°&sup2;&raquo;&sup3;&Eacute;&sup1;&brvbar;&pound;&iexcl;&Egrave;&iexcl;&Iuml;&ucirc;&ordm;ó&Atilde;&aelig;&micro;&Auml;°&sup2;×°
Apache is not installed! Stop to install FAMP.

FAMP°&sup2;×°&Ecirc;§°&Uuml;&pound;&iexcl;

Sorry! FAMP is not installed.

×÷&Otilde;&szlig;: °&reg;&para;&acute;&Igrave;&Oslash;&Acirc;&copy;
Author: loveworking
WebSite: www.zijidelu.com
 楼主| 发表于 2009-5-22 17:49:59 | 显示全部楼层
/usr/local/mysql/var  这个我没单独分区
只是分了个/var分区
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2024-4-29 04:32 , Processed in 0.048952 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表