http://bugs.winehq.org/show_bug.cgi?id=20725
--- Comment #22 from Benjamin Schulz Benjamin_Schulz@gmx.de 2009-12-12 03:37:41 --- before compiling gentoo applies a patch called
* Applying wine-1.1.15-winegcc.patch ...
Then it runs configure with the following settings:
/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --sysconfdir=/etc/wine --with-alsa --without-capi --with-cms --with-cups --with-curses --without-esd --without-fontconfig --without-gnutls --without-gphoto --without-gsm --without-hal --without-jack --without-jpeg --without-ldap --without-mpg123 --without-nas --without-openal --with-opengl --with-openssl --without-oss --with-png --with-pthread --without-sane --disable-tests --with-freetype --disable-win64 --with-x --with-xcomposite --with-xinerama --with-xml --with-xslt
After that, gentoo just it starts make with gcc-4.3.4
The gentoo system does just nothing else than running configure and make and make install. If I would type the same commands I would get the same results.
However, the configure options are important of course, for the result of the compilation. Perhaps this error just happens with some configure options enabled.
That is, if suse starts configure with similar options, the build may also fail. Perhaps it does not fail on your machine, since you made different configure choices.
So this IS in fact an error with wine.
It seems that wine must be configured in some manner before it is compiled when wine should be able to install photoshop.