I am trying to compile from source. I am using Mac OS X, and I am interested in using libxml2, which is installed by default and already used by my project (I don't want to add additional dependencies!). Here's what I've tried:
Cloning into 'libstrophe'...
remote: Counting objects: 953, done.
remote: Compressing objects: 100% (362/362), done.
remote: Total 953 (delta 681), reused 837 (delta 588)
Receiving objects: 100% (953/953), 243.18 KiB, done.
Resolving deltas: 100% (681/681), done.
pizzicato:sample code bjorn$ cd libstrophe/
pizzicato:libstrophe bjorn$ ./bootstrap.sh
Makefile.am: installing `./depcomp'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
pizzicato:libstrophe bjorn$ ./configure && make
...
./configure: line 4309: syntax error near unexpected token `check,'
./configure: line 4309: `PKG_CHECK_MODULES(check, check >= 0.9.4, , AC_MSG_WARN([libcheck not found; unit tests will not be compilable]))'
pizzicato:libstrophe bjorn$ ./configure --with-libxml2 && make
...
./configure: line 4309: syntax error near unexpected token `check,'
./configure: line 4309: `PKG_CHECK_MODULES(check, check >= 0.9.4, , AC_MSG_WARN([libcheck not found; unit tests will not be compilable]))'
pizzicato:libstrophe bjorn$ ./bootstrap.sh
pizzicato:libstrophe bjorn$ ./configure --with-libxml2 && make
...
./configure: line 4309: syntax error near unexpected token `check,'
./configure: line 4309: `PKG_CHECK_MODULES(check, check >= 0.9.4, , AC_MSG_WARN([libcheck not found; unit tests will not be compilable]))'
Not sure what I should do at this point since configure fails.