seichejs / sylverant

Automatically exported from code.google.com/p/sylverant
1 stars 1 forks source link

configure error on cygwin #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
-> type ./configure

What version of the product are you using? On what operating system?

-> I'm on windows 7 x64 using cygwin with latest packages

The Error is the following :
./configure: line 12407: syntax error near unexpected token `libxml2,'
./configure: line 12407: `PKG_CHECK_MODULES(libxml2, libxml-2.0 >= 2.6)'

People having the same error on the internet have suggested it's an error 
expanding the PKG_CHECK_MODULES macro but I don't know how and where to fix 
that :(

Original issue reported on code.google.com by krys.cle...@gmail.com on 24 Feb 2013 at 9:42

GoogleCodeExporter commented 9 years ago
If it can't expand the PKG_CHECK_MODULES macro, that means you're missing 
pkg-config. Install it and that should fix that issue (if that is indeed what 
is wrong). You'll have to re-build the configure script and all, so make sure 
to clean up all the stuff related to that before retrying.

If that doesn't fix the issue, feel free to re-open the report.

Original comment by bluecrab on 24 Feb 2013 at 9:47

GoogleCodeExporter commented 9 years ago
Thanks for the fix, I had this problem because it wasn't mentioned in the Wiki 
that pkg-config should be installed, please include it so that people who want 
to compile won't have this problem anymore.

Also, on the wiki it is mentioned that one should install libxml2 but with that 
the command ./configure wouldn't complete. I had to install libxml2-devel 
aswell. Please correct that.

Original comment by krys.cle...@gmail.com on 27 Feb 2013 at 10:04

GoogleCodeExporter commented 9 years ago
I don't actually support Cygwin myself. In fact, the fact that it works in 
Cygwin is somewhat just a happy coincidence. Those instructions were provided 
by someone else who used to test Sylverant under Cygwin. I dunno if he is still 
willing to do that work or anything else like that, so I would rather not touch 
the instructions for now. I'll get in contact with the guy who did that and see 
if he is still making sure things work under Cygwin and ask him to update the 
instructions.

That said, there's probably still other issues with the Cygwin based 
documentation (as well as the rest of the documentation in general). Sylverant 
isn't exactly an easy beast to configure or get working, especially if you're 
not familiar with UNIX-like systems.

Original comment by bluecrab on 27 Feb 2013 at 12:31