LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 北南南北

用源码包安装php-4.34+mysql-4.0.16+apache-2.0.48+vbb-2.32实践总结

[复制链接]
发表于 2004-2-28 12:52:55 | 显示全部楼层
已经找到原因,因为AS安装的时候只有一二个用户组,所以就出现上述错误
发表于 2004-2-28 14:58:04 | 显示全部楼层
在编译安装好php后,如果按楼主的做法好象会不成功,
我在httpd.cnf里加入以下内容后,才正常:)
-------------------------------------
    <Files *.php>
        SetOutputFilter PHP
        SetInputFilter PHP
        LimitRequestBody 524228
    </Files>
发表于 2004-2-28 16:34:11 | 显示全部楼层
另外还有个问题,这种编译方式安装,如何解决服务器自动启动问题,如果服务器重启也需要手动启动服务,那不烦得很,不知道如何实现服务器自启动?
请教北南兄?
发表于 2004-3-23 20:55:53 | 显示全部楼层

我的建议,不写在原系统的软件

我发现其实不用卸载原来的软件,可能有些人也像我一样可能想利用fedora或者debian、gentoo的自动升级功能,又想自己动手试试,其实完全没有必要卸载那些软件只要停掉相关服务即可
发表于 2004-3-25 18:26:21 | 显示全部楼层
mysql-3.23.58-4和perl-DBD-MySQL似乎不能同时删除,不知道为什么?高手告诉我可以马?
发表于 2004-3-29 10:49:28 | 显示全部楼层

谢谢我的也弄成功了。:)

发表于 2004-3-29 21:16:27 | 显示全部楼层

直接是灰头土脸!

安装过程中提示我没有装gcc
于是我就开始安装,结果从光盘上找到了6个gcc开头的文件,分别是gcc-3.2.2-5.i386 gcc-c++-3.2.2-5.i386 gcc-g77-3.2.2-5.i386
gcc-gnat-3.2.2-5.i386 gcc-java-3.2.2-5.i386 gcc-objc-3.2.2-5.i386 我把他们放到/usr/local里后执行#rpm -ivh gcc-3.2.2-5.i386  出现以下字样
warning: gcc-3.2-7.i386.rpm: V3 DSA signature:NOKEY,key ID db42a60e   error:Failed dependencies:
cpp=3.2-7 is needed by gcc-3.2-5
binutils >=2.12.90.0.7-1 is needed by gcc-3.2-5
glibc-devel >=2.2.90-12 is needed by gcc-3.2-5
请问我该怎么办才能把gcc添加进去呢
发表于 2004-3-31 00:42:59 | 显示全部楼层
后来我又找了个机子重装了linux
make的时候出现死循环是为什么呢
发表于 2004-3-31 00:46:20 | 显示全部楼层
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_analyse.o `test -f sql_analyse.cc || echo './'`sql_analyse.cc
发表于 2004-3-31 00:47:32 | 显示全部楼层
Making all in share
make[4]: Entering directory `/opt/mysql-4.0.16/sql/share'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/mysql-4.0.16/sql/share'
make[4]: Entering directory `/opt/mysql-4.0.16/sql'
source='ha_myisammrg.cc' object='ha_myisammrg.o' libtool=no \
depfile='.deps/ha_myisammrg.Po' tmpdepfile='.deps/ha_myisammrg.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o ha_myisammrg.o `test -f ha_myisammrg.cc || echo './'`ha_myisammrg.cc
source='ha_berkeley.cc' object='ha_berkeley.o' libtool=no \
depfile='.deps/ha_berkeley.Po' tmpdepfile='.deps/ha_berkeley.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o ha_berkeley.o `test -f ha_berkeley.cc || echo './'`ha_berkeley.cc
source='ha_innodb.cc' object='ha_innodb.o' libtool=no \
depfile='.deps/ha_innodb.Po' tmpdepfile='.deps/ha_innodb.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o ha_innodb.o `test -f ha_innodb.cc || echo './'`ha_innodb.cc
source='ha_isam.cc' object='ha_isam.o' libtool=no \
depfile='.deps/ha_isam.Po' tmpdepfile='.deps/ha_isam.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o ha_isam.o `test -f ha_isam.cc || echo './'`ha_isam.cc
source='ha_isammrg.cc' object='ha_isammrg.o' libtool=no \
depfile='.deps/ha_isammrg.Po' tmpdepfile='.deps/ha_isammrg.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o ha_isammrg.o `test -f ha_isammrg.cc || echo './'`ha_isammrg.cc
source='sql_db.cc' object='sql_db.o' libtool=no \
depfile='.deps/sql_db.Po' tmpdepfile='.deps/sql_db.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_db.o `test -f sql_db.cc || echo './'`sql_db.cc
source='sql_table.cc' object='sql_table.o' libtool=no \
depfile='.deps/sql_table.Po' tmpdepfile='.deps/sql_table.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_table.o `test -f sql_table.cc || echo './'`sql_table.cc
source='sql_rename.cc' object='sql_rename.o' libtool=no \
depfile='.deps/sql_rename.Po' tmpdepfile='.deps/sql_rename.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_rename.o `test -f sql_rename.cc || echo './'`sql_rename.cc
source='sql_crypt.cc' object='sql_crypt.o' libtool=no \
depfile='.deps/sql_crypt.Po' tmpdepfile='.deps/sql_crypt.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_crypt.o `test -f sql_crypt.cc || echo './'`sql_crypt.cc
source='sql_load.cc' object='sql_load.o' libtool=no \
depfile='.deps/sql_load.Po' tmpdepfile='.deps/sql_load.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_load.o `test -f sql_load.cc || echo './'`sql_load.cc
source='mf_iocache.cc' object='mf_iocache.o' libtool=no \
depfile='.deps/mf_iocache.Po' tmpdepfile='.deps/mf_iocache.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o mf_iocache.o `test -f mf_iocache.cc || echo './'`mf_iocache.cc
source='field_conv.cc' object='field_conv.o' libtool=no \
depfile='.deps/field_conv.Po' tmpdepfile='.deps/field_conv.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o field_conv.o `test -f field_conv.cc || echo './'`field_conv.cc
source='sql_show.cc' object='sql_show.o' libtool=no \
depfile='.deps/sql_show.Po' tmpdepfile='.deps/sql_show.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_show.o `test -f sql_show.cc || echo './'`sql_show.cc
source='sql_udf.cc' object='sql_udf.o' libtool=no \
depfile='.deps/sql_udf.Po' tmpdepfile='.deps/sql_udf.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_udf.o `test -f sql_udf.cc || echo './'`sql_udf.cc
source='sql_analyse.cc' object='sql_analyse.o' libtool=no \
depfile='.deps/sql_analyse.Po' tmpdepfile='.deps/sql_analyse.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/opt/mysql/var\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_analyse.o `test -f sql_analyse.cc || echo './'`sql_analyse.cc

[1]+  Stopped                 make
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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