Bill If you have scons on Mac , try using that. Thats how I got it working on Ubuntu. Make did not build for me.
On Jun 18, 11:24 pm, Bill <[email protected]> wrote: > So, I tried the build script in the iulib subdir. Choked like this: > > marlowe : /tmp/ocropus-0.4/iulib 54 % ./build --prefix=/local -- > without-SDL > # generating Makefile.am > # running automake > configure.ac:8: version mismatch. This is Automake 1.10, > configure.ac:8: but the definition used by this AM_INIT_AUTOMAKE > configure.ac:8: comes from Automake 1.10.1. You should recreate > configure.ac:8: aclocal.m4 with aclocal and run automake again. > marlowe : /tmp/ocropus-0.4/iulib 55 % > > OK, clear enough, so I tried running aclocal first: > > marlowe : /tmp/ocropus-0.4/iulib 55 % aclocal > marlowe : /tmp/ocropus-0.4/iulib 56 % ./build --prefix=/local -- > without-SDL > # generating Makefile.am > # running automake > # running configure --prefix=/local --without-SDL > [...] > configure: creating ./config.status > config.status: creating Makefile > config.status: executing depfiles commands > > OK! You can build and install iulib the usual way: > > make > sudo make install > > # please run make now > marlowe : /tmp/ocropus-0.4/iulib 57 % > > Excellent! > > marlowe : /tmp/ocropus-0.4/iulib 57 % make > cd . && /bin/sh /tmp/ocropus-0.4/iulib/missing --run autoconf > /bin/sh ./config.status --recheck > running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/local -- > without-SDL LDFLAGS=-L/local/lib CPPFLAGS=-I/local/include --no- > create --no-recursion > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > [...] > config.status: executing depfiles commands > g++ -DPACKAGE_NAME=\"iulib\" -DPACKAGE_TARNAME=\"iulib\" - > DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"iulib\ 0.3\" - > DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"iulib\" -DVERSION=\"0.3\" - > DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 - > DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - > DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - > DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 - > DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 - > DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 - > DHAVE_OLD_AVFORMAT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 - > DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 - > DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 - > DHAVE_STRRCHR=1 -I. -I./colib -I./imgio -I./imglib -I/local/include - > g -O2 -MT autoinvert.o -MD -MP -MF .deps/autoinvert.Tpo -c -o > autoinvert.o `test -f './imgio/autoinvert.cc' || echo './'`./imgio/ > autoinvert.cc > mv -f .deps/autoinvert.Tpo .deps/autoinvert.Po > g++ -DPACKAGE_NAME=\"iulib\" -DPACKAGE_TARNAME=\"iulib\" - > DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"iulib\ 0.3\" - > DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"iulib\" -DVERSION=\"0.3\" - > DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 - > DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - > DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - > DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 - > DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 - > DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 - > DHAVE_OLD_AVFORMAT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 - > DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 - > DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 - > DHAVE_STRRCHR=1 -I. -I./colib -I./imgio -I./imglib -I/local/include - > g -O2 -MT imgio.o -MD -MP -MF .deps/imgio.Tpo -c -o imgio.o `test -f > './imgio/imgio.cc' || echo './'`./imgio/imgio.cc > In file included from ./imgio/io_tiff.h:30, > from ./imgio/imgio.h:30, > from ./imgio/imgio.cc:24: > ./imglib/iulib.h:30:22: error: bithacks.h: No such file or directory > ./imglib/iulib.h:31:23: error: imgbitptr.h: No such file or directory > ./imglib/iulib.h:32:21: error: imgbits.h: No such file or directory > ./imglib/iulib.h:33:20: error: imgrle.h: No such file or directory > ./imglib/iulib.h:53:23: error: dgraphics.h: No such file or directory > ./imglib/iulib.h:54:19: error: vidio.h: No such file or directory > make: *** [imgio.o] Error 1 > marlowe : /tmp/ocropus-0.4/iulib 58 % > > It seems that the correct set of -I includes is not being set up. > > Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
