Re: Corosync RPM build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 02, 2011 at 09:19:46AM +0800, cfk@xxxxxxxxxxx wrote:
> Dear all,
> 
> I want to build corosync 1.3.0 RPM installation file, and my operation sequence is
> 
> tar -zxvf corosync-1.3.0.tar.gz
> cd corosync-1.3.0/
> ./autogen.sh

You shouldn't run ./autogen.sh, the configure script is
already in the tarball.

I just downloaded the tarball and did the following:
$ ./configure
$ make rpm
$ ls x86_64/
corosync-1.3.0-1.fc16.x86_64.rpm
corosynclib-1.3.0-1.fc16.x86_64.rpm
corosync-debuginfo-1.3.0-1.fc16.x86_64.rpm
corosynclib-devel-1.3.0-1.fc16.x86_64.rpm

All works fine for me.

-Angus

> ./configure -prefix=/usr

> make rpm
> 
> However, I got some error message
> ========================================================================================================
> rpmbuild --define "_sourcedir " --define "_specdir " --define "_builddir " --define "_srcrpmdir " --define "_rpmdir " -ba corosync.spec
> error: Macro %_sourcedir has empty body
> error: Macro %_sourcedir has empty body
> error: Macro %_sourcedir has empty body
> error: Macro %_specdir has empty body
> error: Macro %_specdir has empty body
> error: Macro %_builddir has empty body
> error: Macro %_builddir has empty body
> error: Macro %_srcrpmdir has empty body
> error: Macro %_srcrpmdir has empty body
> error: Macro %_rpmdir has empty body
> error: Macro %_rpmdir has empty body
> ========================================================================================================
> 
> It seems that I skip some directory setting at the configure stage, but I cannot find the suitable configuration variable in the “configure” file.
> 
> Could anyone tell me the correct setting?
> 
> Thanks in advance.
> 
> CFK
> Industrial Technology Research Institute.
> Taiwan.
> 
> 
> 
> ====================================================================
> 本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 
> This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.

> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss



[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux