среда, 15 мая 2013 г.

FreeBSD: configure: error: Subversion requires SQLite

При попытке установить svn может вылезти

configure: WARNING: no suitable sqlite found in /usr/local

An appropriate version of sqlite could not be found.  We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.6.3 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/usr/ports/devel/subversion/work/subversion-1.7.9/sqlite-amalgamation/sqlite3.c

configure: error: Subversion requires SQLite
===>  Script "configure" failed unexpectedly.
Please report the problem to lev@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/subversion/work/subversion-1.7.9/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/devel/subversion.
*** [build] Error code 1 

При этом сам sqlite3 стоит:
 # pkg info sqlite3
sqlite3-3.7.16.1               An SQL database engine in a C library 

На свежих версиях -- скорее всего, в настройках сборки sqlite включена опция SQLLOG -- Allow logging operation. Надо её снять, пересобрать sqlite3 и всё соберётся. Вот такая неожиданность.

Комментариев нет:

Отправить комментарий