* [Buildroot] Help Adding Package to build root..
@ 2015-10-27 17:52 astrolite .
2015-10-27 18:20 ` Yann E. MORIN
2015-10-27 20:12 ` Arnout Vandecappelle
0 siblings, 2 replies; 5+ messages in thread
From: astrolite . @ 2015-10-27 17:52 UTC (permalink / raw)
To: buildroot
Hi all sorry for my stupid question but i've a problem to adding a packages
to buid root..
I need to add a package called pigpio.
I've create a .tar.gz on github with all the file required.
The link is : https://github.com/ciclonite/pigpio
Here what happens:
gzip -d -c
/root/qt-dev/buildroot-qt-dev/buildroot-2015.05/dl/libpigpio-38.tar.gz |
tar --strip-components=1 -C
/root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
-xf -
>>> libpigpio 38 Patching
>>> libpigpio 38 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find
/root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
-name $file); do cp support/gnuconfig/$file $i; done; done
>>> libpigpio 38 Configuring
>>> libpigpio 38 Autoreconfiguring
autoreconf: 'configure.ac' or 'configure.in' is required
Why the autoreconf cannot find configure.ac? in the tar.gz it's present!
I need a help..
Thanks a lot.
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151027/4b799d33/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Help Adding Package to build root..
2015-10-27 17:52 [Buildroot] Help Adding Package to build root astrolite .
@ 2015-10-27 18:20 ` Yann E. MORIN
2015-10-27 20:12 ` Arnout Vandecappelle
1 sibling, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-10-27 18:20 UTC (permalink / raw)
To: buildroot
Giovanni, All,
On 2015-10-27 18:52 +0100, astrolite . spake thusly:
> Hi all sorry for my stupid question but i've a problem to adding a packages
> to buid root..
>
> I need to add a package called pigpio.
> I've create a .tar.gz on github with all the file required.
> The link is : https://github.com/ciclonite/pigpio
>
>
> Here what happens:
> gzip -d -c
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/dl/libpigpio-38.tar.gz |
> tar --strip-components=1 -C
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> -xf -
> >>> libpigpio 38 Patching
> >>> libpigpio 38 Updating config.sub and config.guess
> for file in config.guess config.sub; do for i in $(find
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> -name $file); do cp support/gnuconfig/$file $i; done; done
> >>> libpigpio 38 Configuring
> >>> libpigpio 38 Autoreconfiguring
> autoreconf: 'configure.ac' or 'configure.in' is required
> Why the autoreconf cannot find configure.ac? in the tar.gz it's present!
I've made a very simple and minimalistic pgipio package:
$ cat package/pigpio/pigpio.mk
PIGPIO_VERSION = 924b8d2baf2d36336bf9ba320a22f3306783c051
PIGPIO_SITE = $(call github,ciclonite,pigpio,$(PIGPIO_VERSION))
PIGPIO_AUTORECONF = YES
$(eval $(autotools-package))
And it does autoreconf nicely for me.
Care to share your own .mk so we can compare and identify your issue?
It does not build, because there is a missing custom.cext file, but your
direct problem does not happen for me.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] Help Adding Package to build root..
2015-10-27 17:52 [Buildroot] Help Adding Package to build root astrolite .
2015-10-27 18:20 ` Yann E. MORIN
@ 2015-10-27 20:12 ` Arnout Vandecappelle
2015-10-28 9:30 ` astrolite .
1 sibling, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2015-10-27 20:12 UTC (permalink / raw)
To: buildroot
On 27-10-15 18:52, astrolite . wrote:
> Hi all sorry for my stupid question but i've a problem to adding a packages to
> buid root..
>
> I need to add a package called pigpio.
> I've create a .tar.gz on github with all the file required.
> The link is : https://github.com/ciclonite/pigpio
>
>
> Here what happens:
> gzip -d -c
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/dl/libpigpio-38.tar.gz | tar
> --strip-components=1 -C
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38 -xf -
>>>> libpigpio 38 Patching
>>>> libpigpio 38 Updating config.sub and config.guess
> for file in config.guess config.sub; do for i in $(find
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38 -name
> $file); do cp support/gnuconfig/$file $i; done; done
>>>> libpigpio 38 Configuring
>>>> libpigpio 38 Autoreconfiguring
> autoreconf: 'configure.ac <http://configure.ac>' or 'configure.in
> <http://configure.in>' is required
> Why the autoreconf cannot find configure.ac <http://configure.ac>? in the tar.gz
> it's present!
Is it in the build directory
/root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38 ?
Could you share your Config.in and pigpio.mk so we can check it? The version
"38" is suspicious since there is no corresponding tag in the github repo, so I
wonder if you really have the correct tarball.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Help Adding Package to build root..
2015-10-27 20:12 ` Arnout Vandecappelle
@ 2015-10-28 9:30 ` astrolite .
2015-10-28 9:51 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: astrolite . @ 2015-10-28 9:30 UTC (permalink / raw)
To: buildroot
Hi Arnout,
In the directory
/root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
is present only config.in libpigpio.mk
These are my files:
Config.in
config BR2_PACKAGE_LIBPIGPIO
bool "libpigpio"
help
pigpio is a C library for the Raspberry Pi which allows control of the
general purpose input outputs (gpios).
libpigpio.mk
LIBPIGPIO_VERSION = 38
LIBPIGPIO_INSTALL_TARGET = YES
LIBPIGPIO_INSTALL_STAGING = YES
LIBPIGPIO_AUTORECONF = YES
LIBPIGPIO_SITE = https://github.com/ciclonite/pigpio
ifeq ($(BR2_PACKAGE_LIBPIGPIO),y)
TARGETS+=libpigpio
endif
$(eval $(autotools-package))
Thanks a lot.
Giovanni
2015-10-27 21:12 GMT+01:00 Arnout Vandecappelle <arnout@mind.be>:
> On 27-10-15 18:52, astrolite . wrote:
> > Hi all sorry for my stupid question but i've a problem to adding a
> packages to
> > buid root..
> >
> > I need to add a package called pigpio.
> > I've create a .tar.gz on github with all the file required.
> > The link is : https://github.com/ciclonite/pigpio
> >
> >
> > Here what happens:
> > gzip -d -c
> > /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/dl/libpigpio-38.tar.gz |
> tar
> > --strip-components=1 -C
> >
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> -xf -
> >>>> libpigpio 38 Patching
> >>>> libpigpio 38 Updating config.sub and config.guess
> > for file in config.guess config.sub; do for i in $(find
> >
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> -name
> > $file); do cp support/gnuconfig/$file $i; done; done
> >>>> libpigpio 38 Configuring
> >>>> libpigpio 38 Autoreconfiguring
> > autoreconf: 'configure.ac <http://configure.ac>' or 'configure.in
> > <http://configure.in>' is required
> > Why the autoreconf cannot find configure.ac <http://configure.ac>? in
> the tar.gz
> > it's present!
>
> Is it in the build directory
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38 ?
>
> Could you share your Config.in and pigpio.mk so we can check it? The
> version
> "38" is suspicious since there is no corresponding tag in the github repo,
> so I
> wonder if you really have the correct tarball.
>
>
> Regards,
> Arnout
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151028/a132fd1e/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Help Adding Package to build root..
2015-10-28 9:30 ` astrolite .
@ 2015-10-28 9:51 ` Arnout Vandecappelle
0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2015-10-28 9:51 UTC (permalink / raw)
To: buildroot
On 28-10-15 10:30, astrolite . wrote:
> Hi Arnout,
> In the
> directory /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> is present only config.in <http://config.in> libpigpio.mk <http://libpigpio.mk>
> These are my files:
> Config.in
>
> config BR2_PACKAGE_LIBPIGPIO
> bool "libpigpio"
> help
> pigpio is a C library for the Raspberry Pi which allows control of the general
> purpose input outputs (gpios).
>
> libpigpio.mk <http://libpigpio.mk>
>
> LIBPIGPIO_VERSION = 38
> LIBPIGPIO_INSTALL_TARGET = YES
> LIBPIGPIO_INSTALL_STAGING = YES
> LIBPIGPIO_AUTORECONF = YES
> LIBPIGPIO_SITE = https://github.com/ciclonite/pigpio
You have done something very weird, since
https://github.com/ciclonite/pigpio/libpigpio-38.tar.gz
doesn't exist. I guess you manually put that file into your dl directory, but
the file is just wrong, it contain the buildroot package files instead of the
sources.
I think you should read the Buildroot manual about adding packages,
particularly the part about the github helper. You'll probably want to set the
version to 07e2a66f73c7bc5d60b373a2f8a25a4294f2d778 because everything you did
after that commit looks like rubbish to me.
>
> ifeq ($(BR2_PACKAGE_LIBPIGPIO),y)
> TARGETS+=libpigpio
> endif
This bit should be removed - it's done automatically by the autotools-package
macro.
Regards,
Arnout
> $(eval $(autotools-package))
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-28 9:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-27 17:52 [Buildroot] Help Adding Package to build root astrolite .
2015-10-27 18:20 ` Yann E. MORIN
2015-10-27 20:12 ` Arnout Vandecappelle
2015-10-28 9:30 ` astrolite .
2015-10-28 9:51 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox