I’m not sure how much of a linux guru you are, but I found that using aptitude (and search, rather than apt-get) on debian was very helpful in getting buildroot to build.  For example, you could run aptitude and just search for zlib.

 

 


From: gumstix-users-bounces@lists.sourceforge.net [mailto:gumstix-users-bounces@lists.sourceforge.net] On Behalf Of SmithK@byui.edu
Sent: Friday, 9 May 2008 11:45 a.m.
To: gumstix-users@lists.sourceforge.net
Subject: [Gumstix-users] /gumstix-buildroot/make error & apt-get installzlib-devel error

 

I am trying to get bootroot up and running on coLinux.  However, I get the following error after executing the following:

 

Commands leading up to the error:

% cd gumstix-buildroot

% make defconfig

% make menuconfig

% make

 

make error message:

debian:/gumstix-buildroot# make

zcat /gumstix-buildroot/dl/mtd-utils-1.0.0.tar.gz | tar -C /gumstix-buildroot/build_arm_nofpu   -xf -

toolchain/patch-kernel.sh /gumstix-buildroot/build_arm_nofpu/mtd-utils-1.0.0 package/mtd \*.patch

 

Applying mtd-osx.patch using plaintext:

toolchain/patch-kernel.sh: line 40: patch: command not found

Patch failed!  Please fix mtd-osx.patch!

make: *** [/gumstix-buildroot/build_arm_nofpu/mtd-utils-1.0.0/Makefile] Error 1

debian:/gumstix-buildroot#

 

 

 

I think the problem is that I cannot install zlib-devel.  I get the following error when trying to install this command:

 

debian:/gumstix-buildroot# apt-get install zlib-devel

Reading package lists... Done

Building dependency tree... Done

E: Couldn't find package zlib-devel

debian:/gumstix-buildroot#

 

Would anyone know how to fix one or both of this errors?

 

Thank you,

 

Kevin