It spews a bunch of stuff including some warnings about 64 bit
constants and then runs some tests. Heres a sample of the start and
end messages:
Making check in compiler/cpp
Regenerating version.h... No changes.
make check-am
make[2]: Nothing to be done for `check-am'.
Making check in lib
Making check in cpp
make[2]: Nothing to be done for `check'.
Making check in java
/usr/bin/ant
Buildfile: build.xml
.....
.....
Complex struct, simple test.
Complex {
01: cp_default (i16) = 0,
02: cp_required (i16) = 0,
04: the_map (map) = map<i16,struct>[0] {
},
05: req_simp (struct) = Simple {
01: im_default (i16) = 0,
02: im_required (i16) = 0,
},
}
PASS: OptionalRequiredTest
TBinaryProtocol => OK
TCompactProtocol => OK
PASS: AllProtocolsTest
Running 16 test cases...
Object reuse: 1 Data reuse: 1 YAY!
*** No errors detected
PASS: UnitTests
==================
All 7 tests passed
==================
make[1]: Nothing to be done for `check-am'.
Let me know if you'd like the entire log from the make check and I'll
send it over.
-Sanjit
On Mon, Dec 14, 2009 at 11:04 AM, Rush Manbert <[email protected]> wrote:
> Hi Sanjit,
>
> I'm curious, because I'm still having problems. What result do you get when
> you run "make check" at the top level?
>
> Thanks,
> Rush
>
> On Dec 13, 2009, at 5:56 PM, Sanjit Jhala wrote:
>
>> Thanks, that worked!
>>
>> -Sanjit
>>
>> On Sun, Dec 13, 2009 at 11:02 AM, David Reiss <[email protected]> wrote:
>>> Skip the bootstrap.sh step. Just go straight to ./configure and make.
>>> Let us know if that produces the same result with a clean copy of
>>> the release.
>>>
>>> Sanjit Jhala wrote:
>>>> Also, I have a previously installed version of thrift on my machine
>>>> and haven't seen these error messages on older installations.
>>>>
>>>> -Sanjit
>>>>
>>>> On Sun, Dec 13, 2009 at 9:03 AM, Sanjit Jhala <[email protected]> wrote:
>>>>> This is what I ran:
>>>>>
>>>>> cp /opt/local/share/aclocal/pkg.m4 aclocal
>>>>> ./bootstrap.sh
>>>>> ./configure --with-libevent=/opt/local --with-boost=/opt/local
>>>>> make
>>>>>
>>>>> -Sanjit
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Dec 12, 2009 at 8:11 PM, David Reiss <[email protected]> wrote:
>>>>>> What commands did you run?
>>>>>>
>>>>>> Sanjit Jhala wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm trying to build the release candidate for thrift-0.2.0 on OSX
>>>>>>> (10.5.5) and hit the following error:
>>>>>>>
>>>>>>> make all-am
>>>>>>> /bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -I./src
>>>>>>> -I/opt/local/include -g -O2 -Wall -L/opt/local/lib -o thrift
>>>>>>> thrift-thrifty.o thrift-thriftl.o thrift-main.o md5.o
>>>>>>> thrift-t_generator.o thrift-t_cpp_generator.o
>>>>>>> thrift-t_java_generator.o thrift-t_csharp_generator.o
>>>>>>> thrift-t_py_generator.o thrift-t_rb_generator.o
>>>>>>> thrift-t_perl_generator.o thrift-t_php_generator.o
>>>>>>> thrift-t_erl_generator.o thrift-t_cocoa_generator.o
>>>>>>> thrift-t_st_generator.o thrift-t_ocaml_generator.o
>>>>>>> thrift-t_hs_generator.o thrift-t_xsd_generator.o
>>>>>>> thrift-t_html_generator.o -lfl -lpthread
>>>>>>> ../../libtool: line 804: X--tag=CXX: command not found
>>>>>>> ../../libtool: line 837: libtool: ignoring unknown tag : command not
>>>>>>> found
>>>>>>> ../../libtool: line 804: X--mode=link: command not found
>>>>>>> ../../libtool: line 970: *** Warning: inferring the mode of operation
>>>>>>> is deprecated.: command not found
>>>>>>> ../../libtool: line 971: *** Future versions of Libtool will require
>>>>>>> --mode=MODE be specified.: command not found
>>>>>>> i686-apple-darwin9-gcc-4.0.1: no input files
>>>>>>> i686-apple-darwin9-gcc-4.0.1: no input files
>>>>>>> i686-apple-darwin9-gcc-4.0.1: no input files
>>>>>>> i686-apple-darwin9-gcc-4.0.1: no input files
>>>>>>> ../../libtool: line 2197: X-Wall: command not found
>>>>>>> ../../libtool: line 2197: X-I./src: No such file or directory
>>>>>>> ../../libtool: line 2197: X-I/opt/local/include: No such file or
>>>>>>> directory
>>>>>>> ../../libtool: line 2197: X-g: command not found
>>>>>>> ../../libtool: line 2197: X-O2: command not found
>>>>>>> ../../libtool: line 2197: X-Wall: command not found
>>>>>>> ../../libtool: line 1917: X-L/opt/local/lib: No such file or directory
>>>>>>> ../../libtool: line 2366: Xthrift: command not found
>>>>>>> Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
>>>>>>> Xquartz: Starting X server:
>>>>>>> /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
>>>>>>> X11.app: main(): argc=2
>>>>>>> argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
>>>>>>> argv[1] = --listenonly
>>>>>>> Waiting for startup parameters via Mach IPC.
>>>>>>> X11.app: do_start_x11_server(): argc=1
>>>>>>> argv[0] = X
>>>>>>> 2009-12-12 08:09:47.050 X11.bin[529:717] Could not connect the action
>>>>>>> apps_table_cancel: to target of class X11Controller
>>>>>>> InitConnectionLimits: MaxClients = 255
>>>>>>> Xquartz starting:
>>>>>>> X.Org X Server 1.4.2-apple33
>>>>>>> Build Date: 20090617
>>>>>>> _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
>>>>>>> created.
>>>>>>> Sync Extension 3.0
>>>>>>> (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
>>>>>>> (dix) initialising device 0
>>>>>>> (dix) initialising device 1
>>>>>>> (dix) initialising device 2
>>>>>>> (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
>>>>>>> (dix) initialising device 3
>>>>>>> (dix) initialising device 4
>>>>>>> (dix) initialising device 5
>>>>>>> (dix) initialising device 6
>>>>>>> (dix) enabling device 0
>>>>>>> (dix) enabling device 1
>>>>>>> (dix) enabling device 2
>>>>>>> (dix) enabling device 3
>>>>>>> (dix) enabling device 4
>>>>>>> (dix) enabling device 5
>>>>>>> (dix) enabling device 6
>>>>>>> Could not init font path element /System/Library/Fonts, removing from
>>>>>>> list!
>>>>>>> AllocNewConnection: client index = 1, socket fd = 9
>>>>>>>
>>>>>>>
>>>>>>> I haven't had any issue building previous thrift versions and am
>>>>>>> wondering if anyone has seen this before and has a fix for this issue.
>>>>>>>
>>>>>>> -Sanjit
>>>
>
>