Andrew, use php4 from stable, testing seems to have an older version than stable. see http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&keywords=php4 stable: php4 4:4.1.2-6 (568.8k) testing: php4 4:4.1.2-4 (567.1k) unstable: php4 4:4.2.3-14 (615.2k)
if you need php 4.2 try those unoffical packages: http://debian.moolfreet.com/ I just installed php4 from there. philipp ----- Original Message ----- From: "Andrew Prior" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, April 29, 2003 4:31 PM Subject: Unable to build php4: conflicting dependancies > Hi, > I've been trying to build php4 from source in the testing distro, and > it's been failing for a while due to (it appears) conflicting build > dependancies. > > ------------------------------- > $ apt-get -b source php4 > Reading Package Lists... Done > Building Dependency Tree... Done > Need to get 3434kB of source archives. > Get:1 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (dsc) [1547B] > Get:2 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (tar) [3347kB] > Get:3 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (diff) [85.6kB] > Fetched 3B in 0s (18B/s) > Skipping unpack of already unpacked source in php4-4.1.2 > dpkg-buildpackage: source package is php4 > dpkg-buildpackage: source version is 4:4.1.2-4 > dpkg-buildpackage: source maintainer is Adam Conrad <[EMAIL PROTECTED]> > dpkg-buildpackage: host architecture is i386 > dpkg-checkbuilddeps: Unmet build dependencies: libgd-dev > dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting. > dpkg-buildpackage: (Use -d flag to override.) > Build command 'cd php4-4.1.2 && dpkg-buildpackage -b -uc' failed. > E: Child process failed > > > % apt-get install libgd-dev > Reading Package Lists... Done > Building Dependency Tree... Done > The following extra packages will be installed: > libgd-noxpm-dev libpng12-0-dev > The following packages will be REMOVED: > libmagick5-dev libpng2-dev libwmf-dev > The following NEW packages will be installed: > libgd-dev libgd-noxpm-dev libpng12-0-dev > 0 packages upgraded, 3 newly installed, 3 to remove and 1 not upgraded. > Need to get 0B/378kB of archives. After unpacking 590kB will be freed. > Do you want to continue? [Y/n] Y > (Reading database ... 90317 files and directories currently installed.) > Removing libmagick5-dev ... > Removing libwmf-dev ... > dpkg: libpng2-dev: dependency problems, but removing anyway as you request: > libquicktime4linux-dev depends on libpng-dev; however: > Package libpng-dev is not installed. > Package libpng2-dev which provides libpng-dev is to be removed. > Removing libpng2-dev ... > Selecting previously deselected package libpng12-0-dev. > (Reading database ... 90230 files and directories currently installed.) > Unpacking libpng12-0-dev (from .../libpng12-0-dev_1.2.5-10_i386.deb) ... > Selecting previously deselected package libgd-noxpm-dev. > Unpacking libgd-noxpm-dev (from .../libgd-noxpm-dev_1.8.4-32_i386.deb) ... > Selecting previously deselected package libgd-dev. > Unpacking libgd-dev (from .../libgd-dev_1.8.4-32_all.deb) ... > Setting up libpng12-0-dev (1.2.5-10) ... > Setting up libgd-noxpm-dev (1.8.4-32) ... > Setting up libgd-dev (1.8.4-32) ... > > $ apt-get -b source php4 > Reading Package Lists... Done > Building Dependency Tree... Done > Need to get 3434kB of source archives. > Get:1 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (dsc) [1547B] > Get:2 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (tar) [3347kB] > Get:3 http://mirror.direct.ca testing/main php4 4:4.1.2-4 (diff) [85.6kB] > Fetched 3B in 0s (18B/s) > Skipping unpack of already unpacked source in php4-4.1.2 > dpkg-buildpackage: source package is php4 > dpkg-buildpackage: source version is 4:4.1.2-4 > dpkg-buildpackage: source maintainer is Adam Conrad <[EMAIL PROTECTED]> > dpkg-buildpackage: host architecture is i386 > dpkg-checkbuilddeps: Unmet build dependencies: libmagick5-dev (>=5.2.0) libpng2-dev > dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting. > dpkg-buildpackage: (Use -d flag to override.) > Build command 'cd php4-4.1.2 && dpkg-buildpackage -b -uc' failed. > E: Child process failed > ------------------------------- > > It appears that libgd-dev and libmagick5-dev conflict with each other and > so can't co-exist, but both are required to build php4. I started trying to > trace where the exact dependancy problem might be, but I'm still not that > familiar with the debian tools and doing it by hand was taking forever. > > Am I missing something here, or is there a real problem? Is this a bug > that needs to be reported? If so, to which package maintainer? > > - Andrew > > -------------------------------------------------------------------------- > Andrew Prior, Programmer (416) 691-1587 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > >

