Hi, I installed ubuntu 8.10 perfectly.
When I execute: sudo aptitude install subversion g++ libdigest-crc-perl ncurses-dev zlib1g-dev gawk bison flex autoconf intltool-debian intltool The instalation returned many errors. I have read on several websites that version 8.10 is not supported. I tried installing the software program from several servers, but I always have installation errors. Do you know any server that has these packages? Can I use another version of ubuntu to compile programs? If I use another version of ubuntu. What version advice? Regards, JJ. Calvo -------------------------------------------------------------- Message: 1 Date: Mon, 3 Feb 2014 14:02:23 +0100 From: Matthijs Kooijman - Fon <[email protected]> To: [email protected] Subject: Re: [fonosfera] Compilation for Fonera 2n Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi, > I want to compile a C program for fonera2n. The source of this program is in > the version of openwrt 12.09. Unfortunately there is no extensive documentation on compiling custom packages or programs. However, I'll try to give you some useful info. - As a first step, you should build the complete firmware. In addition to building the firmware, this also compiles the toolchain (compilers and libraries) in exactly the right version. See http://trac.fonosfera.org/fon-ng/wiki/build for instructions (and don't forget to select the 2.0n target, the default is 2.0g). - Then, you could try copying the package directory (that's a directory in the package/ directory inside openwrt repository or the OpenWRT packages repository. It should contain at least a "Makefile") into the "fon/" directory in your fonosfera checkout. - After that, in the "openwrt/" directory of your fonosfera checkout, run "./script/feeds install -p fon name_of_your_package" (or "./script/feeds install -a" should also work, since all other packages in the "fon" feed are already installed). - Then, enable your package in "make menuconfig" and build a new firmware which should now either include the package already, or (if you selected "M" in menuconfig), the ipk is available in "openwrt/bin/packages". - To install the ipk, you copy it to your fonera and use "opkg -force-depends install package.ipk". The force-depends is needed because the Fonera base firmware doesn't know about the packages that are already present (things like libc, luci, etc.). This does mean that you might need to install extra packages manually. I hope this gets you going. If you have further questions, don't hesitate to ask. Regards, Matthijs Kooijman _______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
