我的Avro-C安装在哪里?

时间:2018-01-29 07:55:27

标签: c makefile

我需要Avro C作为进一步开发的先决条件。我已下载它,并且build文件夹中的安装过程正常。

Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/value.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/generic.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/consumer.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/legacy.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/schema.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/refcount.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/errors.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/data.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/platform.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/basics.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/resolver.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/io.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/msinttypes.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/allocation.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/include/avro/msstdint.h
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/lib/libavro.a
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/lib/libavro.so.23.0.0
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/lib/libavro.so
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/lib/pkgconfig/avro-c.pc
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/bin/avrocat
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/bin/avroappend
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/bin/avropipe
-- Up-to-date: /home/milenko/avro-c-1.8.2/build/avrolib/bin/avromod

这是makefile env。变量部分

CMAKE_COMMAND = /usr/bin/cmake

# The command to remove a file.
RM = /usr/bin/cmake -E remove -f

# Escaping for special characters.
EQUALS = =

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/milenko/avro-c-1.8.2

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/milenko/avro-c-1.8.2/build

我的Avro-C安装在哪里?构建文件夹中没有bin目录。我在/ usr / local中找不到任何内容。

1 个答案:

答案 0 :(得分:1)

构建,(看来你已经成功完成了这个)

cd /home/milenko/avro-c-1.8.2
mkdir build
cd build
cmake ../
make

然后将库安装到您的系统

sudo make install

或者只是按照@Some程序员dude的评论中的建议,直接链接到您的构建目录。