Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Everytime I upgrade to a new Fedora core I
get round to installing from source wxPython
run into problems. Does anyone have a
foolproof script that doesn't require me
to add *any* options.
./configure
make
make install
cd wxPython
python config.py
python setup.py build
python setup.py install
This never works, doesn't have Unicode
enabled, doesn't seem to remove old failed
installations.
I've started searching for replacements
to wxPython because it's so annoying to get working.
I haven't got unicode, or the extra stc
or whatever weren't installed, or I have
a hundred slightly different shared libraries
hanging around. I don't want to know this
snarfus I just want to get on and program.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
If you really want to install it yourself instead of using a precompiled package: Type "./configure --help" -- there should be many switches you could use like --enable-monolithic or --enable-unicode ... Save your commands in a seperate script file and use it as a build script.
I don't know how to package a RPM file, but you can save the build files in a seperate folder to package them. This way you can install/uninstall better. "python setup.py build install --root=/path/to/package-folder" as an substitution for your last two lines should do this IMHO.
wxPython has too many gimmicks. Compiling
against different python versions. Unicode
or not, widgets to be installed. Monolithic
or not. I'm a end user programmer I need a
standard setup, yum works for my connected
computer, but my offline 'never to be connected'
often cutting edge fedora core needs stability.
Define the standard and have the build scripts
run to that standard, like it used to be!
./configure
make
make install
python setup.py install
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
I had to use "--enable-config" to compile vlc from source, else it complained. The rest I left unchanged (didn't know either how to finetune configure).
Seems wxPython is tied to the version of python.
Even ungrading from 2.4.2 to 2.4.3 will trash
wxPython with segment faults. Have to reinstall
wxGTK or something. Don't know, don't care.
Looking for a different widget set. :-(
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.