diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-28 01:02:22 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-30 01:37:15 +0100 |
commit | d0e49344e95ef15aa3c9cf17244f47db9cab7136 (patch) | |
tree | bfb2214e9d891fde82f532e1fe6c41ca151aff95 | |
parent | 7c07ae2431668dd92c4417b0f4d3d0a88d4cf9da (diff) |
Extend install instructions for BSD systems
We no longer include /usr/local/include by default, it must be specified
to the configure script.
-rw-r--r-- | doc/install.md | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/doc/install.md b/doc/install.md index 6005a4f1..6bc1ef70 100644 --- a/doc/install.md +++ b/doc/install.md @@ -70,14 +70,34 @@ will be installed under ~/.dillo). ## BSD -Dillo compiles on BSD systems; please report on this anyway, and note -that you'll need GNU make. If your dillo crashes or locks at times, use: +On FreeBSD 14.0 you can install the required dependencies from ports as: ``` -$ ./configure --disable-threaded-dns +$ pkg install -y automake fltk ``` -So dillo uses a single thread for name resolving. +Notice that on BSD systems, some required dependencies like FLTK are +available as ports and are installed in /usr/local (instead of /usr). +Additionally, the compiler won't look for headers or libraries in +/usr/local by default (you can check with $CC -v), however the `$PATH` +may include /usr/local/bin, so the binaries may be available but not the +headers. Some dependencies like FLTK are searched invoking the +`fltk-config` command that inform where to find the headers and +libraries for that package. + +Other libraries are searched by attempting to locate the headers and +libraries directly. By default, the configure script won't look in +non-default paths of the compiler, so to add /usr/local to the search +path, invoke the configure script with the following options: + +``` +$ ./configure CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' +``` + +Note that you'll need GNU make to build Dillo. + +If it crashes or locks at times, use the `--disable-threaded-dns` +option, so Dillo uses a single thread for name resolution. ## Solaris |