Attempting to compile D-Bus for ARM but encountering an error.
I use NFS to boot ARM board and load file-system from a directory "/home/make/root_nfs" on PC.
Building D-Bus from sources on PC(ubuntu10.10):
./configure --prefix=/home/make/dbus --exec-prefix=/home/make/dbus CC="arm-linux-gcc" --host=arm-linux --with-x=no --cache-file=arm-linux.cache
make
make install
Copying D-Bus's bins, libs and other dependencies from "/home/make/dbus" into their corresponding directories under "/home/make/root_nfs/".
Rebooting the ARM board to load the root fs from my host PC "/home/make/root_nfs".
In arm linux:
Trying:
dbus-launch
Failed to execute message bus daemon /home/make/dbus/bin/dbus-daemon: No such file or directory. Will try again without full path.
Failed to start message bus: Failed to open "/home/make/dbus/etc/dbus-1/session.conf: No such file or directory *EOF in dbus-launch reading address from bus daemon*
Trying:
dbus-daemon --system
Failed to start message bus: Failed to open "/home/make/dbus/etc/dbus-1/system.conf": No such file or directory
It seems that all the Path's have been hardcoded into program.
Changing "--prefix" or "--exec-prefix" in configuration of D-Bus does not work.
I do not want to "mkdir -p /home/make/root_nfs/home/make/root_nfs" on PC and make the arm linux treat the second level root_nfs as correct path.
Can anyone give some suggestions?
Thanks a lot.