No, this is not the solution. It should be:

$ cat /usr/lib/pkgconfig/mxml.pc
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Mini-XML
Description: Lightweight XML support library
Version: 2.4
Libs: -L${exec_prefix}/lib -lmxml -lpthread
Cflags: -I${prefix}/include -D_THREAD_SAFE -D_REENTRANT

The error is in the source package mxml-2.4, in the file mxml.pc.in.
There is a misspell in line 9:

Libs: @PC_LIBS@ @PHTREAD_LIBS@

Should read:

Libs: @PC_LIBS@ @PTHREAD_LIBS@

If you correct this, generate the packages and install them, all works
again.

I think it's an error from mainstream, because I learn about this error
in a note in the end of the link:

http://www.warrenweckesser.net/vfgen/menu_download.html

It talks about version 2.5 but in 2.4 still applies.

I hope this can help you to solve the bug.

-- 
PTHREAD typo in .pc file
https://bugs.launchpad.net/bugs/302003
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to