<p>Hello,</p>

<p>However I found that some modules fail to install some files:</p>

<p>Relevant parts of the log:<br>
mkdir -p //dbtext/opensips ; \<br>
for FILE in ../../scripts//dbtext/opensips/grp ../../scripts//dbtext/opensips/globalblacklist ../../scripts//dbtext/opensips/cc<br>
_agents ../../scripts//dbtext/opensips/speed_dial ../../scripts//dbtext/opensips/cc_cdrs ../../scripts//dbtext/opensips/rtpprox<br>
y_sockets ../../scripts//dbtext/opensips/emergency_report ../../scripts//dbtext/opensips/dr_groups ../../scripts//dbtext/opensi<br>
ps/fraud_detection ../../scripts//dbtext/opensips/presentity ../../scripts//dbtext/opensips/silo ../../scripts//dbtext/opensips<br>
/active_watchers ../../scripts//dbtext/opensips/dr_rules ../../scripts//dbtext/opensips/dr_partitions ../../scripts//dbtext/ope<br>
nsips/emergency_routing ../../scripts//dbtext/opensips/b2b_logic ../../scripts//dbtext/opensips/load_balancer ../../scripts//db<br>
text/opensips/b2b_entities ../../scripts//dbtext/opensips/sip_trace ../../scripts//dbtext/opensips/xcap ../../scripts//dbtext/o<br>
pensips/aliases ../../scripts//dbtext/opensips/address ../../scripts//dbtext/opensips/version ../../scripts//dbtext/opensips/di<br>
spatcher ../../scripts//dbtext/opensips/carrierfailureroute ../../scripts//dbtext/opensips/watchers ../../scripts//dbtext/opens<br>
ips/pua ../../scripts//dbtext/opensips/domain ../../scripts//dbtext/opensips/subscriber ../../scripts//dbtext/opensips/imc_room<br>
s ../../scripts//dbtext/opensips/re_grp ../../scripts//dbtext/opensips/uri ../../scripts//dbtext/opensips/location ../../script<br>
s//dbtext/opensips/dbaliases ../../scripts//dbtext/opensips/dialog ../../scripts//dbtext/opensips/route_tree ../../scripts//dbt<br>
ext/opensips/pdt ../../scripts//dbtext/opensips/userblacklist ../../scripts//dbtext/opensips/cc_calls ../../scripts//dbtext/ope<br>
nsips/closeddial ../../scripts//dbtext/opensips/carrierroute ../../scripts//dbtext/opensips/missed_calls ../../scripts//dbtext/<br>
opensips/cpl ../../scripts//dbtext/opensips/dr_gateways ../../scripts//dbtext/opensips/rls_watchers ../../scripts//dbtext/opens<br>
ips/imc_members ../../scripts//dbtext/opensips/usr_preferences ../../scripts//dbtext/opensips/rls_presentity ../../scripts//dbt<br>
ext/opensips/cachedb ../../scripts//dbtext/opensips/registrant ../../scripts//dbtext/opensips/acc ../../scripts//dbtext/opensip<br>
s/domainpolicy ../../scripts//dbtext/opensips/b2b_sca ../../scripts//dbtext/opensips/dr_carriers ../../scripts//dbtext/opensips<br>
/dialplan ../../scripts//dbtext/opensips/cc_flows ; do \<br>
        if [ -f $FILE ] ; then \<br>
                touch           $FILE \<br>
                        //dbtext/opensips/<code>basename "$FILE"</code> ; \<br>
                install  -m 644 $FILE \<br>
                        //dbtext/opensips/<code>basename "$FILE"</code> ; \<br>
        fi ;\<br>
done ;\</p>

<p>mkdir: cannot create directory '//opensipsctl': Permission denied<br>
install: cannot create regular file '//opensipsctl/opensipsctl.dbtext': No such file or directory<br>
touch: cannot touch '//opensipsctl/opensipsdbctl.dbtext': No such file or directory<br>
install: target '//opensipsctl/' is not a directory: No such file or directory<br>
mkdir: cannot create directory '//opensipsctl': Permission denied<br>
touch: cannot touch '//opensipsctl/dbtextdb/dbtextdb.py': No such file or directory<br>
install: target '//opensipsctl/dbtextdb/' is not a directory: No such file or directory<br>
mkdir: cannot create directory '//dbtext': Permission denied<br>
touch: cannot touch '//dbtext/opensips/grp': No such file or directory<br>
install: cannot create regular file '//dbtext/opensips/grp': No such file or directory<br>
touch: cannot touch '//dbtext/opensips/globalblacklist': No such file or directory<br>
install: cannot create regular file '//dbtext/opensips/globalblacklist': No such file or directory<br>
touch: cannot touch '//dbtext/opensips/cc_agents': No such file or directory<br>
install: cannot create regular file '//dbtext/opensips/cc_agents': No such file or directory<br>
touch: cannot touch '//dbtext/opensips/speed_dial': No such file or directory<br>
install: cannot create regular file '//dbtext/opensips/speed_dial': No such file or directory<br>
......<br>
......<br>
Makefile:21: recipe for target 'install_module_custom' failed<br>
make[3]: *** [install_module_custom] Error 1<br>
make[3]: Leaving directory '/&lt;&gt;/modules/db_text'</p>

<p>The same happen with db_berkeley, pi_http, db_mysql, db_postgres and perl modules.</p>

<p>it seems that $(modules-prefix)/$(lib-dir) in install_module_custom target are empty but I don't know why is happening.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/785#issuecomment-185941592">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciZ4lm17XVuNqEkVzBP6orGapFcNFks5pljaXgaJpZM4HXby0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/785#issuecomment-185941592"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>