You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Sanjit Jhala <sj...@gmail.com> on 2009/12/12 17:20:13 UTC

Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

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

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Rush Manbert <ru...@manbert.com>.
That's helpful information for me. Thanks very much.

- Rush

On Dec 14, 2009, at 6:26 PM, Sanjit Jhala wrote:

> I was on OSX 10.5.5. Also just today I built the latest thrift 0.2.0 release
> (http://incubator.apache.org/thrift/download/) on OSX 10.6.2 (Intel Core 2
> Duo) the same way (ie skip the bootstrap step). It built fine. Good luck.
> 
> -Sanjit
> 


Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Sanjit Jhala <sj...@gmail.com>.
I was on OSX 10.5.5. Also just today I built the latest thrift 0.2.0 release
(http://incubator.apache.org/thrift/download/) on OSX 10.6.2 (Intel Core 2
Duo) the same way (ie skip the bootstrap step). It built fine. Good luck.

-Sanjit

On Mon, Dec 14, 2009 at 3:49 PM, Rush Manbert <ru...@manbert.com> wrote:

> Replies inline.
>
> On Dec 14, 2009, at 11:16 AM, Sanjit Jhala wrote:
>
> > 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
> > ==================
>
> <snip>
>
> Hmmm, this is where it fails for me. But it looks like something specific
> to my system that I don't yet understand.
>
> Thanks for trying it for me.
>
> One more question: What version of OS X are you running on? I'm on 10.6.2.
>
> Best regards,
> Rush
>
>
>

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Rush Manbert <ru...@manbert.com>.
Replies inline.

On Dec 14, 2009, at 11:16 AM, Sanjit Jhala wrote:

> 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
> ==================

<snip>

Hmmm, this is where it fails for me. But it looks like something specific to my system that I don't yet understand.

Thanks for trying it for me.

One more question: What version of OS X are you running on? I'm on 10.6.2.

Best regards,
Rush



Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Sanjit Jhala <sj...@gmail.com>.
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 <ru...@manbert.com> 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 <dr...@facebook.com> 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 <sj...@gmail.com> 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 <dr...@facebook.com> 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
>>>
>
>

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Rush Manbert <ru...@manbert.com>.
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 <dr...@facebook.com> 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 <sj...@gmail.com> 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 <dr...@facebook.com> 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
>> 


Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Sanjit Jhala <sj...@gmail.com>.
Thanks, that worked!

-Sanjit

On Sun, Dec 13, 2009 at 11:02 AM, David Reiss <dr...@facebook.com> 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 <sj...@gmail.com> 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 <dr...@facebook.com> 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
>

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by David Reiss <dr...@facebook.com>.
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 <sj...@gmail.com> 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 <dr...@facebook.com> 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

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Sanjit Jhala <sj...@gmail.com>.
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 <sj...@gmail.com> 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 <dr...@facebook.com> 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
>>
>

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by Sanjit Jhala <sj...@gmail.com>.
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 <dr...@facebook.com> 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
>

Re: Problems building thrift-0.2.0-incubating-rc0.tar.gz on OS X

Posted by David Reiss <dr...@facebook.com>.
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