Re: Problem building Io with the addons
Duke Normandin <[email protected]> Sun, 19 Feb 2012 07:01:04 -0700
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <20120219070104.775cbadc@select-man> |
On Sun, 19 Feb 2012 00:13:46 -0500 gatesphere <[email protected]> wrote: > > On 2/18/2012 10:37 PM, Duke Normandin wrote: > > > > having a hell of a time with addons!! > > > > This site: > > > > http://jetpackweb.com/blog/2011/02/08/io-language-addons-and-making-them-work-in-ubuntu/ > > > > explained that a bunch of dependencies were required before the > > addons would be configured for installation. Got them loaded > > up!! The build choked here: > > > > [quote] > > [ 99%] Generating ../../../addons/Yajl/source/IoYajlInit.c > > Scanning dependencies of target IoYajl > > [ 99%] Building C object > > addons/Yajl/CMakeFiles/IoYajl.dir/source/IoYajl.c.o > > /home/dnormandin/git/io/io/addons/Yajl/source/IoYajl.c: > > In function > > ‘IoYajl_parse’: > > /home/dnormandin/git/io/io/addons/Yajl/source/IoYajl.c:250:2: > > error: too few arguments to function > > ‘yajl_alloc’ /usr/include/yajl/yajl_parse.h:130:26: note: > > declared here make[2]: *** > > [addons/Yajl/CMakeFiles/IoYajl.dir/source/IoYajl.c.o] Error 1 > > make[1]: *** [addons/Yajl/CMakeFiles/IoYajl.dir/all] Error 2 > > make: *** [all] Error 2[/quote] > > > > I think that I don't have a dependency issue: > > > > [quote] > > sudo apt-get install libyajl-dev > > [sudo] password for dnormandin: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > libyajl-dev is already the newest version. > > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > [/quote] > > > > clues, please! Thanks ... > > > > Duke > > > > > > This is a known issue... Yajl pushed a breaking change, and the > Io addon hasn't been refactored for it yet. In your > addons/CMakeLists.txt, comment out the line (second from bottom) > that says add_subdirectory(Yajl) (just put a # in front of it). > Then restart the build procedure from scratch. > > -->Jake Much obliged .... -- Duke