私はVirtualBoxマシン(32ビット)を使用してLinux標準ライブラリ(本に記載されているすべてのパッケージ(http://www.linuxfromscratch.org/blfs/view/7.8/)、そして必須そして尊敬されるしかし、避けようとする任意に選択できるバッグ)。タイトルが示すように、BLFS 7.8を使用してQt 4.8.7を完全に構築することはできません。
BLFS 7.8の本によると、以下を構築する必要があります。
インストールされたプログラム: Assistant, designer, lconvert, linguist, lrelease, lupdate, moc, pixeltool, qcollectiongenerator, qdbuscpp2xml, qdbus, qdbusviewer, qdbusxml2cpp, qdoc3, qhelpconverter, qhelpgener 4、qtconfig、qttracereplay、rcc、uic3 、uic、xmlpatterns、xmlpatternsvalidator
インストールされたライブラリ: libQtUiTools.a, libQt3Support.so, libQtCLucene.so, libQtCore.so, libQtDBus.so, libQtDeclarative.so, libQtDesignerComponents.so, libQtDesigner.so, libQtGui. tNetwork so. 、libQtOpenGL.so、libQtScript.so、libQtScriptTools.so、libQtSql.so、libQtSvg.so、libQtTest.so、libQtWebKit.so、libQtXmlPatterns.so、libQtXml.so、および/opt/qt4 -選択/qt4/プラグイン
すべてのライブラリを構築しますが、すべてのプログラムは構築しません。 qdbuscpp2xml、qdbus、qdbusviewer、qdbusxml2cpp、qmake、xmlpatterns、およびxmlpatternsvalidatorはビルドされません。
リストされていないほとんどのプログラム名にdbusがあるため、systemctlをチェックした結果は次のとおりです。
UNIT LOAD ACTIVE SUB
proc-sys-fs-binfmt_misc.automount loaded active waiting
org.freedesktop.hostname1.busname loaded inactive dead
org.freedesktop.locale1.busname loaded inactive dead
org.freedesktop.login1.busname loaded inactive dead
org.freedesktop.machine1.busname loaded inactive dead
org.freedesktop.network1.busname loaded inactive dead
org.freedesktop.resolve1.busname loaded inactive dead
org.freedesktop.systemd1.busname loaded inactive dead
org.freedesktop.timedate1.busname loaded inactive dead
dev-cdrom.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_CD\x2dROM_VB2\x2d01700376.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB1b03ea62\x2ddbc63e3e.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB1b03ea62\x2ddbc63e3e\x2dpart1.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53\x2dpart1.device loaded active plugged
dev-disk-by\x2duuid-adf6eeae\x2d5ab2\x2d42a3\x2d9e1d\x2d0fed7f32a451.device loaded active plugged
dev-disk-by\x2duuid-eb028a99\x2d93f4\x2d4b71\x2d98b4\x2daaf40d3d6c84.device loaded active plugged
dev-sda.device loaded active plugged
dev-sda1.device loaded active plugged
dev-sdb.device loaded active plugged
dev-sdb1.device loaded active plugged
dev-sr0.device loaded active plugged
dev-ttyS0.device loaded active plugged
dev-ttyS1.device loaded active plugged
dev-ttyS2.device loaded active plugged
dev-ttyS3.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged VBOX_HARDDISK 1
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sdb-sdb1.device loaded active plugged VBOX_HARDDISK 1
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sdb.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged
sys-devices-virtual-net-sit0.device loaded active plugged
sys-subsystem-net-devices-sit0.device loaded active plugged
-.mount loaded active mounted
dev-hugepages.mount loaded active mounted
dev-mqueue.mount loaded active mounted
proc-sys-fs-binfmt_misc.mount loaded inactive dead
sys-fs-fuse-connections.mount loaded inactive dead
sys-kernel-config.mount loaded inactive dead
sys-kernel-debug.mount loaded active mounted
tmp.mount loaded active mounted
var-lib-machines.mount loaded inactive dead
systemd-ask-password-console.path loaded active waiting
systemd-ask-password-wall.path loaded active waiting
alsa-restore.service loaded inactive dead
alsa-state.service loaded inactive dead
alsa-store.service loaded inactive dead
auditd.service not-found inactive dead auditd.service
dbus.service loaded failed failed
display-manager.service not-found inactive dead display-manager.service
emergency.service loaded inactive dead
[email protected] loaded active running
kmod-static-nodes.service loaded active exited
plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service
plymouth-start.service not-found inactive dead plymouth-start.service
rc-local.service loaded inactive dead
rescue.service loaded inactive dead
syslog.service not-found inactive dead syslog.service
systemd-ask-password-console.service loaded inactive dead
systemd-ask-password-wall.service loaded inactive dead
systemd-binfmt.service loaded inactive dead
systemd-fsck-root.service loaded active exited
systemd-hostnamed.service loaded inactive dead
systemd-hwdb-update.service loaded inactive dead
systemd-initctl.service loaded inactive dead
systemd-journal-catalog-update.service loaded inactive dead
systemd-journal-flush.service loaded active exited
systemd-journald.service loaded active running
systemd-localed.service loaded inactive dead
systemd-logind.service loaded activating auto-restart restart Login Service
systemd-machine-id-commit.service loaded inactive dead
systemd-machined.service loaded inactive dead
systemd-modules-load.service loaded inactive dead
systemd-networkd.service loaded activating auto-restart restart Network Service
systemd-random-seed.service loaded active exited
systemd-remount-fs.service loaded active exited
systemd-resolved.service loaded inactive dead
systemd-sysctl.service loaded active exited
systemd-sysusers.service not-found inactive dead systemd-sysusers.service
systemd-timedated.service loaded inactive dead
systemd-timesyncd.service loaded active running
systemd-tmpfiles-clean.service loaded inactive dead
systemd-tmpfiles-setup-dev.service loaded active exited
systemd-tmpfiles-setup.service loaded active exited
systemd-udev-trigger.service loaded active exited
systemd-udevd.service loaded active running
systemd-update-done.service loaded inactive dead
systemd-update-utmp-runlevel.service loaded inactive dead
systemd-update-utmp.service loaded active exited
systemd-user-sessions.service not-found inactive dead systemd-user-sessions.service
systemd-vconsole-setup.service loaded active exited
-.slice loaded active active
machine.slice loaded inactive dead
system-getty.slice loaded active active
system.slice loaded active active
user.slice loaded active active
dbus.socket loaded active running
syslog.socket loaded inactive dead
systemd-initctl.socket loaded active listening
systemd-journald-audit.socket loaded inactive dead
systemd-journald-dev-log.socket loaded active running
systemd-journald.socket loaded active running
systemd-networkd.socket loaded active listening
systemd-udevd-control.socket loaded active running
systemd-udevd-kernel.socket loaded active running
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53\x2dpart1.swap loaded active active
dev-disk-by\x2duuid-adf6eeae\x2d5ab2\x2d42a3\x2d9e1d\x2d0fed7f32a451.swap loaded active active
dev-sdb1.swap loaded active active
basic.target loaded active active
busnames.target loaded inactive dead
emergency.target loaded inactive dead
getty.target loaded active active
graphical.target loaded inactive dead
local-fs-pre.target loaded active active
local-fs.target loaded active active
multi-user.target loaded inactive dead
network-pre.target loaded inactive dead
network.target loaded inactive dead
nss-user-lookup.target loaded inactive dead
paths.target loaded active active
remote-fs-pre.target loaded inactive dead
remote-fs.target loaded active active
rescue.target loaded inactive dead
shutdown.target loaded inactive dead
slices.target loaded active active
sockets.target loaded active active
swap.target loaded active active
sysinit.target loaded active active
time-sync.target loaded active active
timers.target loaded active active
umount.target loaded inactive dead
systemd-tmpfiles-clean.timer loaded active waiting
何が間違っているのかを知っている人はいますか?
答え1
私が知っている限り、QtライブラリでDBusサポートが有効になったら、DBusツールを構築してインストールする必要があります。おそらくXMLツールにも同じことが当てはまります。
コマンドを実行すると、適用されたconfigure
構成の概要が表示されますが、プロセスが終了する前にすばやくスクロールします。これを表示するには、コンソール出力を上にスクロールするか、ファイルをパイプにする必要があります。make
設定が正しいことを確認するまで呼び出さないことをお勧めします。ここでは、どの機能が有効/無効になっているかを確認し、なぜそうでないのかを理解できるはずです。
configure
機能を強制するための追加オプションについては、以下を参照してください。
./configure --help
これにより、どこから始めるべきか、トラブルシューティングのために何を試すことができるかについての最初のヒントを得ることができます。
答え2
@Murphyの提案に従って./configを実行して、次のような結果を得ました。
Build type: linux-g++
Architecture: i386
Platform notes:
- Also available for Linux: linux-kcc linux-icc linux-cxx
Build .................. libs tools docs translations
Configuration .......... system-sqlite release largefile stl precompile_header mmx 3dnow sse sse2 sse3 ssse3 sse4_1 sse4_2 avx minimal-config small-config medium-config large-config full-config qt3support accessibility opengl shared reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib nis cups iconv glib dbus dbus-linked openssl-linked x11sm xshape xvideo xsync xrender mitshm fontconfig xkb alsa icu concurrent xmlpatterns multimedia audio-backend svg script scripttools declarative release
Debug .................. no
Qt 3 compatibility ..... yes
QtDBus module .......... yes (linked)
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... yes
QtXmlPatterns module ... yes
Phonon module .......... no
Multimedia module ...... auto
SVG module ............. yes
WebKit module .......... no
JavaScriptCore JIT ..... To be decided by JavaScriptCore
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ yes
PCH support ............ yes
MMX/3DNOW/SSE/SSE2/SSE3. yes/yes/yes/yes/yes
SSSE3/SSE4.1/SSE4.2..... yes/yes/yes
AVX..................... yes
Graphics System ........ default
IPv6 support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... yes
Iconv support .......... yes
Glib support ........... yes
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
TIFF support ........... plugin (system)
JPEG support ........... plugin (system)
PNG support ............ yes (system)
MNG support ............ plugin (system)
zlib support ........... system
Session management ..... yes
OpenGL support ......... yes (Desktop OpenGL)
OpenVG support ......... no
NAS sound support ...... no
XShape support ......... yes
XVideo support ......... yes
XSync support .......... yes
Xinerama support ....... runtime
Xcursor support ........ runtime
Xfixes support ......... runtime
Xrandr support ......... runtime
Xrender support ........ yes
Xi support ............. runtime
MIT-SHM support ........ yes
FontConfig support ..... yes
XKB Support ............ yes
immodule support ....... yes
GTK theme support ...... no
SQLite support ......... plugin (system)
OpenSSL support ........ linked (linked)
Alsa support ........... yes
ICD support ............ no
libICU support ......... yes
Use system proxies ..... no
QtDBusなどの一部のモジュールは明らかにそうする必要があるときにビルドに注釈を付けますが、GStreamerなどの他のモジュールはシステムにインストールされているにもかかわらずビルドするように構成されていない理由がわかりません。
どんな提案でも歓迎します。ありがとうございます。