Opened 11 years ago
Closed 11 years ago
#40894 closed defect (fixed)
tesseract @3.01_3 svutil.cpp compilation fails on os x 10.9
Reported by: | petermisak (Peter Misak) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | mavericks | Cc: | markemer (Mark Anderson) |
Port: | tesseract |
Description
When trying to install the port on OS X Mavericks (XCode 5), compilation fails with the following error messages. The port installs successfully when installed using
port install tesseract configure.compiler=apple-gcc-4.2
Full log is attached.
:info:build /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT scrollview.lo -MD -MP -MF .deps/scrollview.Tpo -c -o scrollview.lo scrollview.cpp :info:build /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svmnode.lo -MD -MP -MF .deps/svmnode.Tpo -c -o svmnode.lo svmnode.cpp :info:build /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svutil.lo -MD -MP -MF .deps/svutil.Tpo -c -o svutil.lo svutil.cpp :info:build /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svpaint.lo -MD -MP -MF .deps/svpaint.Tpo -c -o svpaint.lo svpaint.cpp :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svmnode.lo -MD -MP -MF .deps/svmnode.Tpo -c svmnode.cpp -fno-common -DPIC -o .libs/svmnode.o :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svutil.lo -MD -MP -MF .deps/svutil.Tpo -c svutil.cpp -fno-common -DPIC -o .libs/svutil.o :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT scrollview.lo -MD -MP -MF .deps/scrollview.Tpo -c scrollview.cpp -fno-common -DPIC -o .libs/scrollview.o :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include/leptonica/. -pipe -Os -arch x86_64 -MT svpaint.lo -MD -MP -MF .deps/svpaint.Tpo -c svpaint.cpp -fno-common -DPIC -o .libs/svpaint.o :info:build svutil.cpp:89:13: error: use of undeclared identifier 'fork' :info:build int pid = fork(); :info:build ^ :info:build svutil.cpp:119:5: error: use of undeclared identifier 'execvp' :info:build execvp(executable, argv); :info:build ^ :info:build svutil.cpp:236:13: error: use of undeclared identifier 'select' :info:build int i = select(stream_+1, &readfds, NULL, NULL, &tv); :info:build ^ :info:build svutil.cpp:262:3: error: use of undeclared identifier 'close' :info:build close(stream_); :info:build ^ :info:build svutil.cpp:417:7: error: use of undeclared identifier 'sleep' :info:build sleep(1); :info:build ^ :info:build 5 errors generated. :info:build make[3]: *** [svutil.lo] Error 1 :info:build make[3]: *** Waiting for unfinished jobs....
Attachments (1)
Change History (2)
Changed 11 years ago by petermisak (Peter Misak)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | emer@… added |
---|---|
Keywords: | mavericks added |
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
tesseract was updated to 3.02.02 which builds fine on Mavericks (#38871).