เวิร์กสเตชันออนไลน์ของ OnWorks Linux และ Windows

โลโก้

ฟรีโฮสติ้งออนไลน์สำหรับเวิร์กสเตชัน

<ก่อนหน้านี้ | Contents | ถัดไป>

6.72.1. การติดตั้ง Procps-ng

เตรียม procps-ng สำหรับการรวบรวม:


./configure --prefix=/usr \

--exec-คำนำหน้า= \

--libdir=/usr/lib \

--docdir=/usr/share/doc/procps-ng-3.3.15 \

--disable-คงที่ \

--ปิดการใช้งาน-ฆ่า

./configure --prefix=/usr \

--exec-คำนำหน้า= \

--libdir=/usr/lib \

--docdir=/usr/share/doc/procps-ng-3.3.15 \

--disable-คงที่ \

--ปิดการใช้งาน-ฆ่า

ความหมายของตัวเลือกการกำหนดค่า:

--ปิดการใช้งาน-ฆ่า

สวิตช์นี้ปิดใช้งานการสร้าง ฆ่า คำสั่งที่จะติดตั้งโดยแพ็คเกจ Util-linux

รวบรวมแพ็คเกจ:


ทำ

ทำ

ชุดทดสอบต้องการการปรับเปลี่ยนแบบกำหนดเองบางอย่างสำหรับ LFS ลบการทดสอบที่ล้มเหลวเมื่อสคริปต์ไม่ได้ใช้อุปกรณ์ tty และแก้ไขอีกสองรายการ ในการรันชุดทดสอบ ให้รันคำสั่งต่อไปนี้:


sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp sed -i '/set tty/d' testsuite/pkill.test/pkill.exp

rm testsuite/pgrep.test/pgrep.exp ทำการตรวจสอบ

sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp sed -i '/set tty/d' testsuite/pkill.test/pkill.exp

rm testsuite/pgrep.test/pgrep.exp ทำการตรวจสอบ

ติดตั้งแพ็คเกจ:


ให้ติดตั้ง

ให้ติดตั้ง

สุดท้าย ย้ายไลบรารีที่จำเป็นไปยังตำแหน่งที่สามารถพบได้ถ้า / usr ไม่ได้ติดตั้ง


mv -v /usr/lib/libprocps.so.* /lib

ln -sfv ../../lib/$ (ลิงก์อ่าน /usr/lib/libprocps.so) /usr/lib/libprocps.so

mv -v /usr/lib/libprocps.so.* /lib

ln -sfv ../../lib/$ (ลิงก์อ่าน /usr/lib/libprocps.so) /usr/lib/libprocps.so


ระบบปฏิบัติการคลาวด์คอมพิวติ้งยอดนิยมที่ OnWorks: