Failing to build on Raspberry PI

509 views
Skip to first unread message

Erik Schott

unread,
Apr 17, 2013, 1:57:22 PM4/17/13
to jso...@googlegroups.com

I need to have json-c installed for a particular project (Dantracker - n7nix branch)
I am trying to build it on a Raspberry PI running Raspbian “wheezy”
I followed the instructions as per your wiki ie
(my working directory is /home/pi/dantracker)

$ git clone git://github.com/json-c/json-c.git
$ cd json-c
$ sh autogen.sh
$ ./configure

it then exitst with the comment

configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

Is this due to the Raspbian Wheezy distro, or am i missing something else totally

Eric Haszlakiewicz

unread,
Apr 17, 2013, 5:28:26 PM4/17/13
to jso...@googlegroups.com

On Apr 17, 2013 12:57 PM, "Erik Schott" <fhas...@gmail.com> wrote:
>
> I need to have json-c installed for a particular project (Dantracker - n7nix branch)
> I am trying to build it on a Raspberry PI running Raspbian “wheezy”
> I followed the instructions as per your wiki ie
> (my working directory is /home/pi/dantracker)
>
> $ git clone git://github.com/json-c/json-c.git
> $ cd json-c
> $ sh autogen.sh

Do you get any errors from this step?  This is the step that should create the Makefile.in file, so if it's missing then something must have gone wrong here.

If you're not planning on doing any development on json-c itself you might want to use the release branch, since it already has the Makefile.in, configure, etc... files generated.
Try adding a "-b json-c-0.11" to your clone command.

Eric

Reply all
Reply to author
Forward
0 new messages