Tagged: inadyn-mt ddns build package
May 25, 2016 at 17:12 #10535
Hi, I want to to build inadyn-mt to geexbox from this source. I would like to ask if I have to pay any special attention during the process, like where to “build” and “make” it so it is available in my path on busybox (like if it was installed using opkg), etc…
I need this “version” of inadyn, because the one available in the repo list seems not being capable of IPv6 update.
Actually, it would be even cooler (:P) if you guys could point me in a way I could create a .opk file for inadyn-mt.
Ps.: I’m used to this process using Ubuntu Linux, but never did so in an embedded system (or ash instead of bash).
Thanks for the attention.May 25, 2016 at 18:59 #10539
hey, having someone to help us to package something is a good news 😉
to be clear, you just need a linux station, (or a one in a virtualbox)
then clone using git openbricks’ repo ( https://github.com/OpenBricks/openbricks/ )
build first a complete archive for your system, then looking how others packages are made, you can create yours.
but as inadyn is already packaged, just bumping version , and force to support ipv6 could be sufficient.
I guess you could start with a mail, it’s more easy to discuss such thing.
But if you are already ready, then Welcome 😉May 25, 2016 at 23:59 #10542
It seems that inadyn and inadyn-mt are quite different projects, not sure if a version bump is possible.
I will follow these first instructions of yours and see what I am cabaple of… :P. Not much I suppose, but I would like to try anyway, before starting annoying you.
After some headbanging I will ask for your assistance by mail, if you allow me.
Regards.May 26, 2016 at 07:33 #10543
Building Geexbox from scratch can be challenging for both human and machine. But it’s fun. At least for me 😉 Just a few hints: We usually build on Ubuntu LTS (14.04 or 12.04) hosts. So that is tested best. You should have a fast machine with at least 45GB of free disk space (for ARM tragets, Intel needs more), 2GB of RAM (more is better) and a good internet connection (about 6GB of source code will be downloaded during the build process). Depending on your machine, a full build with all sources already cached locally will take 3 to 10 hours. That’s why we usually try to avoid this 😉 . An initial build which includes downloading stuff from the net will be slower.
So if you are not scared by that: Welcome!
If the build process stops with some obscure error message let us know. We will try to help.May 26, 2016 at 17:26 #10544
Dear Lord, that’s really fun.
Building it right now. Not sure if I have set the right conguration after
make menuconfigfor my Cubox-i4Pro.
Let it roll and see if it finishes whitout any obscure errors. 😛
Latter if all goes ok, I may look at the package building thing.
Cheers!May 26, 2016 at 17:57 #10545
Hey, Should I suggest you to stop ?
Unless you really know what you are doing, starting from menuconfig is quite hasardous …
you get a list of pre-defined config, choose the one you want, (geexbox-kodi-imx6-cuboxi ? ) then do :
search for ipv6 and select the option ipv6 for linux
then save, quit and now do
makeMay 26, 2016 at 18:24 #10546
Sure, stopped it. Will follow your instructions.
Thanks.May 26, 2016 at 21:19 #10549
The error I got seems to be only an unreachable package:
--2016-05-26 17:16:22-- http://sources.openbricks.org/devel/drivers-vtuner-1.4+hg3ab5e05d0518.tar.bz2 Resolvendo sources.openbricks.org (sources.openbricks.org)... 220.127.116.11 Conectando-se a sources.openbricks.org (sources.openbricks.org)|18.104.22.168|:80... conectado. A requisição HTTP foi enviada, aguardando resposta... 404 Not Found 2016-05-26 17:16:23 ERRO 404: Not Found. Can't get drivers-vtuner sources, falling back to repository scripts/get: 147: scripts/get: hg: not found Makefile:51: recipe for target 'rootfs' failed make: *** [rootfs] Error 127
At least for now… 😛May 26, 2016 at 21:56 #10550
sudo apt-get install mercurialand run
Note: Usually we try to keep a tarball of the source code on http://sources.openbricks.org/devel/ . In the situation that a package URL references a repository (git, svn, hg), our ‘get’ script will first try to locate that tarball. If that is not found (like in your example), it will show the message ‘Can’t get XXXX sources, falling back to repository’ and then try to check out the source code from the real repository. However, in order to do this, the client software for this type of repository must be installed on your build machine. Currently I don’t know if we still have ‘svn’ packages, but it won’t hurt to install svn (subversion) as well.May 27, 2016 at 12:41 #10557
I’ve subversion installed and even after installing mercurial the error is still there. I’ve posted just the last massagem here, but it seems to look for the package several times only at
http://sources.openbricks.org/devel/drivers-vtuner-1.4+hg3ab5e05d0518.tar.bz2, with no luck.May 27, 2016 at 13:14 #10558
Arrg, you get a different error now: “abort: HTTP Error 404: Not Found”. I.O.W. the URL of the repository has changed since last time someone tried. Anyway, I’ve uploaded the file to our mirror and you should now be able to continue…May 27, 2016 at 15:27 #10561
It seems we will have some of those… 😛
Resolvendo ftp.openbsd.org (ftp.openbsd.org)... 22.214.171.124 Conectando-se a ftp.openbsd.org (ftp.openbsd.org)|126.96.36.199|:21... falhou: Conexão recusada. Can't get openssh-client sources, trying on OpenBricks server... --2016-05-27 11:17:44-- http://sources.openbricks.org/devel/openssh-6.6p1.tar.gz Resolvendo sources.openbricks.org (sources.openbricks.org)... 188.8.131.52 Conectando-se a sources.openbricks.org (sources.openbricks.org)|184.108.40.206|:80... conectado. A requisição HTTP foi enviada, aguardando resposta... 404 Not Found 2016-05-27 11:17:44 ERRO 404: Not Found. --2016-05-27 11:17:44-- http://sources.openbricks.org/devel/openssh-6.6p1.tar.gz Resolvendo sources.openbricks.org (sources.openbricks.org)... 220.127.116.11 Conectando-se a sources.openbricks.org (sources.openbricks.org)|18.104.22.168|:80... conectado. A requisição HTTP foi enviada, aguardando resposta... 404 Not Found 2016-05-27 11:17:45 ERRO 404: Not Found. Can't get openssh-client sources : ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.6p1.tar.gz Try later !! Makefile:51: recipe for target 'rootfs' failed make: *** [rootfs] Error 1May 27, 2016 at 15:42 #10562
😉May 27, 2016 at 18:09 #10563
Just letting you guys know.
Build completed successfully.
Latter I will study the package creation process.May 29, 2016 at 14:52 #10572
Hi there, it’s me again. Just to know if I’m the right path…
I’ve been reading and playing with
./scripts/packageand as expected, just “applying” it on the package source code give an error (inadyn-mt.v.02.28.06 is not a runtime package, skipping…). Should I use
./scripts/newpackagestructure to start adapting the source code to openbricks? Or do I need to read some more? If it’s the case could you guys point me in the right direction (“bibliography”)?
Thank you very much for the attention and patience.
You must be logged in to reply to this topic.