# How to compile liblwgeom independently?

For using liblwgeom function in spatialite, I need to compile the library. I found that it is included in the PostGIS code.

My question is, how to compile the library without compiling the whole PostGIS?

-
What type of system are you trying to build spatialite on? –  BradHards Jan 19 '13 at 4:51
64 bit ubuntu 11.10 –  Harold Chan Jan 19 '13 at 4:53
Are you looking for GEOS (the geometry library that powers spatialite and and postgis) –  Ragi Yaser Burhum Jan 19 '13 at 5:36
No, liblwgeom is another library provided by PostGIS. –  Harold Chan Jan 19 '13 at 5:39