LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2008, 12:22 PM   #31
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52

Did some more digging on the issue.

Here is a diff between 2 python manifest files. One is stock that was built without sqlite on the system and the other was built with sqlite on the system.

Code:
@@ -1594,6 +1594,7 @@
 usr/lib/python2.5/lib-dynload/_multibytecodec.so
 usr/lib/python2.5/lib-dynload/_random.so
 usr/lib/python2.5/lib-dynload/_socket.so
+usr/lib/python2.5/lib-dynload/_sqlite3.so
 usr/lib/python2.5/lib-dynload/_ssl.so
 usr/lib/python2.5/lib-dynload/_struct.so
 usr/lib/python2.5/lib-dynload/_testcapi.so
That's it.... All of the in-house python sqlite files are installed by python regardless of whether the stand alone sqlite package is installed or not except for the file above.

If you opt for the stand alone pysqlite package instead of rebuilding python, then all of pysqlite's files get placed in site-packages.

If you "acidentally" rebuild python with sqlite on the system as well as having the stand alone pysqlite package, it doesn't matter then. There is no file conflict and one of them will be redundant, most likely the stand alone pysqlite package....

So. Do what ever makes you happy...

What I've chosen to do on my own build is to lump pysqlite in with the sqlite package. If I ever rebuild python and it links against sqlite, then so what. The extra site-packages in sqlite really won't bother me. I feel it's better to have a difinitive home for pysqlite than to further complicate my build-order/dependency chain...

I could even add a conditional to the python build script which removes that lone file if sqlite is found on the system. Or just check for the file and remove it period... Theoretically, your right back to a stock python package... I didn't diff the actual packages, just the manifest files. So, Dunno.

Last edited by jong357; 05-16-2008 at 12:39 PM.
 
  


Reply

Tags
nmap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
current state of gui for package managers pbhj Slackware 6 09-12-2006 02:24 AM
Race condition in /etc/rc.d/ with latest -current ? Yalla-One Slackware 1 08-06-2006 02:23 PM
alsa problem after the latest slackware-current update perfect_circle Slackware 8 04-26-2006 02:15 PM
Does -current include latest KDE security patches ?? small_boy22 Slackware 4 06-03-2005 02:09 PM
warning about latest current aaa_elflibs-10.1.0 xushi Slackware 2 01-25-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration