You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Roger Meier <ro...@bufferoverflow.ch> on 2014/05/14 22:33:01 UTC

[DOCS] dependencies (was Re: make cross does not execute test.sh)

Yes, the docs are partly outdated.
However the web site does not reflect master development branch

I have already added the lib/${language}/README.md files to the  
staging web site:
http://thrift.staging.apache.org/lib/cpp they are generated from source tree.

I would appreciate if you could help update the docs within source tree.
and add patches here https://issues.apache.org/jira/browse/THRIFT-2512
We need to standardize the documentation format and put e.g. a chapter  
dependencies to each language.

the install docs are here available:
https://svn.apache.org/repos/asf/thrift/cms-site/trunk/content/docs/install
I like to move them to the source tree under doc/install/ and render  
the web site also from source.

The other places where we have info on dependencies are:
- contrib/Vagrantfile
- .travis.yml
- README.md (out dated info mentions  
http://wiki.apache.org/thrift/ThriftRequirements)

-roger


Quoting Chamila Wijayarathna <cd...@gmail.com>:

> Hi Roger,
>
> My current version is this.
> #define BOOST_LIB_VERSION "1_46_1"
> So I need to upgrade this to 1.53.0?
> I installed this version by running command at [1].
> I think we need to update that documentation.
>
> 1. http://thrift.apache.org/docs/install/ubuntu
>
> Thank You
>
>
> On Thu, May 15, 2014 at 12:15 AM, Roger Meier <ro...@bufferoverflow.ch>wrote:
>
>> oops, you need to update boost
>>
>> see
>> https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=commitdiff;h=
>> 1953e21a373c2bfd9e8a0804b71297039319021c
>> -  AX_BOOST_BASE([1.40.0])
>> +  AX_BOOST_BASE([1.53.0])
>>
>> -roger
>>
>>
>>
>> Quoting Chamila Wijayarathna <cd...@gmail.com>:
>>
>>  Hi Roger,
>>> After running "./configure --without-python --without-erlang", "make -k
>>> cross" executed test.sh, but all cpp tests fails since there are no
>>> TestClient.o and TestServer.o create in test/cpp.
>>> When I ran "make" from test/cpp, it says
>>> "make: *** No rule to make target `../../lib/cpp/libthrift.la', needed
>>> by `
>>> libtestgencpp.la'.  Stop."
>>> What can be the issue here?
>>>
>>> Thank You!
>>>
>>>
>>> On Wed, May 14, 2014 at 3:00 PM, Chamila Wijayarathna <
>>> cdwijayarathna@gmail.com> wrote:
>>>
>>>  Hi Roger,
>>>> I have already installed Python [1].
>>>> How can I install missing Erlang dependencies?
>>>>
>>>> 1. chamila@ubuntu:~/gsoc/build/thrift$ python -V
>>>> Python 2.7.3
>>>>
>>>> Thank You!
>>>>
>>>>
>>>> On Wed, May 14, 2014 at 4:00 AM, Roger Meier <ro...@bufferoverflow.ch>
>>>> wrote:
>>>>
>>>>  python does not compile and erlang misses eunit.
>>>>>
>>>>> please install python and erlang dependencies or do a
>>>>> ./configure --without-python --without-erlang
>>>>>
>>>>>
>>>>> Quoting Chamila Wijayarathna <cd...@gmail.com>:
>>>>>
>>>>>  Hello all,
>>>>>
>>>>>> I cloned thrift from github and ran 'make install' and 'make cross'.
>>>>>> When I
>>>>>> run 'make cross' it gives following result[1] and does not run test.sh.
>>>>>> What is the reason for that? When I run test.sh manually, it
>>>>>> successfully
>>>>>> execute java-java tests. But cpp it couldn't fount cpp server and
>>>>>> client
>>>>>> objects.
>>>>>>
>>>>>> 1. https://gist.github.com/cdwijayarathna/651191b20c28e8a08a06
>>>>>>
>>>>>> Thank You!
>>>>>> --
>>>>>> *Chamila Dilshan Wijayarathna,*
>>>>>>
>>>>>> SMIEEE, SMIESL,
>>>>>> Undergraduate,
>>>>>> Department of Computer Science and Engineering,
>>>>>> University of Moratuwa.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> *Chamila Dilshan Wijayarathna,*
>>>>
>>>> SMIEEE, SMIESL,
>>>> Undergraduate,
>>>> Department of Computer Science and Engineering,
>>>> University of Moratuwa.
>>>>
>>>>
>>>
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> SMIEEE, SMIESL,
>>> Undergraduate,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>>
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> SMIEEE, SMIESL,
> Undergraduate,
> Department of Computer Science and Engineering,
> University of Moratuwa.


Re: [DOCS] dependencies (was Re: make cross does not execute test.sh)

Posted by Chamila Wijayarathna <cd...@gmail.com>.
Hi Roger,
I have created
THRIFT-2533 <https://issues.apache.org/jira/browse/THRIFT-2533>Boost
version in requirements should be updated and

   1. THRIFT-2532 <https://issues.apache.org/jira/browse/THRIFT-2532>Java
   version in installation requirements should be updated,
      and I have attached patch for
THRIFT-2532<https://issues.apache.org/jira/browse/THRIFT-2532>.
      Should I attach that patch for
THRIFT-2512<https://issues.apache.org/jira/browse/THRIFT-2512> as
      well?
   +1 for moving docs for source tree.
   Thank You!



On Thu, May 15, 2014 at 2:03 AM, Roger Meier <ro...@bufferoverflow.ch>wrote:

> Yes, the docs are partly outdated.
> However the web site does not reflect master development branch
>
> I have already added the lib/${language}/README.md files to the staging
> web site:
> http://thrift.staging.apache.org/lib/cpp they are generated from source
> tree.
>
> I would appreciate if you could help update the docs within source tree.
> and add patches here https://issues.apache.org/jira/browse/THRIFT-2512
> We need to standardize the documentation format and put e.g. a chapter
> dependencies to each language.
>
> the install docs are here available:
> https://svn.apache.org/repos/asf/thrift/cms-site/trunk/
> content/docs/install
> I like to move them to the source tree under doc/install/ and render the
> web site also from source.
>
> The other places where we have info on dependencies are:
> - contrib/Vagrantfile
> - .travis.yml
> - README.md (out dated info mentions http://wiki.apache.org/thrift/
> ThriftRequirements)
>
> -roger
>
>
> Quoting Chamila Wijayarathna <cd...@gmail.com>:
>
>  Hi Roger,
>>
>> My current version is this.
>> #define BOOST_LIB_VERSION "1_46_1"
>> So I need to upgrade this to 1.53.0?
>> I installed this version by running command at [1].
>> I think we need to update that documentation.
>>
>> 1. http://thrift.apache.org/docs/install/ubuntu
>>
>> Thank You
>>
>>
>> On Thu, May 15, 2014 at 12:15 AM, Roger Meier <ro...@bufferoverflow.ch>
>> wrote:
>>
>>  oops, you need to update boost
>>>
>>> see
>>> https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=commitdiff;h=
>>> 1953e21a373c2bfd9e8a0804b71297039319021c
>>> -  AX_BOOST_BASE([1.40.0])
>>> +  AX_BOOST_BASE([1.53.0])
>>>
>>> -roger
>>>
>>>
>>>
>>> Quoting Chamila Wijayarathna <cd...@gmail.com>:
>>>
>>>  Hi Roger,
>>>
>>>> After running "./configure --without-python --without-erlang", "make -k
>>>> cross" executed test.sh, but all cpp tests fails since there are no
>>>> TestClient.o and TestServer.o create in test/cpp.
>>>> When I ran "make" from test/cpp, it says
>>>> "make: *** No rule to make target `../../lib/cpp/libthrift.la', needed
>>>> by `
>>>> libtestgencpp.la'.  Stop."
>>>> What can be the issue here?
>>>>
>>>> Thank You!
>>>>
>>>>
>>>> On Wed, May 14, 2014 at 3:00 PM, Chamila Wijayarathna <
>>>> cdwijayarathna@gmail.com> wrote:
>>>>
>>>>  Hi Roger,
>>>>
>>>>> I have already installed Python [1].
>>>>> How can I install missing Erlang dependencies?
>>>>>
>>>>> 1. chamila@ubuntu:~/gsoc/build/thrift$ python -V
>>>>> Python 2.7.3
>>>>>
>>>>> Thank You!
>>>>>
>>>>>
>>>>> On Wed, May 14, 2014 at 4:00 AM, Roger Meier <ro...@bufferoverflow.ch>
>>>>> wrote:
>>>>>
>>>>>  python does not compile and erlang misses eunit.
>>>>>
>>>>>>
>>>>>> please install python and erlang dependencies or do a
>>>>>> ./configure --without-python --without-erlang
>>>>>>
>>>>>>
>>>>>> Quoting Chamila Wijayarathna <cd...@gmail.com>:
>>>>>>
>>>>>>  Hello all,
>>>>>>
>>>>>>  I cloned thrift from github and ran 'make install' and 'make cross'.
>>>>>>> When I
>>>>>>> run 'make cross' it gives following result[1] and does not run
>>>>>>> test.sh.
>>>>>>> What is the reason for that? When I run test.sh manually, it
>>>>>>> successfully
>>>>>>> execute java-java tests. But cpp it couldn't fount cpp server and
>>>>>>> client
>>>>>>> objects.
>>>>>>>
>>>>>>> 1. https://gist.github.com/cdwijayarathna/651191b20c28e8a08a06
>>>>>>>
>>>>>>> Thank You!
>>>>>>> --
>>>>>>> *Chamila Dilshan Wijayarathna,*
>>>>>>>
>>>>>>> SMIEEE, SMIESL,
>>>>>>> Undergraduate,
>>>>>>> Department of Computer Science and Engineering,
>>>>>>> University of Moratuwa.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> *Chamila Dilshan Wijayarathna,*
>>>>>
>>>>> SMIEEE, SMIESL,
>>>>> Undergraduate,
>>>>> Department of Computer Science and Engineering,
>>>>> University of Moratuwa.
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> *Chamila Dilshan Wijayarathna,*
>>>> SMIEEE, SMIESL,
>>>> Undergraduate,
>>>> Department of Computer Science and Engineering,
>>>> University of Moratuwa.
>>>>
>>>>
>>>
>>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> SMIEEE, SMIESL,
>> Undergraduate,
>> Department of Computer Science and Engineering,
>> University of Moratuwa.
>>
>
>


-- 
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.