G4E Posted November 23, 2015 Share Posted November 23, 2015 I would like to install logrotate from the openWrt repository. I get: root@Pineapple:~# opkg install http://sokrates.mimuw.edu.pl/~sebek/openwrt/packages/logrotate_3.7.1-1_mipsel.ipk Downloading http://sokrates.mimuw.edu.pl/~sebek/openwrt/packages/logrotate_3.7.1-1_mipsel.ipk. Unknown package 'logrotate'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for logrotate found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package logrotate. root@Pineapple:~# uname -a Linux Pineapple 3.3.8 #81 Mon Aug 3 19:40:39 PDT 2015 mips GNU/Linux Do I need to compile logrotate just for this reason or is it easily possible to fool opkg about what architecture it runs on? Quote Link to comment Share on other sites More sharing options...
sud0nick Posted November 23, 2015 Share Posted November 23, 2015 I'm certain you have to cross-compile it for the Pineapple but maybe someone else could chime in to verify. Quote Link to comment Share on other sites More sharing options...
DataHead Posted November 23, 2015 Share Posted November 23, 2015 (edited) Eh, no. Not any.. It will have to be cross compiled. It needs to be the same architecture configuration i have cross compiled version 3.8.1 ( not sure if you require the lower version, nor do i know if any is avail on the repos ) just after you download it, rename the .zip extension to .ipk. as the forum restrictions do not accept files with the .ipk externsion. logrotate_3.8.1-1_ar71xx.zip EDIT: screw it, here's 3.9.1 and 3.7.1 logrotate_3.9.1-1_ar71xx.zip logrotate_3.7.1-1_ar71xx.zip Edited November 23, 2015 by DataHead Quote Link to comment Share on other sites More sharing options...
G4E Posted November 23, 2015 Author Share Posted November 23, 2015 Thank you a lot! You saved me quite a lot of time. I trust your binary. https://www.virustotal.com/sv/file/52dcff1dad61eb2bc60d07ba59a7bdf4c1663e77922079043117119da8ad1996/analysis/1448254215/ Quote Link to comment Share on other sites More sharing options...
DataHead Posted November 23, 2015 Share Posted November 23, 2015 No problem, hope you got it sorted Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.