[ 
https://issues.apache.org/jira/browse/THRIFT-4094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871021#comment-15871021
 ] 

James E. King, III commented on THRIFT-4094:
--------------------------------------------

It sounds like you did not start the docker runtime from the correct directory.

See:

https://github.com/apache/thrift/tree/master/build/docker

{noformat}
Usage

>From the Apache Thrift code base root

Build

docker build -t thrift build/docker/ubuntu

or

docker build -t thrift build/docker/centos

Run

docker run -v $(pwd):/thrift/src -it thrift /bin/bash
{noformat}


You need to be in the top level directory of the git clone when you issue these 
commands.

> run "config" error in docker 
> -----------------------------
>
>                 Key: THRIFT-4094
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4094
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: Weizhi Li
>
> I am trying to build the thrift in docker. However, I got the error below:
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating compiler/cpp/Makefile
> config.status: creating compiler/cpp/src/Makefile
> config.status: creating compiler/cpp/src/thrift/plugin/Makefile
> config.status: creating compiler/cpp/test/Makefile
> config.status: creating compiler/cpp/src/thrift/version.h
> config.status: creating lib/Makefile
> config.status: creating lib/cpp/Makefile
> mkdir: cannot create directory 'lib/cpp': File exists
> mkdir: cannot create directory 'lib/cpp': File exists
> mv: failed to access 'lib/cpp/Makefile': Not a directory



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to