From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 0805C791CA for ; Sun, 8 Dec 2019 00:08:21 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id cx19so9685354edb.1 for ; Sun, 08 Dec 2019 00:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3EV3VlmS8qaHWl6+Vg6oWhv7ofCrqAb8UykI+WSYn+8=; b=AxnmHlp9/3XD7kn7g6Vh13bx/2DUGHkYQjwxBd6YTbharAdaFyCVXH9YZNbQwCozlp enl4ZPuowC/5FiZAKjEN+Xe5VlugnfWFBZRb+08vULzEOhwfHSrlL3+yYfBQ0giOWA/B 0G2op/1ZSEJbQVWNlVvIGCt1GOMslqoxkmhp3OS661Hl+MvyFKcZgW/sJjdESYN/pPL0 20oXhFGfiNUZm4n6rkJoyxs6reb8NCOw1D9I/nWkZic+EtImGpVCzhderADTB4d5xST9 bfuwtPdmWl1fahSFQwB4Rv3myvekO9gsfPjKUaIfAQ+7XwO6cugSUG7mmvr6MV+GN0zr r/9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3EV3VlmS8qaHWl6+Vg6oWhv7ofCrqAb8UykI+WSYn+8=; b=nL0hLh6f59Biq5L3kIY8NQBza0J0irD+XxKBAqzX6AH3T0AxacNKFN+o1cTGhgy4td ZtIDdqZqyBI0Gaqo2iQ77aGBdZJstEVqZr+4/3XgExttzDXsXJfWBcymRG9CJvMC/fSS MCQGmSmKCeUck0iNgXkmxP8fXhNDnhTm4WjvOmw+YLncnpJjSSGaLOGXeILmB7pKs8LI vnccEpuI7zZ/OQ+s0Oghsf6Puxj4vzg58EEboraGvMhMaMPzY1NQl8TbG0s21KlsACva rgQSsb2oWzr2BDe8qB2/WKRfKZrnjDZvfE31Ykq/XLvstHHsKd5+dQn/UQHI+aZqYLCa hF9g== X-Gm-Message-State: APjAAAUMbW1rnB2NOIdoI8qq7hNBoS+yH/N0y/0WhKEBwobzj7CYCtjK ve25x41RFKRI8Zg2OEiXBdAzpzB/NKr5ehFsL/Y= X-Google-Smtp-Source: APXvYqyp8t6KZz/1jyaUR7JrRK/oq/ZVYwZ+ZOseMGFuyPf1MHK2weS0KblELDHSqqlEnV9Z6HCTqrDZ7czGHOxjgx8= X-Received: by 2002:a17:906:81cc:: with SMTP id e12mr23900026ejx.317.1575792499532; Sun, 08 Dec 2019 00:08:19 -0800 (PST) X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 References: <20191207171534.GA194728@toaster> <20191107225601.eklhad@comcast.net> In-Reply-To: <20191107225601.eklhad@comcast.net> From: Alfonso Sabato Siciliano Date: Sun, 8 Dec 2019 09:08:08 +0100 Message-ID: Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian To: Karl Dahlke Cc: edbrowse-dev@edbrowse.org Content-Type: multipart/alternative; boundary="0000000000002ca72b05992cc8d9" --0000000000002ca72b05992cc8d9 Content-Type: text/plain; charset="UTF-8" Now it's obvious: my problem (and solution) with FreeBSD and Adam's problem with debian are different; so FreeBSD is off-topc here. Anyway I seem if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") set(TIDY_NAMES tidy5) is a normal solution when an OS manages some different version of a library renaming it. In this specific case, it fixes incompatibility between headers and linked library. Properly: /usr/local/include/tidy/tidy.h and tidy.so are libtidy.0.99 (www/tidy-lib port) while the right is /usr/local/include/tidy.h and tidy5.so (www/tidy-html5 port) cmake finds the correct tidy.h but it cannot find the right ".so" without: set(TIDY_NAMES tidy5), of course a better solution is welcome. Alfonso --0000000000002ca72b05992cc8d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Now it's obvious: my problem (and sol= ution) with FreeBSD and Adam's problem with
debian are different; so= FreeBSD is off-topc here.

Anyway I seem

=C2=A0if (${CMAKE_SY= STEM_NAME} STREQUAL =C2=A0"FreeBSD")
=C2=A0 =C2=A0set(TIDY_NAM= ES tidy5)

is a normal solution when an OS manages some different ver= sion of a library
renaming it.
In this specific case, it fixes incomp= atibility between headers and linked
library. Properly:

/usr/loca= l/include/tidy/tidy.h and tidy.so are libtidy.0.99 (www/tidy-lib port)
<= br>while the right is

/usr/local/include/tidy.h and tidy5.so (www/t= idy-html5 port)

cmake finds the correct tidy.h but it cannot find th= e right ".so" without:
set(TIDY_NAMES tidy5), of course a bet= ter solution is welcome.

Alfonso

--0000000000002ca72b05992cc8d9--