I. Introduction to PKG-config
1. For a brief introduction to the PKG-config tool, see the following link:
Understand the PKG-config Tool
2. PKG-config software Official Website:Http://www.freedesktop.org/wiki/Software/pkg-config/
Ii. Recently I have been reading some example
computer:The purpose of the installation library is to use the functionality it provides in the project, so a test program test.c and Makefile is written here:TEST.C:#include Makefile:target=testobjs=test.oall:$ (OBJS) Gcc-g3-o0-o $ (TARGET) ' Pkg-config--libs glib-2.0 ' $ (OBJS)%.o:%.cgcc-g3-o0-c ' pkg-c Onfig--cflags glib-2.0 ' $Makefile uses the Pkg-config to
Pkg/33325:graphics/imagemagick broken with new PNG
By '); -->b1ff '); --> APR 21, 2006; 09:20PM:: Rate This message:-use ratings to moderate (?)
Reply | Reply to Author | Print | View Threaded | Show only this message >number: 33325 >category: PKG >sy Nopsis: Graphics/imagemagick broken with new png > Confidential: No >severity: non-critical >priority: Low >responsible:
I think everyone has installed software with the source code in Linux. What is the first step to install software with the source code? Download the source code. That's right, Mr. Wang. You are too talented ..
The real first step is./configure. Yes, so I have also seen the relationship between PKG-config and pkg_config_path. This is the topic of today.
1. What is configure?
Configure checks the environment on which the program is compiled and installe
In Linux, configure, pkg-config, and pkg_config_path refer to these three terms. I believe that Linux users will not be unfamiliar with them. The importance is self-evident. Next I will summarize the relationship between them. Configure is generally a script. During execution, you can input necessary parameters to inform the configuration project. For general open-source software, after downloading the source code, the configure file will be found in
During installation, you can specify a file to be displayed to the user. The file itself will not be copied to the target device, which is used to display basic self-report information or protocol. To do this, add the following downstream to the PKG file:
"license.txt" - " ", FILETEXT, TEXTCONTINUE
FiletextIndicates that the file is displayed during installation.TextcontinueWill provide a button to close the text file and then continue the installatio
Installation and removal under Mac is much simpler and clearer than Windows, which is obvious in the DMG mode, but many times we use pkg to install it, which is a bit cumbersome to remove.For example, I installed Golang this pkg for Go language compilation, after installation can be used, but installed a tool chain, not an application software. So in the application directory is not content, you can find th
, so that you can find the library when you compile something else later. At first there will be a hint that the default does not use MPI, the system can not find Python, these two are currently not needed, temporarily ignore. install Pkg-config in Mingw/msys In compiling vmime, when found configure always prompt GnuTLS library can not find, this is clearly already installed. After a little look at the Configure file, it was found that the
Text warning
During installation, you can specify a text display. This text will not be copied to your mobile phone, but will only display the required information or related protocols during installation. Add the following code to PKG:
"license.txt" - "", FILETEXT, TEXTCONTINUE
FiletextIt indicates that this file is displayed during installation. textcontinue provides a "continue" button to close the text content and continue to install the program.
Reposted from: wiki.forum.nokia.com
Text noticeDuring installation, you can specify a file to be displayed to the user. The file itself will not be copied to the target device, which is used to display basic self-report information or protocol. To do this, add the following downstream to the PKG file:
"License.txt"-"", filetext, textcontinuefiletext indicates that the file is displayed during installation. Textcontinue provides a "continue" button th
Text notice
During installation, you can specify a file to be displayed to the user. The file itself will not be copied to the target device, which is used to display basic self-report information or protocol. To do this, add the following downstream to the PKG file:
"license.txt" - " ", FILETEXT, TEXTCONTINUE
FiletextIndicates that the file is displayed during installation.TextcontinueWill provide a button to close the text file and then continue the
After installing LFS failure, even pkg-config cannot be usedAfter installing Linux from scratch failed, not in the mood to continue to toss. Later found that the usual. Configure can not be used. The following error will always occur:./configure:/usr/bin/pkg-config:/tools/lib64/ld-linux-x86-64.so.2:bad ELF interpreter:no such file or directoryI found out there was pkg
Tags: Mpc8313erdb not fresh pkg package, put the file in RAMDisk Generated Rootfs.ext2.gz.uboot by the Ltib compiler it can be used directly uboot. Let's say we've written the appropriate external file to move the RAMDisk in. You can create a pkg package. Then configure the compilation (,. ,)。 Of course, such a method is more troublesome. Then there is a simpler way, do not need to create a new
Apt-get install openstack pkg troubleshooting
The operating system is Ubuntu 14.04.
During the installation of the Openstack software package, the DNS of the host is correct and the repository of the software source is correct. Why is there always a software package installation error?
The following error is reported:
# Apt-get install cinder-api cinder-scheduler cinder-volume python-cinderclient-y
Reading package lists... DoneBuilding dependency tree
Transfer from development horizon (www.sf.org.cn)
Language Support
The first line of the PKG file specifies the applicationProgramLanguage. Each language is represented by two letters, as follows:
Code:; Ages En, fr
Language code:En English Po PortugueseFr French SP SpanishGE German Ru RussianIt Italian du DutchSW Swedish da DanishFI Finnish no Norwegian
MoreCodeReferSDK
The Language line can be ignored. In this way, the default English
First we use the PKG module to install a commonly used RPM package for an initial installation of the CentOS system , for example:vim unzip wget, etc.Here is how to configure the SLS filemkdir/srv/salt/init-pvvi/srv/salt/init/pkg-install.sls# Add the following: common_packages:pkg.installed:-pkgs:-Unzip -Dos2unix #提示如果还有其他要初始化的例如: gcc, gcc-c++ on the next add-on.#执行操作[[Emailprotected]init] #salt ' salt02 '
After installing the pkg-config-0.27, use rpm-qa | greppkgconfig to display information for previous versions-Linux general technology-Linux technology and application information. See the following for details. In the Red Hat source code after installing the pkg-config-0.27 with rpm-qa | grep pkgconfig is displayed as the previous version of the information, what is going on?
Steps:
1. decompress the pac
Generally, the first step for compiling open-source software is to run./configure. Determine whether the commands or libraries required for compiling the software can be found in the system, and then run./make to compile the software.
However, running./configure sometimes reports an error, saying that the required library cannot be found, but the library may still not be found after LD_LIBRARY_PATH is set (for how to set it, refer to this blog ).
The reason the library cannot be found is that
This article takes mysql-5.1.72-solaris10-i386.pkg.gz as an examplewhichmysql-5.1. the : MySQL version solaris10 : SunOS version i386. : SunOS machine CPU Model : Number of digits, no default 32-bitInstallation Machine Condition:Reference:Http://dev.mysql.com/doc/refman/5.1/en/solaris-installation-pkg.html1. Solaris Uninstall the once installed MySQLRansacked the once installed MySQL pkg# Pkginfo | grep sqlStart Uninstall#pkgrm
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.