Hi!
I'm trying to compile gem but I get this error when executing ./configure
checking size of unsigned int... configure: error: cannot compute sizeof (unsigned int), 77 See `config.log' for more details.
Fedora Core 5 + CCRMA on a single processor 32 bit i386 (a hp nx6110 laptop, celeron M, 512 MB ram)
I just compiled pd from CVS
I also installed mesa-libGLU-devel and libXxf86vm-devel from fc5 repositary and lame, libquicktime and ffmpeg from source
I really can't understand what's wrong...
here is the complete configure output
[davide@localhost src]$ ./configure checking for Base/configLinux.h.in... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for sin in -lm... yes checking for main in -lz... yes checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for main in -lX11... yes checking for main in -lXext... yes checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes checking for main in -lXext... (cached) yes checking for glInitNames in -lGL... yes checking for gluLookAt in -lGLU... yes checking for "OpenGL"-framework... no checking for "AGL"-framework... no checking for "Carbon"-framework... no checking for "QuickTime"-framework... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PKG_IMAGEMAGICK___CFLAGS... checking for PKG_IMAGEMAGICK___LIBS... -lMagick++ -lMagick checking for PKG_TIFF_CFLAGS... checking for PKG_TIFF_LIBS... checking for tiff-config... no checking for TIFFOpen in -ltiff... yes checking for PKG_JPEG_CFLAGS... checking for PKG_JPEG_LIBS... checking for jpeg-config... no checking for jpeg_read_header in -ljpeg... yes checking for PKG_LIBQUICKTIME_CFLAGS... checking for PKG_LIBQUICKTIME_LIBS... checking for libquicktime-config... no checking for quicktime_init in -lquicktime... yes checking for PKG_LQT_CFLAGS... checking for PKG_LQT_LIBS... checking for lqt-config... yes checking for PKG_MPEG3_CFLAGS... checking for PKG_MPEG3_LIBS... checking for mpeg3-config... no checking for mpeg3_check_sig in -lmpeg3... yes checking for PKG_MPEG_CFLAGS... checking for PKG_MPEG_LIBS... checking for mpeg-config... no checking for OpenMPEG in -lmpeg... no checking for PKG_AVIFILE_CFLAGS... checking for PKG_AVIFILE_LIBS... checking for avifile-config... no checking for CreateIAviReadFile in -laviplay... no checking for PKG_FFMPEG_CFLAGS... checking for PKG_FFMPEG_LIBS... checking for ffmpeg-config... no checking for av_open_input_file in -lavformat... yes checking whether (AVStream)->codec is of type "*AVCodecContext"... yes checking for egrep... grep -E c hecking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/videodev.h usability... yes checking linux/videodev.h presence... yes checking for linux/videodev.h... yes checking for PKG_IEEE1394_CFLAGS... checking for PKG_IEEE1394_LIBS... checking for ieee1394-config... no checking for main in -ldv... yes checking for PKG_FTGL_CFLAGS... checking for PKG_FTGL_LIBS... checking for ftgl-config... no checking for main in -lftgl... no checking for PKG_GLTT_CFLAGS... checking for PKG_GLTT_LIBS... checking for gltt-config... no checking for GLTTFont in -lgltt... no checking for pthread_create in -lpthread... yes checking for X... libraries , headers checking for ANSI C header files... (cached) no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for memory.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for GLsizeiptrARB... yes checking for unsigned int... yes checking size of unsigned int... configure: error: cannot compute sizeof (unsigned int), 77 See `config.log' for more details.
davide wrote:
Hi!
I'm trying to compile gem but I get this error when executing ./configure
checking size of unsigned int... configure: error: cannot compute sizeof (unsigned int), 77 See `config.log' for more details.
Fedora Core 5 + CCRMA on a single processor 32 bit i386 (a hp nx6110 laptop, celeron M, 512 MB ram)
I just compiled pd from CVS
I also installed mesa-libGLU-devel and libXxf86vm-devel from fc5 repositary and lame, libquicktime and ffmpeg from source
I really can't understand what's wrong...
me neither. what's the content of config.log ? which version of autoconf/automake/autotools are you using?
mfg.asdr IOhannes
me neither. what's the content of config.log ? which version of autoconf/automake/autotools are you using?
you can see my config.log here: http://www.davidemorelli.it/public/config.log.txt
automake version 1.9.6 autoconf version 2.59
you can see my config.log here: http://www.davidemorelli.it/public/config.log.txt
I didn't notice (in config.log) that libquicktime.so.0 could not be found!
so I recompiled libquicktime configuring it with --prefix=/usr and now I can configure gem without errors (it was in /usr/local/lib)...
so it was my fault, i installed libquicktime in a wrong way...
ciao, davide.
davide wrote:
you can see my config.log here: http://www.davidemorelli.it/public/config.log.txt
I didn't notice (in config.log) that libquicktime.so.0 could not be found!
so I recompiled libquicktime configuring it with --prefix=/usr and now I can configure gem without errors (it was in /usr/local/lib)...
so it was my fault, i installed libquicktime in a wrong way...
interesting side effects: imho, the configure process should not fail to detect the sizeof(unsigned int) when it wrongly detects an (un)installed library. but i guess these are just the myteries of autoconf (and the suggested ordering of tests)
good to know that it works
mfga.sdr IOhannes