"no rule to make" on all platforms, except for skeleton
Arthur Hebert
ahebert at gmail.com
Thu Apr 14 19:32:16 CEST 2016
I got that part fixed, and I found where I was confused.
The nard+addons-v1.00.tar.gz tarball does not contain the folders/files
from the addons git repository (e.g. the debian/ and videocore-libs/ apps,
the audit/ platform, etc.)
I did a `make distclean` again, and am trying a fresh build.
-Arthur
On Thu, Apr 14, 2016 at 10:10 AM, Arthur Hebert <ahebert at gmail.com> wrote:
> Sorry to keep bothering you.
> My build failed when it tried to start making the debian packages.
> The error says that there is no folder "apps/debian/", which there isn't.
> Is there supposed to be a "debian/" folder in the "nard+addons" tarball?
>
> In the instructions at
> http://www.arbetsmyra.dyndns.org/nard/extending.html#extenddeb, the
> simplified example has the line "PKGS_APPS += debian/debian" and then a
> debian.config file with the individual packages. I used the same in my
> project:
>
> $ cat platform/nodeserver/Rules.mk
> PRODUCT_DEPS += skeleton
> -include $(PATH_TOP)/platform/skeleton/Rules.mk
> PKGS_APPS += debian/debian
>
> $ cat platform/nodeserver/debian.config
> deb_install += nodejs
> deb_install += npm
> deb_install += i2c-tools
> deb_install += wget
> deb_install += openssl
>
> Did I take it too literally? How do I tell the Nard SDK where to find the
> debian files that it needs?
>
> Thanks again,
> Arthur
>
> On Thu, Apr 14, 2016 at 8:37 AM, Arthur Hebert <ahebert at gmail.com> wrote:
>
>> Running `make distclean` fixed the problem.
>> I am now building my first custom platform in Nard.
>>
>> Thanks!
>>
>> -Arthur
>>
>> On Thu, Apr 14, 2016 at 4:32 AM, Ronny Nilsson <
>> rln-nard at arbetsmyra.dyndns.org> wrote:
>>
>>> Hi
>>> I'm glad you like the project. Probably something has messed up in your
>>> tree.
>>> If you start over it should resolve:
>>> $ make distclean
>>> $ make mediaplayer
>>> Backup any custom work you might have added first though, since
>>> "distclean"
>>> will erase lots, to get into an almost pristine state.
>>>
>>> Having said that I double checked the "nard+addons-v1.00.tar.gz"
>>> download and
>>> noticed some parts are missing(!). I must have made a mistake in the
>>> release
>>> process... I'll fix it and get back to you promptly.
>>>
>>> /Ronny
>>>
>>>
>>>
>>> ------------------------------------------
>>> > Thank you Ronny for the warm welcome ,
>>> >
>>> > I'm excited about the potential of Nard. Per your suggestion, I became
>>> a
>>> > member and downloaded the add-ons tarball.
>>> >
>>> > The following `make` commands still give the same error, and I don't
>>> think
>>> > any of them use the Raspbian emulation feature.
>>> >
>>> > $ make default
>>> > make: *** No rule to make target `default`. Stop.
>>> > $ make consoleserver
>>> > make: *** No rule to make target `consoleserver`. Stop.
>>> > $ make mediaplayer
>>> > make: *** No rule to make target `mediaplayer`. Stop.
>>> >
>>> > Perhaps I should get these built-in configurations to build before I
>>> try my
>>> > own product config.
>>> > Are those the correct commands for building one of the
>>> > default/consoleserver/mediaplayer products?
>>> >
>>> > Regards,
>>> > Arthur
>>> >
>>> > On Wed, Apr 13, 2016 at 10:04 AM, Ronny Nilsson <
>>> >
>>> > rln-nard at arbetsmyra.dyndns.org> wrote:
>>> > > Hi Arthur and welcome to the list.
>>> > > My guess is that you are missing the add-on package. Have you
>>> downloaded
>>> > > the "nard+addons" tarball? This is a necessity for the Raspbian
>>> emulation
>>> > > support. For accessing these parts of Nard one need to first become
>>> > > a "member". It's pretty much a "pay-what-you-want" membership and
>>> you may
>>> > > cancel it anytime with a few mouse clicks should you want.
>>> > > http://www.arbetsmyra.dyndns.org/nard/addon.html
>>> > > Developing Nard is costly though so any support is welcome.
>>> > >
>>> > > BR
>>> > > Ronny
>>> > >
>>> > >
>>> > >
>>> > > -----------------------------------------
>>> > >
>>> > > > Hello,
>>> > > >
>>> > > > I am trying Nard for the first time, and having trouble with the
>>> > > > basics,
>>> > >
>>> > > so
>>> > >
>>> > > > I assume I'm missing something rudimentary.
>>> > > >
>>> > > > I ran `make skeleton` and it completed successfully.
>>> > > >
>>> > > > My end-goal is to make a server running nodejs, so I've created the
>>> > > > following 2 files in a new platform folder:
>>> > > >
>>> > > > $ cat platform/nodeserver/Rules.mk
>>> > > > PRODUCT_DEPS += skeleton
>>> > > > -include $(PATH_TOP)/platform/skeleton/Rules.mk
>>> > > > PKGS_APPS += debian/debian
>>> > > >
>>> > > > $ cat platform/nodeserver/debian.config
>>> > > > deb_install += nodejs
>>> > > > deb_install += npm
>>> > > > deb_install += i2c-tools
>>> > > > deb_install += wget
>>> > > > deb_install += openssl
>>> > > >
>>> > > > Then when I run `make nodeserver`, I get the message:
>>> > > > make: *** No rule to make target `nodeserver`. Stop.
>>> > > >
>>> > > > Then I did `make clean` followed by `make mediaplayer` to try one
>>> of
>>> > > > the built-in alternatives and got the same message:
>>> > > > make: *** No rule to make target `mediaplayer`. Stop.
>>> > > >
>>> > > > How do I build other products? Any help is much appreciated!
>>> > > >
>>> > > > Thanks,
>>> > > > Arthur
>>>
>>>
>>
>
More information about the Nard
mailing list