Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Get TinyCA2 to build under Leopard UNIX
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.
    •    
  • Currently 1.78 / 5
  You rated: 2 / 5 (9 votes cast)
 
[7,608 views]  

10.5: Get TinyCA2 to build under Leopard | 8 comments | Create New Account
Click here to return to the '10.5: Get TinyCA2 to build under Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Get TinyCA2 to build under Leopard
Authored by: abotsis on Mar 24, '08 10:53:24AM

Last I checked, OSX ships with openssl...?



[ Reply to This | # ]
10.5: Get TinyCA2 to build under Leopard
Authored by: rrwright on Mar 28, '08 11:28:36AM

Which is why TinyCA2 can even function. But OpenSSL is not TinyCA2--especially when you're managing several hundred CAs.



[ Reply to This | # ]
TinyCA2 alternative built into the Mac OS?
Authored by: njpomeroy on Mar 24, '08 11:00:19AM

I'm sure there are plenty of things that TinyCA2 does; I just wonder how many of them are different from Keychain Access' Certificate Assistant (create or modify CA for yourself and others).

1. Launch Keychain Access
2. Keychain Access menu > Certificate Assistant
3. Choose "Open" or if the menu mentions what you want to do, choose it.



[ Reply to This | # ]
TinyCA2 alternative built into the Mac OS?
Authored by: rrwright on Mar 28, '08 11:31:34AM

Can't do 4096 bit keys with Keychain Access. And it's not as good for managing CAs, only for creating certificates.



[ Reply to This | # ]
You can also use..
Authored by: hexghost on Mar 24, '08 11:50:03AM
SimpleAuthority: http://simpleauthority.com/

It's a Java program so you don't need to install any ports or anything like that.

[ Reply to This | # ]
10.5: Get TinyCA2 to build under Leopard
Authored by: mdwoernhard on Mar 25, '08 05:55:08AM
Hi Ryan I don't get TinyCA2 to compile either, but struggle at your instruction "in those files, delete the ' character (apostrophe) mentioned on the line number indicated". When running sudo port install tinyca2 I simply get the error message
Command output: msgmerge -vU de.po tinyca2.pot
.............................................
Read 1 old + 1 reference, merged 441, fuzzied 0, missing 0, obsolete 1.
msgmerge: `de.po': No such file or directory
make: *** [de.po] Error 1

Error: Status 1 encountered during processing.
... no line numbers here. I get this error on multiple Macs with MacPorts. Any advice?

[ Reply to This | # ]
10.5: Get TinyCA2 to build under Leopard
Authored by: rrwright on Mar 27, '08 02:56:44PM

for whatever reason, you're getting past the apostrophe errors I was getting. So you should be able to move past that step and start on the language files.



[ Reply to This | # ]
10.5: Get TinyCA2 to build under Leopard
Authored by: ryandesign on Jul 28, '09 09:35:33PM
This is a bug in gettext which affects Leopard and possibly later versions of Mac OS X, and which will be fixed in gettext 0.18. See gettext bug report 26149 for more information including a workaround:

https://savannah.gnu.org/bugs/index.php?26149

[ Reply to This | # ]