Installing gsl1.12 via macports causes ocropus to fail to build like
this:

$ make
...
g++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -
DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ocropus\" -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_LIBIULIB=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBTESSERACT_FULL=1 -
DHAVE_LIBBLAS=1 -DHAVE_LIBGOMP=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./include -I./ocr-utils -I/usr/local/include -I/
usr/local/include/tesseract  -I/usr/local/include/tesseract -
DHAVE_TESSERACT  -I/sw/include -I/opt/include -I/sw/include -I/opt/
include -fopenmp -Wall -Wno-sign-compare -Wno-write-strings -Wno-
deprecated -I/sw/include -I/opt/include -fopenmp -MT components.o -MD -
MP -MF .deps/components.Tpo -c -o components.o `test -f './ocr-utils/
components.cc' || echo './'`./ocr-utils/components.cc
./ocr-utils/components.cc: In member function 'virtual void
ocropus::IComponent::check_parameters_()':
./ocr-utils/components.cc:52: error: 'environ' was not declared in
this scope
make[1]: *** [components.o] Error 1
make: *** [all-recursive] Error 1
$

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to