[petsc-dev] python2 vs python3 wrt configure

Satish Balay balay at mcs.anl.gov
Thu Oct 24 18:20:04 CDT 2013


On Thu, 24 Oct 2013, Satish Balay wrote:

> On Thu, 24 Oct 2013, Jed Brown wrote:
> 
> > Satish Balay <balay at mcs.anl.gov> writes:
> > 
> > > yeah  its a 'apt-get install python2'. Similar thing with future fedora releases.
> > 
> > So long as you are root and don't mind enabling the repository.
> > 
> > http://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository
> > 
> > > with such isses python creates - no wonder considerable number of
> > > tools still use /bin/sh
> > >
> > > [one doesn't have to change scripts every 10 years so that the correct sh is found]
> > 
> > And trade language "stability" for inconsistent semantics between
> > implementations, especially in the utilities that must be called to do
> > anything.
> > 
> > I think Python is not bad for this stuff.  It's too large to bundle by
> > default.  Note that we can readily support --download-python if at some
> > point, we decide to upgrade, but want to support some fraction of users
> > on antique machines.
> 
> last I checked - building python is not that easy - esp if the
> system is missing packages like -lz or ssl or other stuff
> that some of the modules depend on.

>From what I remember - python build might succeed if libssl is missing
[python configure will work arround it ] - but then --download-package
from petsc configure would fail.

I see the following dependencies listed for fedora python build.

Satish

------------

http://pkgs.fedoraproject.org/cgit/python.git/plain/python.spec

$ grep BuildRequires: python.spec 
BuildRequires: autoconf
BuildRequires: bluez-libs-devel
BuildRequires: bzip2
BuildRequires: bzip2-devel
BuildRequires: expat-devel >= 2.1.0
BuildRequires: findutils
BuildRequires: gcc-c++
BuildRequires: gdbm-devel
BuildRequires: glibc-devel
BuildRequires: gmp-devel
BuildRequires: libdb-devel
BuildRequires: libffi-devel
BuildRequires: libGL-devel
BuildRequires: libX11-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: sqlite-devel
BuildRequires: systemtap-sdt-devel
BuildRequires: tar
BuildRequires: tcl-devel
BuildRequires: tix-devel
BuildRequires: tk-devel
BuildRequires: valgrind-devel
BuildRequires: zlib-devel





More information about the petsc-dev mailing list