To use this how to, you have to use a set up like in the how to from wengi or something similair.
This is the way to compile a package on Oleg, I''m still trying to do one on puppylinux (or others) with the tool chain.
All the credits to Dr.Chair who explained it to me
first step:
make sure everything is updated
choose "N" if promted with a question
now we have to install some packages, about 80MB!ipkg update
ipkg upgrade
if you get any errors, try the command again or useipkg install optware-devel
ipkg install buildroot
behind the commands-force-overwrite
Now we need a package to compile, I changed dosbox to apache in this tutorial because I couldn''t get dosbox working.
Apache also would be more usefull
Download the source (or search for a recent version) here:
http://www.apache.org/dist/httpd/httpd-2.2.8.tar.bz2
Open the file with winrar and copy the files via samba on your disc.
Note that you can also unpack this file on the router (not explained here)
I''ve uploaded the file to /mnt/share/apache
cd to the directory
you need an additional packages for apache to make the compile successfull, check the manual of the program you want to compile wich package it needs and search for it on ipkgfindcd /mnt/share/apache
now we can finally hit the configure:ipkg install apr
ipkg install apr-util
ipkg install e2fsprogs
ipkg install expat
ipkg install openssl
ipkg install zlib
ipkg install openldap-libs
This took me about half a hour
now make the files:./configure --prefix=/opt
and make installmake
well... basicly this is the way you should compile on the router.make install
In my next post I will try to tell you how to do it on ubuntu and puppy linux, or other distributions.
have fun![]()






Reply With Quote
