[issue17450] Failed to build _sqlite3

2013-03-18 Thread R. David Murray

R. David Murray added the comment:

If you run the script using the python you built and it uses sqlite, then it 
will raise an ImportError for sqlite.  So just try it.

If you do need it, then yes you would need to get the appropriate -develop 
packages installed and then re-run the make.

If you are using yum, there's a decent chance you could just install a 
python2.7.3 binary via yum that would already have sqlite compiled for your 
system.

You will probably find it more useful to post to the python-list mailing list 
with your questions. The bug tracker is for reporting bugs in python and has a 
limited number of people watching/responding to it; so, you are more likely to 
get speedy help, and help in dealing with things on your specific platform, 
from the many people who read the mailing list.

--
nosy: +r.david.murray

___
Python tracker 

___
___
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 
> 
> ___

--

___
Python tracker 

___
___
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 Ezio Melotti

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 

___
___
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-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 

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