Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-18 Thread jungle Boogie
On 18 October 2016 at 15:09, Warren Young  wrote:
> On Oct 18, 2016, at 3:59 PM, jungle Boogie  wrote:
>>
>> On 18 October 2016 at 13:55, Warren Young  wrote:
>>> Did you ./configure after the upgrade?  If not, do so.
>>
>> yes, this is my standard config:
>> ./configure --disable-editline; make
>
> If you don’t want any command line editing in sqlite3, add --disable-readline 
> then, too.  That should solve it.


Got it building with:
./configure --disable-editline --with-readline-inc=/usr/local/include

Thanks all and sorry for the noise.

best,
sean


-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-18 Thread Warren Young
On Oct 18, 2016, at 3:59 PM, jungle Boogie  wrote:
> 
> On 18 October 2016 at 13:55, Warren Young  wrote:
>> Did you ./configure after the upgrade?  If not, do so.
> 
> yes, this is my standard config:
> ./configure --disable-editline; make

If you don’t want any command line editing in sqlite3, add --disable-readline 
then, too.  That should solve it.
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-18 Thread jungle Boogie
On 18 October 2016 at 13:55, Warren Young  wrote:
> Did you ./configure after the upgrade?  If not, do so.

yes, this is my standard config:
./configure --disable-editline; make

sqliteup is an alias in my shell to do this and then sudo make install


-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-18 Thread Warren Young
On Oct 16, 2016, at 12:45 AM, jungle Boogie  wrote:
> 
> I just re-installed freebsd 11 on a machine of mine and as usual, I
> build sqlite from source. However, I see this:
> sqlite3/src/shell.c:66:11: fatal error: 'readline/readline.h' file not found

Did you ./configure after the upgrade?  If not, do so.

Readline is one of those contentious issues because it’s licensed under the 
full-strength GPL, rather than the LGPL.  GPL partisans will tell you that the 
widespread dependence on Readline has forced software to GPL or LGPL where that 
otherwise wouldn’t have happened, so that’s a Good Thing™ in their book.

The other side of the coin is that all this did was force the creation of 
libedit, which the BSDs have all adopted, and which is spreading around the 
world now to counter the taint of Readline. :)

  http://thrysoee.dk/editline/

SQLite (and Fossil) supports both, and will use the first one it finds, 
preferring Readline if both are installed.

This is why reconfiguring can help.  If a prior configure found Readline but 
it’s gone now, reconfiguring may find libedit instead.
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-18 Thread Pavel Volkov
Hello.
Readline now don't part of FreeBSD. You should add flag -I
/usr/local/include into your compilation process. See flags in the port
database/sqlite3.
PS I'm sorry. I am in vacation now.

On Oct 16, 2016 2:46 AM, "jungle Boogie"  wrote:

> Hi All,
>
> I just re-installed freebsd 11 on a machine of mine and as usual, I
> build sqlite from source. However, I see this:
> sqlite3/src/shell.c:66:11: fatal error: 'readline/readline.h' file not
> found
>
> I'm quite sure I didn't have problems on the 10.x branch with sqlite,
> so I don't know if things in 11.0 were re-arranged.
>
> Readline.h is found here:
> # find / -name readline.h
> /usr/local/include/editline/readline.h
> /usr/local/include/readline/readline.h
> /usr/local/include/guile/2.0/readline.h
> /usr/include/edit/readline/readline.h
>
> The header in shell.c was added 16+ years ago, so this doesn't seem to
> be a new change in sqlite3:
> https://www.sqlite.org/src/info/97a0fb780ea1992c
>
>
> Thanks,
> Sean
>
> --
> ---
> inum: 883510009027723
> sip: jungleboo...@sip2sip.info
> ___
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-16 Thread jungle Boogie
On 15 October 2016 at 23:45, jungle Boogie  wrote:
> Readline.h is found here:
> # find / -name readline.h
> /usr/local/include/editline/readline.h
> /usr/local/include/readline/readline.h
> /usr/local/include/guile/2.0/readline.h
> /usr/include/edit/readline/readline.h

FWIW, I downloaded the src for 10.3 (the next newest release of
freebsd) and readline.h is found here:
./lib/libedit/edit/readline/readline.h
./contrib/libreadline/readline.h

src files:
ftp.freebsd.org/pub/FreeBSD/releases/i386/10.3-RELEASE/



-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] freebsd 11 SQLite build: readline/readline.h file not found

2016-10-16 Thread jungle Boogie
Hi All,

I just re-installed freebsd 11 on a machine of mine and as usual, I
build sqlite from source. However, I see this:
sqlite3/src/shell.c:66:11: fatal error: 'readline/readline.h' file not found

I'm quite sure I didn't have problems on the 10.x branch with sqlite,
so I don't know if things in 11.0 were re-arranged.

Readline.h is found here:
# find / -name readline.h
/usr/local/include/editline/readline.h
/usr/local/include/readline/readline.h
/usr/local/include/guile/2.0/readline.h
/usr/include/edit/readline/readline.h

The header in shell.c was added 16+ years ago, so this doesn't seem to
be a new change in sqlite3:
https://www.sqlite.org/src/info/97a0fb780ea1992c


Thanks,
Sean

-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users