Now that I recall I ran into the same and I ended up installing scons and doing 1. scons and 2. scons install
I am not sure scons is recommended, but so far it has worked for me. On Jun 18, 7:06 pm, zhi <[email protected]> wrote: > Hi vidynanad, thanks so much for the quick reply...I installed > automake on my centos, and now i can successfully completed build > phrase..but, error after make, is it b/c missing lib, maybe imgio? > > I tried yum install imgio, seems like 'imgio' isn't the correct > package name... > > here is the log > > [r...@esxi-vm56 iulib]# ./build > # generating Makefile.am > # running automake > # running configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... 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 style of include used by make... GNU > checking dependency style of g++... gcc3 > 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 dependency style of gcc... gcc3 > checking for ranlib... ranlib > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > 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 float.h usability... yes > checking float.h presence... yes > checking for float.h... yes > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking for stdint.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking wchar.h usability... yes > checking wchar.h presence... yes > checking for wchar.h... yes > checking for unistd.h... (cached) yes > checking for compress in -lz... yes > checking png.h usability... yes > checking png.h presence... yes > checking for png.h... yes > checking for png_sig_cmp in -lpng... yes > checking jpeglib.h usability... yes > checking jpeglib.h presence... yes > checking for jpeglib.h... yes > checking for jpeg_std_error in -ljpeg... yes > checking for TIFFOpen in -ltiff... yes > checking for SDL_Init in -lSDL... no > checking for rotozoomSurface in -lSDL_gfx... no > checking how to run the C++ preprocessor... g++ -E > checking ffmpeg/avcodec.h usability... no > checking ffmpeg/avcodec.h presence... no > checking for ffmpeg/avcodec.h... no > checking ffmpeg/avformat.h usability... no > checking ffmpeg/avformat.h presence... no > checking for ffmpeg/avformat.h... no > checking linux/videodev2.h usability... yes > checking linux/videodev2.h presence... yes > checking for linux/videodev2.h... yes > ./configure: line 5824: AC_TYPE_INT64_T: command not found > checking for pid_t... yes > checking for unistd.h... (cached) yes > checking vfork.h usability... no > checking vfork.h presence... no > checking for vfork.h... no > checking for fork... yes > checking for vfork... yes > checking for working fork... no > checking for working vfork... (cached) yes > checking for dup2... yes > checking for memset... yes > checking for sqrt... yes > checking for strchr... yes > checking for strdup... yes > checking for strrchr... yes > 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 > [r...@esxi-vm56 iulib]# make > if 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_MALLOC_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_UNISTD_H=1 -DHAVE_FORK=1 - > DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 - > DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. - > I. -I./colib -I./imgio -I./imglib -g -O2 -MT imgio.o -MD -MP -MF > ".deps/imgio.Tpo" -c -o imgio.o `test -f './imgio/imgio.cc' || echo > './'`./imgio/imgio.cc; \ > then mv -f ".deps/imgio.Tpo" ".deps/imgio.Po"; else rm -f > ".deps/imgio.Tpo"; exit 1; fi > 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 > > On Jun 18, 9:53 am, vidyanand <[email protected]> wrote: > > > I am not sure really since I use ubuntu. > > > Is there something like "yum search autotools" . If so I would pick > > the correct package and then install it. > > > On Jun 18, 6:37 pm, zhi <[email protected]> wrote: > > > > Hi vidyanand, I don't have autotools intalled either...How do I > > > install that using yum? > > > And can someone pls tell me what package I need to install in order to > > > build ocropus? It would great if i can install them using yum since i > > > am new to linux... > > > > On Jun 18, 9:24 am, vidyanand <[email protected]> wrote: > > > > > Do you have autotools installed ? > > > > > On Jun 17, 6:58 pm, zhi <[email protected]> wrote: > > > > > > Hi Tom, > > > > > > The log I posted is from running ./build under iulib folder > > > > > > On Jun 17, 3:08 am, Thomas Breuel <[email protected]> wrote: > > > > > > > You need to run the ./build script. > > > > > > > Tom > > > > > > > On Wed, Jun 17, 2009 at 02:28, zhi<[email protected]> wrote: > > > > > > > > Hi Jeff, > > > > > > > thanks for much for the reply. I was able to proceed, but i ran > > > > > > > into another problem. Here is the log, and I hope someone can > > > > > > > help me > > > > > > > out since i am pretty new to linux(centos) > > > > > > > > [r...@esxi-vm51 iulib]# ./build > > > > > > > which: no automake in > > > > > > > (/opt/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/ > > > > > > > bin:/usr/ > > > > > > > lo > > > > > > > cal/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:) > > > > > > > # running configure > > > > > > > checking for a BSD-compatible install... /usr/bin/install -c > > > > > > > checking whether build environment is sane... yes > > > > > > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > > > > > > checking for gawk... gawk > > > > > > > checking whether make sets $(MAKE)... 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 style of include used by make... GNU > > > > > > > checking dependency style of g++... gcc3 > > > > > > > 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 ISO C89... none needed > > > > > > > checking dependency style of gcc... gcc3 > > > > > > > checking for ranlib... ranlib > > > > > > > checking how to run the C preprocessor... gcc -E > > > > > > > checking for grep that handles long lines and -e... /bin/grep > > > > > > > checking for egrep... /bin/grep -E > > > > > > > checking for ANSI C header files... yes > > > > > > > checking for sys/wait.h that is POSIX.1 compatible... yes > > > > > > > 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 float.h usability... yes > > > > > > > checking float.h presence... yes > > > > > > > checking for float.h... yes > > > > > > > checking malloc.h usability... yes > > > > > > > checking malloc.h presence... yes > > > > > > > checking for malloc.h... yes > > > > > > > checking for stdint.h... (cached) yes > > > > > > > checking for stdlib.h... (cached) yes > > > > > > > checking for string.h... (cached) yes > > > > > > > checking for unistd.h... (cached) yes > > > > > > > checking wchar.h usability... yes > > > > > > > checking wchar.h presence... yes > > > > > > > checking for wchar.h... yes > > > > > > > checking for unistd.h... (cached) yes > > > > > > > checking for compress in -lz... yes > > > > > > > checking png.h usability... yes > > > > > > > checking png.h presence... yes > > > > > > > checking for png.h... yes > > > > > > > checking for png_sig_cmp in -lpng... yes > > > > > > > checking jpeglib.h usability... yes > > > > > > > checking jpeglib.h presence... yes > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
