create rpm fail on freeswitch-1.2.rc2
hi list i am try to build rpm from source and i get error look like this: /usr/bin/install -c 'scripts/fsxs' '/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/bin/fsxs' mkdir: cannot create directory `/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod': No such file or directory make[3]: *** [install-exec-local] Error 1 make[2]: *** [install-am] Error 2 Making install in src Making install in mod making install mod_abstraction installing mod_abstraction.so /usr/bin/install: cannot create regular file `/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod': No such file or directory make[5]: *** [/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod/mod_abstraction.so] Error 1 make[4]: *** [install] Error 1 make[3]: *** [mod_abstraction-install] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.46706 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.46706 (%install) please help thank you
That's because you are not passing the required variables to the spec file... You should look at it a little closer... This whole process is currently not document On 5/15/12 4:55 AM, "haloha" <haloha201@gmail.com> wrote:
hi list
i am try to build rpm from source and i get error look like this:
/usr/bin/install -c 'scripts/fsxs' '/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/bin/fsxs' mkdir: cannot create directory `/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod': No such file or directory make[3]: *** [install-exec-local] Error 1 make[2]: *** [install-am] Error 2 Making install in src Making install in mod
making install mod_abstraction installing mod_abstraction.so /usr/bin/install: cannot create regular file `/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod': No such file or directory make[5]: *** [/var/tmp/freeswitch-1.2.rc2-%{BUILD_NUMBER}-root-ha/usr/lib/freeswitch/mod/mo d_abstraction.so] Error 1 make[4]: *** [install] Error 1 make[3]: *** [mod_abstraction-install] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.46706 (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.46706 (%install)
please help thank you
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
haloha
-
Ken Rice