[Mono-dev] Preview builds ignoring config parameters

2010-09-25 Thread Paul F. Johnson
Hi,

I'm attempting to build mono-2.8 for fedora rawhide but keep hitting the
same problem. The build gets to the end and then comes up with 

extracting debug info
from 
/home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so
*** ERROR: No build ID note found
in 
/home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so

Googling around it says if I see this, I need to add to LDFLAGS
--build-id, so my build script now looks like this

export LDFLAGS=$LDFLAGS -Wl,--build-id

%configure --with-ikvm-native=yes --with-jit=yes --with-xen_opt=yes \
   --with-moonlight=yes --with-profile2=yes \
   --with-libgdiplus=installed LDFLAGS=$LDFLAGS -Wl,--build-id
\
%if %{with_mono4}
   --with-profile4=yes
%endif

However, LDFLAGS is being ignored during the configure step (checked
this by looking at the generated Makefile in the root of mono-2.8

How can I fix this problem? It's stopping 2.8 hitting rawhide.

TTFN

Paul
-- 
Vertraue mir, ich weiss, was ich mache...

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Preview builds ignoring config parameters

2010-09-25 Thread Zoltan Varga
Hi,

  Delete i386/usr/lib/mono/2.0/mscorlib.dll.so, its a generated file, and
shouldn't be included
in the final package.

  Zoltan

On Sat, Sep 25, 2010 at 7:06 PM, Paul F. Johnson 
p...@all-the-johnsons.co.uk wrote:

 Hi,

 I'm attempting to build mono-2.8 for fedora rawhide but keep hitting the
 same problem. The build gets to the end and then comes up with

 extracting debug info
 from /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/
 mscorlib.dll.so
 *** ERROR: No build ID note found
 in /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/
 mscorlib.dll.so

 Googling around it says if I see this, I need to add to LDFLAGS
 --build-id, so my build script now looks like this

 export LDFLAGS=$LDFLAGS -Wl,--build-id

 %configure --with-ikvm-native=yes --with-jit=yes --with-xen_opt=yes \
   --with-moonlight=yes --with-profile2=yes \
   --with-libgdiplus=installed LDFLAGS=$LDFLAGS -Wl,--build-id
 \
 %if %{with_mono4}
   --with-profile4=yes
 %endif

 However, LDFLAGS is being ignored during the configure step (checked
 this by looking at the generated Makefile in the root of mono-2.8

 How can I fix this problem? It's stopping 2.8 hitting rawhide.

 TTFN

 Paul
 --
 Vertraue mir, ich weiss, was ich mache...

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list