You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Garret Wilson <ga...@globalmentor.com> on 2007/12/29 17:27:34 UTC

blocker sqlite problem installing r28699

Hi, all. I've been using Subversion since beta days, and it sure seems a 
huge pain (hours of hacking!) every time I want to do a simple upgrade. 
This time I'm stumped.

I was running the 1.5.0 branch (I don't remember the rev, but it looks 
like it was around January 2007), and today I updated to r298699. I made 
sure I had the latest dependencies; in particular, I download sqlite 
3.5.4, untarred it, and put it in ./sqlite.

I followed my normal routine:

./autogen.sh
./configure --with-libs=/usr/local/ssl --with-ssl 
--with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
make clean
make

During configure, however, I note:

checking sqlite library version (via pkg-config)... none or unsupported
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
configure: WARNING: SQLite not found - libsvn_ra_local will be disabled.

An appropriate version of sqlite could not be found, so libsvn_ra_local
will not be built.  If you want to build libsvn_ra_local, please either
install sqlite 3.5.4 on this system

or

get sqlite 3.5.4 from:
    http://www.sqlite.org/sqlite-3.5.4.tar.gz
unpack the archive using tar/gunzip and rename the resulting
directory from ./sqlite-3.5.4/ to ./sqlite/


But I *did* do that! (Note that there is no sqlite3.h in the 
distribution---nor in the January 2007 distribution of sqlite, either!)

If I ignore the warning and try to do a make, I get plenty of errors. 
What's the problem here?

Garret

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: blocker sqlite problem installing r28699

Posted by Garret Wilson <ga...@globalmentor.com>.
But I thought that the whole point of putting the distribution in 
svn/sqlite/ was so that Subversion's make process would automatically do 
this so that I wouldn't have to do it manually. (I don't have to 
manually build neon, for example.)

Nevertheless, I entered the sqlite directory and performed:

./configure
make

I get lots of nasty stuff:

cp: warning: source file `./src/btree.h' specified more than once
cp: warning: source file `./src/hash.h' specified more than once
cp: warning: source file `./src/sqliteInt.h' specified more than once
cp: warning: source file `./src/vdbe.h' specified more than once
cp: warning: source file `./ext/fts1/fts1.h' specified more than once
cp: warning: source file `./ext/fts1/fts1_hash.h' specified more than once
cp: warning: source file `./ext/fts1/fts1_tokenizer.h' specified more 
than once
cp: warning: source file `./src/vdbeInt.h' specified more than once
./src/tclsqlite.c:17:17: tcl.h: No such file or directory
./src/tclsqlite.c:60: error: syntax error before "Tcl_Interp"
./src/tclsqlite.c:60: warning: no semicolon at end of struct or union
./src/tclsqlite.c:61: warning: data definition has no type or storage class
./src/tclsqlite.c:65: error: syntax error before '}' token
./src/tclsqlite.c:73: error: syntax error before "Tcl_Interp"
./src/tclsqlite.c:73: warning: no semicolon at end of struct or union
./src/tclsqlite.c:75: error: conflicting types for 'pNext'
./src/tclsqlite.c:64: error: previous declaration of 'pNext' was here
./src/tclsqlite.c:76: error: syntax error before '}' token
./src/tclsqlite.c:100: error: syntax error before "Tcl_Interp"
./src/tclsqlite.c:100: warning: no semicolon at end of struct or union
./src/tclsqlite.c:109: error: syntax error before '*' token
./src/tclsqlite.c:109: warning: data definition has no type or storage class
./src/tclsqlite.c:110: error: syntax error before '*' token
./src/tclsqlite.c:110: warning: data definition has no type or storage class
./src/tclsqlite.c:113: error: syntax error before '*' token
./src/tclsqlite.c:113: warning: data definition has no type or storage class
./src/tclsqlite.c:119: error: syntax error before '}' token
./src/tclsqlite.c:125: error: syntax error before "Tcl_Channel"
./src/tclsqlite.c:125: warning: no semicolon at end of struct or union
./src/tclsqlite.c:126: error: conflicting types for 'pNext'
./src/tclsqlite.c:75: error: previous declaration of 'pNext' was here
./src/tclsqlite.c:126: error: conflicting types for 'pNext'
./src/tclsqlite.c:75: error: previous declaration of 'pNext' was here
./src/tclsqlite.c:128: error: syntax error before '}' token
./src/tclsqlite.c: In function `closeIncrblobChannels':
./src/tclsqlite.c:139: error: dereferencing pointer to incomplete type
./src/tclsqlite.c:140: error: dereferencing pointer to incomplete type
./src/tclsqlite.c:146: error: dereferencing pointer to incomplete type
./src/tclsqlite.c:146: error: dereferencing pointer to incomplete type

...and it goes on.

Garret

Stefan Küng wrote:
> Garret Wilson wrote:
>> Hi, all. I've been using Subversion since beta days, and it sure 
>> seems a huge pain (hours of hacking!) every time I want to do a 
>> simple upgrade. This time I'm stumped.
> [snip]
>> But I *did* do that! (Note that there is no sqlite3.h in the 
>> distribution---nor in the January 2007 distribution of sqlite, either!)
>>
>> If I ignore the warning and try to do a make, I get plenty of errors. 
>> What's the problem here?
>
> The file sqlite3.h is generated automatically once you configure/make 
> sqlite - simply unpacking it is not enough.
>
> Stefan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: blocker sqlite problem installing r28699

Posted by Stefan Küng <to...@gmail.com>.
Garret Wilson wrote:
> Hi, all. I've been using Subversion since beta days, and it sure seems a 
> huge pain (hours of hacking!) every time I want to do a simple upgrade. 
> This time I'm stumped.
[snip]
> But I *did* do that! (Note that there is no sqlite3.h in the 
> distribution---nor in the January 2007 distribution of sqlite, either!)
> 
> If I ignore the warning and try to do a make, I get plenty of errors. 
> What's the problem here?

The file sqlite3.h is generated automatically once you configure/make 
sqlite - simply unpacking it is not enough.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org