I think I've got all the requirements (let me know if it looks like I'm
missing anything, I'm more of a Java developer so figuring out the unix make
file stuff is sometimes a mystery to me).

When it says I need the "pkg-config autoconf macros (pkg.m4) (Use
MacPorts<http://wiki.apache.org/thrift/MacPorts>for Mac OS X) " what
software package am I installing using the MacPorts (
http://www.macports.org/ports.php?by=name&substr=pkg-config+autoconf+macros
).


Here's the software I have available:

>automake --version
automake (GNU automake) 1.10.2

>autoconf --version
autoconf (GNU Autoconf) 2.63

>pkg-config --version
0.23

>g++ --version
i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

>flex --version
flex 2.5.33

>bison --version
bison (GNU Bison) 2.3

2009/6/1 Kristinn Örn Sigurðsson <[email protected]>

> The problem is in the boostrap.sh execution.
> Have you installed autoconf, automake, etc.? I know you've read the
> requirements, just asking if you have missed something out, like the
> requirements for "building from SVN".
>
> Hope that's the solution. :-)
>
> Regards,
> Kristinn.
>
> On Tue, Jun 2, 2009 at 3:48 AM, Doug Daniels <[email protected]
> >wrote:
>
> > I tried checking out the Thrift code from SVN but I'm having trouble
> > building it. I believe I have all the necessary macport required
> > tools/libraries listed here (
> > http://wiki.apache.org/thrift/ThriftRequirements)
> >
> > Here are the steps following the instructions here (
> > http://wiki.apache.org/thrift/ThriftInstallation)
> >
> >
> > > svn co http://svn.apache.org/repos/asf/incubator/thrift/trunkthrift-svn
> > ...
> > > cd thrift-svn
> >
> > >./bootstrap.sh
> > /opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of
> > AM_PATH_SMPEG
> > /opt/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending
> > aclocal'
> > /opt/local/share/aclocal/smpeg.m4:13:   or see
> > http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > configure.ac:44: 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:26: installing `./install-sh'
> > configure.ac:26: installing `./missing'
> > compiler/cpp/Makefile.am: installing `./depcomp'
> > configure.ac: installing `./ylwrap'
> > lib/cpp/Makefile.am:24: Libtool library used but `LIBTOOL' is undefined
> > lib/cpp/Makefile.am:24:   The usual way to define `LIBTOOL' is to add
> > `AC_PROG_LIBTOOL'
> > lib/cpp/Makefile.am:24:   to `configure.ac' and run `aclocal' and
> > `autoconf'
> > again.
> > lib/cpp/Makefile.am:24:   If `AC_PROG_LIBTOOL' is in `configure.ac',
> make
> > sure
> > lib/cpp/Makefile.am:24:   its definition is in aclocal's search path.
> > test/Makefile.am:30: Libtool library used but `LIBTOOL' is undefined
> > test/Makefile.am:30:   The usual way to define `LIBTOOL' is to add
> > `AC_PROG_LIBTOOL'
> > test/Makefile.am:30:   to `configure.ac' and run `aclocal' and
> `autoconf'
> > again.
> > test/Makefile.am:30:   If `AC_PROG_LIBTOOL' is in `configure.ac', make
> > sure
> > test/Makefile.am:30:   its definition is in aclocal's search path.
> >
> > > ./configure
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for a thread-safe mkdir -p... ./install-sh -c -d
> > checking for gawk... gawk
> > 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 ISO C89... 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 4407: AC_PROG_LIBTOOL: command not found
> > checking whether make sets $(MAKE)... (cached) yes
> > checking for bison... bison -y
> > checking for flex... flex
> > checking lex output file root... lex.yy
> > checking lex library... -lfl
> > checking whether yytext is a pointer... yes
> > checking whether ln -s works... yes
> > checking for a thread-safe mkdir -p... ./install-sh -c -d
> > checking for boostlib >= 1.33.1... yes
> > checking for libevent >= 1.0... no
> > checking for zlib >= 1.2.3... yes
> > checking for pkg-config... /opt/local/bin/pkg-config
> > checking pkg-config is at least version 0.9.0... yes
> > checking for MONO... no
> > checking for MONO... no
> > checking for javac and java... yes
> > checking for ant... /usr/bin/ant
> > checking for Java class org.apache.log4j.Logger... no
> > checking for Java class
> org.apache.commons.lang.builder.HashCodeBuilder...
> > no
> > checking for erlc... no
> > checking for a Python interpreter with version >= 2.4... python
> > checking for python... /opt/local/bin/python
> > checking for python version... 2.5
> > checking for python platform... darwin
> > checking for python script directory... /Library/Python/2.5/site-packages
> > checking for python extension module directory...
> > /Library/Python/2.5/site-packages
> > checking for perl... /opt/local/bin/perl
> > checking for ruby... /usr/bin/ruby
> > checking for spec... 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 grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/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... yes
> > 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... yes
> > checking libintl.h presence... yes
> > checking for libintl.h... yes
> > checking malloc.h usability... no
> > checking malloc.h presence... no
> > checking for malloc.h... no
> > checking for pthread_create in -lpthread... yes
> > checking for clock_gettime in -lrt... no
> > checking for int16_t... yes
> > checking for int32_t... yes
> > checking for int64_t... yes
> > checking for int8_t... yes
> > checking for mode_t... yes
> > checking for off_t... yes
> > checking for size_t... yes
> > checking for ssize_t... yes
> > checking for uint16_t... yes
> > checking for uint32_t... yes
> > checking for uint64_t... yes
> > checking for uint8_t... yes
> > checking for ptrdiff_t... yes
> > checking whether struct tm is in sys/time.h or time.h... time.h
> > checking whether AI_ADDRCONFIG is declared... yes
> > checking for working alloca.h... yes
> > 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... no
> > 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... yes
> > checking for vprintf... yes
> > checking for _doprnt... no
> > checking for strtoul... yes
> > checking for bzero... 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
> > checking for clock_gettime... no
> > checking for sched_get_priority_min... yes
> > checking for sched_get_priority_max... yes
> > checking the behavior of a signed right shift... arithmetic
> > configure: creating ./config.status
> > config.status: error: cannot find input file: Makefile.in
> >  >
> >
>

Reply via email to