Re: PHP+Debian+FreeTDS
From: David Quinn (dquinn_removethis_at_presco.co.uk)
Date: 02/19/04
- Next message: Jari: "Re: Image packing"
- Previous message: David Quinn: "Re: PHP+Debian+FreeTDS"
- In reply to: David Quinn: "PHP+Debian+FreeTDS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Feb 2004 16:07:13 +0000
David Quinn wrote:
> I'm switching our intranet server from Redhat 7.3 to Debian Woody. We
> connect to a Microsoft SQL6.5 server and I was using FreeTDS for this
> purpose. I'm new to debian and am getting to grips with apt-get.
>
> I have installed FreeTDS from source on the debian box (because the
> freetds0 package appears to be broken?) but it appears that the default
> php4 installed using 'apt-get install php4' does not support freetds. No
> problem, I thought, I'll compile from source. Using the 'apt-get source
> php4' method shown in the APT HOWTO,I get the source and have modified
> the debian/rules file to include 'with-mssql=/usr/local/freetds' option
> as described in the PHP docs.
>
> When I try to do 'apt-get build-dep php4' I get a message saying that
> 'the package caudium-dev cannot be found'. I'm using apache and caudium
> appears to be an alternative web server. How do I either compile
> without caudium support or find the caudium-dev package?
>
> I've been googling for hours and seem to be going in circles. Every
> method I try to get a working apache/PHP/freetds installation on debian
> seems to hit a brick wall. Has anyone successfully done this and can
> point me in the right direction with a howto link or some tips?
>
> Thanks in Advance
>
> David Quinn
>
>
I managed to fix this problem. If anyone else has the problem and comes
across this thread, the reason was quite simple.
When I installed Debian, I scanned the first two discs for packages and
added the security.debian.org server to the package sources list. What
I didn't do and should have done was add a debian mirror to the list
(/etc/apt/sources.list) as well, in my case :
deb http://ftp.uk.debian.org/debian stable main contrib
Once I'd rebuilt the package list with 'apt-get update', I was able to
build the php source without a problem.
David Quinn
- Next message: Jari: "Re: Image packing"
- Previous message: David Quinn: "Re: PHP+Debian+FreeTDS"
- In reply to: David Quinn: "PHP+Debian+FreeTDS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|