Re: wine 1.1.15: winebuild failed with status 32512

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> or <Peter.Castro@xxxxxxxxxx>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux