Re: [sqlite] compiling 3.4.2 on solaris

2007-08-29 Thread Brian Munroe
On 8/29/07, rahed <[EMAIL PROTECTED]> wrote: > > Thank you much. > Not a problem. I know how it is; when something compiles cleanly in Linux, you can almost be guaranteed you'll need to do some kind of song and dance to get it to work in Solaris! cheers -- brian

Re: [sqlite] compiling 3.4.2 on solaris

2007-08-29 Thread rahed
> Funny enough, I just ran into this problem yesterday! I used the > information in this ticket [1] to fix the problem. All you have to do > is find/replace B_FALSE to BOOL_FALSE and B_TRUE to BOOL_TRUE in the > lemon.c file. > Thank you much. -- Radek

Re: [sqlite] compiling 3.4.2 on solaris

2007-08-28 Thread Brian Munroe
On 8/28/07, rahed <[EMAIL PROTECTED]> wrote: > /usr/include/sys/types.h:176: error: previous definition of 'B_TRUE' was here > *** Error code 1 > make: Fatal error: Command failed for target `lemon' > > Could somenone suggest what's wrong? > Rahed: Funny enough, I just ran into this problem

Re: [sqlite] compiling 3.4.2 on solaris

2007-08-28 Thread drh
rahed <[EMAIL PROTECTED]> wrote: > Hello, > > when running make I get: > > sed -e s/--VERS--/3.4.2/ ../sqlite/src/sqlite.h.in | \ > sed -e s/--VERSION-NUMBER--/3004002/ >sqlite3.h > gcc -g -O2 -o lemon ../sqlite/tool/lemon.c > .../sqlite/tool/lemon.c:111: error: redeclaration of enumerator

[sqlite] compiling 3.4.2 on solaris

2007-08-28 Thread rahed
Hello, when running make I get: sed -e s/--VERS--/3.4.2/ ../sqlite/src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3004002/ >sqlite3.h gcc -g -O2 -o lemon ../sqlite/tool/lemon.c ../sqlite/tool/lemon.c:111: error: redeclaration of enumerator `B_FALSE' /usr/include/sys/types.h:176: error: previous