Open wxtrac opened 17 years ago
Issue #1 is resolved. There is no more ANSI build, UNICODE only. Issue #2 should be easily fixed by adding "--disable-shared" to configure option list.
Can we close this one?
Igor, it's about a problem while building shared libraries. Do you really think telling people not to use shared libraries is a good solution it?
P.S. The answer is "no" so the bug is valid. I don't know why exactly are we accessing any shared libraries though (strip?) so someone who uses SeLinux would need to retest this and provide more information about what exactly goes wrong.
Vadim, Replying to [comment:3 vadz]:
Igor, it's about a problem while building shared libraries. Do you really think telling people not to use shared libraries is a good solution it?
To tell you the truth I don't know anything about SeLinux. The comment I made was a suggestion for a workaround since the OP said (s)he had the problem with the shared library. I am running Gentoo and am very happy with it. I do agree that the problem needs to be fixed. Do we have a way to detect which Linux we are running on?
P.S. The answer is "no" so the bug is valid. I don't know why exactly are we accessing any shared libraries though (strip?) so someone who uses SeLinux would need to retest this and provide more information about what exactly goes wrong.
It looks like its possible to find out the status of SELinux by following this. And so it should be possible to change configure/Makefile for wxGTK to fix this issue.
I'm just not qualified to change this pair and submit the patch.
Issue migrated from trac ticket # 4218
component: build | priority: low | keywords: selinux
2007-06-29 17:41:31: ollinger created the issue
I ran into two issue installing wxPython 2.8.4.0 with the options: ../configure --prefix=/usr/local \ --with-gtk \ --enable-unicode \ --with-gnomeprint \ --with-libjpeg \ --with-libtiff \ --with-libpng \ --with-opengl \ --enable-geometry \ --enable-graphics_ctx \ --enable-sound --with-sdl \ --enable-mediactrl \ --enable-display \ --disable-debugreport \ --enable-optimize
The build of wx apparently went well, but when I tried to install wxPython it could not find the correct wx-config file. It had created the file gtk2-ansi-release-2.8. Then I discovered that the setup program was expecting unicode to be enabled. Adding the --enable-unicode command to the configuration command fixed the problem. You might want to make this the default.
The second issue is almost trivial. My workstation is running selinux, which denies access to the shareable object libraries. As you probable know, this can be fixed with "chcon -t texrel_shlib_t" command. I would imagine this problem will or has come up, so you might want to put it in the Makefiles.
Details: I am running scientific linux build 2.6.18-8.1.6.el5PAE on a Pentium processor. Relevant software versions are gcc 3.4.6, gtk version 2.10.10, glib-2.12.12 and Python 2.5.1.
Thanks for making a great package.
John