[Pianod] Build issues

Jimmy Pop jimmypopali96 at gmail.com
Fri May 31 19:16:16 PDT 2013


First, what I tried
1 package or the other, total failure.

trying various flags, failure


And then..... I figured lets start from scratch!

Success!
downloaded the json-c 0.9 version tarball, built it with
./configure --prefix=/usr/local/
make
make check
make install
then
export PKG_CONFIG_PATH=PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
and success!
configure runs right through, and the make FINISHED!!

On to the next issue, it wont actually play anything... LOL


On Fri, May 31, 2013 at 6:18 PM, Peter Li <chinasaurli at gmail.com> wrote:

> I think trying with only one version is a good idea.  Also I would still
> try to debug build/link conftest.c from terminal, just to confirm that if
> you point it to the right library then it finds the function.
>
> On the other thing you tried, in your config.log output it said:
>     json_LIBS='-ljson-c'
>
> So seems like the format for that variable should be the lib it's looking
> for, not the libdir.  You could try point the linker directly to the lib
> with json_LIBS=<full-path-to-**libjson-c.so>.  Or you could try adding
> '-L/lib/arm-linux-gnueabihf/' in addition to the '-ljson-c'.  But these are
> weird hacks; would be better to just get the -L/lib/arm-linux-... added in
> some reasonable place.
>
> Also kind of weird that your gcc conftest.c line looked for -ljson but
> this variable says -ljson-c, so I'd be careful that this variable is
> actually getting used in the place you are trying to fix.
>
>
>
>
> On 05/31/2013 05:53 PM, Jimmy Pop wrote:
>
>> I installed both with apt-get. I can purge both and try with just 1 or
>> the other
>> I also tried
>> ./configure json_LIBS=/lib/arm-linux-**gnueabihf/
>> with the exact same results
>>
> ______________________________**_________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/**listinfo.cgi/pianod-**deviousfish.com<http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130531/dc970d9a/attachment-0003.htm>


More information about the Pianod mailing list