I am trying to configure libid3tag.0.15.1b for the arm processor. But it keeps failing on zlib.h. I run ./configure --host=arm and get: checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for unistd.h... (cached) yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no configure: error: zlib.h was not found *** You must first install zlib (libz) before you can build this package. *** If zlib is already installed, you may need to use the CPPFLAGS *** environment variable to specify its installed location, e.g. -I<dir>.
I check /usr/local/arm/2.95.3/arm-linux/include and there is zlib.h
It finds assert.h, whcih is in the same directory, so why not zlib.h?
tj
[ Folks, in the future please send developer-oriented messages such as the one below to the mad-dev mailing list instead of this one. N.B. I have set the Reply-To header accordingly. ]
On Jun 6, 2004, at 12:33 PM, tj wrote:
I am trying to configure libid3tag.0.15.1b for the arm processor. But it keeps failing on zlib.h. I run ./configure --host=arm and get: checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for unistd.h... (cached) yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no configure: error: zlib.h was not found *** You must first install zlib (libz) before you can build this package. *** If zlib is already installed, you may need to use the CPPFLAGS *** environment variable to specify its installed location, e.g. -I<dir>.
I check /usr/local/arm/2.95.3/arm-linux/include and there is zlib.h
It finds assert.h, whcih is in the same directory, so why not zlib.h?
Perhaps it actually finds assert.h from a different directory. If you're compiling with gcc, you can add the -v flag to see the search path.
From your transcript above, I can't tell if you're actually invoking a cross-compiler. Normally your configure run would look something more like:
./configure --host=arm-linux CC=arm-linux-gcc