Hi,
We have been trying to compile the source code for openwrt of ibrdtn-tools and there is a problem we cannot solve. With or without our editions, we always get the following error for missing files that should have been generated in the compilation process (for some of the tools this files are there, for others they are not).
Can someone help us with this? I have included the lines with the errors in the compilation process bellow.
Thank you,
Romeu
*******************
(...) make[2]: Entering directory `/home/builder/openwrt/trunk/package/ibrdtn-tools' mkdir -p /home/builder/openwrt/trunk/bin/ar71xx/packages /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/CONTROL /home/builder/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/pkginfo install -d -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/usr/bin/ install -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-install/usr/bin/dtnping /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/usr/bin/dtnping install -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-install/usr/bin/dtnsend /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/usr/bin/dtnsend install -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-install/usr/bin/dtnrecv /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/usr/bin/dtnrecv install -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-install/usr/bin/dtninbox /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-ar71xx/ibrdtn-tools/usr/bin/dtninbox install: cannot stat `/home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtn-tools-0.12.0/ipkg-install/usr/bin/dtninbox': No such file or directory make[2]: *** [/home/builder/openwrt/trunk/bin/ar71xx/packages/ibrdtn-tools_0.12.0_ar71xx.ipk] Error 1 make[2]: Leaving directory `/home/builder/openwrt/trunk/package/ibrdtn-tools' make[1]: *** [package/ibrdtn-tools/compile] Error 2 make[1]: Leaving directory `/home/builder/openwrt/trunk' make: *** [package/ibrdtn-tools/compile] Error 2
Hello Romeu,
you need to compile the tools with libarchive support to get dtninbox / dtnoutbox. Otherwise, these binaries are not build. Add this to your buildchain and select the dependency.
https://github.com/ibrdtn/ibrdtn/blob/master/recipes/openwrt/libarchive
Kind regards, Johannes Morgenroth
Am 28.04.2014 14:01, schrieb Romeu Monteiro:
Hi,
We have been trying to compile the source code for openwrt of ibrdtn-tools and there is a problem we cannot solve. With or without our editions, we always get the following error for missing files that should have been generated in the compilation process (for some of the tools this files are there, for others they are not).
Can someone help us with this? I have included the lines with the errors in the compilation process bellow.
Thank you,
Romeu
Thank you very much, Johannes.
Romeu
On Mon, Apr 28, 2014 at 1:38 PM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Hello Romeu,
you need to compile the tools with libarchive support to get dtninbox / dtnoutbox. Otherwise, these binaries are not build. Add this to your buildchain and select the dependency.
https://github.com/ibrdtn/ibrdtn/blob/master/recipes/openwrt/libarchive
Kind regards, Johannes Morgenroth
Am 28.04.2014 14:01, schrieb Romeu Monteiro:
Hi,
We have been trying to compile the source code for openwrt of ibrdtn-tools and there is a problem we cannot solve. With or without our editions, we always get the following error for missing files that should have been generated in the compilation process (for some of the tools this files are there, for others they are not).
Can someone help us with this? I have included the lines with the errors in the compilation process bellow.
Thank you,
Romeu
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig -- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
Hi again,
We have been trying to compile libarchive, but we cannot get past the following error:
make[5]: Leaving directory `/home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2' make[4]: Leaving directory `/home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2' make[3]: Leaving directory `/home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2' touch /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/.built mkdir -p /home/builder/openwrt/trunk/bin/ar71xx/packages /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/ipkg-ar71xx/libarchive/CONTROL /home/builder/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/pkginfo install -d -m0755 /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/ipkg-ar71xx/libarchive/usr/lib cp -fpR /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/ipkg-install/usr/lib/libarchive.so.* /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/ipkg-ar71xx/libarchive/usr/lib/ find /home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libarchive-3.1.2/ipkg-ar71xx/libarchive -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
*Package libarchive is missing dependencies for the following libraries:liblzo2.so.2* make[2]: *** [/home/builder/openwrt/trunk/bin/ar71xx/packages/libarchive_3.1.2-1_ar71xx.ipk] Error 1 make[2]: Leaving directory `/home/builder/openwrt/trunk/package/libarchive' make[1]: *** [package/libarchive/compile] Error 2 make[1]: Leaving directory `/home/builder/openwrt/trunk' make: *** [package/libarchive/compile] Error 2
We have tried many things and none have worked. Any help would be greatly appreciated.
Thank you,
Romeu
On Mon, Apr 28, 2014 at 2:00 PM, Romeu Monteiro romeumonteiro7@gmail.comwrote:
Thank you very much, Johannes.
Romeu
On Mon, Apr 28, 2014 at 1:38 PM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Hello Romeu,
you need to compile the tools with libarchive support to get dtninbox / dtnoutbox. Otherwise, these binaries are not build. Add this to your buildchain and select the dependency.
https://github.com/ibrdtn/ibrdtn/blob/master/recipes/openwrt/libarchive
Kind regards, Johannes Morgenroth
Am 28.04.2014 14:01, schrieb Romeu Monteiro:
Hi,
We have been trying to compile the source code for openwrt of ibrdtn-tools and there is a problem we cannot solve. With or without our editions, we always get the following error for missing files that should have been generated in the compilation process (for some of the tools this files are there, for others they are not).
Can someone help us with this? I have included the lines with the errors in the compilation process bellow.
Thank you,
Romeu
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig -- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
Yes, we had done that.
On Tue, Apr 29, 2014 at 7:22 AM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Am 28.04.2014 17:51, schrieb Romeu Monteiro:
*Package libarchive is missing dependencies for the following libraries: liblzo2.so.2*
Did you enabled the zlib package?
I do not know much about OpeWRT cross compile, but lzo is not part of zlib. There must be a separate liblzo. So you probably need to either also include/build it, or convince libarchive to compile without lzo support (I think we do not use lzo)
Sebastian
Am 29.04.2014 um 18:58 schrieb Romeu Monteiro romeumonteiro7@gmail.com:
Yes, we had done that.
On Tue, Apr 29, 2014 at 7:22 AM, Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de wrote: Am 28.04.2014 17:51, schrieb Romeu Monteiro:
*Package libarchive is missing dependencies for the following libraries: liblzo2.so.2*
Did you enabled the zlib package?
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
participants (3)
-
Johannes Morgenroth
-
Romeu Monteiro
-
Sebastian Schildt