Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you tried downloading and building with make?
There may be missing dependencies to zlib itself.
I know that you don't use FreeBSD; but, the following information may be useful to you.
Go to http://www.freebsd.org/ports/index.html and type qemu in the search bar.
All of the dependencies are there. You can use the same search engine to ee what dependencies those dependencies require. The search can also be used for zlib and its dependencies. Just use it for a reference.
Last edited by Mr-Bisquit; 02-23-2010 at 02:03 AM.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
Code:
# ./configure --disable-werror --disable-linux-aio --enable-system
Error: zlib check failed
Make sure to have the zlib libs and headers installed.
Install prefix /usr/bin
BIOS directory /usr/bin
binary directory /usr/bin
Source path /root/qemu/
C compiler gcc
Host C compiler gcc
CFLAGS -O2 -g
QEMU_CFLAGS -m32 -Wold-style-definition -I. -I$(SRC_PATH) -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOU
RCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing
LDFLAGS -Wl,--warn-common -m32 -g
make make
install install
host CPU i486
host big endian no
target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-so
ftmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
SDL support yes
curses support yes
curl support no
check support no
mingw32 support no
Audio drivers
Extra audio cards ac97 es1370 sb16
Block whitelist
Mixer emulation no
VNC TLS support no
VNC SASL support no
xen support no
brlapi support no
bluez support no
Documentation no
NPTL support no
GUEST_BASE yes
PIE user targets no
vde support no
IO thread no
Linux AIO support no
Install blobs yes
KVM support no
fdt support no
preadv support no
fdatasync no
uuid support no
ln: creating symbolic link `i386-softmmu/Makefile': File exists
ln: creating symbolic link `x86_64-softmmu/Makefile': File exists
ln: creating symbolic link `arm-softmmu/Makefile': File exists
ln: creating symbolic link `cris-softmmu/Makefile': File exists
ln: creating symbolic link `m68k-softmmu/Makefile': File exists
ln: creating symbolic link `microblaze-softmmu/Makefile': File exists
ln: creating symbolic link `mips-softmmu/Makefile': File exists
ln: creating symbolic link `mipsel-softmmu/Makefile': File exists
ln: creating symbolic link `mips64-softmmu/Makefile': File exists
ln: creating symbolic link `mips64el-softmmu/Makefile': File exists
ln: creating symbolic link `ppc-softmmu/Makefile': File exists
ln: creating symbolic link `ppcemb-softmmu/Makefile': File exists
ln: creating symbolic link `ppc64-softmmu/Makefile': File exists
ln: creating symbolic link `sh4-softmmu/Makefile': File exists
ln: creating symbolic link `sh4eb-softmmu/Makefile': File exists
ln: creating symbolic link `sparc-softmmu/Makefile': File exists
ln: creating symbolic link `sparc64-softmmu/Makefile': File exists
ln: creating symbolic link `libhw32/Makefile': File exists
ln: creating symbolic link `libhw64/Makefile': File exists
ln: creating symbolic link `libuser/Makefile': File exists
Download and build zlib from source.
Have you built the headers for zlib?
shpenat was right, try the dev package.
What distro are you currently compiling qemu for?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.