When I tried to emerge openmotif 2.2.3, I was able to see in the configure step an warning from autoconf that X11/Xmu/Editres.h is present but cannot be compiled. Autoconf checks for the existence of this file with: AC_CHECK_HEADERS(X11/Xmu/Editres.h. ... Reproducible: Always Steps to Reproduce: 1. Emerge xorg-x11 6.8.2 2. Try to emerge openmotif 2.2.3 3. Actual Results: As a result, the libXm.so will not link agains libXmu.so. I think this problem can be solved in two ways: 1. Someone to write a specialized M4 macro in autoconf to check the existnce of Editres.h file (I'm not so experienced with M4 macros, so I can't write it myself :( ) 2. Inside the Editres.h file, put an include to X11/Xmu/Xmu.h.
spyderous: any idea? bug 82084 seems related
Got following here on amd64: ... checking for IceConnectionNumber in -lICE... yes checking whether libXt was compiled with -DXTHREADS... yes checking X11/Xmu/Editres.h usability... no checking X11/Xmu/Editres.h presence... yes configure: WARNING: X11/Xmu/Editres.h: present but cannot be compiled configure: WARNING: X11/Xmu/Editres.h: check for missing prerequisite headers? configure: WARNING: X11/Xmu/Editres.h: see the Autoconf documentation configure: WARNING: X11/Xmu/Editres.h: section "Present But Cannot Be Compiled" configure: WARNING: X11/Xmu/Editres.h: proceeding with the preprocessor's resultconfigure: WARNING: X11/Xmu/Editres.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for X11/Xmu/Editres.h... yes ... Maybe this gives a hit. emerge was then succesful here...
No ideas offhand. Maybe I can do some searching around later. Perhaps reporter could paste config.log
Same happens on x86 as in comment# 2 (for amd64). Finnaly, openmotif does compile, but does not append the "-lXmu" to "dependency_libs" in libXm.la. At the first, I tought that this causes nedit fail to link, but then I found out that nedit does not use libtool anyway, so I had to explicitely add -lXmu to its library list in Makefile.linux (of nedit) and solved my original problem. Anyway, as I told, to fix this in openmotif I made a modification in X11/Xmu/Editres.h file, including the X11/Xmu/Xmu.h somewhere at the begining of the file. That made it compile and autoconf did not complain anymore. But I do not think this is the right way to fix it! I do think that a more appropriate approach would be to write a special M4 macro for autoconf that checks the existence and usability of Editres.h file. Unfortunately I do not know good enough M4 language to write it myself :(
*** Bug 82084 has been marked as a duplicate of this bug. ***
still a problem?
The warnings in comment 2 are still in opnemotif-2.2.3-r3 Otherwise it emerges fine, as before ...
*** Bug 257612 has been marked as a duplicate of this bug. ***
Reopening.
Created attachment 180953 [details, diff] openmotif-2.3.1-ac-editres.patch Diego, does attached patch fix the issue for you?
I cannot test it right now but I'd expect it to.
(In reply to comment #12) > I cannot test it right now but I'd expect it to. Fixed in CVS and reported upstream: <http://bugs.motifzone.net/show_bug.cgi?id=1475> Thanks to everybody, and apologies that it took us four years to fix this bug.
*** Bug 257614 has been marked as a duplicate of this bug. ***