Thanks Dali. Considering alot of that is over my head, I'll be leaving this one.
Thanks for your help guys. Aaron ----- Original Message ----- From: "Dalibor Andzakovic" <[email protected]> To: <[email protected]> Sent: Thursday, April 02, 2009 3:19 PM Subject: [phpug] Re: Installing timezonedb PECL extension It would appear your apt is broke. It's possible that you had a dist-upgrade go wrong on that particular box. Manually installing the .deb should work, but you'll need the gcc toolchain too since there will be conpilation involved. Oh and installing ubuntu debs on a debian box is a sure fire way to b0rk your apt dali ________________________________________ From: [email protected] [[email protected]] On Behalf Of Aaron Cooper [[email protected]] Sent: Thursday, 2 April 2009 2:55 p.m. To: [email protected] Subject: [phpug] Re: Installing timezonedb PECL extension Sorry, this is the thread I mentioned FYI. http://www.uluga.ubuntuforums.org/showthread.php?t=1092699 ----- Original Message ----- From: "Aaron Cooper" <[email protected]> To: <[email protected]> Sent: Thursday, April 02, 2009 2:48 PM Subject: [phpug] Re: Installing timezonedb PECL extension > > It appears to be alot stickier than any one problem to be honest. I found > this thread from someone having precisely the same issue. Seems he was > given > some pretty questionable advice in the end, only making things worse. > > As I said, I used the directions on that blog post on 2 other servers with > zero issues. > > My searches have gleaned nada and I get the feeling it's the sort of issue > only a Sysadmin could fix by actually having access to the server. We will > look at consulting our support providers, but we may just live with > manually > adjusting the timezone to GMT-13 until DST ends, as the problem server in > question should be redundant by the time DST.kicks in again. > > Cheers > Aaron > > ----- Original Message ----- > From: "Chris Hope" <[email protected]> > To: <[email protected]> > Sent: Thursday, April 02, 2009 2:24 PM > Subject: [phpug] Re: Installing timezonedb PECL extension > > > > If you find out the answer to the problem then I'd be interested to > know, and then I can update that blog post for anyone else needing to > install it that has the same issue. > > Cheers, > Chris > > > 2009/4/2 Aaron Cooper <[email protected]>: >> Well, it appears the short answer to this is "dependency hell". I had the >> same issue on another server running the same Distro and everything went >> fine. >> >> But a question for a Debian forum it seems. >> >> ----- Original Message ----- >> From: Stig Manning >> To: [email protected] >> Sent: Thursday, April 02, 2009 9:56 AM >> Subject: [phpug] Re: Installing timezonedb PECL extension >> Hi Aaron, >> >> As far as I know this is the only way of reparing the timezone database. >> Have you tried 'apt-get -f install' to fix the broken dependencies? >> >> I am pretty sure you are going to need phpize (from php5-dev) to get the >> PECL module installed. >> >> Cheers, >> Stig >> >> Aaron Cooper wrote: >> >> Morning, >> >> This relates to PHP 5.2.0.8 on Debian >> >> We've realized a problem where one of our web servers php timezone system >> still has the end of Daylight savings in NZ on the old date (A week >> early) >> and although the server is reporting the correct time, our PHP scripts >> are >> an hour behind. >> >> I found this blog entry about installing the PECL timezonedb module: >> http://www.electrictoolbox.com/correct-php-timezone/. >> >> I have a few problems with this. >> >> First the command "pecl install timezonedb" gives me an error: >> # pecl install timezonedb >> downloading timezonedb-2009.4.tgz ... >> Starting to download timezonedb-2009.4.tgz (191,230 bytes) >> .................done: 191,230 bytes >> 5 source files, building >> running: phpize >> sh: phpize: command not found >> ERROR: `phpize' failed >> I found that this phpize error can be fixed by installing php5-dev. >> However >> the command "apt-get install php5-dev" fails with the following: >> The following packages have unmet dependencies: >> php5-dev: Depends: libssl-dev but it is not going to be installed >> Depends: libtool but it is not going to be installed >> E: Broken packages >> I have tried installing those two packages seperately, however the give a >> similar error that some dependencies are unmet and will not be installed. >> >> Any ideas of an easier method of getting this timezone extension >> installed >> with dependancies? >> >> Cheers >> Aaron >> >> >> >> >> >> > >> > > > > -- > Chris Hope > The Electric Toolbox Ltd > > Email: [email protected] > Web: www.electrictoolbox.com > Phone: +64 9 522 9531 > Mobile: +64 21 866 529 > > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
