Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Need Help. Error running Make bzip2-1.0.3
@ 2007-06-23 22:24 AM
  2007-06-23 22:31 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: AM @ 2007-06-23 22:24 UTC (permalink / raw)
  To: buildroot

I am having trouble running "make" after selecting a few package:
Here is what am getting.

        make -j1 CC=/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc RANLIB=/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ranlib -C /home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3 libbz2.a
make[1]: Entering directory `/home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3'
rm -f libbz2.a
ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ranlib libbz2.a
make[1]: Leaving directory `/home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3'
cp /home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3/bzlib.h /home/amark/development/1.1/buildroot/build_i586/staging_dir/include/
cp: cannot create regular file `/home/amark/development/1.1/buildroot/build_i586/staging_dir/include/': Is a directory
make: *** [/home/amark/development/1.1/buildroot/build_i586/staging_dir/lib/libbz2.so.1.0.3] Error 1


I looked in the Makefile of bzip2-1.0.3 and the PREFIX is set /usr, I also see where is suppose to create the directory include if it does not exist.
Here is the copy command from the Makefile: cp -f bzlib.h $(PREFIX)/include. Base on this, I would think it's suppose to go into staging_dir/usr/include. But the copy command above seems to be going to the wrong directory. Can somebody tell me why this is happening?

Thanks everybody....

A M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070623/0be60f9b/attachment.htm 

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

* [Buildroot] Need Help. Error running Make bzip2-1.0.3
  2007-06-23 22:24 [Buildroot] Need Help. Error running Make bzip2-1.0.3 AM
@ 2007-06-23 22:31 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-06-23 22:31 UTC (permalink / raw)
  To: buildroot

On Sat, Jun 23, 2007 at 06:24:36PM -0400, AM wrote:
>I am having trouble running "make" after selecting a few package:
>Here is what am getting.
>
>        make -j1 CC=/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc RANLIB=/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ranlib -C /home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3 libbz2.a
>make[1]: Entering directory `/home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3'
>rm -f libbz2.a
>ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
>/home/amark/development/1.1/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ranlib libbz2.a
>make[1]: Leaving directory `/home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3'
>cp /home/amark/development/1.1/buildroot/build_i586/bzip2-1.0.3/bzlib.h /home/amark/development/1.1/buildroot/build_i586/staging_dir/include/
>cp: cannot create regular file `/home/amark/development/1.1/buildroot/build_i586/staging_dir/include/': Is a directory
>make: *** [/home/amark/development/1.1/buildroot/build_i586/staging_dir/lib/libbz2.so.1.0.3] Error 1
>
>
>I looked in the Makefile of bzip2-1.0.3 and the PREFIX is set /usr, I also see where is suppose to create the directory include if it does not exist.
>Here is the copy command from the Makefile: cp -f bzlib.h $(PREFIX)/include. Base on this, I would think it's suppose to go into staging_dir/usr/include. But the copy command above seems to be going to the wrong directory. Can somebody tell me why this is happening?

One last time (sorry getting tired to iterate)
The staging dir is now ment to look like a normal system. Several
packages (like bzip2 as you see), need adjustment.

If you do not want to help adjusting the packages that are not yet
corrected, then please use the tag that i created or a snapshot from a
week or ten days ago, thanks.

g'night.

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

end of thread, other threads:[~2007-06-23 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-23 22:24 [Buildroot] Need Help. Error running Make bzip2-1.0.3 AM
2007-06-23 22:31 ` Bernhard Fischer

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