i compile x11-libs/wxGTK-2.8.9.1-r3 with following USE-flags: USE="X doc gstreamer odbc opengl pch sdl -debug -gnome" Then all applications used wxWidgets not compile. Reproducible: Always Steps to Reproduce: 1. compile x11-libs/wxGTK-2.8.9.1-r3 with USE="X doc gstreamer odbc opengl pch sdl -debug -gnome" 2. compile for example net-ftp/filezilla or app-editors/xmlcopyeditor 3. Actual Results: At first, it says that wx/wx.h and others not found. I resolve this by creating symlink /usr/include/wx -> /usr/include/wx-2.8/wx Then it says not found wx/setup.h. I found it in /usr/lib64/wx/include/gtk2-unicode-release-2.8/wx/setup.h. Then i copy it to /usr/include/wx/. And then: In file included from /usr/include/wx/platform.h:293, from /usr/include/wx/defs.h:21, from /usr/include/wx/wx.h:15, from associatedialog.h:23, from associatedialog.cpp:21: /usr/include/wx/chkconf.h:35:30: error: wx/x11/chkconf.h: no such file or directory /usr/include/wx/chkconf.h:39:32: error: wx/univ/chkconf.h: no such file or directory
Created attachment 177974 [details] app-editors/xmlcopyeditor-1.2.0.2-r1 emerge log & backtrace
Well, I don't see either /usr/include/wx symlink or dir and wxGTK apps build correctly. I suspect it means that there should be no such dir/symlink in the first place (probably due to eselect-wxwidgets), so this bug, as it is now, is most probably invalid. Please provide build.log of the original problem - before you've created that symlink.
I'm using eselect-wxwidgets but it didn't resolve my problem. So i create symlink because all programs cannot found "wx/wx.h". I know that is not bug, because i think it's only my problem but i don't know what i must doing to resolve it. If wxGTK with USE="X" flag not compile "wx/x11/" directory. Abd if you need build log for emerging wxGTK i upload it.
Created attachment 178021 [details] wxGTK build log
No, I was talking about a build.log of any app, that failed to build before you've created those symlinks. I want to see what was the real error, cause your attempts to solve it simply created a smokescreen. I don't have wx/x11/ dir among includes, but apps build just fine.
Created attachment 178039 [details] net-ftp/filezilla-3.2.0 build log
Created attachment 178041 [details] app-editors/xmlcopyeditor-1.2.0.2-r1 build log
Created attachment 178042 [details] app-editors-xmlcopyeditor-1.2.0.2-r1 environment log
Created attachment 178043 [details] emerge --info
In both of the build logs: -I/usr/local/lib/wx/include/x11univ-unicode-debug-static-2.8 -I/usr/local/include/wx-2.8 Do you see the problem here or should I elaborate ? Attach one of the config logs for completion.
xmlcopyeditor associatedialog.h:23:19: error: wx/wx.h: No such file or directory filzilla FileZilla.h:43:19: error: wx/wx.h: no such file or directory Error began from this place. I dont understand what you about. But this is strange i think: # ls /usr/local/lib/wx/include/x11univ-unicode-debug-static-2.8 -al drwxr-xr-x 3 root root 72 Дек 14 11:40 . drwxr-xr-x 3 root root 96 Дек 14 11:40 .. drwxr-xr-x 2 root root 48 Янв 5 02:52 wx # ls /usr/local/lib/wx/include/x11univ-unicode-debug-static-2.8/wx/ -al drwxr-xr-x 2 root root 48 Янв 5 02:52 . drwxr-xr-x 3 root root 72 Дек 14 11:40 ..
OK, looks like I should elaborate after all. There should be no 'local' in those paths. The instance in /usr/local is interfering with the portage installed. Till you remove it, it will stay that way. And as portage doesn't put anything in /usr/local (if it does, it's a bug), it's probably a problem you've created by yourself.
Thanks. Maybe it is saved data from my previous installation wxWidgets by "make" command. Because i not found it in portages (wxwidgets). I did "make uninstall" And i didn't know what i must do to resolve it. It's verry simply to delete this files and now it's works correctly! Thanks very much.