FreeBSD not supported

Discussion in 'Other Support: MacOSX, FreeBSD etc' started by Chris., Feb 5, 2014.

  1. Chris.

    Chris. Guest

    I've spent the last couple of days attemting to build, and install OpenLiteSpeed. Sadly ./configure fails to find the installed copy of pcre. In my attempts, I tried all versions starting from 1.2.9, all the way to version 1.0.4. Each failed during the ./configure process. All the prerequisites are already installed on my system. For clarity, following are the details, in hopes that OpenLiteSpeed development can correct this, or perhaps provide some suggestions.
    gcc version:
    Using built-in specs.
    Target: amd64-undermydesk-freebsd
    Configured with: FreeBSD/amd64 system compiler
    Thread model: posix
    gcc version 4.2.1 20070831 patched [FreeBSD]
    autoconf 2.69
    automake 1.14
    pkgtools (pkgconf) 0.94
    pcre 8.33
    Complete inventory of pcre:
    configure output (failure with some context):
    checking for openssl/ssl.h in /usr/local... no
    checking for openssl/ssl.h in /usr/local/ssl... no
    checking for openssl/ssl.h in /usr... yes
    checking whether compiling and linking against OpenSSL works... yes
    checking lib pcre... (testing)
    checking for pcre_study in -lpcre... no
    checking for pcre_compile in -lpcre... no
    checking lib pcre... no, (WARNING)
    configure: error: Can not find pcre. You must install it before continuing.
    While I must admit my autotools foo is a bit rusty, it really doesn't appear OpenLiteSpeed supports FreeBSD.

    Thank you for all your time, and consideration.

  2. Chris.

    Chris. Guest

    OK. Closer examination reveals it's FreeBSD (64bit), that's not supported.
    It's hard to imagine why anyone would choose 32bit, over 64. Anyway, I'll have
    patches that'll apply to the source, in order to fully support FreeBSD i386/AMD64,
    after a bit more testing.

  3. lsmichael

    lsmichael Active Member

    Should have realized this when I first saw the post. To fix this, you just have to tell configure where to look for pcre:

    ./configure --with-pcre=/usr/local
    Thanks, @Chris. for pointing this out and for emailing when I didn't get in touch. This point has been added to the installation documentation as a note.


Share This Page