LinuxSir.cn,穿越时空的Linuxsir!

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

[原创]功能单一,体积小巧的LFS完整版(5M大小的Apache服务器)

[复制链接]
发表于 2006-4-17 14:06:56 | 显示全部楼层
OK,可以了。
版主是否能告知这两个cp命令的作用,我在LFS手册中没有看见过
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-17 14:32:44 | 显示全部楼层
我现在猜测之前可能是你输入错误造成的问题.
回复 支持 反对

使用道具 举报

发表于 2006-4-17 14:47:22 | 显示全部楼层
我也没搞清楚,估计是有的空格没有输入,谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-11 20:31:49 | 显示全部楼层
修正笔误一处
回复 支持 反对

使用道具 举报

发表于 2006-10-8 15:26:45 | 显示全部楼层
为什么我编译第二遍binutils-2.16.1执行这句时出现这个错误?
../binutils-2.16.1/configure --prefix=/tools --disable-nls --enable-shared --with-lib-path=/tools/lib

出现错误:
lfs:/mnt/lfs/sources/binutils-build$ ../binutils-2.16.1/configure --prefix=/tools --disable-nls --enable-shared --with-lib-path=/tools/lib
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


请大虾指教?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-8 15:46:27 | 显示全部楼层
gcc编译有问题
回复 支持 反对

使用道具 举报

发表于 2006-10-26 23:20:55 | 显示全部楼层
我要,好好学习
回复 支持 反对

使用道具 举报

发表于 2007-4-17 01:11:37 | 显示全部楼层
我想在第六章  安装APACHE之后再加上一个PHP
应如何在映象中实现呢

请豹兄赐教
回复 支持 反对

使用道具 举报

发表于 2007-4-17 01:44:53 | 显示全部楼层
补充下楼上

换个说法就是如何在豹兄做好的那个虚拟机文件中加入对PHP的支持

请前辈给出进入目标系统工作环境与编译过程
谢谢~
回复 支持 反对

使用道具 举报

发表于 2007-4-17 15:00:51 | 显示全部楼层
14. Apache-1.3.34
    tar xvf apache_1.3.34.tar.Z
    cd apache_1.3.34
    LDFLAGS="-static" ./configure && make
    cp src/httpd /bin/
    cp conf/httpd.conf-dist /etc/httpd.conf
    cp conf/mime.types /srv/conf/
    sed -i ‘s/@@ServerRoot@@/\/srv/’ /etc/httpd.conf
    sed -I ‘s/^Group \”#-1\”/Group nobody/’ /etc/httpd.conf
    echo “ServerName localhost” >> /etc/httpd.conf
    cd ..
    rm -rf apache_1.3.34
    echo “世界,您好!” > /srv/htdocs/index.html

想请教一下youbest老兄:有没有做过Apache或httpd的交叉编译?如果有的话,能否分享一下?不胜感激。qq:18473440
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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