[Freeswitch-users] create rpm fail on freeswitch-1.2.rc2

Ken Rice krice at freeswitch.org
Tue May 15 17:04:45 MSD 2012


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list