当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 第一次面对.tar.gz安装包,寻求帮助!
帖子发表于 : 2007-10-25 6:24 

注册: 2007-08-11 21:44
帖子: 161
送出感谢: 0 次
接收感谢: 0 次
Apache HTTP Server

Platform specific notes:
------------------------

================
Darwin (OS X):
Apache 2 relies heavily on the use of autoconf and libtool to
provide a build environment. Darwin provides these tools as part
of the Developers Tools package. Under Darwin, however, GNUlibtool
is installed as 'glibtool' to avoid conflicting with the Darwin
'libtool' program. Apache 2 knows about this so that's not a
problem.

As of OS X 10.2 (Jaguar), the bundled versions work perfectly. Partly
this is due to the fact that /bin/sh is now 'bash' and not 'zsh' as
well as the fact that the bundled versions are up-to-date:
autoconf 2.52 and (g)libtool 1.4.2.

Earlier versions of OS X are not so fortunate, and the bundled tools
are not only older versions, but also, for the most part, do not work
well. If you are interested in developing under Darwin, we
recommend that you obtain and install replacement versions of what
are normally installed on Darwin (and OS X, as of v10.1.5). If
you build your own versions of autoconf 2.52 and libtool 1.4.2, be
aware that there are some Darwin specific patches to the official
code that still must be applied for them to fully work. A useful
page to check out is:

http://fink.sourceforge.net/doc/porting/libtool.php

Pier Fumagalli also provides pre-built Darwin packages of the
patched autoconf and libtool suites, available at:

http://www.apache.org/~pier/macosx/

You will note that GNU libtool should actually be installed as
glibtool, to avoid conflict with a Darwin program of the same
name. Pier's packages have this change already. All files are
installed under /usr/local/ so to use these versions, and be sure
that /usr/local/bin is earlier in your PATH.

There have been some reports that autoconf 2.52 prevents Apache's
build system from correctly handling passing multi-value envvars
to the build system (eg: CFLAGS="-g -O3" ./configure), causing
errors. Use of bash does not seem to help in this situation. If
this affects you, downgrading to autoconf 2.13 (which is installed
on Darwin) will help.

==========
FreeBSD:
autoconf 2.52 creates scripts that are incompatible with the Posix
shell implementation (/bin/sh) on FreeBSD. Be sure to use v2.13
of autoconf.

Threaded MPMs are not supported on FreeBSD 4.x. Current releases of
FreeBSD 5.x (5.2 or later) support threaded MPMs correctly. You must pass
'--enable-threads=yes' to APR's configure in order to enable threads.
Additionally, you must use libthr or libkse via libmap.conf as the default
libc_r is still broken as of this writing. Please consult the man page for
libmap.conf for more details about configuring libthr or libkse.
================
HP-UX:
The dlopen() system call in HP-UX has problems when loading/unloading
C++ modules. The problem can be resolved by using shl_load() instead
of dlopen(). This is fixed in the Apache 2.0.44 release.
To enable loading of C++ modules, the httpd binary has to be linked with
the following libraries :

HP-UX (11.0 / 11i):
When using shl_load : "cpprt0_stub.s -lcl"
When using dlopen : "cpprt0_stub.s -lcl -lCsup"

HP-UX (11i version 1.5 and greater):
When using dlopen/shl_load : "cpprt0_stub.s -lcl -lunwind"

The cpprt0_stub.s can be downloaded from the web site :
http://h21007.www2.hp.com/hpux-devtools ... /0083.html

Compile cpprt0_stub.s with the PIC option
cc -c +z cpprt0_stub.s
- OR -
gcc -c -fPIC cpprt0_stub.s
================
AIX, using the vendor C compiler with optimization:
There is an issue with compiling server/core.c with optimization enabled
which has been seen with C for AIX 5.0.2.3 and above. (5.0.2.0, 5.0.2.1,
and 5.0.2.2 have an additional problem with Apache 2.0.x, so either upgrade
the compiler or don't use optimization in order to avoid it.)

cc_r works fine with -O2 but xlc_r does not. In order to use xlc_r with
-O2, apply the patch at

http://www.apache.org/dist/httpd/patche ... tion.patch

(That patch works with many recent levels of Apache 2+.)

================
Solaris:

On Solaris, better performance may be achieved by using the Sun Studio
compiler instead of gcc. As of version 11, it is now free (registration
required). Download the compiler from:

http://developers.sun.com/prodtech/cc/d ... /index.jsp

If you use Sun Studio, the following compiler flags (CFLAGS) are
recommended:

-XO4 -xchip=generic


````````````````````````````````````````````````
请问这个是怎么安装的??


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-10-25 6:41 

注册: 2005-04-25 6:08
帖子: 43
送出感谢: 0 次
接收感谢: 0 次
要装apache自己用apt-get装,或者synaptic


_________________
Free as in Freedom


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-10-27 0:06 

注册: 2007-08-11 21:44
帖子: 161
送出感谢: 0 次
接收感谢: 0 次
哎,主要是想学安装软件!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-10-27 1:49 
头像

注册: 2005-09-10 16:04
帖子: 3537
地址: DG-GD-China
送出感谢: 0 次
接收感谢: 0 次
等慢慢的用度了,看多了,自然而然的就会编译安装软件了
新手不建议一来就编译安装软件


_________________
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-10-27 1:52 
头像

注册: 2006-09-02 18:58
帖子: 474
地址: 深圳
送出感谢: 0 次
接收感谢: 0 次
......
我装的第一个软件就是编译安装的,那个讨厌的DRCOM


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译