[OpenSIPS-Users] opensips_head bug in Makefile
Helmut Kuper
helmut.kuper at ewetel.de
Mon Nov 3 16:02:44 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I downloaded and compiled opensips head today. During installing I got a
permission denied:
sed -e
"s#/usr/.*lib/opensips/modules/#/opt/app/voip/location/lib64/opensips/modules/#g"
\
< etc/opensips.cfg >
/opt/app/voip/location/etc/opensips/opensips.cfg.sample0
/bin/sh: /opt/app/voip/location/etc/opensips/opensips.cfg.sample0:
Permission denied
make: *** [install-cfg] Error 1
I found that in opensips 1.4 Makefiles the file persissions were set to
644
chmod 644 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
In opensips 1.5 Makefile around line 471 it is set to 500 ...
chmod 500 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
chmod 500 $(cfg-prefix)/$(cfg-dir)
5 means: read and execution, but not write access for owner.
I changed that two lines to this:
chmod 644 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
#chmod 500 $(cfg-prefix)/$(cfg-dir)
Then "make PREFIX=... install" works.
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkPEpQACgkQ4tZeNddg3dxDqgCfTdHK/GIrp6aE2wGuRgsa7x+V
oGYAoKTvA4uSRZB2b/k9eLPQP8nPZ+xh
=Ibt9
-----END PGP SIGNATURE-----
More information about the Users
mailing list