Em 29-04-2014 12:04, Bruce Dubbs escreveu: > Fernando de Oliveira wrote: >> Now, how I solved from a completely different machine/archtecture. >> >> Re: >> https://github.com/HandBrake/HandBrake/blob/master/contrib/lame/P00-darwin-xmmintrin.patch >> >> >> I adapted that patch to lame-3.99.5-gcc_4_9_0_i686_fix-1.patch: >> >> {{{ >> --- lame-3.99.5.orig/configure 2012-02-28 15:54:37.000000000 -0300 >> +++ lame-3.99.5/configure 2014-04-29 11:15:10.118691341 -0300 >> @@ -11913,6 +11913,15 @@ >> >> fi >> >> +case $host_cpu in >> +i686*) >> + check_xmmintrin= >> + ;; >> +*) >> + check_xmmintrin="xmmintrin.h" >> + ;; >> +esac >> + >> for ac_header in \ >> errno.h \ >> fcntl.h \ >> @@ -11922,7 +11931,7 @@ >> sys/soundcard.h \ >> sys/time.h \ >> unistd.h \ >> - xmmintrin.h \ >> + $check_xmmintrin \ >> linux/soundcard.h >> do : >> as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` >> }}} >> >> Then it finished make successfully. Not yet tested. >> >> Is that patch fine to be included, or would be dangerous for other >> architectures? > > I'm glad you cane up with a solution. What I'd recommend is to just > make the simple change: > >> - xmmintrin.h \ > > And put instructions in the book to only apply that for i686 systems. > It probably can be done with a sed.
Of course. Thanks. Actually, before trying to use a patch I onle edited and removed the offending line. But I don't know why, I did not thought about an sed, was worried about how to differentiate the architectures (doh!). But more trouble has just appeared, this time with gst-plugins-base-1.2.4. Just clarify.: I have ready an update to vte and am trying to arrive to the point of updating gnome-terminal. For this one, either I disable nautilus, or build it forst, and this is my choice, for completeness sake. Nautilus has some dependencies, and in the chain, I arrive to gstreamer. So, if I install gstreamer, I will also install the plugins, building gst-plugins-base just failed. But this is another thread, will post if I cannot fix. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
