i tried to build latest master and make appears to be in infinite loop of rm commands (example below).
-- juha
... Package json-c was not found in the pkg-config search path. Perhaps you should add the directory containing `json-c.pc' to the PKG_CONFIG_PATH environment variable No package 'json-c' found rm -f TAGS tags *.dbg .*.swp rm -f nsq.d nsq.d nsq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rls.d rls.d rls.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pike.d pike.d pike.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_xml.d presence_xml.d presence_xml.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfgutils.d cfgutils.d cfgutils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f htable.d htable.d htable.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp.d xhttp.d xhttp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtpengine.d rtpengine.d rtpengine.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sca.d sca.d sca.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found rm -f TAGS tags *.dbg .*.swp rm -f json.d json.d json.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence.d presence.d presence.d *~ rm -f TAGS tags *.dbg .*.swp rm -f alias_db.d alias_db.d alias_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_registrar_scscf.d ims_registrar_scscf.d ims_registrar_scscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dialog.d dialog.d dialog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_dialoginfo.d presence_dialoginfo.d presence_dialoginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_avp_db.d uid_avp_db.d uid_avp_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uri_db.d uri_db.d uri_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f call_control.d call_control.d call_control.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pdt.d pdt.d pdt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f matrix.d matrix.d matrix.d *~ rm -f TAGS tags *.dbg .*.swp rm -f debugger.d debugger.d debugger.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uac_redirect.d uac_redirect.d uac_redirect.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_diameter.d auth_diameter.d auth_diameter.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sctp.d sctp.d sctp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtjson.d rtjson.d rtjson.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_mysql.d db_mysql.d db_mysql.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_perlvdb.d db_perlvdb.d db_perlvdb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_berkeley.d db_berkeley.d db_berkeley.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tmx.d tmx.d tmx.d *~ rm -f TAGS tags *.dbg .*.swp rm -f timer.d timer.d timer.d *~ rm -f TAGS tags *.dbg .*.swp rm -f seas.d seas.d seas.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfgt.d cfgt.d cfgt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f carrierroute.d carrierroute.d carrierroute.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfg_db.d cfg_db.d cfg_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_auth_db.d uid_auth_db.d uid_auth_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_bla.d pua_bla.d pua_bla.d *~ rm -f TAGS tags *.dbg .*.swp rm -f domain.d domain.d domain.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ctl.d ctl.d ctl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f peering.d peering.d peering.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_conference.d presence_conference.d presence_conference.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pipelimit.d pipelimit.d pipelimit.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ipops.d ipops.d ipops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtimer.d rtimer.d rtimer.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uuid.d uuid.d uuid.d *~ rm -f TAGS tags *.dbg .*.swp rm -f registrar.d registrar.d registrar.d *~ rm -f TAGS tags *.dbg .*.swp rm -f diversion.d diversion.d diversion.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfg_rpc.d cfg_rpc.d cfg_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f kex.d kex.d kex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f malloc_test.d malloc_test.d malloc_test.d *~ rm -f TAGS tags *.dbg .*.swp rm -f speeddial.d speeddial.d speeddial.d *~ rm -f TAGS tags *.dbg .*.swp rm -f siputils.d siputils.d siputils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f misc_radius.d misc_radius.d misc_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f memcached.d memcached.d memcached.d *~ rm -f TAGS tags *.dbg .*.swp rm -f http_client.d http_client.d http_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nosip.d nosip.d nosip.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_icscf.d ims_icscf.d ims_icscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_mongodb.d db_mongodb.d db_mongodb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dialplan.d dialplan.d dialplan.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_reginfo.d presence_reginfo.d presence_reginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f domainpolicy.d domainpolicy.d domainpolicy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_ocs.d ims_ocs.d ims_ocs.d *~ rm -f TAGS tags *.dbg .*.swp rm -f corex.d corex.d corex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tmrec.d tmrec.d tmrec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f stun.d stun.d stun.d *~ rm -f TAGS tags *.dbg .*.swp rm -f exec.d exec.d exec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f evapi.d evapi.d evapi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ss7ops.d ss7ops.d ss7ops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f benchmark.d benchmark.d benchmark.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cdp_avp.d cdp_avp.d cdp_avp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtpproxy.d rtpproxy.d rtpproxy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pv.d pv.d pv.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_charging.d ims_charging.d ims_charging.d *~ rm -f TAGS tags *.dbg .*.swp rm -f avp.d avp.d avp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statistics.d statistics.d statistics.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_radius.d auth_radius.d auth_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f msilo.d msilo.d msilo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f gzcompress.d gzcompress.d gzcompress.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_fifo.d mi_fifo.d mi_fifo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tm.d tm.d tm.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sl.d sl.d sl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db2_ops.d db2_ops.d db2_ops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_identity.d auth_identity.d auth_identity.d *~ rm -f TAGS tags *.dbg .*.swp rm -f textopsx.d textopsx.d textopsx.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_cluster.d db_cluster.d db_cluster.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_usrloc_pcscf.d ims_usrloc_pcscf.d ims_usrloc_pcscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_unixodbc.d db_unixodbc.d db_unixodbc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmlops.d xmlops.d xmlops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f group.d group.d group.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mangler.d mangler.d mangler.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nathelper.d nathelper.d nathelper.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mediaproxy.d mediaproxy.d mediaproxy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f osp.d osp.d osp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f topos.d topos.d topos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ldap.d ldap.d ldap.d *~ rm -f TAGS tags *.dbg .*.swp rm -f path.d path.d path.d *~ rm -f TAGS tags *.dbg .*.swp rm -f permissions.d permissions.d permissions.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uac.d uac.d uac.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xcap_client.d xcap_client.d xcap_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_mongodb.d ndb_mongodb.d ndb_mongodb.d *~ Package jansson was not found in the pkg-config search path. Perhaps you should add the directory containing `jansson.pc' to the PKG_CONFIG_PATH environment variable No package 'jansson' found Package jansson was not found in the pkg-config search path. Perhaps you should add the directory containing `jansson.pc' to the PKG_CONFIG_PATH environment variable No package 'jansson' found rm -f TAGS tags *.dbg .*.swp rm -f janssonrpc-c.d janssonrpc-c.d janssonrpc-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp_pi.d xhttp_pi.d xhttp_pi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp_rpc.d xhttp_rpc.d xhttp_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_auth.d ims_auth.d ims_auth.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_rpc.d mi_rpc.d mi_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_flatstore.d db_flatstore.d db_flatstore.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_mi.d pua_mi.d pua_mi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tcpops.d tcpops.d tcpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sipcapture.d sipcapture.d sipcapture.d *~ rm -f TAGS tags *.dbg .*.swp rm -f lcr.d lcr.d lcr.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sdpops.d sdpops.d sdpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_text.d db_text.d db_text.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dnssec.d dnssec.d dnssec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pdb.d pdb.d pdb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_gflags.d uid_gflags.d uid_gflags.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sanity.d sanity.d sanity.d *~ rm -f TAGS tags *.dbg .*.swp rm -f qos.d qos.d qos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f siptrace.d siptrace.d siptrace.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sipt.d sipt.d sipt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statsd.d statsd.d statsd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tls.d tls.d tls.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mtree.d mtree.d mtree.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_cassandra.d db_cassandra.d db_cassandra.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_sqlite.d db_sqlite.d db_sqlite.d *~ /usr/bin/make -C src/ maintainer-clean rm -f TAGS tags *.dbg .*.swp rm -f log_systemd.d log_systemd.d log_systemd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f blst.d blst.d blst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmpp.d xmpp.d xmpp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dmq.d dmq.d dmq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f jansson.d jansson.d jansson.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statsc.d statsc.d statsc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sqlops.d sqlops.d sqlops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_xkeys.d auth_xkeys.d auth_xkeys.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package librabbitmq was not found in the pkg-config search path. Perhaps you should add the directory containing `librabbitmq.pc' to the PKG_CONFIG_PATH environment variable No package 'librabbitmq' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package librabbitmq was not found in the pkg-config search path. Perhaps you should add the directory containing `librabbitmq.pc' to the PKG_CONFIG_PATH environment variable No package 'librabbitmq' found rm -f TAGS tags *.dbg .*.swp rm -f kazoo.d kazoo.d kazoo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_lua.d app_lua.d app_lua.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_qos.d ims_qos.d ims_qos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_mwi.d presence_mwi.d presence_mwi.d *~ Package mono-2 was not found in the pkg-config search path. Perhaps you should add the directory containing `mono-2.pc' to the PKG_CONFIG_PATH environment variable No package 'mono-2' found Package mono-2 was not found in the pkg-config search path. Perhaps you should add the directory containing `mono-2.pc' to the PKG_CONFIG_PATH environment variable No package 'mono-2' found rm -f TAGS tags *.dbg .*.swp rm -f app_mono.d app_mono.d app_mono.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mqueue.d mqueue.d mqueue.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xprint.d xprint.d xprint.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sst.d sst.d sst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cnxcc.d cnxcc.d cnxcc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rr.d rr.d rr.d *~ rm -f TAGS tags *.dbg .*.swp rm -f print_lib.d print_lib.d print_lib.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_xmpp.d pua_xmpp.d pua_xmpp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_redis.d ndb_redis.d ndb_redis.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mohqueue.d mohqueue.d mohqueue.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db2_ldap.d db2_ldap.d db2_ldap.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dmq_usrloc.d dmq_usrloc.d dmq_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f avpops.d avpops.d avpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_perl.d app_perl.d app_perl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f p_usrloc.d p_usrloc.d p_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f enum.d enum.d enum.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua.d pua.d pua.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found rm -f TAGS tags *.dbg .*.swp rm -f jsonrpc-c.d jsonrpc-c.d jsonrpc-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f textops.d textops.d textops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f snmpstats.d snmpstats.d snmpstats.d *~ rm -f TAGS tags *.dbg .*.swp rm -f drouting.d drouting.d drouting.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_uri_db.d uid_uri_db.d uid_uri_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rabbitmq.d rabbitmq.d rabbitmq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f outbound.d outbound.d outbound.d *~ rm -f TAGS tags *.dbg .*.swp rm -f utils.d utils.d utils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f userblacklist.d userblacklist.d userblacklist.d *~ rm -f TAGS tags *.dbg .*.swp rm -f websocket.d websocket.d websocket.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xlog.d xlog.d xlog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f topoh.d topoh.d topoh.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_oracle.d db_oracle.d db_oracle.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_profile.d presence_profile.d presence_profile.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_dialoginfo.d pua_dialoginfo.d pua_dialoginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xcap_server.d xcap_server.d xcap_server.d *~ rm -f TAGS tags *.dbg .*.swp rm -f regex.d regex.d regex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f log_custom.d log_custom.d log_custom.d *~ rm -f TAGS tags *.dbg .*.swp rm -f msrp.d msrp.d msrp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_reginfo.d pua_reginfo.d pua_reginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f print.d print.d print.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ratelimit.d ratelimit.d ratelimit.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_cassandra.d ndb_cassandra.d ndb_cassandra.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_dialog.d ims_dialog.d ims_dialog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tsilo.d tsilo.d tsilo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_postgres.d db_postgres.d db_postgres.d *~ rm -f TAGS tags *.dbg .*.swp rm -f acc.d acc.d acc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f usrloc.d usrloc.d usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f h350.d h350.d h350.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_registrar_pcscf.d ims_registrar_pcscf.d ims_registrar_pcscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_ephemeral.d auth_ephemeral.d auth_ephemeral.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nat_traversal.d nat_traversal.d nat_traversal.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_xmlrpc.d mi_xmlrpc.d mi_xmlrpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cdp.d cdp.d cdp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_python.d app_python.d app_python.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_datagram.d mi_datagram.d mi_datagram.d *~ Makefile:30: *** Cannot locate Java Development Kit. You have to specify environment JAVA_HOME to build app_java. Stop. rm -f TAGS tags *.dbg .*.swp rm -f app_java.d app_java.d app_java.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_db.d auth_db.d auth_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f acc_radius.d acc_radius.d acc_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cpl-c.d cpl-c.d cpl-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f async.d async.d async.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sms.d sms.d sms.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmlrpc.d xmlrpc.d xmlrpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth.d auth.d auth.d *~ rm -f TAGS tags *.dbg .*.swp rm -f counters.d counters.d counters.d *~ rm -f TAGS tags *.dbg .*.swp rm -f http_async_client.d http_async_client.d http_async_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f jsonrpc-s.d jsonrpc-s.d jsonrpc-s.d *~ rm -f TAGS tags *.dbg .*.swp rm -f geoip2.d geoip2.d geoip2.d *~ Makefile:14: *** Not found Erlang. Stop. rm -f TAGS tags *.dbg .*.swp rm -f erlang.d erlang.d erlang.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_usrloc.d pua_usrloc.d pua_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f prefix_route.d prefix_route.d prefix_route.d *~ rm -f TAGS tags *.dbg .*.swp rm -f geoip.d geoip.d geoip.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_isc.d ims_isc.d ims_isc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dispatcher.d dispatcher.d dispatcher.d *~ rm -f TAGS tags *.dbg .*.swp rm -f crypto.d crypto.d crypto.d *~ rm -f TAGS tags *.dbg .*.swp rm -f maxfwd.d maxfwd.d maxfwd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f imc.d imc.d imc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f smsops.d smsops.d smsops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_domain.d uid_domain.d uid_domain.d *~ Package json-c was not found in the pkg-config search path. Perhaps you should add the directory containing `json-c.pc' to the PKG_CONFIG_PATH environment variable No package 'json-c' found ...
If you don't give the exact command you run and where, it's hard to guess and impossible to help.
Daniel
On 09/12/2016 12:27, Juha Heinanen wrote:
i tried to build latest master and make appears to be in infinite loop of rm commands (example below).
-- juha
... Package json-c was not found in the pkg-config search path. Perhaps you should add the directory containing `json-c.pc' to the PKG_CONFIG_PATH environment variable No package 'json-c' found rm -f TAGS tags *.dbg .*.swp rm -f nsq.d nsq.d nsq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rls.d rls.d rls.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pike.d pike.d pike.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_xml.d presence_xml.d presence_xml.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfgutils.d cfgutils.d cfgutils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f htable.d htable.d htable.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp.d xhttp.d xhttp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtpengine.d rtpengine.d rtpengine.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sca.d sca.d sca.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found rm -f TAGS tags *.dbg .*.swp rm -f json.d json.d json.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence.d presence.d presence.d *~ rm -f TAGS tags *.dbg .*.swp rm -f alias_db.d alias_db.d alias_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_registrar_scscf.d ims_registrar_scscf.d ims_registrar_scscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dialog.d dialog.d dialog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_dialoginfo.d presence_dialoginfo.d presence_dialoginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_avp_db.d uid_avp_db.d uid_avp_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uri_db.d uri_db.d uri_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f call_control.d call_control.d call_control.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pdt.d pdt.d pdt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f matrix.d matrix.d matrix.d *~ rm -f TAGS tags *.dbg .*.swp rm -f debugger.d debugger.d debugger.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uac_redirect.d uac_redirect.d uac_redirect.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_diameter.d auth_diameter.d auth_diameter.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sctp.d sctp.d sctp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtjson.d rtjson.d rtjson.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_mysql.d db_mysql.d db_mysql.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_perlvdb.d db_perlvdb.d db_perlvdb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_berkeley.d db_berkeley.d db_berkeley.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tmx.d tmx.d tmx.d *~ rm -f TAGS tags *.dbg .*.swp rm -f timer.d timer.d timer.d *~ rm -f TAGS tags *.dbg .*.swp rm -f seas.d seas.d seas.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfgt.d cfgt.d cfgt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f carrierroute.d carrierroute.d carrierroute.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfg_db.d cfg_db.d cfg_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_auth_db.d uid_auth_db.d uid_auth_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_bla.d pua_bla.d pua_bla.d *~ rm -f TAGS tags *.dbg .*.swp rm -f domain.d domain.d domain.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ctl.d ctl.d ctl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f peering.d peering.d peering.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_conference.d presence_conference.d presence_conference.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pipelimit.d pipelimit.d pipelimit.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ipops.d ipops.d ipops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtimer.d rtimer.d rtimer.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uuid.d uuid.d uuid.d *~ rm -f TAGS tags *.dbg .*.swp rm -f registrar.d registrar.d registrar.d *~ rm -f TAGS tags *.dbg .*.swp rm -f diversion.d diversion.d diversion.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cfg_rpc.d cfg_rpc.d cfg_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f kex.d kex.d kex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f malloc_test.d malloc_test.d malloc_test.d *~ rm -f TAGS tags *.dbg .*.swp rm -f speeddial.d speeddial.d speeddial.d *~ rm -f TAGS tags *.dbg .*.swp rm -f siputils.d siputils.d siputils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f misc_radius.d misc_radius.d misc_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f memcached.d memcached.d memcached.d *~ rm -f TAGS tags *.dbg .*.swp rm -f http_client.d http_client.d http_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nosip.d nosip.d nosip.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_icscf.d ims_icscf.d ims_icscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_mongodb.d db_mongodb.d db_mongodb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dialplan.d dialplan.d dialplan.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_reginfo.d presence_reginfo.d presence_reginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f domainpolicy.d domainpolicy.d domainpolicy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_ocs.d ims_ocs.d ims_ocs.d *~ rm -f TAGS tags *.dbg .*.swp rm -f corex.d corex.d corex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tmrec.d tmrec.d tmrec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f stun.d stun.d stun.d *~ rm -f TAGS tags *.dbg .*.swp rm -f exec.d exec.d exec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f evapi.d evapi.d evapi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ss7ops.d ss7ops.d ss7ops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f benchmark.d benchmark.d benchmark.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cdp_avp.d cdp_avp.d cdp_avp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rtpproxy.d rtpproxy.d rtpproxy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pv.d pv.d pv.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_charging.d ims_charging.d ims_charging.d *~ rm -f TAGS tags *.dbg .*.swp rm -f avp.d avp.d avp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statistics.d statistics.d statistics.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_radius.d auth_radius.d auth_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f msilo.d msilo.d msilo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f gzcompress.d gzcompress.d gzcompress.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_fifo.d mi_fifo.d mi_fifo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tm.d tm.d tm.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sl.d sl.d sl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db2_ops.d db2_ops.d db2_ops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_identity.d auth_identity.d auth_identity.d *~ rm -f TAGS tags *.dbg .*.swp rm -f textopsx.d textopsx.d textopsx.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_cluster.d db_cluster.d db_cluster.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_usrloc_pcscf.d ims_usrloc_pcscf.d ims_usrloc_pcscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_unixodbc.d db_unixodbc.d db_unixodbc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmlops.d xmlops.d xmlops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f group.d group.d group.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mangler.d mangler.d mangler.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nathelper.d nathelper.d nathelper.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mediaproxy.d mediaproxy.d mediaproxy.d *~ rm -f TAGS tags *.dbg .*.swp rm -f osp.d osp.d osp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f topos.d topos.d topos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ldap.d ldap.d ldap.d *~ rm -f TAGS tags *.dbg .*.swp rm -f path.d path.d path.d *~ rm -f TAGS tags *.dbg .*.swp rm -f permissions.d permissions.d permissions.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uac.d uac.d uac.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xcap_client.d xcap_client.d xcap_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_mongodb.d ndb_mongodb.d ndb_mongodb.d *~ Package jansson was not found in the pkg-config search path. Perhaps you should add the directory containing `jansson.pc' to the PKG_CONFIG_PATH environment variable No package 'jansson' found Package jansson was not found in the pkg-config search path. Perhaps you should add the directory containing `jansson.pc' to the PKG_CONFIG_PATH environment variable No package 'jansson' found rm -f TAGS tags *.dbg .*.swp rm -f janssonrpc-c.d janssonrpc-c.d janssonrpc-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp_pi.d xhttp_pi.d xhttp_pi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xhttp_rpc.d xhttp_rpc.d xhttp_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_auth.d ims_auth.d ims_auth.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_rpc.d mi_rpc.d mi_rpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_flatstore.d db_flatstore.d db_flatstore.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_mi.d pua_mi.d pua_mi.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tcpops.d tcpops.d tcpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sipcapture.d sipcapture.d sipcapture.d *~ rm -f TAGS tags *.dbg .*.swp rm -f lcr.d lcr.d lcr.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sdpops.d sdpops.d sdpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_text.d db_text.d db_text.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dnssec.d dnssec.d dnssec.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pdb.d pdb.d pdb.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_gflags.d uid_gflags.d uid_gflags.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sanity.d sanity.d sanity.d *~ rm -f TAGS tags *.dbg .*.swp rm -f qos.d qos.d qos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f siptrace.d siptrace.d siptrace.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sipt.d sipt.d sipt.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statsd.d statsd.d statsd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tls.d tls.d tls.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mtree.d mtree.d mtree.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_cassandra.d db_cassandra.d db_cassandra.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_sqlite.d db_sqlite.d db_sqlite.d *~ /usr/bin/make -C src/ maintainer-clean rm -f TAGS tags *.dbg .*.swp rm -f log_systemd.d log_systemd.d log_systemd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f blst.d blst.d blst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmpp.d xmpp.d xmpp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dmq.d dmq.d dmq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f jansson.d jansson.d jansson.d *~ rm -f TAGS tags *.dbg .*.swp rm -f statsc.d statsc.d statsc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sqlops.d sqlops.d sqlops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_xkeys.d auth_xkeys.d auth_xkeys.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package librabbitmq was not found in the pkg-config search path. Perhaps you should add the directory containing `librabbitmq.pc' to the PKG_CONFIG_PATH environment variable No package 'librabbitmq' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package librabbitmq was not found in the pkg-config search path. Perhaps you should add the directory containing `librabbitmq.pc' to the PKG_CONFIG_PATH environment variable No package 'librabbitmq' found rm -f TAGS tags *.dbg .*.swp rm -f kazoo.d kazoo.d kazoo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_lua.d app_lua.d app_lua.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_qos.d ims_qos.d ims_qos.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_mwi.d presence_mwi.d presence_mwi.d *~ Package mono-2 was not found in the pkg-config search path. Perhaps you should add the directory containing `mono-2.pc' to the PKG_CONFIG_PATH environment variable No package 'mono-2' found Package mono-2 was not found in the pkg-config search path. Perhaps you should add the directory containing `mono-2.pc' to the PKG_CONFIG_PATH environment variable No package 'mono-2' found rm -f TAGS tags *.dbg .*.swp rm -f app_mono.d app_mono.d app_mono.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mqueue.d mqueue.d mqueue.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xprint.d xprint.d xprint.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sst.d sst.d sst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cnxcc.d cnxcc.d cnxcc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rr.d rr.d rr.d *~ rm -f TAGS tags *.dbg .*.swp rm -f print_lib.d print_lib.d print_lib.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_xmpp.d pua_xmpp.d pua_xmpp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_redis.d ndb_redis.d ndb_redis.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mohqueue.d mohqueue.d mohqueue.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db2_ldap.d db2_ldap.d db2_ldap.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dmq_usrloc.d dmq_usrloc.d dmq_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f avpops.d avpops.d avpops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_perl.d app_perl.d app_perl.d *~ rm -f TAGS tags *.dbg .*.swp rm -f p_usrloc.d p_usrloc.d p_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f enum.d enum.d enum.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua.d pua.d pua.d *~ Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found Package json was not found in the pkg-config search path. Perhaps you should add the directory containing `json.pc' to the PKG_CONFIG_PATH environment variable No package 'json' found rm -f TAGS tags *.dbg .*.swp rm -f jsonrpc-c.d jsonrpc-c.d jsonrpc-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f textops.d textops.d textops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f snmpstats.d snmpstats.d snmpstats.d *~ rm -f TAGS tags *.dbg .*.swp rm -f drouting.d drouting.d drouting.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_uri_db.d uid_uri_db.d uid_uri_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f rabbitmq.d rabbitmq.d rabbitmq.d *~ rm -f TAGS tags *.dbg .*.swp rm -f outbound.d outbound.d outbound.d *~ rm -f TAGS tags *.dbg .*.swp rm -f utils.d utils.d utils.d *~ rm -f TAGS tags *.dbg .*.swp rm -f userblacklist.d userblacklist.d userblacklist.d *~ rm -f TAGS tags *.dbg .*.swp rm -f websocket.d websocket.d websocket.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xlog.d xlog.d xlog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f topoh.d topoh.d topoh.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_oracle.d db_oracle.d db_oracle.d *~ rm -f TAGS tags *.dbg .*.swp rm -f presence_profile.d presence_profile.d presence_profile.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_dialoginfo.d pua_dialoginfo.d pua_dialoginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xcap_server.d xcap_server.d xcap_server.d *~ rm -f TAGS tags *.dbg .*.swp rm -f regex.d regex.d regex.d *~ rm -f TAGS tags *.dbg .*.swp rm -f log_custom.d log_custom.d log_custom.d *~ rm -f TAGS tags *.dbg .*.swp rm -f msrp.d msrp.d msrp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_reginfo.d pua_reginfo.d pua_reginfo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f print.d print.d print.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ratelimit.d ratelimit.d ratelimit.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ndb_cassandra.d ndb_cassandra.d ndb_cassandra.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_dialog.d ims_dialog.d ims_dialog.d *~ rm -f TAGS tags *.dbg .*.swp rm -f tsilo.d tsilo.d tsilo.d *~ rm -f TAGS tags *.dbg .*.swp rm -f db_postgres.d db_postgres.d db_postgres.d *~ rm -f TAGS tags *.dbg .*.swp rm -f acc.d acc.d acc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f usrloc.d usrloc.d usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f h350.d h350.d h350.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_registrar_pcscf.d ims_registrar_pcscf.d ims_registrar_pcscf.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_ephemeral.d auth_ephemeral.d auth_ephemeral.d *~ rm -f TAGS tags *.dbg .*.swp rm -f nat_traversal.d nat_traversal.d nat_traversal.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_xmlrpc.d mi_xmlrpc.d mi_xmlrpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cdp.d cdp.d cdp.d *~ rm -f TAGS tags *.dbg .*.swp rm -f app_python.d app_python.d app_python.d *~ rm -f TAGS tags *.dbg .*.swp rm -f mi_datagram.d mi_datagram.d mi_datagram.d *~ Makefile:30: *** Cannot locate Java Development Kit. You have to specify environment JAVA_HOME to build app_java. Stop. rm -f TAGS tags *.dbg .*.swp rm -f app_java.d app_java.d app_java.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth_db.d auth_db.d auth_db.d *~ rm -f TAGS tags *.dbg .*.swp rm -f acc_radius.d acc_radius.d acc_radius.d *~ rm -f TAGS tags *.dbg .*.swp rm -f cpl-c.d cpl-c.d cpl-c.d *~ rm -f TAGS tags *.dbg .*.swp rm -f async.d async.d async.d *~ rm -f TAGS tags *.dbg .*.swp rm -f sms.d sms.d sms.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmlrpc.d xmlrpc.d xmlrpc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f auth.d auth.d auth.d *~ rm -f TAGS tags *.dbg .*.swp rm -f counters.d counters.d counters.d *~ rm -f TAGS tags *.dbg .*.swp rm -f http_async_client.d http_async_client.d http_async_client.d *~ rm -f TAGS tags *.dbg .*.swp rm -f jsonrpc-s.d jsonrpc-s.d jsonrpc-s.d *~ rm -f TAGS tags *.dbg .*.swp rm -f geoip2.d geoip2.d geoip2.d *~ Makefile:14: *** Not found Erlang. Stop. rm -f TAGS tags *.dbg .*.swp rm -f erlang.d erlang.d erlang.d *~ rm -f TAGS tags *.dbg .*.swp rm -f pua_usrloc.d pua_usrloc.d pua_usrloc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f prefix_route.d prefix_route.d prefix_route.d *~ rm -f TAGS tags *.dbg .*.swp rm -f geoip.d geoip.d geoip.d *~ rm -f TAGS tags *.dbg .*.swp rm -f ims_isc.d ims_isc.d ims_isc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f dispatcher.d dispatcher.d dispatcher.d *~ rm -f TAGS tags *.dbg .*.swp rm -f crypto.d crypto.d crypto.d *~ rm -f TAGS tags *.dbg .*.swp rm -f maxfwd.d maxfwd.d maxfwd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f imc.d imc.d imc.d *~ rm -f TAGS tags *.dbg .*.swp rm -f smsops.d smsops.d smsops.d *~ rm -f TAGS tags *.dbg .*.swp rm -f uid_domain.d uid_domain.d uid_domain.d *~ Package json-c was not found in the pkg-config search path. Perhaps you should add the directory containing `json-c.pc' to the PKG_CONFIG_PATH environment variable No package 'json-c' found ...
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Daniel-Constantin Mierla writes:
If you don't give the exact command you run and where, it's hard to guess and impossible to help.
The command I run at root is
dpkg-buildpackage -rfakeroot -b -us -uc
i.e., I try to build debian package. It produces
/usr/bin/make maintainer-clean make[1]: Entering directory '/usr/src/opensipg/trunk/src/opensipg-sip-proxy' /usr/bin/make -C src/ maintainer-clean make[2]: Entering directory '/usr/src/opensipg/trunk/src/opensipg-sip-proxy/src' target architecture <x86_64>, host architecture <x86_64> rm -f TAGS tags *.dbg .*.swp rm -f log_systemd.d log_systemd.d log_systemd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f blst.d blst.d blst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmpp.d xmpp.d xmpp.d *~ rm -f TAGS tags *.dbg .*.swp ...
and the rm commands seem to go on forever.
-- Juha
Running your command I get:
kamailio-dev$ dpkg-buildpackage -rfakeroot -b -us -uc
tail: cannot open 'debian/changelog' for reading: No such file or directory dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
Anyhow, it guess you try to build deb packages. In this case the rules are from the debian specs, not from kamailio Makefiles, and they were not updated, hopefully Victor Seva (or someone else with deb packaging experience) will get the time to work on them very soon.
Maybe you can try running in src/ ... but I expect to fail there as well, as files were relocated.
Daniel
On 09/12/2016 12:55, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
If you don't give the exact command you run and where, it's hard to guess and impossible to help.
The command I run at root is
dpkg-buildpackage -rfakeroot -b -us -uc
i.e., I try to build debian package. It produces
/usr/bin/make maintainer-clean make[1]: Entering directory '/usr/src/opensipg/trunk/src/opensipg-sip-proxy' /usr/bin/make -C src/ maintainer-clean make[2]: Entering directory '/usr/src/opensipg/trunk/src/opensipg-sip-proxy/src' target architecture <x86_64>, host architecture <x86_64> rm -f TAGS tags *.dbg .*.swp rm -f log_systemd.d log_systemd.d log_systemd.d *~ rm -f TAGS tags *.dbg .*.swp rm -f blst.d blst.d blst.d *~ rm -f TAGS tags *.dbg .*.swp rm -f xmpp.d xmpp.d xmpp.d *~ rm -f TAGS tags *.dbg .*.swp ...
and the rm commands seem to go on forever.
-- Juha
Daniel-Constantin Mierla writes:
Anyhow, it guess you try to build deb packages. In this case the rules are from the debian specs, not from kamailio Makefiles, and they were not updated, hopefully Victor Seva (or someone else with deb packaging experience) will get the time to work on them very soon.
If I comment out in pkg/kamailio/deb/jessie/rules:
clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. $(MAKE) maintainer-clean dh_clean
'$(MAKE) maintainer-clean' line, the loop does not occur.
-- Juha
I successfully built the debs on Jessie (kamailio.org server) with the latest master branch (including my last commit to update the path to ChangeLog) by using the following commands:
cd src/ ln -s ../pkg/kamailio/deb/jessie debian make deb
I didn't get the maintainer-clean loop.
The debs were stored in root folder of kamailio source tree -- until the deb spec files will be tuned properly, maybe this is a good-enough solution for those that want to build debs.
If I get more time, I will try to play also with building with the command in root folder.
Daniel
On 09/12/2016 13:58, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Anyhow, it guess you try to build deb packages. In this case the rules are from the debian specs, not from kamailio Makefiles, and they were not updated, hopefully Victor Seva (or someone else with deb packaging experience) will get the time to work on them very soon.
If I comment out in pkg/kamailio/deb/jessie/rules:
clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. $(MAKE) maintainer-clean dh_clean
'$(MAKE) maintainer-clean' line, the loop does not occur.
-- Juha
Found the reason for the cleaning loop. It was caused by local renaming of kamcmd command. I need to do the rename, since I can have several kamailios running on the same host and each needs its own kamcmd command. It would be nice if $(MAIN_NAME) would also have effect on the name of kamcmd command.
-- Juha
I pushed a small patch that allows specifying the name from command line, like:
cd utils/kamcmd/
make NAME=mykamcmd ...
I am also fine if one wants to add extra options that will allow building the name with other variables, a.s.o.
Cheers, Daniel
On 10/12/2016 07:19, Juha Heinanen wrote:
Found the reason for the cleaning loop. It was caused by local renaming of kamcmd command. I need to do the rename, since I can have several kamailios running on the same host and each needs its own kamcmd command. It would be nice if $(MAIN_NAME) would also have effect on the name of kamcmd command.
-- Juha
Daniel-Constantin Mierla writes:
I pushed a small patch that allows specifying the name from command line, like:
cd utils/kamcmd/
make NAME=mykamcmd ...
Looks like that make is called from for loop in src/Makefile and it is not that easy to add the param. Perhaps easier solution would be to add empty NAME line in kamcmd Makefile:
auto_gen= RELEASE=0.2 UTIL_SRC_NAME=kamcmd NAME= ifeq ($(FLAVOUR),ser) NAME?=sercmd else NAME?=kamcmd endif
Then the name could be easily changed by adding a value to NAME.
-- Juha
On 12/12/2016 14:04, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I pushed a small patch that allows specifying the name from command line, like:
cd utils/kamcmd/
make NAME=mykamcmd ...
Looks like that make is called from for loop in src/Makefile and it is not that easy to add the param. Perhaps easier solution would be to add empty NAME line in kamcmd Makefile:
auto_gen= RELEASE=0.2 UTIL_SRC_NAME=kamcmd NAME= ifeq ($(FLAVOUR),ser) NAME?=sercmd else NAME?=kamcmd endif
Then the name could be easily changed by adding a value to NAME.
If NAME= is added in the config, then it cannot be specified in the command line anymore.
If NAME variable overlaps with another one from kamailio core makefiles, then we can change it to be KAMCMDNAME.
You can change even now the line NAME?=kamcmd in the IFEQ blovk if you want to edit the makefile for your local build system.
Daniel