Ubuntu 10.04 LTS (Lucid Lynx) upgrade problems

I’m seeing garbled display upon reboot at the login screen … also extremely high load averages when idle and logged in through ssh , display seems fine but sluggish using VNC … seems to be related to xorg and nvidia woes as usual …. why oh why can’t linux get this right finally?

Also the new desktop wallpaper looks like a 1995 photoshop lens flare disaster … “did everything just taste purple for a second?”

Update: still having problems at the moment but found some useful info in the ubuntu forums

Update: now i got a flashing boot screen with alternating console output and strobing ubuntu purple screen … booting from the 10.04 live cd doesn’t help either, i can’t get past the first screen which is just a block. this is all made more difficult by the lack of usb support in grub loading screen and somehow i can’t ssh in anymore to tinker with xorg.conf :(

ubuntu 9.10 live cd to the rescue …

Update: Yay! looks like everything is finally working now … i had to boot off 9.10 live cd, install lvm2 so i could mount my old drives, then re-edit grub.conf and delete my xorg.conf. load averages are back to normal and i can ssh & vnc once again now too. :)

installing mozilla raindrop on os x

ok so i thought i would give mozilla raindrop a test … first i wanted to check it out on my laptop and them maybe install it on my ubuntu dev box after reading this article

why not give it a shot on my laptop as well ….

follow their instructions here


    $ hg clone -r 0.1 http://hg.mozilla.org/labs/raindrop
    $ cd raindrop
    $ ./server/python/check-raindrop.py

so after i check out the code and run their test it tells me i’m missing a few things …


$ port search couch
couchdb @0.9.1 (databases)
    CouchDB is a document database server

$ sudo port install couchdb
...
--->  Installing couchdb @0.9.1_0
--->  Activating couchdb @0.9.1_0
########################################################################
# Changes in CouchDB 0.9 make 0.8.1 database files incompatible.
# See http://wiki.apache.org/couchdb/BreakingChanges for details
#
# Run the following command to install the CouchDB launchd
# startup item in order to start and re-start service automatically:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
########################################################################
--->  Cleaning couchdb
$ sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
$ ./raindrop/server/python/check-raindrop.py
ERROR: module 'twisted>=8.2' is missing

now i’m missing twisted … i’m feeling brave so i’ll try to use their configure option …


$ sudo ./server/python/check-raindrop.py --configure
Password:
module 'twisted>=8.2' is missing - attempting easy-install
Searching for twisted>=8.2
...
Processing dependencies for twisted>=8.2
Searching for zope.interface

uh oh looks like it had a problem installing the zope interface …

no luck. ok so lets try and install what’s missing through macports …

well there’s a py26-twisted package …


$ sudo port install py26-zopeinterface
--->  Computing dependencies for py26-zopeinterface
--->  Building py26-zopeinterface
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-zopeinterface/work/zope.interface-3.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: reading manifest file 'src/zope.interface.egg-info/SOURCES.txt'
writing manifest file 'src/zope.interface.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 86, in 
    **extra)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands
    self.run_command(cmd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
    cmd_obj.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
    cmd_obj.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 46, in run
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
    self.build_extension(ext)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 175, in build_extension
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
KeyError: '_zope_interface_coptimizations'

Error: Status 1 encountered during processing.

this breaks because of a few bugs with python 2.6.3 as well as some conflicts with the setuptools vs distribute packages ….

weee …. so still trying to figure out where to go next or maybe just install on ubuntu …

Google Chrome Frame and you

Ok so Google has this plug-in that just came out for IE called “Google Chrome Frame” … kinda silly name, i know. So WTF does it do and why is Google doing this? Obviously MS is not happy about it either.

wave-news

Basically its a plug-in for IE that lets sites opt into using chrome for the rendering engine. This is great since IE is way behind in speed and HTML5 features. At first I wasn’t sure why Google would do this … do they really hate IE that much? Then it became clear. This is their workaround for Google wave which is an html5 app that doesn’t support any version of IE. Well now they can have their cake and eat it too.

For whatever reason people don’t want to switch or can’t switch away from IE or even upgrade for that matter. now there is a bit of light on the horizon for web developers everywhere. while this plugin might not get very wide spread usage it offers us web developers a new option in the way we deliver a web experience to users.

its as simple as adding a single tag to your page


 <meta http-equiv="X-UA-Compatible" content="chrome=1">

how to use it … well its kinda buggy. here are some things i have discovered so far

  • must come close to top of head tag … ?
  • must be added to every page
  • page must not be cached … ?
  • also seems using it in http headers doesn’t work the way the IE7 tag does … ?

more from ppk

snow leopard firewall stealth connection attempts – SHIELDS UP!

have you noticed any weird firewall log messages since installing snow leopard? i keep seeing requests for ports 53(dns), 548(AFP), 88(Kerberos), 80(WWW) from weird ip addresses … strange thing is logs only started showing up since 29th, after installing snow leopard … i’m still not sure how any traffic would get through 2 routers (both with firewalls) and make it to my laptop which is also firewalled.

ok, so is it just me, snow leopard, comcast or am i really being hacked?


9/14/09 1:01:42 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:59043 from 87.98.164.164:53
9/14/09 1:01:42 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:57020 from 64.34.177.159:53
9/14/09 1:01:42 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:54377 from 72.32.93.189:53

^^ keep seeing shit like that in the console log ever since SL , mostly when i’m web browsing
port 53 is dns, but why is it hitting random ports on my laptop?
this has been bugging me now for a while

also how is any traffic making it through 2 firewall/routers subnets? it was a bitch even getting p2p forwarding to my pc without configing both routers … so i don’t see how anything can make it through unless i tell it.

ok i would love not to worry but i get so much log spam from that thing … just opening a link i get all this traffic?


9/14/09 1:10:38 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:58002 from 69.63.176.8:53
9/14/09 1:10:39 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:56387 from 72.21.80.6:53
9/14/09 1:10:40 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:64337 from 67.72.21.11:53
9/14/09 1:10:49 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:53978 from 72.233.69.14:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:56028 from 199.249.112.1:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:52652 from 72.233.69.14:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:50300 from 192.42.93.30:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:50300 from 192.42.93.30:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:51259 from 192.35.51.30:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:51259 from 192.35.51.30:53
9/14/09 1:10:50 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55869 from 192.42.93.30:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:51135 from 91.194.75.162:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:51259 from 192.42.93.30:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:61256 from 192.41.162.30:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:63180 from 192.26.92.30:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:52961 from 204.74.108.253:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55880 from 62.189.48.1:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55880 from 62.189.48.1:53
9/14/09 1:10:51 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:57952 from 192.35.51.30:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:57226 from 64.182.102.188:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:61042 from 192.41.162.30:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55298 from 192.220.125.10:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55915 from 192.33.14.30:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:55915 from 192.33.14.30:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:54666 from 76.74.159.137:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:57169 from 64.207.128.18:53
9/14/09 1:10:52 PM	Firewall[57]	Stealth Mode connection attempt to UDP 192.168.1.130:60405 from 64.207.128.18:53

that’s a bit much for opening 1 url
its almost like a distributed port scanner dns service or something
some of those ip’s are private too which makes even less sense

just what the hell is going on here?

Update: ok i’ve disabled UPnP on my router and some of the log messages have dropped. also switched the main router to use OpenDNS. but i’m still seeing a few weird stealth mode requests ….


9/14/09 2:44:21 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
9/14/09 2:44:24 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
9/14/09 2:44:30 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
9/14/09 2:44:42 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
...
9/14/09 2:45:06 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
9/14/09 2:45:54 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50576 from 208.69.38.150:443
9/14/09 2:49:41 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80
9/14/09 2:49:45 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80
9/14/09 2:49:51 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80
...
9/14/09 2:50:03 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80
...
9/14/09 2:50:27 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80
...
9/14/09 2:51:15 PM	Firewall[57]	Stealth Mode connection attempt to TCP 192.168.1.130:50664 from 76.74.255.125:80

WTF? i really don’t get it …

Update 2: i’m also seeing requests using IPv6 …


9/14/09 4:32:21 PM	Firewall[57]	Stealth Mode connection attempt to TCP ::219:e3ff:fe03:c6f0:52506 from ::21c:b3ff:feb1:4459:548
...
9/14/09 4:32:34 PM	Firewall[57]	Stealth Mode connection attempt to TCP fe80:6::219:e3ff:fe03:c6f0:52488 from fe80:6::21b:63ff:fef5:
...
9/14/09 4:32:34 PM	Firewall[57]	Stealth Mode connection attempt to TCP fe80:6::219:e3ff:fe03:c6f0:52495 from fe80:6::21b:63ff:fef5:
9/14/09 4:32:53 PM	Firewall[57]	Stealth Mode connection attempt to TCP fe80:6::219:e3ff:fe03:c6f0:52505 from fe80:6::21c:b3ff:feb1:
9/14/09 4:32:53 PM	Firewall[57]	Stealth Mode connection attempt to TCP ::219:e3ff:fe03:c6f0:52506 from ::21c:b3ff:feb1:4459:548

os x 10.6 (snow leopard) and macports

so a few glitches upgrading to snow leopard recently.
a couple programs didn’t work and needed to be re-installed (nambu, parallels, etc), a few issues with macports …


$ port --version
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found.  Did find:
	/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture
    while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
    ("package ifneeded Pextlib 1.0" script)
    invoked from within
"package require Pextlib 1.0"
    (file "/opt/local/bin/port" line 40)

also when trying to do a selfupdate …


$ sudo port selfupdate
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found.  Did find:
	/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture
    while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
    ("package ifneeded Pextlib 1.0" script)
    invoked from within
"package require Pextlib 1.0"
    (file "/opt/local/bin/port" line 40)
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found.  Did find:
	/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture
    while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
    ("package ifneeded Pextlib 1.0" script)
    invoked from within
"package require Pextlib 1.0"
    (file "/opt/local/bin/port" line 40)
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found.  Did find:
	/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture
    while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
    ("package ifneeded Pextlib 1.0" script)
    invoked from within
"package require Pextlib 1.0"
    (file "/opt/local/bin/port" line 40)

so we can try to re-install macports from source, should fix our problems …


$ svn co http://svn.macports.org/repository/macports/trunk/base/ macports-svn
...
$ cd macports-svn
$ ./configure && make && sudo make install;
checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking target system type... i386-apple-darwin10.0.0
checking MacPorts version... 1.8.99
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... no
checking Mac OS X version... 10.6
checking Xcode version... 3.1
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Users/pjkix/src/macports-svn':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

even more troubling news …


$ echo $PATH
/opt/local/lib/mysql5/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

ok lets find gcc … apparently we need to re-init locate db in snow leopard as well …


$ locate gcc
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

  sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

looks like its sorta here


$ /Developer/usr/bin/gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)

so even though i can run xcode.app it appears that i must re-install it from the snow leopard disc or install the iphone sdk version from apple …

ok so now we got gcc again … back to macports …


$ which gcc
/usr/bin/gcc
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646)

ok so macports is back working, lots of things out of date … also apache2 has some issues with ssl.

a quick uninstall and re-install fixes this …

need to reinstall ncurses and readline as well as db44, db46 , gawk, libiconv, … basically repeate the following for each that has issues.


$ sudo port -f uninstall ncurses
$ sudo port clean ncurses
$ sudo port install ncurses

if you have a lot of installed mac ports it might be easier to just start from a fresh /opt/local by moving the old files out of the way and re-installing the ports you need.

seem to have problems with libemf, libvorbis as well …

if you see something like the following in the error output, it probably mean a dependancy is installed but needs to be updated first, so you might be able to upgrade it or need to uninstall, clean, re-install which seems to solve the problem


ld: symbol(s) not found

this command might also be usefull if variants are installed but need to be rebuilt first for x86_64


sudo port -fu upgrade --enforce-variants outdated

also a list of macport issues … here http://trac.macports.org/wiki/SnowLeopardProblems and here http://trac.macports.org/wiki/snc/snowleopard. also good info here http://trac.macports.org/wiki/Migration

twitter tools … more good stuff

anyone using twitter needs the following greasmonkey scripts installed right away.

first up is @troynt twitter script.
this adds all sorts of good stuff to twitter ui.

  • groups
  • expand short urls
  • inline media such as twitpic and youtube
  • river of news infinite page scrolling
  • retweet
  • many more enhancemnts

the next up is … Twitter Search Results on Google

this adds real time twitter results to google search results pages. very useful for up to the minute reactions to to the very thing you are searching for. aka the worldwide pulse of your keyword search.

now go forth and enjoy the power of twitter tools

choose your destiny!

impending upgrades loom … which side will you choose?

Windows:

confused?

confused?


Mac:
too easy

too easy

via (marco.org & strelau.net)

40th anniversary of the apollo moon landing

in celebration of the moon landing … coverage from the onion ( http://www.theonion.com/content/node/26247 ) w/video ( http://www.youtube.com/watch?v=dIkHLO93lCA ) and rathergood ( http://www.rathergood.com/moon_song )
also from mr show … blow that shit up! http://www.youtube.com/watch?v=Csj7vMKy4EI
and don’t forget the mighty boosh … http://www.imthemoon.tv/

upgrading to php 5.3 via macports

so i noticed macports already has php 5.3 only a week after its release. so why not give it a try. well here’s what happened ….


Zend Debugger requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Debugger.

PHP Warning:  PHP Startup: apc: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so, 9): image not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20060613/syck.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20060613/syck.so, 9): image not found in Unknown on line 0

looks like we have to upgrade or disable some extensions …

apc, imagick, memcache, syck

ok looking back at the port upgrade output actually just noticed php.ini is changed alot in this release … better use a newer copy …


--->  Uninstalling php5 @5.2.10_1+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy
--->  Installing php5 @5.3.0_0+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy
--->  Activating php5 @5.3.0_0+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy
You may need to update your php.ini for any changes that have been made
in this version of php. Compare /opt/local/etc/php5/php.ini with
/opt/local/etc/php5/php.ini-development (if this is a development server) or
/opt/local/etc/php5/php.ini-production (if this is a production server).

If this is your first install, you need to activate PHP in your web server.

To enable PHP in Apache, run
  cd /opt/local/apache2/modules
  /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so

ok so after backing up current php.ini and then copying the php.ini-development over top php.ini things seem fine.

i had a few issues with imagick and apc since they were installed from pecl and not macports but after removing and reinstalling through macports the problems were solved.

everything appears to be running smoothly.

ant + phpunit + selenium + cruisecontrol + phpundercontrol = end to end testing zen

playing with ant + phpunit + selenium (ide/core/rc) + cruisecontrol + phpundercontrol + capistrano = end to end testing plus continuous integration zen.

lets break it down …

automate builds = ant

testing end to end = phpunit + selenium

self documenting code = phpdoc + uml … (markdown + yaml)?

continuous integration = cruisecontrol + phpundercontrol

automated deploys = capistrano

——

refs:

using this article as a starting point.

http://devzone.zend.com/article/2242-Acceptance-Testing-of-Web-Applications-with-PHP

see also

http://www.phpunit.de/

http://seleniumhq.org/

http://www.phpdoc.org/

http://ant.apache.org/

http://cruisecontrol.sourceforge.net/

http://www.phpundercontrol.org/

http://www.capify.org/

* export git -> svn

* automate build / testing / end to end / continuous integration / automated deploys
ant + phpunit + selenium (rc) + cruisecontrol + phpundercontrol + capistrano = :)

more links ….

http://qualityassuranceinphpprojects.com/archives/13-Continuous-Integration-with-phpUnderControl.html

http://cruisecontrol.sourceforge.net/main/configxml.html

http://phpundercontrol.org/documentation/faq.html

http://www.maxhorvath.com/2008/08/making-phpundercontrol-cruisecontrol-accessible-via-a-proxy.html

http://jira.public.thoughtworks.org/browse/CC-541

http://felix.phpbelgium.be/blog/2009/02/07/setting-up-phpundercontrol/

http://manuel-pichler.de/categories/10-phpundercontrol

http://no-names.biz/2008/06/09/cruisecontrol-and-phpundercontrol-in-debian-etch/