10.5: Get TinyCA2 to build under Leopard
Mar 24, '08 07:30:02AM
Contributed by: rrwright
With the advent of 10.5, MacPorts has had to undergo a lot of updates, some of which have been painfully slow in coming. As a freelance security consultant, I *have* to have TinyCA2 working. Unfortunately, the MacPort project to update it for 10.5 took five months before the trouble ticket was finally even assigned to a maintainer. (I suppose these guys have a lot to do.) So here are some workarounds to make it compile under Leopard:
- Edit the files (as root) that are listed in the error output (I had six instances total in four different files) following the command sudo port install tinyca2.
- In those files, delete the ' character (apostrophe) mentioned on the line number indicated, which follows the colon in the error output. (If you use nano to edit the files, press Contrl-C to find the current line number.) These are in commented lines, but for some reason, they still keep the files from being processed.
- cd to the directory mentioned in the error output (probably /opt » local » var » macports » build » _opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tinyca2 » work » tinyca2-0.7.3 » po) and edit (as root) the language file mentioned in the error output. Change anything not important (ie add a space to the end of the file), then save the file.
- Re-run the sudo port install command.
- Edit the new language file mentioned in the error output, and do the same thing again (edit, change inconsequential info, save).
After doing this for four or five of the language translation files, the compiling works, and you should now be able to finish compiling the program. Hopefully the great guys at MacPorts can get this port updated, but until they do, this should get you up and running.
Comments (8)
Mac OS X Hints
http://hints.macworld.com/article.php?story=2008031720250723