LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 994|回复: 1

发个安装LFS6.7+Xorg7.6-1上安装Xfce4.8的过程

[复制链接]
发表于 2011-8-12 15:35:20 | 显示全部楼层 |阅读模式
反复测试过三次,全部成功,安装过程如下:
wget -c http://downloads.sourceforge.net/pcre/pcre-8.12.tar.bz2
tar xf pcre-8.12.tar.bz2
cd pcre-8.12
./configure --prefix=/usr \
            --docdir=/usr/share/doc/pcre-8.12\
            --enable-utf8 \
            --enable-unicode-properties \
            --enable-pcregrep-libz \
            --enable-pcregrep-libbz2 &&
make &&
make install &&
mv -v /usr/lib/libpcre.so.* /lib/ &&
ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so
cd ..
rm -rf pcre-8.12

wget -c http://ftp.gnome.org/pub/gnome/s ... glib-2.28.7.tar.bz2
tar xf glib-2.28.7.tar.bz2
cd glib-2.28.7
./configure --prefix=/usr \
            --with-pcre=system &&
make &&
make install &&
chmod -v 755 /usr/bin/gtester-report
cd ..
rm -rf glib-2.28.7

wget -c http://ftp.gnome.org/pub/gnome/s ... /atk-1.30.0.tar.bz2
tar xf atk-1.30.0.tar.bz2
cd atk-1.30.0
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf atk-1.30.0

wget -c http://download.osgeo.org/libtiff/tiff-3.9.4.tar.gz
tar xf tiff-3.9.4.tar.gz
cd tiff-3.9.4
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf tiff-3.9.4

wget -c http://www.ijg.org/files/jpegsrc.v8b.tar.gz
tar xf jpegsrc.v8b.tar.gz
cd jpeg-8b
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf jpeg-8b

wget -c http://ftp.gnome.org/pub/gnome/s ... xbuf-2.22.1.tar.bz2
tar xf gdk-pixbuf-2.22.1.tar.bz2
cd gdk-pixbuf-2.22.1
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf gdk-pixbuf-2.22.1

wget -c http://cairographics.org/releases/cairo-1.10.2.tar.gz
tar xf cairo-1.10.2.tar.gz
cd cairo-1.10.2
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf cairo-1.10.2


wget -c http://ftp.gnome.org/pub/gnome/s ... pango-1.28.4tar.bz2
tar xf pango-1.28.4.tar.bz2
cd pango-1.28.4
./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make install
cd ..
rm -rf pango-1.28.4

wget -c http://ftp.gnome.org/pub/gnome/s ... gtk+-2.24.5.tar.bz2
tar xf gtk+-2.24.5.tar.bz2
cd gtk+-2.24.5
./configure --prefix=/usr --sysconfdir=/etc &&
make
make install &&
install -v -m755 -d /usr/share/doc/gtk+-1.2.10/{html,text} &&
install -v -m644 docs/html/* /usr/share/doc/gtk+-1.2.10/html &&
install -v -m644 docs/text/* /usr/share/doc/gtk+-1.2.10/text
cd ..
rm -rf gtk+-2.24.5

wget -c http://ftp.gnome.org/pub/gnome/s ... glade-2.6.4.tar.bz2
tar xf libglade-2.6.4.tar.bz2
cd libglade-2.6.4
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf libglade-2.6.4

wget -c http://ftp.gnome.org/pub/gnome/s ... ication-0.9.tar.bz2
tar xf startup-notification-0.9.tar.bz2
cd startup-notification-0.9
./configure --prefix=/usr &&
make &&
make install &&
install -v -m644 -D doc/startup-notification.txt \
    /usr/share/doc/startup-notification-0.9/startup-notification.txt
cd ..
rm -rf startup-notification-0.9

wget -c http://dbus.freedesktop.org/releases/dbus/dbus-1.4.14.tar.gz
tar xf dbus-1.4.14.tar.gz
cd dbus-1.4.14
groupadd -fg 18 messagebus &&
useradd -c "D-BUS Message Daemon User" -d /dev/null \
        -u 18 -g messagebus -s /bin/false messagebus || [ $? == 9 ]
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --libexecdir=/usr/lib/dbus-1.0  \
            --localstatedir=/var &&
make &&
make install
cd ..
rm -rf dbus-1.4.14

wget -c http://dbus.freedesktop.org/rele ... us-glib-0.94.tar.gz
tar xf dbus-glib-0.94.tar.gz
cd dbus-glib-0.94
./configure --enable-asserts --prefix=/usr &&
make &&
make install
cd ..
rm -rf dbus-glib-0.94

wget -c http://ftp.gnome.org/pub/gnome/s ... wnck-2.30.2.tar.bz2
tar xf libwnck-2.30.2.tar.bz2
cd libwnck-2.30.2
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libwnck-2.30.2

#需要哪个模块就安装哪个,这里只需要两个就行了
wget -c http://anduin.linuxfromscratch.o ... erl-modules.tar.bz2

#Perl-Modules中
tar xf URI-1.35.tar.gz
cd URI-1.35
perl Makefile.PL &&
make && make install
rm -rf URI-1.35

#Perl-Modules中
tar xf XML-Simple-2.18.tar.gz
cd XML-Simple-2.18
perl Makefile.PL &&
make && make install
cd ..
rm -rf XML-Simple-2.18

wget -c http://www.galago-project.org/fi ... otify-0.4.5.tar.bz2
tar xf libnotify-0.4.5.tar.bz2
cd libnotify-0.4.5
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libnotify-0.4.5

#这个也是需要的,不然启动xfce报错
wget -c http://www.xs4all.nl/~carlo17/which/which-2.20.tar.gz
tar xf which-2.20.tar.gz
cd which-2.20
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf which-2.20

#这个建议源码编译安装,不然会出现若干奇怪的问题
tar xf garcon-0.1.6.tar.bz2
cd garcon-0.1.6
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf garcon-0.1.6

#这个不是必须,但目前我还是想要个网页流览器
wget -c http://lynx.isc.org/current/lynx2.8.7rel.2.tar.bz2
tar xf lynx2.8.7rel.2.tar.bz2
cd lynx2-8-7
./configure --prefix=/usr \
            --sysconfdir=/etc/lynx \
            --datadir=/usr/share/doc/lynx-2.8.7rel.2 \
            --with-zlib \
            --with-bzlib \
            --with-screen=ncursesw \
            --enable-locale-charset &&
make
make install-full &&
chgrp -v -R root /usr/share/doc/lynx-2.8.7rel.2/lynx_doc
cd ..
rm -rf lynx2-8-7

#不装这个会缺更多图标
wget -c http://icon-theme.freedesktop.or ... n-theme-0.12.tar.gz
tar xf hicolor-icon-theme-0.12
cd hicolor-icon-theme-0.12
./configure --prefix=/usr &&
make &&
make install
cd ..
rm -rf hicolor-icon-theme-0.12

wget -c http://www.sudo.ws/sudo/dist/sudo-1.8.1.tar.gz
tar xf sudo-1.8.1.tar.gz
cd sudo-1.8.1
./configure --prefix=/usr \
            --libexecdir=/usr/lib \
            --with-ignore-dot \
            --with-all-insults \
            --enable-shell-sets-home \
            --disable-root-sudo \
            --with-logfac=auth \
            --without-pam \
            --without-sendmail &&
make &&
make install
cd ..
rm -rf sudo-1.8.1

#现在可以安装xfce了
#按xfce的building页面上罗列的顺序,对每个包做如下安装即可,安装位置/usr随你了
./configure --prefix=/usr &&
make &&
make install

然后,就可以用startxfce4启动桌面环境了
目前的效果见附图,不知道为什么少一些图标,这里有效果图
http://www.linuxsir.cn/bbs/thread378801.html
发表于 2011-8-18 15:54:26 | 显示全部楼层
^_^,恭喜了。请教下,在操作这些之前,怎么没有分个区出来给LFS呢?
回复 支持 反对

使用道具 举报

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

本版积分规则

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