Hej Al ! This is not a bug, it's a feature ;) No, the thing is that I check for JPEG-MMX in the default dirs, and if I can't find it, I print it out the fact that I couldn't find it; I now changed the line to : if test -r ../jpeg-mmx then DEFAULT_JPEGDIR=`pwd`/../jpeg-mmx else if test -r /usr/local/src/jpeg-mmx then DEFAULT_JPEGDIR=/usr/local/src/jpeg-mmx else if test -r /usr/local/lib/libjpeg-mmx.a then DEFAULT_JPEGDIR_I=/usr/local/include DEFAULT_JPEGDIR_L=/usr/local/lib else echo "No JPEG-MMX lib found in the default directories (maybe you supplied your own dir?)" fi fi fi
AC_ARG_WITH(jpeg-mmx, [ --with-jpeg-mmx=PFX Where to find the jpeg-mmx source dir [../jpeg-mmx:/usr/local/src/jpeg-mmx:/usr/local/lib] ], JPEGDIR="$withval", JPEGDIR="$DEFAULT_JPEGDIR") So you have already compiled with the correct lib, only the error message was confusing :-) (you couldn't know that, of course) Servus, Gernot -- T----------------------------W-E-L-C-O-M-E------------------------------T | The Austria <=> Sweden connection..... H O Homepage: http://www.lysator.liu.se/~gz E \------------------------------F-U-T-U-R-E------------------------------/ ---------- Forwarded message ---------- Date: Fri, 6 Jun 2003 12:09:24 +0200 From: Al Bogner <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Mjpeg-users] libmovtar-0.1.3 compilation - No JPEG-MMX lib found Could you please help me with the compilation of libmovtar-0.1.3 mjpeg_play/INSTALL: "First, install JPEG-MMX, simply unpack, './configure' and 'make'. Do *not* run 'make install'! Next, unpack libmovtar and run './configure --with-jpeg-mmx=/path/to/jpeg-mmx, where /path/to/jpeg-mmx is the directory where you just compiled JPEG-MMX. Next, run 'make' and 'make install'" I did the following and at the end you will find "No JPEG-MMX lib found" client3:/usr/src/packages/SOURCES/jpeg-mmx-0.1.4 # ./configure checking for gcc... gcc ... jconfig.h is unchanged client3:/usr/src/packages/SOURCES/jpeg-mmx-0.1.4 # vi Makefile ... ASFLAGS = -f elf # You may need to adjust these cc options: #CFLAGS= -O6 -I$(srcdir) -CFLAGS= -O6 -I$(srcdir) +CFLAGS= -O2 -I$(srcdir) # Generally, we recommend defining any configuration symbols in jconfig.h, ..... client3:/usr/src/packages/SOURCES/jpeg-mmx-0.1.4 # make gcc -c -o jcapimin.o jcapimin.c ... gcc -o wrjpgcom wrjpgcom.o client3:/usr/src/packages/SOURCES/jpeg-mmx-0.1.4 # client3:/usr/src/packages/SOURCES/libmovtar-0.1.3 # ./configure --with-jpeg-mmx=/usr/src/packages/SOURCES/jpeg-mmx-0.1.4 checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... 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 for size_t... yes checking return type of signal handlers... void checking for sdl-config... /usr/bin/sdl-config checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.1.3... yes Activating Intel MMX ! No JPEG-MMX lib found checking for jpeg_start_compress in -ljpeg-mmx... yes configure: creating ./config.status config.status: creating Makefile config.status: creating rtjpeg/Makefile config.status: creating movtar-config libmovtar 0.1.3 build configuration : - Build movtar_play : yes - JPEG input in : yes - RTJPEG support : yes ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users