These rpm build problems have been fixed in the trunk, with the exception
of the conditional docs generation for which there is a bug and patch
already, and the popt-devel issue which I will add.
All of these fixes will apper in 2.10.2 hopefully before the month is out.
Thanks for your patch.
--Renier
[EMAIL PROTECTED] wrote on 01/18/2008 08:06:03
AM:
> Hello
>
> I encountered an anomaly while trying to generate rpm in SuSE & RHEL.
>
> ----Generating rpm in SUSE Linux Enterprise Server 10 (x86_64)----
> I encountered the following error while generating rpm in SuSE
>
> /usr/bin/rpmbuild -ba openhpi.spec </dev/null;
> error: Failed build dependencies:
> docbook-utils is needed by openhpi-2.10.1-2.x86_64
> docbook-utils-pdf is needed by openhpi-2.10.1-2.x86_64
> make: *** [rpm] Error 1
>
>
>
> To overcome the above error, I modified configure.ac and openhpi.spec.in
> file to support documents generation as configurable element.
>
> Now I followed the following commands to generate rpm in SuSE
>
> aclocal
> automake --foreign
> autoconf
> autoheader
> ./configure --enable-doc=no
> make rpm
> ..
> ..
>
> This time I encountered the following errors
>
> RPM build errors:
> Installed (but unpackaged) file(s) found:
> /usr/share/doc/openhpi-2.10.1/README
> /usr/share/doc/openhpi-2.10.1/README.daemon
> /usr/share/man/man8/openhpid.8.gz
>
> To overcome the above errors, I made the following changes
> 1. I commented line 101 in Makefile.am (#docs_DATA = README
> README.daemon)
> 2. I added "%{_mandir}/man8/openhpid.8*" line in openhpi.spec.in
> file.
>
>
> With these changes I am able to generate rpm in SuSE using the following
> commands
>
> aclocal
> automake --foreign
> autoconf
> autoheader
> ./configure --enable-doc=no
> make rpm
>
> -------------------------------
> ----Generating rpm in Red Hat Enterprise Linux Server release 5
> (Tikanga)-----
>
> With the above changes I encountered the following error while
> generating rpm in RHEL
>
> /usr/bin/rpmbuild -ba openhpi.spec </dev/null;
> error: Failed build dependencies:
> popt-devel is needed by openhpi-2.10.1-2.x86_64
> make: *** [rpm] Error 1
>
>
> popt-devel rpm is not available for RHEL, so I commented the
> "#BuildRequires: popt-devel" line openhpi.spec.in file
>
> With the above change I am able to generate rpm in RHEL using the
> following commands
>
> aclocal
> automake --foreign
> autoconf
> autoheader
> ./configure
> make rpm
> -------------------------------
>
> Please find the attached patch file with the above changes.
>
> Regards,
> Raja
> [attachment "conf_enable_docs.patch" deleted by Renier
> Morales/Poughkeepsie/IBM]
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel