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


RE: [sqlite] FreeBSD and SQLite

2004-04-15 Thread Jaroslaw Nozderko
Hi Al,

 could you please provide more information ?
(FreeBSD version, SQLite version, what are the
problems, etc.).

First of all, is it FreeBSD 4.x or 5.x ?
Usually 4.x is used for production purposes,
I didn't try it.

However, I don't remember serious problems with 
several recent versions of SQLite (perhaps not the latest
one) on FreeBSD 5.1 and 5.2. 

Regards,
Jarek

Jaroslaw Nozderko
GSM +48 601131870 / Kapsch (22) 6075013
[EMAIL PROTECTED]
IT/CCBS/RS - Analyst Programmer


> -Original Message-
> From: Al Rider [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 14, 2004 6:37 PM
> To: D. Richard Hipp
> Cc: [EMAIL PROTECTED]
> Subject: [sqlite] FreeBSD and SQLite
>
>
> I do website design for clubs, etc., with a lot of custom, CM
> php scripts.
> SQLite is ideally suited for many of my scripts; but,
> unfortunately one of
> the sites is hosted on a FreeBSD based server.  Most of my designs are
> Linux; but, I want to keep the designs portable.
>
> I tried to compile and install SQLite without any success.
>
> I posted a ticket about the problem and you relied FreeBSD was not a
> supported platform.
>
> Because of the obvious advantages for my applications, I'd
> really like to
> start using SQLite.
>
> Plus, I'm looking forward to php 5.  If SQLite is not
> supported on FreeBSD
> machines does that mean it won't be compiled into php 5 on them?
>
> Is there anyone successfully running SQLite on a FreeBSD
> machine?  If so,
> would you email me and give me some help with it.
>
> Thanks...
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [sqlite] FreeBSD and SQLite

2004-04-14 Thread Greg Miller
Al Rider wrote:

Is there anyone successfully running SQLite on a FreeBSD machine?  If so,
would you email me and give me some help with it.
I've never used it on anything else. The instructions assume that make 
is actually GNU make, which is almost certainly not the case on a 
non-Linux machine. If you substitute "gmake" for "make" in the 
instructions, it should build fine as long as GNU make is installed.

Alternatively, you can build it from the databases/sqlite port by 
changing to the appropriate directory (/usr/ports/databases/sqlite) and 
typing "make install"

If you continue to have problems, I'd be glad to help. Need more 
details, though.
--
http://www.classic-games.com/ http://www.indie-games.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]