I'm trying to compile the source for Mac OS X, Version 10.5.2 Build 9C7010 (current release). I followed the directions in the Knowledge Base forum (found here which is obviously VERY outdated). Also, I tried using the Search link to find an answer to my problem as well, but it's broken so that was a fail.

I'm assuming we're (still) supposed to use the Makefile.bsd to compile the source. I typed the following in the terminal.

I have an update to the problem. the -lkvm flag is looking for the 'kvm' library. Is there a Kernel-based Virtual Machine for the Mac (Darwin kernel) available? I've done some searching and haven't found anything that's of much use.

I'll be patient. Another question though, on a similar topic. I'm interested in compiling this on the iPhone! I'm guessing that This may be difficult since I doubt you support the ARM processor the iPhone utilizes. Or maybe I'm wrong altogether!

>I'm guessing that This may be difficult since I doubt you support the ARM processor

If you have a GCC toolchain which supports ARM, then the chances are good that this runs with none or minor source code modifications on the iPhone. Give it a shot with the patched and unpatched source as well.

Your Leopard fix did the trick! I hope this patch will be part of the next release, 1.26~ or so.I will do some more research with the GCC Toolchain for ARM and let you know how it goes. Pretty exciting stuff!

I've been running the XMail product for nearly 2 years now on the Win32 platform with little to no problems. It may be the fact that I'm reacquainting myself with the unix filesystem. But as of right now I can't run the XMail server still on OS X.5.

and the build succeeded. After the build I now have the following files in the ~/my_tmp_folder/xmail-1.25/bin directory:

CtrlClnt, MkMachDep, MkUsers, sendmail, XMail, XMCrypt

Great! Now, however, I notice that these executable files are not in the xmail-1.25/MailRoot/bin directory as I know they are required to be. I double checked this by looking at the xmail-1.25/xmail.bsd file to run the program and found XMAIL_ROOT set to /var/MailRoot and deduced that these bin files must be in MailRoot/bin folder. I copied them. Lastly I copied the MailRoot folder from my temporary location to the desired /var directory.

I executed: xmail.bsd start in the Terminal after adding execute permissions (chmod a+r+x xmail.bsd) and the following occurred:

computer_name:xmail-1.25 jdsmith$ ./xmail.bsd start./xmail.bsd: line 24: /etc/rc.subr: No such file or directory

I did a locate rc.subr and have zero results. Apparently it's not available on the Mac. Instead, I tried the same thing with xmail but it didn't do anything. I killed it:

If you decide to run XMail on port 25, then you additionally need to disable Postfix which differs from my howto under Tiger. On Leopard you'll need to enter:sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist