Libs and headers

Hello,

where do I get python devel und kernel headers as ipkg to install on my yun? Currently I am uploading kernel headers and installing them manually. But it would be better to have packages for development headers and libraries as ipkg files.

Best Regards,

Andreas

Connect your Yun to the internet and then run

opkg update
opkg install pkgname

where pkgname is the name of the package you want to install.

You can find the list here

http://downloads.arduino.cc/openwrtyun/1/packages/index.html

Install python_devel:

cd /usr/include/python2.7
wget -O  python_devel.tar.gz https://www.dropbox.com/s/z49hrigv3umaaj8/python_devel.tar.gz?dl=0 --no-check-certificate
tar -zxvf python_devel.tar.gz 
rm python_devel.tar.gz

http://forum.arduino.cc/index.php?topic=266549.msg1879521#msg1879521

@sonnyyu Thanks to you for providing Python header files! :slight_smile:

@Angelo9999 Thanks to you for providing a list of packages available. But never the less I cannot find a package for kernel headers... Do you know the name of this package?

Kernel headers are not available for opkg.

I searched online and headers are availabe for cross compiling on a different machine, but not on the Yun.

Angelo9999:
Kernel headers are not available for opkg.

I searched online and headers are availabe for cross compiling on a different machine, but not on the Yun.

@theweby & @Angelo9999,

Google: openwrt headers trunk .h

About 4 links down is a PDF

It should say something like:

www.ccs.neu.ed... Northeastern University College of Computer and Info...

Maybe that will help.

Jesse

Thanks Jesse,
It seems to describe how to setup a building environment and gives you the link to download headers but not in the .ipk form.

Angelo9999:
Thanks Jesse,
It seems to describe how to setup a building environment and gives you the link to download headers but not in the .ipk form.

ADD .ipk to the google search: openwrt headers trunk .h .ipk and in the first response you'll see a PDF. The other search results return similar items; some saying they don't support openwrt....

[PDF]OpenWrt Dev Tutorial
Feb 13, 2012 - bin – where the firmware image will be generated and all the .ipk package files will be generated ... Download the cross-‐compilation tools, kernel headers, etc. and. 2. Set up ... OpenWRT trunk code base is frequently updated to add support for the newly identified hardware ..... #include <stdio.h> int main().

That's as much as I have. Perhaps sonnyyu might come up with something else.

Jesse