comparison doc/manual.tex @ 1161:2ae57fa551be

Update manual with Gian's experience building in OS X
author Adam Chlipala <adamc@hcoop.net>
date Tue, 09 Feb 2010 09:51:21 -0500
parents 277a5db17aa1
children 6c507826fae9
comparison
equal deleted inserted replaced
1160:277a5db17aa1 1161:2ae57fa551be
91 GCCARGS=-fnested-functions ./configure 91 GCCARGS=-fnested-functions ./configure
92 \end{verbatim} 92 \end{verbatim}
93 93
94 Some Mac OS X users have reported needing to use this particular GCCARGS value. 94 Some Mac OS X users have reported needing to use this particular GCCARGS value.
95 95
96 Since the author is still getting a handle on the GNU Autotools that provide the build system, you may need to do some further work to get started, especially in environments with significant differences from Linux (where most testing is done). One OS X user reported needing to run \texttt{./configure} with \texttt{CFLAGS=-I/opt/local/include}, since this directory wound up holding a header file associated with a \texttt{libmhash} package installed via DarwinPorts. 96 Since the author is still getting a handle on the GNU Autotools that provide the build system, you may need to do some further work to get started, especially in environments with significant differences from Linux (where most testing is done). One OS X user reported needing to run \texttt{./configure} with \texttt{CFLAGS=-I/opt/local/include}, since this directory wound up holding a header file associated with a \texttt{libmhash} package installed via DarwinPorts. Further, to get libpq to link, another user reported setting \texttt{GCCARGS="-I/opt/local/include -L/opt/local/lib/postgresql84"}, after creating a symbolic link with \texttt{ln -s /opt/local/include/postgresql84 /opt/local/include/postgresql}.
97 97
98 The Emacs mode can be set to autoload by adding the following to your \texttt{.emacs} file. 98 The Emacs mode can be set to autoload by adding the following to your \texttt{.emacs} file.
99 99
100 \begin{verbatim} 100 \begin{verbatim}
101 (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/urweb-mode") 101 (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/urweb-mode")