Results 1 to 12 of 12

Thread: [HOW TO] Compile a program for your router

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767

    Post [HOW TO] Compile a program for your router

    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
    ipkg update
    ipkg upgrade
    now we have to install some packages, about 80MB!
    ipkg install optware-devel
    ipkg install buildroot
    if you get any errors, try the command again or use
    -force-overwrite
    behind the commands


    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
    cd /mnt/share/apache
    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 ipkgfind
    ipkg install apr
    ipkg install apr-util
    ipkg install e2fsprogs
    ipkg install expat
    ipkg install openssl
    ipkg install zlib
    ipkg install openldap-libs
    now we can finally hit the configure:
    This took me about half a hour
    ./configure --prefix=/opt
    now make the files:
    make
    and make install
    make install
    well... basicly this is the way you should compile on the router.
    In my next post I will try to tell you how to do it on ubuntu and puppy linux, or other distributions.
    have fun
    Last edited by wpte; 11-06-2008 at 14:00.

Similar Threads

  1. [How to] rtorrent & ntorrent
    By mancub in forum WL-500gP Tutorials
    Replies: 101
    Last Post: 18-12-2008, 07:21
  2. [HOW TO] Bluetooth in wl500g
    By TIk in forum WL-500g/WL-500gx Tutorials
    Replies: 1
    Last Post: 17-09-2008, 21:38
  3. How-to: Use your router as a BitTorrent Client
    By GerardNL in forum WL-700g Tutorials
    Replies: 28
    Last Post: 24-10-2007, 19:38
  4. Replies: 0
    Last Post: 24-01-2007, 02:54
  5. Completely new WL700gE router crashed after firmware update - plz help!
    By ClaudeX in forum WL-700g Firmware Discussion
    Replies: 4
    Last Post: 20-07-2006, 00:03

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •