Re: [hatari-devel] configure does not check for zlib.h |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] configure does not check for zlib.h
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Wed, 30 May 2012 23:36:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=UVvlgeFg7iYakXuxPXYscKjwB6CPNaoAhYz7av/f+V0=; b=ZypbiJxv6PT9vg6fhUBi9fltDdbxsJCrIavPvtWyfYuiAq79pjqePLuL/NIQuN0NTO FPQ3Al79K1QX6raYW7kmbMvfyDLQ8iIsmIbtowQfFMz8tbsvJDNwLSCSTk5VKRiIv+nA OcGHhcoTCPSNp47cTZNXs3Eq6KICy9hntteOgFt8kc8QCmXoFBtVQMMYaQJ93VfFUzDB cO217WXrMbbVpMps3GsHoPp+M4XrCX2iGCTY+Joehu4GBPQoNsKZ0l/FNeep6vp5QkPu LapePHmLfQtUpswpZFNc8PnMgU/kq7onxlBeB6IOa+LYm+t/IvmaoiUAfskeL1D37c9W LFxw==
On Wed, May 30, 2012 at 11:11 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> On keskiviikko 30 toukokuu 2012, Nicolas Pomarède wrote:
>> On 30/05/2012 22:32, Christer Solskogen wrote:
>> > And I think it should, since without it compilation will fail.
>
> Christer, please provide the full error log.
Without zlib.h:
[solskogen@samara hatari]$ ./configure
-- The C compiler identification is GNU 4.7.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib64/libSDL.so;-lpthread
-- Found MATH: /usr/lib64/libm.so
-- Could NOT find READLINE (missing: READLINE_LIBRARY READLINE_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in
/usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib64/libX11.so
-- Could NOT find PORTAUDIO (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR)
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file SDL/SDL_config.h
-- Looking for include file SDL/SDL_config.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include files sys/socket.h, sys/un.h
-- Looking for include files sys/socket.h, sys/un.h - found
-- Looking for cfmakeraw
-- Looking for cfmakeraw - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for select
-- Looking for select - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for alphasort
-- Looking for alphasort - found
-- Looking for scandir
-- Looking for scandir - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/solskogen/hatari
Now you must type: make; make install
to actually build and install the software
[solskogen@samara hatari]$ make
Scanning dependencies of target Floppy
[ 1%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
[ 2%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o
/home/solskogen/hatari/src/dim.c:11:18: fatal error: zlib.h: No such
file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/Floppy.dir/dim.c.o] Error 1
make[1]: *** [src/CMakeFiles/Floppy.dir/all] Error 2
make: *** [all] Error 2
Without SDL-devel:
[solskogen@samara hatari]$ ./configure
-- The C compiler identification is GNU 4.7.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97
(MESSAGE):
Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindSDL.cmake:172 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:80 (find_package)
-- Configuring incomplete, errors occurred!
--
chs,