Re: Configuration fails for wxPython-4.0.0b2 in Python 2.7 virtualenv
Robin Dunn <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Friday, January 19, 2018 at 1:45:23 PM UTC-8, Greg Mosby wrote: > > Hi, > > I've been trying to install wxPython on a Centos 6.9 machine this week. > The first hurdle I had to jump was getting Python 2.7 installed on the > system in a virtual environment as 2.7 was a requirement for this project. > That was straightforward and installed with the instructions here: > https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/ > Did you use the --enable-shared option when building Python? (And also the LDFLAGS -rpath setting mentioned there) IIRC, the last time I saw errors like this the problem was either the lack of the shared library, or unable to find it, or similar. Also, you may have already installed everything you need, but for the record here is how I bootstrap a CentOS 7 vagrant box to prepare it for building wxPython: https://github.com/wxWidgets/Phoenix/blob/master/vagrant/centos-7/bootstrap.sh. The main thing to note is the use of the centos7.iuscommunity.org packages to get non-standard versions of Python installed. I haven't checked but they may have CentOS 6 support and ready-made Python 2.7 packages that you can install. -- Robin Dunn Software Craftsman http://wxPython.org -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.