[MacPorts] #40894: tesseract @3.01_3 svutil.cpp compilation fails on os x 10.9
MacPorts
noreply at macports.org
Thu Oct 24 05:03:22 PDT 2013
#40894: tesseract @3.01_3 svutil.cpp compilation fails on os x 10.9
---------------------------+--------------------------------
Reporter: peter.misak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: | Port: tesseract
---------------------------+--------------------------------
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....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40894>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list