The most fun was looking at
shuffle-list.shuffle-list.port selfupdate, and updated a few ports, then spent four hours underwater dealing with things that suddenly stopped working: php5 fatal error call to undefined function mysql_connectMaking sure I had the following installed (with options I needed) fixed the error above.mysql5-server 5.1.42_0 (was already OK)php5 5.3.1_1+apache2+darwin_10+fastcgi+macosx+mysql5+postgresql83+sqlitephp5-mysql 5.3.1_2+mysqlndphp_info(), but then I got another error: mysql_connect() [function.mysql-connect]: [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock)After some investigation, I created a php.ini file:$ sudo cp /opt/local/etc/php5/php.ini{-development,}
$ sudo chown username /opt/local/etc/php5/php.iniEdited php.ini:< mysql.default_socket =(I have a memory of having done something like this before, but apparently I had to do it again.)
--
> mysql.default_socket = /opt/local/var/run/mysql5/mysqld.sock
mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected.The Google helpfully led me to this stackoverflowanswer (why didn't I think of that first?!), and the answer was a total surprise. Happily, after the final fix, everything is working again:
mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in ...
mysql> select Length(`Password`), Substring(`Password`,1,1)Now that a good chunk of my "free day" has been used up, I think I'm going outside for some fresh air.
from `mysql`.`user` where `user` = 'username';
+--------------------+---------------------------+
| Length(`Password`) | Substring(`Password`,1,1) |
+--------------------+---------------------------+
| 16 | 3 |
| 16 | 3 |
| 0 | |
+--------------------+---------------------------+
3 rows in set (0.07 sec)
mysql> set password for 'username'@'localhost' = PASSWORD('password');
Query OK, 0 rows affected (0.00 sec)
mysql> select Length(`Password`), Substring(`Password`,1,1)
from `mysql`.`user` where `user` = 'username';
+--------------------+---------------------------+
| Length(`Password`) | Substring(`Password`,1,1) |
+--------------------+---------------------------+
| 41 | * |
| 16 | 3 |
| 0 | |
+--------------------+---------------------------+
3 rows in set (0.00 sec)
ghc-6.12.1 on Novell SUSE GNU/Linux, make install may fail with the message:ghc.mk:95: Extraneous text after `else' directive
ghc.mk:96: Extraneous text after `else' directive
ghc.mk:96: *** only one `else' per conditional. Stop
make version 3.81.
$ curl -O http://effbot.org/downloads/Imaging-1.1.6.tar.gz
$ tar zxf Imaging-1.1.6.tar.gz
$ sudo bash
# cd Imaging-1.1.6
# export ARCHFLAGS="-arch i686"
# export CFLAGS="-arch i686"
# python setup.py build
# python setup.py install
# exit
Now along comes this ACM TechNews article, referencing Prof. Keith Decker's work on loosely coupled distributed autonomous systems. See also the Univ. of Delaware press release. I'm very glad to see that Prof. Decker is specifically working to improve the ability of organizations to adapt their plans successfully to real-time events (such as Katrina) and constraints (e.g., bureaucracy and physical limitations).
$ ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directoryI figured out what was wrong today (5/22):
I had this in my ~/.bash_profile from some much earlier Java installation:export LD_ASSUME_KERNEL=2.2.5
I commented out that line with LD_ASSUME_KERNEL, which apparently is no longer supported, and that fixed everything.