PasswordMaker Forums
Other Editions => Other Editions - Help and Support => Topic started by: the salt man on March 30, 2006, 10:51:02 PM
-
howdy,
i recently compiled passwordmaker under os x tiger and i've got some instructions for people trying to do the same. i'm assuming a general familiarity with unix.
1. go to http://mhash.sourceforge.net/ (http://mhash.sourceforge.net/) and grab the mhash source code, install is standard ./configure, make, sudo make install
2. go to the directory where you extracted the passwordmaker source
3. open unix.mak and delete everything on the line after "LFLAGS = " then save it and exit your editor
4. at the command prompt in the directory the source is in type "make -f unix.mak" and hit enter
It should compile everything correctly and leave you with an executable called "passwordmaker"
I confirmed the output of the executable with that from the JS online version.
hope that helps anyone.
if anyone wants the executable drop a line in response
-The Salt Man
-
Hello Salt Man,
I most definitely would like the executable. Can you email it to me? [email protected].
Thanks,
Eric
-
So the stuff in LFLAGS has some issues on OS X? I'll remove it now so that will be fixed in the next version. Also, I plan on having building docs as well.
-
eric: it's on the way, sent the email from duxlax at gmail dot com
miquelfire: yeah i'm fairly certain most of the options passed to ld by that make file are not supported by it, at least not on os x. i'd check the man pages for ld online to figure out whether the standard linux/bsd ld supports the options as well.
also, ideally, the make file should be renamed to just "makefile" so that the user can just enter "make" rather than having to point make to the makefile
sorry about the delay, kinda forgot i posted, i'll try to check more often.
-The Salt Man
-
eric: it's on the way, sent the email from duxlax at gmail dot com
Thanks! I'll try it on my i386 OSX build, although I know it probably won't work unless it's a cross-platform binary. Is it?
kinda forgot i posted, i'll try to check more often.
If you register and "Track This Topic", you'll get email notifications when someone posts a reply to this thread.
Salt Man? Cool name. What's it mean?
-
If you know of a way to allow us to detect the OS being used, I'll think about it. I have to type 'make -f mingw32.mak' everytime I compile the binary for Windows, even if I'm just testing to make it compiles. But having just one makefile would be nice.
-
If you know of a way to allow us to detect the OS being used, I'll think about it. I have to type 'make -f mingw32.mak' everytime I compile the binary for Windows, even if I'm just testing to make it compiles. But having just one makefile would be nice.
autoconf/make would probably deal with that well, unfortuntely i don't really have any experience creating those setups, only editing them a little, and i've heard it's somewhat tricky. if you know anyone with experience creating them they could probably help ya out
only problem might be getting it to work under windows, without needing a cygwin type enviroment to be already in place
-
It doesn't work under Windows without some sort of Unix like enviroment, so autoconf is out.