From nobody@FreeBSD.org  Thu Apr 22 02:49:47 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F127C106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Apr 2010 02:49:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E04088FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Apr 2010 02:49:47 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3M2nlPQ040378
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Apr 2010 02:49:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3M2nlOi040377;
	Thu, 22 Apr 2010 02:49:47 GMT
	(envelope-from nobody)
Message-Id: <201004220249.o3M2nlOi040377@www.freebsd.org>
Date: Thu, 22 Apr 2010 02:49:47 GMT
From: Raphael Kubo da Costa <kubito@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: databases/sqlite3 does not build with FTS3/rtree
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145929
>Category:       ports
>Synopsis:       databases/sqlite3 does not build with FTS3/rtree
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 22 02:50:04 UTC 2010
>Closed-Date:    Thu Apr 22 15:35:52 UTC 2010
>Last-Modified:  Thu Apr 22 16:20:01 UTC 2010
>Originator:     Raphael Kubo da Costa
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD gibbon 8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Apr 15 22:21:26 BRT 2010     root@gibbon:/usr/obj/usr/src/sys/GIBBON  amd64
>Description:
With sqlite3-3.6.23.1, I cannot build it when I enable FTS3 or rtree with 'make config'.

Error output:

./libtool --mode=compile --tag=CC cc   -O2 -pipe -fno-strict-aliasing -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1   -DSQLITE_TEMP_STORE=1 -c ./src/main.c
libtool: compile:  cc -O2 -pipe -fno-strict-aliasing -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_TEMP_STORE=1 -c ./src/main.c  -fPIC -DPIC -o .libs/main.o
./src/main.c:20:19: error: fts3.h: No such file or directory
./src/main.c:23:20: error: rtree.h: No such file or directory
gmake: *** [main.lo] Error 1
*** Error code 1

Stop in /usr/ports/databases/sqlite3.
*** Error code 1

Stop in /usr/ports/databases/sqlite3.
>How-To-Repeat:
make clean && make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Apr 22 02:58:17 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145929 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Thu Apr 22 15:35:51 UTC 2010 
State-Changed-Why:  
Fixed. Thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145929 

From: Robert Kruus <rob.kruus@gmail.com>
To: bug-followup@FreeBSD.org, kubito@gmail.com
Cc:  
Subject: Re: ports/145929: databases/sqlite3 does not build with FTS3/rtree
Date: Thu, 22 Apr 2010 09:53:36 -0600

 Error only occurs if TCL knob is disabled in config.
 With TCL enabled, I still had to manually create a symlink for tclsh
 (to tclsh8.5), otherwise config does not find tclsh and fails as
 before.
>Unformatted:
