I'm compiling BCUSDK on Mac OSX 10.5.4, but i have the following problem:
I compiled pthsem-2.0.7 and argp-standalone-1.3 successfully, but when I try to configure BCUSDK with
./configure --enable-onlyeibd --enable-ft12 --enable-pei16 --enable-eibnetip --enable-eibnetipserver
I got this:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i686-apple-darwin9.4.0
checking host system type... i686-apple-darwin9.4.0
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking for GNU Pth... *FAILED*
+------------------------------------------------------------------------+
| Found pthsem 2.0.7 under /usr/local, but
| was unable to perform a sanity linker check. This means
| the pthsem library libpthsem.a was not found.
| We used the following build environment:
| CC="gcc"
| CFLAGS="-g -O2 -I/usr/local/include"
| LDFLAGS=" -L/usr/local/lib"
| LIBS=" -lpthsem -ldl"
| See config.log for possibly more details.
+------------------------------------------------------------------------+
While installation of pthsem I done "make test" and everything is ok, even libpthsem.a is present on /usr/local/lib.
I'm doing everything as root user, what the problem ?
thank you very much.
Andrea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The configure option --without-pth-test should turn this test off, but this will only hide a problem at the moment.
What messages about the problem are contained in config.log?
The relevant lines start with
configure:4863: checking for GNU Pth
mfg Martin Kögler
PS:
EIBD was never tested on MacOS. I have some patches for FreeBSD queued, which should be necessary on MacOS too.
Can you please send me (mkoegler@auto.tuwien.ac.at) your email address, so that I can mail you them.
The pei16 backend will not work on MacOS, as it depends on the BCU 1 kernel driver.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm compiling BCUSDK on Mac OSX 10.5.4, but i have the following problem:
I compiled pthsem-2.0.7 and argp-standalone-1.3 successfully, but when I try to configure BCUSDK with
./configure --enable-onlyeibd --enable-ft12 --enable-pei16 --enable-eibnetip --enable-eibnetipserver
I got this:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i686-apple-darwin9.4.0
checking host system type... i686-apple-darwin9.4.0
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking for GNU Pth... *FAILED*
+------------------------------------------------------------------------+
| Found pthsem 2.0.7 under /usr/local, but
| was unable to perform a sanity linker check. This means
| the pthsem library libpthsem.a was not found.
| We used the following build environment:
| CC="gcc"
| CFLAGS="-g -O2 -I/usr/local/include"
| LDFLAGS=" -L/usr/local/lib"
| LIBS=" -lpthsem -ldl"
| See config.log for possibly more details.
+------------------------------------------------------------------------+
While installation of pthsem I done "make test" and everything is ok, even libpthsem.a is present on /usr/local/lib.
I'm doing everything as root user, what the problem ?
thank you very much.
Andrea
The configure option --without-pth-test should turn this test off, but this will only hide a problem at the moment.
What messages about the problem are contained in config.log?
The relevant lines start with
configure:4863: checking for GNU Pth
mfg Martin Kögler
PS:
EIBD was never tested on MacOS. I have some patches for FreeBSD queued, which should be necessary on MacOS too.
Can you please send me (mkoegler@auto.tuwien.ac.at) your email address, so that I can mail you them.
The pei16 backend will not work on MacOS, as it depends on the BCU 1 kernel driver.
Hi martin, I sent you a mail iwht all setps and logs.
Thnaks again for you help.
Andrea