TS Hell, GTK Hell, Holy Rain Batman!
Who needs sleep? L&Y had massive problems with their TS last weeks. They have been having issue for quite some time, but it came to a head last week. AJ was drowning, and asked me for help. Se we didn't sleep for a few days. We were doing everything. Power, Internet, Memory, Hardware. round in circles for hours. The server would just reboot itself randomly. And after changing some things, we got it to the point where opening Word and printing with 2 simultaneous users would reboot the server. Neat. Kris, and Kevin came in the morning, we finally got things up again at 11:11 A.M. Ended up rebuilding the original server, and switched the drive rack with the new one (from the sister server rebuilt), and everything seemed to work. I suspect a bad controller on the mobo, or the mobo itself. meh ... lets not speak of this again.
For another client I have been building an installer for the linux desktop to run their offline application. It is written in PHP using PHP-GTK to launch the interface. php-gtk has to be compiled from source. No packages are available. I thought I would be smart and just apt-get install the needed dependencies and away we go. Worked fine on my Edgy box, and feisty. turns out the test machine we received is debian sarge. no go. It could not install gtk from apt. So I went ... alright we'll just compile that from source as well. i was hoping to avoid compiling everything from source, and here is why.
COMPILING GTK IS SCREWED! OMG!!!!!!!!!!!
I went through dependency hell to get it all to compile. GTK requires glib, and ciaro, and libjpeg, libpng, libtiff, and to compile cairo you need a font engine, so freetype and fontconfig from source, which require libaml, and before glib we need pkgconfig, and gettext ... oh and I forgot about atk. What a gong show. So 7 hours later, I got it to compile everything from source, on a clean installation. So I figure I am good. The next I go to try it on the test box, and find out libx11-dev can not be installed due to some messed up sarge deb dependencies. I give up ... If I can not have a build environment for X11, no point in continuing ... so I need to speak with some other people at this client, and find out what is going on.
Last night we had a torrential rain storm. Lots of lightning, and flooding. Knocked out tons of lights and roadways. Like 3 inches of rain in less than an hour. I got trapped at the office for 2 hours. I was scared driving. Wipers on high, and I couldn't see a thing. On my way home I took a back road to avoid the traffic jam. went through a puddle, deeper, deeper, deeper, road takes a dip and holy crap water up over the hood to the windshield! thank god my car did not stall out. I would have been fucked. Breakfast is cancelled this morning, and roads and lights are still out all over the city. The Internet is filled with havoc right now, and the storm knocked out our major Internet feed. My phone woke me up in the middle of the night. bah ... such is mother nature.