A working combination: JDK 5, Eclipse 3.2, Maven 2
Finally got my development environment setup on the Intel Mac, here's some findings:
1. Eclipse 3.1.2 does not run properly, however 3.2 runs OK. Guess I have to live without some of the handy plugins for a while (JettyLauncher, etc) 2. The setJVM.sh script on macoxhint WORKS. I used it to make maven to use the JDK 1.5 environment. 3. However, even with setJVM.sh, you still can't get Eclipse to compile stuff using JDK 1.5. You have to manually go to the workspace setting -> available JRE config, and the check on the JDK 1.5 option. 4. Maven 2 requires the a block to enable JDK 1.5 compilation, as follows:
1. Open up your horde website. you should be already logged in. By default horde makes everyone as Administrator.
2. Setup->Database Choose your DB driver. If you are using MySQL 5+, beware that you cannot choose the MySQL Improved DB driver in Horde->Setup->Database
save the preference
3. Setup->Authentication Choose SQL Authentication, keep everything else as default.
save the preference then logout. You should now see the horde logon screen (and you cannot logon. don't panic. it's in step 4.)
4. execute the following in mysql shell.
insert into horde_users (user_uid, user_pass) values ('Administrator', md5('password'));
now you should be able to login to horde!
You may then continue with the rest of the configuration.
I need to enable gettext for a PHP application. After doing some research, I tried to add --with-gettext=/sw as ./configure parameter, hoping that it will use the gettext package that fink installed for me. However, it doesn't work. configure was able to find the header file, but complain that the library does not exist.
After some more research, I tried the following:
gcc -L/sw/lib -lintl
and a-ha, it failed. It says that the arch for the lib is ppc, not i386.
So, I guess fink is not working very well with this PPC to Intel transition yet, and I have to to compile everything from scratch!