First time here? Check out the FAQ!
0

Python 2.7.3 modules
 

About to install/compile Python 2.7.3 in parallel with the default 2.4 that came with the system. Are there any specific modules that must be compiled for Askbot to work?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
finid's avatar
123
finid
asked 12 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

see more comments

1 Answer

2

We install the following packages (giving Debian names here, you'll need to look up equivalent names for centos): build-essential git-core libxml2-dev gettext postgresql postgresql-server-devel-all python-setuptools.

Run .configure --enable-shared; make

In the end run make altinstall. Altinstall part is very important so that you keep the system version of python.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

Are postgresql and postgresql-server-devel-all a must? My server is running MySQL

finid's avatar finid (12 years ago)

I signed up to receive emails on this question, but your answer did not trigger that. Are mails being sent to those that sign up for it?

finid's avatar finid (12 years ago)
see more comments