Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254436 - All programs using wxWidgets not installed. x11-libs/wxGTK-2.8.9.1-r3 with X flag not create wx/x11/ directory and files
Summary: All programs using wxWidgets not installed. x11-libs/wxGTK-2.8.9.1-r3 with X ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 16:41 UTC by Alexey Shildyakov
Modified: 2009-01-12 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-editors/xmlcopyeditor-1.2.0.2-r1 emerge log & backtrace (xmlcopy.log,312.07 KB, text/plain)
2009-01-10 16:42 UTC, Alexey Shildyakov
Details
wxGTK build log (wxGTK.log,1.09 MB, text/plain)
2009-01-11 11:41 UTC, Alexey Shildyakov
Details
net-ftp/filezilla-3.2.0 build log (build.log,40.33 KB, text/plain)
2009-01-11 13:50 UTC, Alexey Shildyakov
Details
app-editors/xmlcopyeditor-1.2.0.2-r1 build log (build.log,60.98 KB, text/plain)
2009-01-11 13:50 UTC, Alexey Shildyakov
Details
app-editors-xmlcopyeditor-1.2.0.2-r1 environment log (environment,88.24 KB, text/plain)
2009-01-11 13:51 UTC, Alexey Shildyakov
Details
emerge --info (info.log,4.49 KB, text/plain)
2009-01-11 13:52 UTC, Alexey Shildyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shildyakov 2009-01-10 16:41:06 UTC
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
Comment 1 Alexey Shildyakov 2009-01-10 16:42:03 UTC
Created attachment 177974 [details]
app-editors/xmlcopyeditor-1.2.0.2-r1 emerge log & backtrace
Comment 2 Rafał Mużyło 2009-01-10 18:40:00 UTC
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.
Comment 3 Alexey Shildyakov 2009-01-11 11:40:40 UTC
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.
Comment 4 Alexey Shildyakov 2009-01-11 11:41:57 UTC
Created attachment 178021 [details]
wxGTK build log
Comment 5 Rafał Mużyło 2009-01-11 12:39:43 UTC
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.
Comment 6 Alexey Shildyakov 2009-01-11 13:50:00 UTC
Created attachment 178039 [details]
net-ftp/filezilla-3.2.0 build log
Comment 7 Alexey Shildyakov 2009-01-11 13:50:45 UTC
Created attachment 178041 [details]
app-editors/xmlcopyeditor-1.2.0.2-r1 build log
Comment 8 Alexey Shildyakov 2009-01-11 13:51:50 UTC
Created attachment 178042 [details]
app-editors-xmlcopyeditor-1.2.0.2-r1 environment log
Comment 9 Alexey Shildyakov 2009-01-11 13:52:32 UTC
Created attachment 178043 [details]
emerge --info
Comment 10 Rafał Mużyło 2009-01-11 14:31:11 UTC
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.
Comment 11 Alexey Shildyakov 2009-01-12 03:56:30 UTC
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 ..
Comment 12 Rafał Mużyło 2009-01-12 12:26:18 UTC
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.
Comment 13 Alexey Shildyakov 2009-01-12 13:11:01 UTC
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.