[frr] FreeBSD Build ? (was Re: Meetup @IETF this week?

Mike Tancsa mike at sentex.net
Wed Mar 29 16:45:32 EDT 2017


On 3/27/2017 4:39 PM, Martin Winter wrote:
> 
> So if it happens on FRR-2.0-rc2  (latest stable/2.0 branch), then I
> really want to dig into it and trying to reproduce it (and get it fixed).


I am having some difficulty building it for FreeBSD. I am not an
automake expert.  Not sure how to bootstrap the build ?

I do
autoreconf -i
then
 ./configure --disable-rusage --disable-rtadv --prefix="/usr/local/"
it errors with

checking for json-c/json.h... no
checking for json_object_get in -ljson-c... no
checking for json_object_get in -ljson... no
configure: error: lib json is needed to compile

despite having them installed

root at backuprouter:/tmp/frr/tags/2 # ls -l /usr/local/lib/ | grep json
-rw-r--r--   1 root  wheel    63432 Feb 25 06:29 libfastjson.a
lrwxr-xr-x   1 root  wheel       20 Feb 25 06:29 libfastjson.so ->
libfastjson.so.4.0.0
lrwxr-xr-x   1 root  wheel       20 Feb 25 06:29 libfastjson.so.4 ->
libfastjson.so.4.0.0
-rwxr-xr-x   1 root  wheel    38688 Feb 25 06:29 libfastjson.so.4.0.0
-rw-r--r--   1 root  wheel   269364 Feb 25 17:30 libjson++.a
lrwxr-xr-x   1 root  wheel       16 Feb 25 17:30 libjson++.so ->
libjson++.so.0.5
lrwxr-xr-x   1 root  wheel       18 Feb 25 17:30 libjson++.so.0.5 ->
libjson++.so.0.5.0
-rwxr-xr-x   1 root  wheel    92184 Feb 25 17:30 libjson++.so.0.5.0
-rw-r--r--   1 root  wheel    75172 Mar 28 11:48 libjson-c.a
lrwxr-xr-x   1 root  wheel       18 Mar 28 11:48 libjson-c.so ->
libjson-c.so.2.0.2
lrwxr-xr-x   1 root  wheel       18 Mar 28 11:48 libjson-c.so.2 ->
libjson-c.so.2.0.2
-rwxr-xr-x   1 root  wheel    44640 Mar 28 11:48 libjson-c.so.2.0.2
lrwxr-xr-x   1 root  wheel       27 Feb 25 01:13 libjson-glib-1.0.so ->
libjson-glib-1.0.so.0.102.0
lrwxr-xr-x   1 root  wheel       27 Feb 25 01:13 libjson-glib-1.0.so.0
-> libjson-glib-1.0.so.0.102.0
-rwxr-xr-x   1 root  wheel   160176 Feb 25 01:13 libjson-glib-1.0.so.0.102.0
-rw-r--r--   1 root  wheel   434058 Feb 24 20:24 libjsoncpp.a
lrwxr-xr-x   1 root  wheel       19 Feb 24 20:24 libjsoncpp.so ->
libjsoncpp.so.1.8.0
lrwxr-xr-x   1 root  wheel       19 Feb 24 20:24 libjsoncpp.so.1 ->
libjsoncpp.so.1.8.0
-r--r--r--   1 root  wheel   238616 Feb 24 20:24 libjsoncpp.so.1.8.0
lrwxr-xr-x   1 root  wheel       13 Feb 24 20:46 libqjson.so ->
libqjson.so.0
lrwxr-xr-x   1 root  wheel       17 Feb 24 20:46 libqjson.so.0 ->
libqjson.so.0.9.0
-rwxr-xr-x   1 root  wheel   196856 Feb 24 20:46 libqjson.so.0.9.0
root at backuprouter:/tmp/frr/tags/2 # ls -l /usr/local/in
include/ info/
root at backuprouter:/tmp/frr/tags/2 # ls -l /usr/local/include/ | grep json
drwxr-xr-x  2 root  wheel     12 Mar 27 16:13 json
drwxr-xr-x  2 root  wheel     17 Mar 28 11:48 json-c
drwxr-xr-x  3 root  wheel      3 Mar 27 16:15 json-glib-1.0
drwxr-xr-x  3 root  wheel      3 Mar 27 16:14 jsoncpp
drwxr-xr-x  2 root  wheel      9 Mar 29 16:29 libfastjson
drwxr-xr-x  2 root  wheel      8 Mar 29 16:30 qjson
root at backuprouter:/tmp/frr/tags/2 #



-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/




More information about the dev mailing list