Http://www.chenjunlu.com/2011/03/understanding-pkg-config-tool/
Http://www.mike.org.cn/articles/description-configure-pkg-config-pkg_config_path-of-the-relations-between/
1. What is configure?
In the source code installation process, mostly the configureProgramGenerally, configure is a script. During execution, you can input necessary parameters to inform the configuration project.
The Configure pro
pkg-config Command Detailed
Returns the meta information for the installed library file.Environment variable: Pkg_config_path. Pkg-config will look for all. pc files under this variable. In addition, it looks for the. pc files under/usr/lib/pkgconfig/.Pkg-config works on multiple platforms:linux and other unix-like operating systems, Mac OS X and Windows. It does
Article Title: Use of the command pkg-config in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Compilation and Connection
Generally, if the header file of the library is not in the/usr/include directory, you must use the-I parameter to specify the path during compilation. Because the same library may be
Conversion from: briefly describes the relationship among configure, PKG-config, and pkg_config_path.
1. What is configure?
In the source code installation process, the configure program is mostly used. Generally, configure is a script, and necessary parameters can be input during execution to inform the configuration project.
The Configure program checks the environment on which the program is compiled and installed based on the input configuration
Brief introduction of the relationship between configure, Pkg-config and Pkg_config_pathFirst, what is configureSource installation process Most will use configure this program, the general configure is a script, execution can pass in the necessary parameters to inform the configuration items.Configure program it will be based on the incoming configuration items to check the environment on which the program compiles and to configure the program compil
When we use a third-party library, we often use the Pkg-config to compile the program. What the hell is that pkg-config? This blog post simply says.
What is the use of Pkgconfig:
You should all know that using a third-party library, you need to use the third party's header files and library files. When compiling and linking, we must specify the location of these header files and library files.
For a larger
compilation and connection interface are consistent. Among them, the most common Library Information Extraction Tool is PKG-config described below.
PKG-config is A. PC file provided by the database to obtain various necessary information about the database, including the version information, parameters required for compilation and connection. This information can be extracted separately using the parameter
could it be wrong? You're in full confidence. However, the results on the screen are a bit of a blush, damn it, how can libxxx.so not get it?You look for libxxx.so in the/usr directory, and you can't escape your eyes. Strange, libxxx.so how in/usr/local/lib under, not should under/usr/lib? You can not blame others, other people want to install in the line, the next time may also be installed in the/lib directory.The above scene is not fictitious, I have experienced several times, obviously in t
Extraction Tool is PKG-config described below.
PKG-config is A. PC file provided by the database to obtain various necessary information about the database, including the version information, parameters required for compilation and connection. This information can be extracted separately using the parameters provided by PKG-config for the compiler and connector.
them, the most common Library Information Extraction Tool is PKG-config described below.
PKG-config is A. PC file provided by the database to obtain various necessary information about the database, including the version information, parameters required for compilation and connection. This information can be extracted separately using the parameters provided by PKG
volume--P_exec_remk VARCHAR2 notes, the possible values are ' BEGIN ', ' END ', ' ERROR ' --MODIFY history-Person DATE COMMENTS-- ---------------------------------------------------------------*************************************************************PROCEDURE Error_log (P_package_name VARCHAR2,P_proc_name VARCHAR2,P_excep_dt DATE,P_excep_code VARCHAR2,P_excep_desc VARCHAR2,P_excep_remk VARCHAR2,P_line_no number) asPRAGMA autonomous_transaction;BEGININSERT into Tc_exception_log(LOG_ID,Packag
Using Libvips to manipulate images, libvips deployment reference a node. JS Project: Https://github.com/lovell/sharpThe installation was smooth under the Mac, and in the Linux environment (Ubuntu 16.04 LTS) The following issues arose:# pkg-config --cflags vips vips vips vipsPackage vips was not found in the pkg-config search path.Perhaps you should add the direct
FindpkgconfigA pkg-config module for CMake.CMake's Pkg-config module.Finds the Pkg-config executable and add the Pkg_check_modules () and Pkg_search_module () commands.Locate the Pkg-config execution file and add the Pkg_check_modules () and Pkg_search_module () commands.In order to find the
Ports,. txz
Make, pkg
Debian and its derivative editions, such as Ubuntu, Linux Mint and Raspbian, have a package format of. Deb. APT's Advanced package management tool provides most common operational commands: Search for repositories, install packages and their dependencies, and manage upgrades. In the local system, we can also use the DPKG program to install a single deb file, APT command as the front end of the underlying dpkg,
1. What is configure
Configure will check the environment on which the program is compiled based on the incoming configuration items and configure the program compilation installation, eventually generating the makefile file required for the compilation to be read by program make and then invoking the relevant compiler (usually invoking the compiler is GCC) To compile the final binary program. The Configure script, when checking for dependent environments (for example, the version of the softwar
cumbersome to write to. Once the installation path of the third-party library changes, the Golang code changes, so the use of pkg-config is undoubtedly a more elegant approach, no matter how the library's installation path changes, we do not need to modify the Go code, The blogger then uses a simple example to illustrate how to use pkg-config in the CGO command. First, suppose we install a third-party C-la
This is a creation in
Article, where the information may have evolved or changed.
Go 1.4 src/pkg→src
Russ Cox
June
[If you found this document because your Go tree are not building, skip to the Updating sections at the end.]
Abstract
We propose to delete the ' pkg ' level of the $GOROOT directory hierarchy.
Background
The structure of the main go repo have evolved with go.
originally, in Marc
First, what can pkg-config do. The following is a description of pkg-config in Wikipedia.
First, what can pkg-config do. The following describes pkg-config in Wikipedia:Pkg-config is a computer software that provides a unified interface used to query installed libraries when compiling software from the source code.
that is not standard, the header file path and the library file path will be cumbersome to write to. Once the installation path of the third-party library changes, the Golang code changes, so the use of pkg-config is undoubtedly a more elegant approach, no matter how the library's installation path changes, we do not need to modify the Go code, The blogger then uses a simple example to illustrate how to use pkg
Most applications on Mac OSX are passed. DMG or. Pkg to install (of course, except for the brew installation), if it is installed through the DMG software, to delete it is quite simple, directly from the OSX application folder deleted.Then how can the pkg installation software be deleted?Mac does not provide a quick way to delete, we can only find the PKG after t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.