Hi again, I use Ubuntu 8.10. I could not install xml-config. Although libxml2-dev is installed,./configure cannot find xml-config. Help me out please. Apprentice The UNIX and Linux Forums. 'Programming with libxml2 is like the thrilling embrace of an exotic stranger.' Mark Pilgrim. Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License.XML itself is a metalanguage to design markup languages, i.e. Text language where semantic and structure.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking âSign up for GitHubâ, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
commented Jun 14, 2018
I was trying to use the system to compile a program which uses libxml dependencies, so I created the dockerfile to install libxml2-dev before compiling. The apt reported that libxml2-dev is already installed, but the compiler cannot find any headers from the lib, and also I checked the directories with ls, to check and there were also no libxml dev files.
The dockerfile is the following: FROM gcc COPY . /root WORKDIR /root RUN apt-get install -y libxml++* RUN gcc -o decrypt decrypt.c
|
commented Jun 14, 2018
The image GCC is built from is
buildpack-deps:stretch which includes apt get install libxml2-dev
The files are located in
/usr/include/libxml2
So you could update your Dockerfile to do
gcc $(pkg-config --cflags libxml-2.0) ...
If you're still having issues you could create a simple C file to reproduce
|
added the question label Jun 14, 2018
commented Jun 21, 2018
Hi!
Thanks I got on the same result afterwards :) It was years ago I last did C devel in bash, and missed the fact, that I have to add the linked files to the parameter list.
Thanks.
|
closed this Jun 21, 2018
Libxml Dev C 4
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment