https://bugs.winehq.org/show_bug.cgi?id=37534
Bug ID: 37534 Summary: 1.7.30 ./configure errors to report Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ToddAndMargo@zoho.com Distribution: ---
Hi All,
Scientific Linux 6.5 (RHEL 6.5 clone).
Would your please fix these errors? I have attached my config.log. You will note in the log that it does indeed find libpng.
Many thanks, -T
wine-1.7.30]# ./configure --disable-win64
"configure: WARNING: libxrender 32-bit development files not found, XRender won't be supported."
It is already installed. The "X" is in caps # rpm -qa libXrender | grep -i i686 libXrender-0.9.8-2.1.el6.i686
"configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported."
# rpm -qa *OpenGL* | grep -i i686 perl-OpenGL-0.62-1.el6.i686
"configure: WARNING: libxslt 3/usr/lib/libXrender.so.12-bit development files not found, xslt won't be supported."
# rpm -qa *libxslt* | grep -i i686 libxslt-1.1.26-2.el6_3.1.i686 libxslt-devel-1.1.26-2.el6_3.1.i686
"configure: WARNING: libpng 32-bit development files not found, PNG won't be supported."
# rpm -qa *libpng* | grep -i i686 libpng-devel-1.2.49-1.el6_2.i686 libpng-1.2.49-1.el6_2.i686
"configure: WARNING: No sound system was found. Windows applications will be silent."
VLC works fine (pulse audio output)
https://bugs.winehq.org/show_bug.cgi?id=37534
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de ---
Would your please fix these errors? I have attached my config.log. You will note in the log that it does indeed find libpng.
Most of these issues cannot be fixed in Wine itself, the messages are correct and you are just missing the right packages.
libXrender: You are missing libXrender-devel.
OpenGL: You are missing mesa-libGL-devel (or some equivalent package).
Sound: Pulseaudio is not supported by wine, you are most likely missing alsa-lib-devel. Alsa then redirects the sound to pulseaudio (if you have the right packages installed).
For libxslt / libpng: The detection should work fine, but its impossible to tell whats going wrong in your case without having the full config.log. Please attach it to this bug report. Moreover, please also provide a list of files in the libxslt / libpng package.
https://bugs.winehq.org/show_bug.cgi?id=37534
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Missing build dependencies is not a Wine bug, and bugzilla is not for user support.
You've already started multiple forum threads for this, and have had every single question you posted there answered. Keep this discussion on the forum unless told to file a bug.
https://bugs.winehq.org/show_bug.cgi?id=37534
Todd Chester ToddAndMargo@zoho.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |---
--- Comment #3 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Sebastian Lackner from comment #1)
Would your please fix these errors? I have attached my config.log. You will note in the log that it does indeed find libpng.
Most of these issues cannot be fixed in Wine itself, the messages are correct and you are just missing the right packages.
libXrender: You are missing libXrender-devel.
What makes you think that? $ rpm -qa libXrender-devel | grep -i i686 libXrender-devel-0.9.8-2.1.el6.i686
OpenGL: You are missing mesa-libGL-devel (or some equivalent package).
Indeed I am missing it. Would you please fix the error message so that it states plainly which LibGL is wants. "Yum whatprovies */opengl" lights up with probably 50 choices. Not from the log or any other source did it state "mesa-libGL".
Sound: Pulseaudio is not supported by wine, you are most likely missing alsa-lib-devel. Alsa then redirects the sound to pulseaudio (if you have the right packages installed).
Again indeed. From the error message, how was I suppose to know that. Especially since I have
$ rpm -qa *\wine-alsa* | grep -i i686 wine-alsa-1.6.1-1.el6.i686
installed. Would you please correct the error message?
For libxslt / libpng: The detection should work fine, but its impossible to tell whats going wrong in your case without having the full config.log.
The log I attached is 63084 lines long. There is a longer one? Oh my goodness!
Please attach it to this bug report. Moreover, please also provide a list of files in the libxslt / libpng package.
libxslt: Line 140916:
$ rpm -qa *\libxslt* | grep -i i686 libxslt-1.1.26-2.el6_3.1.i686 libxslt-devel-1.1.26-2.el6_3.1.i686
I am not missing the package. You threw an "-lz" switch that bombed out
configure:10935: libxslt cflags: -I/usr/include/libxml2 configure:10936: libxslt libs: -lxslt -lz -lm -lxml2 ... configure:10957: checking for -lxslt configure:10982: gcc -m32 -o conftest -g -O2 -I/usr/include/libxml2 conftest.c -lxslt -lxslt -lz -lm -lxml2 >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/bin/ld: cannot find -lz <------------------------------------------ collect2: ld returned 1 exit status configure:10982: $? = 1
libpng: Line 19332:
$ rpm -qa *\png* | grep -i i686 libpng-devel-1.2.49-1.el6_2.i686 libpng-1.2.49-1.el6_2.i686
It could not find "lpng". "libpng" was installed. "lpng" comes from "zlib-devel", not "libpng". You reported the wrong package. So you have another reporting error to fix.
configure:12960: checking for -lpng configure:12985: gcc -m32 -o conftest -g -O2 -I/usr/include/libpng12 conftest.c -lpng -lpng12 -lm -lz >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #4 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Rosanne DiMesio from comment #2)
Missing build dependencies is not a Wine bug, and bugzilla is not for user support.
I do apologize for not making myself more clear. My report is for you to fix your reporting on "./configure" so that others WITHOUT INTIMATE KNOWLEDGE OF THE DEVELOPER can wade through and correct the error. And, not have to constantly rely on the charity of other to try and figure what the heck is going on. Also to fix the "-lz" switch error.
You've already started multiple forum threads for this, and have had every single question you posted there answered.
What gives you that idea? 23726 was answered; 23729 and 23730 were not
Keep this discussion on the forum unless told to file a bug.
Again, I do apologize. The purpose of this bug report was to get yo to fix the reporting errors and the "-lz" error. I thought it was clearly apparent that I was reporting bugs here and asking for help over there.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Todd Chester from comment #3)
Indeed I am missing it. Would you please fix the error message so that it states plainly which LibGL is wants. "Yum whatprovies */opengl" lights up with probably 50 choices. Not from the log or any other source did it state "mesa-libGL".
The wine package is built for various different distributions and operating systems. Its not possible to give precise package names for your distribution, because its of cause called differently everywhere. If you ask me, the current names are good enough, and the usual way to track down dependency errors is to look at config.log anyway. Most of ./configure is autogenerated, which makes it difficult/impossible to give precise error messages about what went wrong. Thats what the log file is for.
I am pretty sure that there are existing packages for RHEL or similar distros, why don't you look up the dependency names there, instead of trying to guess them?
The log I attached is 63084 lines long. There is a longer one? Oh my goodness!
You didn't attach any log?!
configure:10935: libxslt cflags: -I/usr/include/libxml2 configure:10936: libxslt libs: -lxslt -lz -lm -lxml2 ... configure:10957: checking for -lxslt configure:10982: gcc -m32 -o conftest -g -O2 -I/usr/include/libxml2 conftest.c -lxslt -lxslt -lz -lm -lxml2 >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/bin/ld: cannot find -lz <------------------------------------------ collect2: ld returned 1 exit status configure:10982: $? = 1
When you already know that its complaining because of missing zlib-devel, why don't you install it?
Again, I do apologize. The purpose of this bug report was to get yo to fix the reporting errors and the "-lz" error. I thought it was clearly apparent that I was reporting bugs here and asking for help over there.
I have to agree with Rosanne, so far I don't see any real bug in here. I've also looked up, and you indeed asked most of these questions also on the forums, but without following the advice (installing zlib development files was also suggested there, for example). If you wanted to open this bug about the general issue that ./configure in some situations reports imprecise error messages, you should have made this more clear from the beginning, to avoid confusion.
For general help how to compile wine the forums or #winehq (on freenode) are more appropriate, it is only a bug in wine when the detection really fails although you have everything installed.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #6 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Sebastian Lackner from comment #1)
libXrender: You are missing libXrender-devel.
No I am not. This is reporting error. Looking at the config.log:
configure:9395: gcc -m32 -o conftest -g -O2 conftest.c -lXext -lX11 >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status configure:9395: $? = 1[/quote]
What was missing was libXext. What in the world does that have to do with libXrender?
And this fixed the issue.
# yum --enablerepo=* install libXext-devel-1.3.2-2.1.el6.i686
Please correct this reporting error to state that libXext is missing and not libXrender.
Many thanks, -T
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #7 from Todd Chester ToddAndMargo@zoho.com ---
The log I attached is 63084 lines long. There is a longer one? Oh my goodness!
You didn't attach any log?!
It said it did, but it is truly gone now. My current config.log has no errors in it, so I can not repost it. (I have it all figured out now, by the way.)
When you already know that its complaining because of missing zlib-devel, why don't you install it?
I did. I am complaining about the bad error reporting. I am not asking how to install it. I am asking for error that actually mean something.
For general help how to compile wine the forums or #winehq (on freenode) are more appropriate, it is only a bug in wine when the detection really fails although you have everything installed.
To reiterate. This bug is about the bad error reporting. Without the charity of others, I would have had to have intimate knowledge only the developers would have had to solve all the problems, which I did.
By the way, without actually solving the error, I would not have been able to report here what the error report said they where and what they actually where.
And, even thought I now have it running right, this bug still stands. It was never about seeking help. Others helped me on the forums, which is where I sought help. Please fix the reporting errors. Make the error report match the actual error.
Many thanks, -T
https://bugs.winehq.org/show_bug.cgi?id=37534
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #8 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Todd Chester from comment #6)
libXrender: You are missing libXrender-devel.
No I am not. This is reporting error. Looking at the config.log:
configure:9395: gcc -m32 -o conftest -g -O2 conftest.c -lXext -lX11 >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status configure:9395: $? = 1[/quote]
What was missing was libXext. What in the world does that have to do with libXrender?
Every X11 extension (which libXrender is) depends on libXext, that's an X11 dependency, not a Wine one. You should report broken package dependencies to your distro, not here. Wine can't and shouldn't detect broken package dependencies. Exactly same applies for a zlib dependency.
IMHO ordinal/not experienced users should not waste their and others people time trying to build wine/kernel/any other non-trivial thing/, there are binary packages for them to install/use.
https://bugs.winehq.org/show_bug.cgi?id=37534
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #10 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Dmitry Timoshkov from comment #8)
Hi Guys,
Me again.
Created these two Red Hat bug reports to help with your *bogus* error messages:
libxslt/libXrender is missing dependency on libXxert https://bugzilla.redhat.com/show_bug.cgi?id=1162848
libpng RPM missing dependency on zlib https://bugzilla.redhat.com/show_bug.cgi?id=1162842
IMHO ordinal/not experienced users should not waste their and others people time trying to build wine/kernel/any other non-trivial thing/,
I do have to disagree. ./configure make make install are and have been "trivial" in the UNIX/Linux world for years and years. It is only "non-trivial" when the config file *IS A MESS* and the authors consider fixing it to be INVALID.
Now as far as your "ordinal" comment: in comment 1, Sebastian stated:
"libXrender: You are missing libXrender-devel."
Sebastian is really good at this stuff and he got totally schnockered. So your bogus error even schnockered the "experts".
Now, you could always reverse the lines in the the config file so that you check for these dependencies first, giving decent error reporting. Probably take you less time than telling me this is an invalid request.
there are binary packages for them to install/use.
In an ideal world yes. Unfortunately, I have to live in the Enterprise Linux world. Things are purposefully out-of-date.
EL6: the latest AND LAST supported edition (by EPEL [extra packages for Enterprise Linux]) of Wine is 1.6.1. It will NEVER be upgraded. 1.6.1 is full of bugs, many of which haunt me. And many have been fixed in 1.7.x but I can't test my bug reports to verify this as I am stuck on 1.6.1
EL7: is 64 bit only and will not run 32 bit Wine. This effective kills Wine on EL7.
So, no, usable "binary packages" do not always exit.
The Enterprise Linux crowd (me included) will need to compile Wine by hand more and more at time goes on.
I am personally compiling 1.7.30 because I am tired of living with the bugs in 1.6.1's RPM. And I can not respond back to the bugs I have reported on it when ask to do so.
Just a comment, if you do the following google search:
https://www.google.com/?gws_rd=ssl#q=configure:+WARNING:+libxslt+3%2Fusr%2Fl...
You will find that your bogus error effect a lot more people than me. Some never figure them out. And from your comments here, I do not believe you even care what trouble it causes other people.
And I suspect, since 1.7.30 will compile under EL 6.5, that EPEL won't upgrade because they find trudging through all the *bogus* errors to be too much of a pain in their necks.
I won't bother reopening this. In the time it would take you all to tell me fixing these *bugus* errors is invalid, you could have reversed the lines in the config file so that the dependencies are checked for first, giving a VALID error message.
Jee Wiz guys!
-T
https://bugs.winehq.org/show_bug.cgi?id=37534
Todd Chester ToddAndMargo@zoho.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |---
--- Comment #11 from Todd Chester ToddAndMargo@zoho.com --- Hi Guys.
Adam Jackson of Red Hat has just chimed in. This is a Wine bug.
"libXrender doesn't link against libXext at all, nor do any of libXrender's header files refer to any of libXext's."
He goes on to prove his point. Would one of our intrepid heroes at Wine please correct this?
Many thanks, -T
https://bugzilla.redhat.com/show_bug.cgi?id=1162848
--- Comment #2 from Adam Jackson ajax@redhat.com --- (In reply to Todd from comment #0)
The error from Wine is a bogus error. Wine's "./configure" was missing "libXext", which libXrender has a dependency. Installing libXext corrected the bogus error.
The bogus error was reported to Wine over on: https://bugs.winehq.org/show_bug.cgi?id=37534#c8
Their response was:
Every X11 extension (which libXrender is) depends on libXext, that's an X11 dependency, not a Wine one.
But that's not true:
hyoscyamine:~% ldd /usr/lib64/libXrender.so.1 linux-vdso.so.1 => (0x00007fff813fc000) libX11.so.6 => /lib64/libX11.so.6 (0x0000003f22e00000) libc.so.6 => /lib64/libc.so.6 (0x0000003f20200000) libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003f22a00000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003f20600000) /lib64/ld-linux-x86-64.so.2 (0x0000003f1fe00000) libXau.so.6 => /lib64/libXau.so.6 (0x0000003f22600000)
libXrender doesn't link against libXext at all, nor do any of libXrender's header files refer to any of libXext's.
The check for libXext appears to come from wine itself, either in the expansion of AC_PATH_XTRA or from WINE_CHECK_SONAME(Xext, ...) in configure.ac. The Fedora (and presumably EPEL if it's there) wine spec file explicitly says BuildRequires: libXext-devel to pull it into the buildroot. It's a shame wine's configure script isn't better about telling you this error, I agree.
Would you please add libXext as a dependency in libxslt/libXrender's RPM?
Neither libxslt nor libXrender actually depend on libXext, so it would be wrong to add it.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #12 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 49971 --> https://bugs.winehq.org/attachment.cgi?id=49971 patch
Something like the attached patch should help. It removes Xrender detection dependency on libXext and adds explicit warning about missing Xext.
Note: 'autoconf' must be executed after applying this patch.
https://bugs.winehq.org/show_bug.cgi?id=37534
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|1.7.17 |1.7.30 Summary|1.7.30 ./configure errors |configure gives incorrect |to report |warning when Xrender can't | |be found due due missing | |libXext Ever confirmed|0 |1 Severity|normal |minor
--- Comment #13 from Dmitry Timoshkov dmitry@baikal.ru --- And confirming.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- Is this patch related? http://source.winehq.org/git/wine.git/commitdiff/60fcafcf048fe426e4bc3e83071...
https://bugs.winehq.org/show_bug.cgi?id=37534
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |60fcafcf048fe426e4bc3e83071 | |2be08d1828729 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Bruno Jesus from comment #14)
Is this patch related? http://source.winehq.org/git/wine.git/commitdiff/ 60fcafcf048fe426e4bc3e830712be08d1828729
Yeah, this could be considered fixed.
https://bugs.winehq.org/show_bug.cgi?id=37534
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|configure gives incorrect |configure gives incorrect |warning when Xrender can't |warning when Xrender can't |be found due due missing |be found due to missing |libXext |libXext
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #16 from Todd Chester ToddAndMargo@zoho.com --- Hi Guys,
While you guys are in there, would you consider the following enhancement:
When you can find the Audio Driver (as in it can't find the Pulse Audio driver):
"configure: WARNING: No sound system was found. Windows applications will be silent."
This is an especially confusing message to see, whilst you listen to music on VLC.
Would mind looking to see if alsa-lib-devel.i686 is installed? And if not, asking for it or making come comment about it?
If you don't mind, I would like you to consider rewriting the error message too:
"configure: WARNING: No sound system was found. If you are using Pulse Audio, please install the alsa-lib-devel package."
Thank you for your consideration.
-T
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Todd Chester from comment #16)
Hi, please open a new bug to talk about that, we have a "one problem per bug" rule to avoid discussing different things in the same report.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #18 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Bruno Jesus from comment #17)
(In reply to Todd Chester from comment #16)
Hi, please open a new bug to talk about that, we have a "one problem per bug" rule to avoid discussing different things in the same report.
Hi Bruno,
Sure will: https://bugs.winehq.org/show_bug.cgi?id=37555
-T
https://bugs.winehq.org/show_bug.cgi?id=37534
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.32.
https://bugs.winehq.org/show_bug.cgi?id=37534
--- Comment #20 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Alexandre Julliard from comment #19)
Closing bugs fixed in 1.7.32.
Very cool. You guys are the greatest! Thank you!