libucl
libucl copied to clipboard
It is not clear when installing the project on Unix how to build it
Can you add a BUILDING.md with instructions how to build on different platforms? I tried to use autoconf on Debian Wheezy but am used to doing ./configure, make, make install and that didn't work. Running ./autogen.sh directly didn't do anything.
Please make it easier for me to know what to do to build your project on each platform.
ps. On MacOSX I was able to install quickly via "brew install libucl" so that was nice
cheers
@gafferongames I've used cmake to compile:
mkdir build && cd build && cmake .. && make
I tried cmake but it doesn't seem support a "make install" step.
I worked around this by manually copying ucl.h to /usr/local/include and libucl.a to /usr/local/lib but it would be nice if there was a unix native way to install this library via "make install".
./autogen.sh
./configure
make
make install
On Debian wheezy with 0.8.0 release tar.gz:
# ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:70: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:76: error: possibly undefined macro: AC_DEFINE
autoreconf: /usr/bin/autoconf failed with exit status: 1
install pkg-config
This thread is a great example of some stuff that you could put in BUILDING.md to save people time.