When I try to build wine 1.1.15 in Fedora 8 I get this error> sh: i686-redhat-linux-gnu-as: command not found > winebuild: i686-redhat-linux-gnu-as failed with status 32512 > winegcc: ../../tools/winebuild/winebuild failed > make[2]: *** [acledit.dll.so] Error 2 > make[2]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls/acledit' > make[1]: *** [acledit] Error 2 > ../../tools/winegcc/winegcc -b i686-redhat-linux-gnu -B../../tools/winebuild -s hared ./activeds.spec activeds_main.o -o activeds.dll.so -lkernel32 . ./../libs/port/libwine_port.a > sh: i686-redhat-linux-gnu-as: command not found > winebuild: i686-redhat-linux-gnu-as failed with status 32512 > winegcc: ../../tools/winebuild/winebuild failed > make[2]: *** [activeds.dll.so] Error 2 > make[2]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls/activeds' > make[1]: *** [activeds] Error 2 > make[1]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls' > make: *** [dlls] Error 2All previous wine versions are builds without any problems. What can I do to build wine 1.1.15 in Fedora 8?
nucleo wrote:> When I try to build wine 1.1.15 in Fedora 8 I get this error > > Code: > sh: i686-redhat-linux-gnu-as: command not found > > >What your CFLAGS and ./configure options look like?
Peter A. Castro
2009-Feb-14 22:49 UTC
[Wine] wine 1.1.15: winebuild failed with status 32512
On Sat, 14 Feb 2009, nucleo wrote:> When I try to build wine 1.1.15 in Fedora 8 I get this error > >> sh: i686-redhat-linux-gnu-as: command not found >> winebuild: i686-redhat-linux-gnu-as failed with status 32512 >> winegcc: ../../tools/winebuild/winebuild failed >> make[2]: *** [acledit.dll.so] Error 2 >> make[2]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls/acledit' >> make[1]: *** [acledit] Error 2 >> ../../tools/winegcc/winegcc -b i686-redhat-linux-gnu -B../../tools/winebuild -s hared ./activeds.spec activeds_main.o -o activeds.dll.so -lkernel32 . ./../libs/port/libwine_port.a >> sh: i686-redhat-linux-gnu-as: command not found >> winebuild: i686-redhat-linux-gnu-as failed with status 32512 >> winegcc: ../../tools/winebuild/winebuild failed >> make[2]: *** [activeds.dll.so] Error 2 >> make[2]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls/activeds' >> make[1]: *** [activeds] Error 2 >> make[1]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.15/dlls' >> make: *** [dlls] Error 2 > > All previous wine versions are builds without any problems. > What can I do to build wine 1.1.15 in Fedora 8?If you look at the messages more closely it says: sh: i686-redhat-linux-gnu-as: command not found ~~~~~~~~~~~~~~~~~~~~~~~~ If you look earlier in your configure output it probably says it found the 'as' command to be 'as' instead of 'i686-redhat-linux-gnu-as' (because 'i686-redhat-linux-gnu-as' doesn't exist). I've traced this down to tools/winegcc which is constructing various tool commands with the compiler target names (eg: i686-redhat-linux-gnu + as) instead of using what configure discovered for those commands (eg: 'as'). It does this based on the '-b i686-redhat-linux-gnu' argument. This might have some relevency to newer gcc versions which appear to install a full name set for the target compiler commands. My solution was simply to create symlinks for what's missing. Eg: for a target name of "i686-redhat-linux-gnu" do: % su - Password: cd /usr/bin ln -s as i686-redhat-linux-gnu-as ln -s ld i686-redhat-linux-gnu-ld ln -s nm i686-redhat-linux-gnu-nm ln -s ar i686-redhat-linux-gnu-ar ln -s ranlib i686-redhat-linux-gnu-ranlib ln -s strip i686-redhat-linux-gnu-strip ln -s cpp i686-redhat-linux-gnu-cpp Hope that helps. -- Peter A. Castro <doctor at fruitbat.org> or <Peter.Castro at oracle.com> "Cats are just autistic Dogs" -- Dr. Tony Attwood
Thank you, Peter A. Castro Symbolic links helps to build wine. Also it is necessary to make this symbolic link in /usr/bin ln -s gcc i686-redhat-linux-gnu-gcc
nucleo wrote:> + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bin > dir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/wine --disable-static --x-includes=/usr/include --x-libraries=/ > usr/libGet rid of all this crap. The only option you need is "--prefix=/usr".