![]() |
native compile and build transmission with unslung SRS 10/28/2011 Having successfuly compiled/built Transmission-242+ natively on NSLU2 UnSlung? 6.10 I now post some notes so that others can achieve. ____________________________________________________ be sure internet is connected ipkg update ipkg remove wget (conflicts with wget-ssl) ipkg install optware-devel ipkg install openssl-dev ipkg install libcurl-dev install these three perl modules: Encode-Locale-1.02 URI-1.59 libwww-perl-6.03 http:// computerfixpro.com/perl-www.zip originally from: http://www.cpan.org/modules/by-module/(approve sites) example install: tar xvzf libwww-perl-6.03.tar.gz cd libwww-perl-6.03 perl Makefile.PL make make install _____________________________________________________ _____________________________________________________ get TortoiseSVN? http://tortoisesvn.net/downloads.html(approve sites) http:// computerfixpro.com/tortoisesvn.zip http://svn.nslu2-linux.org/svnroot/optware/trunk put in directory like: svn-nslu2 copy to NSLU2 via ftp the 'svn-nslu2' directory from nslu2 chmod -R 777 svn-nslu2 Or directly from nslu2: svn co http://svn.nslu2-linux.org/svnroot/optware/trunk svn-nslu2 __________________________________________________________________ __________________________________________________________________ cd svn-nslu2 and edit file Makefile ~line 442 (changing awk to gawk) FROM: if test x86_64 = `uname -m` -a 32-bit = `file /sbin/init | awk '{print $$3}'`; then echo i386 ; else uname -m; fi TO: if test x86_64 = `uname -m` -a 32-bit = `file /sbin/init | gawk '{print $$3}'`; then echo i386 ; else uname -m; fi be sure internet is connected now from nslu2: cd svn-nslu2 make nslu2-target cd nslu2 make directories toolchain ipkg-utils . . now it is time to compile (for example) transmission . ______________________________________________________ . edit ...\svn-nslu2\make\transmission.mk ~ line 28: TRANSMISSION_VERSION=2.42 to reflect the version of transmission you want from: http:// mirrors.m0k.org/transmission/files (~line 27 transmission.mk) now you are ready to compile (for example) transmission from the 'nslu2' directory: make transmission you may/will get error: "libcurl >= 7.15.4 were not met" edit ../svn-nslu2/nslu2/staging/opt/lib/pkgcongig/libcurl.pc remove the line: URL: http :\\ curl.hazz.se/... now: cd /svn-nslu2/nslu2/ make transmission to continue from where you left off your executables will show up in: ../svn/nslu2/builds/transmission/ but if you want to install via ipkg you should do: cd /svn-nslu2/nslu2/ make transmission-ipk the transmission .ipk will be at: /svn-nslu2/nslu2/builds install your ipk: ipkg install transmission-2.42-1_armeb.ipk be SURE to include the .ipk else ipkg install will try to download it you may need to: ipkg remove transmission if there is a version conflict . dont forget: Package: transmission Version: 2.42+-1 Depends: openssl, libcurl, libevent, zlib . . . . ______________________________________________________________ . If you wish to use your own source then create/edit/patch the source code as you want put it in a directory like "transmission-2.42+" tar then bz2 it to "transmission-2.42+.tar.bz2" ( from Windows I use TotalCommander? with Total7zip_0852 plugin) copy transmission-2.42+.tar.bz2 to .../svn-nslu2/downloads/ delete all in ...\svn-nslu2\nslu2\builds\transmission edit ...\svn-nslu2\make\transmission.mk ~ line 28: TRANSMISSION_VERSION=2.42+ as previously described above -- from the 'nslu2' directory: make transmission then make transmission-ipk install your ipk: ipkg install transmission-2.42+-1_armeb.ipk be SURE to include the .ipk else ipkg install will try to download it you may need to: ipkg remove transmission if there is a version conflict . dont forget: Package: transmission Version: 2.42+-1 Depends: openssl, libcurl, libevent, zlib . . hope all this is helpfull... here is a nice patched transmission.ipk natively compiled and optomized and debugged for nslu2 enjoy... http:// computerfixpro.com/transmission242p.zip http:// computerfixpro.com/trs42pwebclientfx.zip -- minor Web UI fixes 11/11/2011 see also Optware.TransmissionV222AndAbove ... ... |