hi, i've followed the steps and have built the python-mysqldb package myself, used 2.3 version, but the mysql connection from web still doesn't work and this is put into the apache log:
[Fri Oct 21 11:38:24 2005] [error] [client 127.0.0.1] (13)Permission denied: cannot read directory for multi: /var/www/ [Fri Oct 21 11:38:24 2005] [notice] mod_python: (Re)importing module 'mod_python.publisher' [Fri Oct 21 11:38:24 2005] [notice] mod_python: (Re)importing module 'test' with path set to '['/var/www/iis']' [Fri Oct 21 11:38:25 2005] [notice] child pid 8881 exit signal Segmentation fault (11) isn't the first line the problem? or perhaps i should rebuild php packages too... Al_ On Thursday 20 of October 2005 15:11, Jonas Meurer wrote: > On 20/10/2005 Ales Kozumplik wrote: > > Sure, I could give it a try. > > I've never done this before - should I rather do that from debian sources > > or from the sources on websites of the projects? > > best is to do it from the debian sources: > > add a deb-src line to /etc/apt/sources.list. for example: > deb-src ftp://ftp2.de.debian.org/debian/ sid main > > now you have to update the apt database and install all build-depends > for python-mysqldb, this needs to be done as root: > > [ update the apt database ] > # apt-get update > > [ install general build packages, needed to build almost every package ] > # apt-get install fakeroot build-essential > > [ install the build-depends for python-mysqldb ] > # apt-get build-dep python-mysqldb > > the package building can be done as normal system user: > > [ get the sources ] > $ apt-get source python-mysqldb > > [ change to the build directory ] > $ cd python-mysqldb-1.2.1c3/ > > [ actually build the package ] > $ dpkg-buildpackage -rfakeroot -us -uc > > if everything went right, you should see the following files in ../ > afterwards: > python-mysqldb_1.2.1c3-2.diff.gz > python-mysqldb_1.2.1c3-2.dsc > python-mysqldb_1.2.1c3-2_all.deb > python-mysqldb_1.2.1c3-2_i386.changes > python-mysqldb_1.2.1c3.orig.tar.gz > python2.2-mysqldb_1.2.1c3-2_i386.deb > python2.3-mysqldb_1.2.1c3-2_i386.deb > python2.4-mysqldb_1.2.1c3-2_i386.deb > > install the appropriative .deb files, and see whether the bug has been > fixed. > > ... > jonas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]