you need RedHat 6.x emulation, this comes bundled with FreeBSD 4.0 or you can add it into 3.4, but i've lost the link, and i never did get that working anyway. i've been using 4.0 and it works.
this probably depends on your installation of apache, but i installed apache by going to /usr/ports/www/apache13 and typing 'make install'. if you installed it the same way i did, follow the following directions, if you installed it in another way, or in another path, you're on your own on this part.
1) ln -s /usr/local/libexec/apache /usr/local/sbin/libexec
2) when coldfusion asks you where you have apache installed, type in /usr/local/sbin
the preceding instructions are related to the fact that Apache installs to /usr/local/apache and the modules live in /usr/local/apache/libexec. the ports version of apache installs the old traitional way.
run cfinstall, if the last lines look like the following, it failed:
Initializing ColdFusion Settings... Error: performing semget() on ColdFusion Registry semaphore:File exists Abort trap ERROR: Unable to initialize the Cold Fusion settings. ERROR: Aborting installation.if this happens, run ipcs, and delete the sem and mem that coldfusion has created with ipcrm. re-run cfinstall and it should work.
if the last lines look like this
starting ColdFusion servers... Error: performing semget() on ColdFusion Registry semaphore:File exists Abort trap - core dumped ERROR: Start script did not return success ERROR: ColdFusion servers NOT running.use ipcs and ipcrm to remove the shared stuff and run install_dir/coldfusion/bin/start. it will complain that the evaluation has expired. you now have a running coldfusion server, only with a broken license.
License Update:
John Straiton has come up with a hacked workedaround for the license problem. It isn't the ideal solutions, but it seems to get us closer to working than before, here is his email.