Re: [ewg] Compiling OFED 1.3 on Gentoo

2008-05-15 Thread Sasha Khapyorsky
Hi Olga,

On 17:18 Mon 12 May , Olga Shern wrote:
> 
> We are trying to compile OFED 1.3 on Gentoo and see the following error,



> But if I install source RPM file and then running 'rpmbuild -ba
> libibcommon.spec' then I can build RPM, so only rpmbuild --rebuild
> command causing to problems.

Basically Gentoo doesn't use RPM as package manager, but builds packages
from sources using portage/emerge stuff. So it is nice that it builds
somehow. As another workaround rpm2targz probably can be used too. Of
course better would be to have native *.ebuild files.

> Have someone succeeded to build OFED 1.3 on Gentoo?

I'm using Gentoo as my workstation, don't do RPMs there however.

Sasha
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] Compiling OFED 1.3 on Gentoo

2008-05-12 Thread Olga Shern
Hi,

 

We are trying to compile OFED 1.3 on Gentoo and see the following error,

 

Build falls on libibcommon library with the error bellow.

 

Running  rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir'

--define 'dist ' --target i386 --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr'
/tmp/OFED-1.3/SRPMS/libibcommon-1.0.8-1.ofed1.3.src.rpm

error: Macro %dist has empty body

error: Macro %dist has empty body

sh: line 0: fg: no job control

error: Failed build dependencies:

 is needed by libibcommon-1.0.8-1.ofed1.3.src Installing
/tmp/OFED-1.3/SRPMS/libibcommon-1.0.8-1.ofed1.3.src.rpm

Building target platforms: i386

Building for target i386

 

There is a strange space under 'error:' line, before 'is needed by
libibcommon-1.0.8-1.ofed1.3.src'

 

But if I install source RPM file and then running 'rpmbuild -ba
libibcommon.spec' then I can build RPM, so only rpmbuild --rebuild
command causing to problems.

 

Have someone seen this error before?

Have someone succeeded to build OFED 1.3 on Gentoo?

 

Thanks

Olga 

 

 

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg