[Mixmaster-devel] Mixmaster on NetBSD/Dreamcast
Brought to you by:
weaselp
|
From: Peter P. <pe...@pa...> - 2002-11-04 21:35:49
|
[I've CCed mixmaster-devel] [Alex tried to build mixmaster 2.9b40 on NetBSD/Dreamcast. Unfortunatly the build failed - see his post to the remailer operators' list: http://freedom.gmsociety.org/pipermail/remops/2002-October/011253.html ] On Mon, 04 Nov 2002, Alex Kirk wrote: > Let me know if you can get that to work, or if you have thoughts on how t= o=20 > fix it. I figure it's the best possible practical use I can think of for= =20 > the box, and it'd be good to get whatever bug fixed anyway.=20 Good news first: it builds. There were in fact several problems. 1.) gmake is broken on your Platform. Our Install script defaults to using "gmake" and then "make". If we use "make" right from the start, it builds nicely. 2.) You do not have the ncurses library installed. You can still build Mixmaster without ncurses - you just don't have the nice menus and stuff. Also Mixmaster without ncurses has seen a lot less testing. It may be insteresting for us to see a Mixmaster without ncurses support in operation; OTOH if you don't want to be our guinea pig just install ncurses and rebuild Mixmaster. (I am celebrating, Len will hate me:) 3.) The default NetBSD OpenSSL does not have (yes Len, you guessed it) IDEA support. As long as you only want to offer Type II (mix) this is no problem at all. If you also want to offer Type I PGP capability you should not offer an RSA key (Mixmaster won't generate one anyway) to stop people still using old PGP 2.6.* versions from sending mail that requires the IDEA cipher. - No problem either, IMO. The Install script needed a bit of tweaking to correctly detect that idea is missing, and to also not use gmake. Here is the patch: [NetBSD has an idea.h, it also compiles nicely. Only on link time the linker tells you that you need to link against the evil (for patented and non-free) crypt_idea, which of course is not installed by default (There might be a package or something, no you don't need it).] --- Install 2002-11-01 20:48:47.000000000 +0100 +++ ../Install-netbsd 2002-11-04 22:31:43.000000000 +0100 @@ -665,10 +661,12 @@ cat <<END >tmptst.c #include <openssl/idea.h> int main() { + void *dummy; + dummy =3D idea_cfb64_encrypt; exit(0); } END - if gcc $INC tmptst.c -c -o /dev/null + if gcc $INC tmptst.c -o /dev/null then DEF=3D"$DEF -DUSE_IDEA" else @@ -705,7 +703,7 @@ =20 =20 echo "Compiling. Please wait." -whereis gmake make +whereis make make=3D$found =20 if [ "$system" =3D win32 ] yours, peter --=20 PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/ |