thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dima Brodsky <d...@cs.ubc.ca>
Subject Re: Compiling thrift under OpenBSD 4.2
Date Wed, 15 Oct 2008 23:45:59 GMT
With trunk I get the following:

  sh bootstrap.sh

configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
       If this token and others are legitimate, please use  
m4_pattern_allow.
       See the Autoconf documentation.
configure.ac:31: error: possibly undefined macro: AC_PROG_MKDIR_P
configure.ac:101: error: possibly undefined macro: AC_TYPE_INT16_T
configure.ac:102: error: possibly undefined macro: AC_TYPE_INT32_T
configure.ac:103: error: possibly undefined macro: AC_TYPE_INT64_T
configure.ac:104: error: possibly undefined macro: AC_TYPE_INT8_T
configure.ac:108: error: possibly undefined macro: AC_TYPE_SSIZE_T
configure.ac:109: error: possibly undefined macro: AC_TYPE_UINT16_T
configure.ac:110: error: possibly undefined macro: AC_TYPE_UINT32_T
configure.ac:111: error: possibly undefined macro: AC_TYPE_UINT64_T
configure.ac:112: error: possibly undefined macro: AC_TYPE_UINT8_T
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'
lib/cpp/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
lib/cpp/Makefile.am:5:
lib/cpp/Makefile.am:5: The usual way to define `LIBTOOL' is to add  
`AC_PROG_LIBTOOL'
lib/cpp/Makefile.am:5: to `configure.ac' and run `aclocal' and  
`autoconf' again.
test/Makefile.am:15: Libtool library used but `LIBTOOL' is undefined
test/Makefile.am:15:
test/Makefile.am:15: The usual way to define `LIBTOOL' is to add  
`AC_PROG_LIBTOOL'
test/Makefile.am:15: to `configure.ac' and run `aclocal' and  
`autoconf' again.


  ./configure --without-java

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... nawk
checking whether make sets $(MAKE)... yes
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 how to run the C preprocessor... gcc -E
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 for a BSD-compatible install... /usr/bin/install -c
./configure: line 3795: AC_PROG_LIBTOOL: command not found
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
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 whether ln -s works... yes
./configure: line 4155: AC_PROG_MKDIR_P: command not found
checking for boostlib >= 1.33.1... yes
checking for libevent >= 1.0... yes
checking for zlib >= 1.2.3... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... Package mono was not found in the pkg-config  
search path
no
checking for erlc... no
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/local/bin/python
checking for python version... 2.5
checking for python platform... openbsd4
checking for python script directory... ${prefix}/lib/python2.5/site- 
packages
checking for python extension module directory... ${exec_prefix}/lib/ 
python2.5/site-packages
checking for ruby... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... 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 for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for pthread_create in -lpthread... yes
checking for sched_get_priority_min in -lrt... no
./configure: line 9358: AC_TYPE_INT16_T: command not found
./configure: line 9359: AC_TYPE_INT32_T: command not found
./configure: line 9360: AC_TYPE_INT64_T: command not found
./configure: line 9361: AC_TYPE_INT8_T: command not found
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
./configure: line 9560: AC_TYPE_SSIZE_T: command not found
./configure: line 9561: AC_TYPE_UINT16_T: command not found
./configure: line 9562: AC_TYPE_UINT32_T: command not found
./configure: line 9563: AC_TYPE_UINT64_T: command not found
./configure: line 9564: AC_TYPE_UINT8_T: command not found
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat dereferences a symlink specified with a  
trailing slash... yes
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strftime... no
checking for strftime in -lintl... no
checking for vprintf... yes
checking for _doprnt... no
checking for strtoul... yes
checking for bzero... yes
checking for clock_gettime... yes
checking for ftruncate... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for sqrt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in

Thanks!
ttyl
Dima



On 15-Oct-08, at 2:19 PM, David Reiss wrote:

> Can you actually report the problems you had with the latest trunk?
>
> Dima Brodsky wrote:
>> Sure,
>>
>> First I needed to add:
>>
>> #include <sys/types.h> before #include <netinet/in.h> in
>> lib/cpp/src/Thrift.h
>>
>> Then I am getting:
>>
>> g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Isrc -I/usr/local/include -g  
>> -O2 -MT libthrift_la-TimerManager.lo -MD -MP -MF .deps/libthrift_la- 
>> TimerManager.Tpo -c src/concurrency/TimerManager.cpp  -fPIC -DPIC - 
>> o .libs/libthrift_la-TimerManager.o
>> In file included from src/concurrency/Exception.h:11,
>>                 from src/concurrency/TimerManager.h:10,
>>                 from src/concurrency/TimerManager.cpp:7:
>> src/Thrift.h: In static member function `static void
>>   facebook::thrift::TOutput::errorTimeWrapper(const char*)':
>> src/Thrift.h:47: warning: array size (25) is smaller than minimum  
>> required (26)
>> src/concurrency/TimerManager.h: At global scope:
>> src/concurrency/TimerManager.h:94: error: `struct
>>   facebook::thrift::concurrency::TimerManager::Task' is private
>> src/concurrency/TimerManager.cpp:19: error: within this context
>> gmake[3]: *** [libthrift_la-TimerManager.lo] Error 1
>> gmake[3]: Leaving directory `/usr/local/src/thrift-20080411p1/lib/ 
>> cpp'
>> gmake[2]: *** [all-recursive] Error 1
>> gmake[2]: Leaving directory `/usr/local/src/thrift-20080411p1/lib'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/usr/local/src/thrift-20080411p1'
>> gmake: *** [all] Error 2
>>
>> gcc -v
>> Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.2/3.3.5/ 
>> specs
>> Configured with:
>> Thread model: single
>> gcc version 3.3.5 (propolice)
>>
>> ./configure --without-java
>>
>> Thanks for your help!
>> ttyl
>> Dima
>>
>>
>>
>>
>> On Wed, Oct 15, 2008 at 02:08:06PM -0700, David Reiss wrote:
>>> Can you post the error that you get?
>>>
>>> Dima Brodsky wrote:
>>>> Hi,
>>>>
>>>> I am having trouble compiling thrift under OpenBSD 4.2.  Are
>>>> there any special requirements for OpenBSD?  I have tried both
>>>> thrift-20080411p1 and thrift from trun to no avail.
>>>>
>>>> Thanks!
>>>> ttyl
>>>> Dima
>>>>
>>>> --
>>>> dima@cs.ubc.ca                                 http://www.cs.ubc.ca/~dima
>>>>
>>>> "The price of reliability is the pursuit of the utmost simplicity.
>>>> It is a price which the very rich find the most hard to pay."
>>>>                                                 (Sir Antony  
>>>> Hoare, 1980)
>>>>
>>
>> --
>> dima@cs.ubc.ca                                 http://www.cs.ubc.ca/~dima
>>
>> "The price of reliability is the pursuit of the utmost simplicity.
>> It is a price which the very rich find the most hard to pay."
>>                                                 (Sir Antony Hoare,  
>> 1980)
>>



--
dima@cs.ubc.ca                                 http://www.cs.ubc.ca/~dima

"The price of reliability is the pursuit of the utmost simplicity.
It is a price which the very rich find the most hard to pay."
                                                                      
(Sir Antony Hoare, 1980)






Mime
View raw message