[issue17450] Failed to build _sqlite3

2013-03-17 Thread Christina Chan

New submission from Christina Chan:

Tried to install python 2.7.3 on Linux 2.6.18-194.8.1.el5 x86_64 with the 
following steps:-

1. after gunzip, did ./configure in Python-2.7.3 directory
2. make

here is the error I ran into when executing make:-

Python build finished, but the necessary bits to build these modules were not 
found:
bsddb185   dl imageop 
sunaudiodev   
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
_sqlite3  

I looked through the README and history and tried the followings but not 
successful:-

1. yum install libsqlite3-dev or libsqlite3-devel - cannot find either.
2. uncomment the Modules/Setup to build the bsdbb185 but that results in error.

Question:-
1. Is this module _sqlite3 needed? If it is, how to fix this compiler error?

--
components: Installation
files: make_log.txt
messages: 184426
nosy: cchan_95125
priority: normal
severity: normal
status: open
title: Failed to build _sqlite3
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file29436/make_log.txt

___
Python tracker 
<http://bugs.python.org/issue17450>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17450] Failed to build _sqlite3

2013-03-18 Thread Christina Chan

Christina Chan added the comment:

Hi,

I am new to python and I am actually running script developed by others using 
python. So,
In order for the script to use SQLite, does it means that it will have import 
SQLite in the script or how could one tell if SQLite is needed?

For the build dependencies, as the make is successful other than SQLite, does 
it means to execute both yum line and then re-execute make again?

Thanks.

Christina

On Mar 18, 2013, at 3:20 AM, Ezio Melotti  wrote:

> 
> Ezio Melotti added the comment:
> 
> The module is not needed (unless you are planning to use sqlite), so you can 
> simply ignore the warning.  See also 
> http://docs.python.org/devguide/setup.html#build-dependencies.
> 
> --
> nosy: +ezio.melotti
> resolution:  -> invalid
> stage:  -> committed/rejected
> status: open -> closed
> 
> ___
> Python tracker 
> <http://bugs.python.org/issue17450>
> ___

--

___
Python tracker 
<http://bugs.python.org/issue17450>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com