All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gpsd not included in build
@ 2011-03-08 22:40 bruce bushby
  2011-03-09  8:05 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: bruce bushby @ 2011-03-08 22:40 UTC (permalink / raw)
  To: buildroot

Hi

I hope I'm not being really thick here....but I can't seem to get "gpsd" to
be included in my build.

I'm trying with "buildroot-2011.02" and "daily snapshot" on both ubuntu and
Fedora but for some reason, the "make" doesn't download or compile gpsd.

I checked package/Config.in ... looks ok
I added GPSD_SOURCE to: package/gpsd/gpsd.mk

I manually downloaded the package into /opt/buildroot/dl

I tried unticking it, re-running make (without a make clean) and then
selecting it and running "make"....but it appears to ignore it.

it's definitely in my config file:
[root at core buildroot]# grep -i gps .config | grep -v "^#"
BR2_PACKAGE_GPSD=y
BR2_PACKAGE_GPSD_DEVICES="/dev/ttyS4"
BR2_PACKAGE_GPSD_RECONFIGURE=y
BR2_PACKAGE_GPSD_CONTROLSEND=y
BR2_PACKAGE_GPSD_NMEA=y
BR2_PACKAGE_GPSD_SIRF=y
[root at core buildroot]#


Any tricks I'm missing? .... I've added my own packages and they're pulled
in and compiled hence my confusion :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110308/a3828b2a/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] gpsd not included in build
  2011-03-08 22:40 [Buildroot] gpsd not included in build bruce bushby
@ 2011-03-09  8:05 ` Thomas Petazzoni
  2011-03-09 11:44   ` bruce bushby
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2011-03-09  8:05 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 8 Mar 2011 22:40:11 +0000
bruce bushby <bruce.bushby@gmail.com> wrote:

> I hope I'm not being really thick here....but I can't seem to get
> "gpsd" to be included in my build.
> 
> I'm trying with "buildroot-2011.02" and "daily snapshot" on both
> ubuntu and Fedora but for some reason, the "make" doesn't download or
> compile gpsd.

works fine here:

$ grep GPSD=y ../outputs/gpsd/.config
BR2_PACKAGE_GPSD=y

$ ls -l ../outputs/gpsd/target/usr/sbin/gpsd 
-rwxr-xr-x 1 test test 29696 Mar  9 07:47 ../outputs/gpsd/target/usr/sbin/gpsd

> I checked package/Config.in ... looks ok
> I added GPSD_SOURCE to: package/gpsd/gpsd.mk

Not needed, there is a default value of "<pkgname>-<pkgversion>.tar.gz".

> I manually downloaded the package into /opt/buildroot/dl

Not needed, the gpsd package download works.

> I tried unticking it, re-running make (without a make clean) and then
> selecting it and running "make"....but it appears to ignore it.

Remember that removing a package in Buildroot doesn't do anything if
you don't restart the build from scratch.

Could you start a completely fresh build, with gpsd enabled, and post
the full build log somewhere, as well as the output of"find
output/target" ?

Another note: in your other post concerning Python and readline, I saw
that you use Buildroot as the root user. Don't do that. Use Buildroot
as a regular user.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] gpsd not included in build
  2011-03-09  8:05 ` Thomas Petazzoni
@ 2011-03-09 11:44   ` bruce bushby
  2011-03-15 10:47     ` Guillaume Dargaud
  0 siblings, 1 reply; 4+ messages in thread
From: bruce bushby @ 2011-03-09 11:44 UTC (permalink / raw)
  To: buildroot

Thanks Thomas!!!

Appears it's something to do with my build setup.....gpsd does indeed build.

"..building as root.."  pure laziness , I use virtual machines for building
and don't care if they get trashed...but it's good advice, I'll switch to a
user for future builds.






On Wed, Mar 9, 2011 at 8:05 AM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Hello,
>
> On Tue, 8 Mar 2011 22:40:11 +0000
> bruce bushby <bruce.bushby@gmail.com> wrote:
>
> > I hope I'm not being really thick here....but I can't seem to get
> > "gpsd" to be included in my build.
> >
> > I'm trying with "buildroot-2011.02" and "daily snapshot" on both
> > ubuntu and Fedora but for some reason, the "make" doesn't download or
> > compile gpsd.
>
> works fine here:
>
> $ grep GPSD=y ../outputs/gpsd/.config
> BR2_PACKAGE_GPSD=y
>
> $ ls -l ../outputs/gpsd/target/usr/sbin/gpsd
> -rwxr-xr-x 1 test test 29696 Mar  9 07:47
> ../outputs/gpsd/target/usr/sbin/gpsd
>
> > I checked package/Config.in ... looks ok
> > I added GPSD_SOURCE to: package/gpsd/gpsd.mk
>
> Not needed, there is a default value of "<pkgname>-<pkgversion>.tar.gz".
>
> > I manually downloaded the package into /opt/buildroot/dl
>
> Not needed, the gpsd package download works.
>
> > I tried unticking it, re-running make (without a make clean) and then
> > selecting it and running "make"....but it appears to ignore it.
>
> Remember that removing a package in Buildroot doesn't do anything if
> you don't restart the build from scratch.
>
> Could you start a completely fresh build, with gpsd enabled, and post
> the full build log somewhere, as well as the output of"find
> output/target" ?
>
> Another note: in your other post concerning Python and readline, I saw
> that you use Buildroot as the root user. Don't do that. Use Buildroot
> as a regular user.
>
> Regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110309/c71e613b/attachment-0001.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] gpsd not included in build
  2011-03-09 11:44   ` bruce bushby
@ 2011-03-15 10:47     ` Guillaume Dargaud
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Dargaud @ 2011-03-15 10:47 UTC (permalink / raw)
  To: buildroot

While on the subject of gpsd, I'm impressed by the long list of protocols supported, but I don't see the protocol used 
by the Motorla M12+. They call those 'binary commands' for lack of a better name. Is this supported under another name ?
Thanks
-- 
Guillaume Dargaud
http://www.gdargaud.net/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-15 10:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 22:40 [Buildroot] gpsd not included in build bruce bushby
2011-03-09  8:05 ` Thomas Petazzoni
2011-03-09 11:44   ` bruce bushby
2011-03-15 10:47     ` Guillaume Dargaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.