[OpenSIPS-Devel] Issues with making rpm on 1.8

Nick nikbyte at gmail.com
Fri Mar 23 09:50:57 CET 2012


Placed patch in tracker:

https://sourceforge.net/tracker/?func=detail&aid=3510429&group_id=232389&atid=1086412

--
Nick



2012/3/23 Nick <nikbyte at gmail.com>:
> When making rpms, I get this error:
>
> Binary file /root/rpmbuild/BUILDROOT/opensips-1.8.0.8837-1.x86_64/usr/sbin/osipsconfig
> matches
> Found '/root/rpmbuild/BUILDROOT/opensips-1.8.0.8837-1.x86_64' in
> installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.PVYh08 (%install)
>
> Here is a patch:
>
> Index: Makefile
> ===================================================================
> --- Makefile    (revision 8837)
> +++ Makefile    (working copy)
> @@ -440,7 +440,7 @@
>  install: install-app install-console install-modules-all
>
>  opensipsmc: $(cfg-prefix)/$(cfg-dir) $(data-prefix)/$(data-dir)
> -       cd menuconfig;make proper;make
> MENUCONFIG_CFG_PATH=$(data-prefix)/$(data-dir)/menuconfig_templates/
> MENUCONFIG_GEN_PATH=/$(cfg-dir) MENUCONFIG_HAVE_SOURCES=0
> +       cd menuconfig;make proper;make
> MENUCONFIG_CFG_PATH=$(prefix)/$(data-dir)/menuconfig_templates/
> MENUCONFIG_GEN_PATH=/$(cfg-dir) MENUCONFIG_HAVE_SOURCES=0
>         mkdir -p $(data-prefix)/$(data-dir)/menuconfig_templates/
>         cp menuconfig/configs/* $(data-prefix)/$(data-dir)/menuconfig_templates/
>
> --
> Nick



More information about the Devel mailing list