Moonlit
Moonlit

Reputation: 5419

install xmlrpc for c++ in /usr/local/lib

I want to use xml-rpc for C and C++ in a project. I was able to configure and make (build) the project correctly, however, i need the library to be installed in /usr/local/lib , /usr/local/include . When i run make install the library will be installed in /usr/lib , /usr/include. Can anybody help, i.e. explain how to install the library in the other directory.

kind regards

Upvotes: 0

Views: 950

Answers (1)

Mali
Mali

Reputation: 2700

you need to build it with : ./configure --prefix=/usr/local/ && make && make install.

Anyway, the best solution is probably to install it via the package manager of the distribution you are using.

Upvotes: 1

Related Questions