Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Crosstool-NG depends on awk/gawk
@ 2010-11-24 16:11 Thomas Petazzoni
  2010-11-24 18:29 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2010-11-24 16:11 UTC (permalink / raw)
  To: buildroot

Hello,

I've finally tried the Crosstool-NG backend and it doesn't work because
it needs awk/gawk on the host, which isn't installed on my limited
Debian environment:

=======================================================================

Checking for 'grep'... /bin/grep
Checking whether '/bin/grep' supports -E... yes
Checking for 'sed'... /bin/sed
Checking whether '/bin/sed' supports -i and -e... yes
Checking for 'bash'... /bin/bash
Checking for 'cut'... /usr/bin/cut
Checking for 'install'... /usr/bin/install
Checking for 'make'... /usr/bin/make
Checking for 'gcc'... /usr/bin/gcc
Checking for 'awk'... no
Checking for 'gawk'... no

GNU awk was not found

Either you are missing entirely the needed tool,
or the version you have is too old.

=======================================================================

So probably we should build host-gawk before running Crosstool-NG
build, or make it a mandatory Buildroot dependency.

Other comment: Yann, it'd be really great if Crosstool-NG was hosted
behind a better connection than a DSL connection. Downloading at 50
KB/s is really frustrating :)

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] 3+ messages in thread

* [Buildroot] Crosstool-NG depends on awk/gawk
  2010-11-24 16:11 [Buildroot] Crosstool-NG depends on awk/gawk Thomas Petazzoni
@ 2010-11-24 18:29 ` Yann E. MORIN
  2010-11-24 19:00   ` Michael S. Zick
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2010-11-24 18:29 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On Wednesday 24 November 2010 17:11:43 Thomas Petazzoni wrote:
> I've finally tried the Crosstool-NG backend and it doesn't work because
> it needs awk/gawk on the host, which isn't installed on my limited
> Debian environment:

Could you please send me your dpkg --get-selections (and other info,
lenny/squeeze, arch...) so I can try it as well?

> Checking for 'gawk'... no
> GNU awk was not found
> So probably we should build host-gawk before running Crosstool-NG
> build, or make it a mandatory Buildroot dependency.

For now, I'd say we should build host-gawk first, as crosstool-NG is
not (yet) the default backend.

The issue I see is: what is the minimum environment Buildroot expects
to run in? Do we have such a description somewhere? What happens once
host-gawk is build: what other program is required?

I can test with your minimalist environment, in a chroot here.

> Other comment: Yann, it'd be really great if Crosstool-NG was hosted
> behind a better connection than a DSL connection. Downloading at 50
> KB/s is really frustrating :)

It's not as if the package was tens of megabytes! ;-)

Hosting crosstool-NG on my own was also a mean for me to learn how to
administer a server. That way, I learned:
- how to set up a server: http, Hg, etc...
- how to set up proper backup/restore procedures (and they were usefull once)
- etc...

And also, I already had a DynDNS, so I used that. When I move to a dedicated
server, I will first have to buy/rent a domain name, and learn how to manage
a DNS zone (yes I could off-load that to the registrar, and I may start that
way, but I want to be as autonomous as possible).

And, yes, I'm considering switching to a dedicated server. For examnple:
- OVH, RPS-I : http://www.ovh.com/fr/produits/rps1.xml
- OVH, KS-250: http://www.kimsufi.com/ks/

While the former is cheaper, the disk space is sparse (but should be enough
for CT-NG) and on a rather slow SAN (_1_MiBps). OTOH, the second is not
that expensive, and it has a real big physical HDD.

Anyway, having a dedicated server will also mean I will have to find a way
to properly backup the stuff.

Yes, yes, I could also put all of it into an existing forge (sourceforge,
bitbucket, google-code...) but again, I want to learn and manage the stuff,
and be as independent as possible from any third party.

I was also thinking of refurbishing an old Dell blade and host my own machine
in a datacenter, but that is really expensive (and much, much less reliable).

All in all, I believe I'll be switching early in 2011.

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] 3+ messages in thread

* [Buildroot] Crosstool-NG depends on awk/gawk
  2010-11-24 18:29 ` Yann E. MORIN
@ 2010-11-24 19:00   ` Michael S. Zick
  0 siblings, 0 replies; 3+ messages in thread
From: Michael S. Zick @ 2010-11-24 19:00 UTC (permalink / raw)
  To: buildroot

On Wed November 24 2010, Yann E. MORIN wrote:
> Thomas, All,
> 
> On Wednesday 24 November 2010 17:11:43 Thomas Petazzoni wrote:
> > I've finally tried the Crosstool-NG backend and it doesn't work because
> > it needs awk/gawk on the host, which isn't installed on my limited
> > Debian environment:
> 
> Could you please send me your dpkg --get-selections (and other info,
> lenny/squeeze, arch...) so I can try it as well?
> 
> > Checking for 'gawk'... no
> > GNU awk was not found
> > So probably we should build host-gawk before running Crosstool-NG
> > build, or make it a mandatory Buildroot dependency.
> 
> For now, I'd say we should build host-gawk first, as crosstool-NG is
> not (yet) the default backend.
> 
> The issue I see is: what is the minimum environment Buildroot expects
> to run in? Do we have such a description somewhere? What happens once
> host-gawk is build: what other program is required?
> 
> I can test with your minimalist environment, in a chroot here.
> 
> > Other comment: Yann, it'd be really great if Crosstool-NG was hosted
> > behind a better connection than a DSL connection. Downloading at 50
> > KB/s is really frustrating :)
> 
> It's not as if the package was tens of megabytes! ;-)
> 
> Hosting crosstool-NG on my own was also a mean for me to learn how to
> administer a server. That way, I learned:
> - how to set up a server: http, Hg, etc...
> - how to set up proper backup/restore procedures (and they were usefull once)
> - etc...
> 
> And also, I already had a DynDNS, so I used that. When I move to a dedicated
> server, I will first have to buy/rent a domain name, and learn how to manage
> a DNS zone (yes I could off-load that to the registrar, and I may start that
> way, but I want to be as autonomous as possible).
> 
> And, yes, I'm considering switching to a dedicated server. For examnple:
> - OVH, RPS-I : http://www.ovh.com/fr/produits/rps1.xml
> - OVH, KS-250: http://www.kimsufi.com/ks/
> 
> While the former is cheaper, the disk space is sparse (but should be enough
> for CT-NG) and on a rather slow SAN (_1_MiBps). OTOH, the second is not
> that expensive, and it has a real big physical HDD.
> 
> Anyway, having a dedicated server will also mean I will have to find a way
> to properly backup the stuff.
>
O.T:

You shouldn't need a dedicated server - shared server hosting should do.
If you don't mind running an 8 time zone ssh connection. . . .

Click the ad here, that'll give you about 10% off of their already low
price (and two free, lifetime domain registrations)
http://minimodding.com

Since what you need will be much more in the line of static pages -
try my static sub-domain mirror.minimodding.com or the nearly static
sub-domain hg.minimodding.com

Mike 
> Yes, yes, I could also put all of it into an existing forge (sourceforge,
> bitbucket, google-code...) but again, I want to learn and manage the stuff,
> and be as independent as possible from any third party.
> 
> I was also thinking of refurbishing an old Dell blade and host my own machine
> in a datacenter, but that is really expensive (and much, much less reliable).
> 
> All in all, I believe I'll be switching early in 2011.
> 
> Regards,
> Yann E. MORIN.
> 

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

end of thread, other threads:[~2010-11-24 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 16:11 [Buildroot] Crosstool-NG depends on awk/gawk Thomas Petazzoni
2010-11-24 18:29 ` Yann E. MORIN
2010-11-24 19:00   ` Michael S. Zick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox