Compiling gdbm-1.8.3 on OSX

Well, I’m very proud of myself… after having downloaded the source code for gdbm (needed to build the Rhyming Dictionary, @freshmeat), I received an error during installation:

/usr/bin/install -c -m 644 -o bin -g bin gdbm.h \
/usr/local/include/gdbm.h
install: bin: Invalid argument
make: *** [install] Error 67

So a quick look inside the makefile and some fiddling around later, I got everything working! All you have to do is change the BINOWN and BINGRP values from bin to the following:

# File ownership and group
BINOWN = root
BINGRP = wheel

Works like a charm!
Yayyyy!
Now time to install the rest of the dictionary…

Alright, problem number 2 came when doing “make install” for the rhyming dictionary itself:

install –mode=755 rhyme /usr/local/bin
install: illegal option — -

Is this just the result of Rhyme not using autoconf? Anyways, I went into the makefile and edited the lines under “install: all” from install –mode=755 rhyme $(BINPATH) to install -m 755 rhyme $(BINPATH)
Worked again! I’m on a rollll!

0 Responses to “Compiling gdbm-1.8.3 on OSX”


  1. No Comments

Leave a Reply






FireStats icon Powered by FireStats