Re: [sqlite] problem with application which uses sqlite

2006-08-25 Thread Martin Jenkins

renato71 wrote:


Martin Jenkins wrote:
As you suggest later in your message, this sounds like a bug in the KTU 
config scripts, so you're probably not going to get much joy here. 


Well, I am trying to solve the problem from that angle as well. 


Sorry if that sounded harsh, I was trying to help you with one hand and 
deflect the "off topic" police with the other. ;)


I downloaded the ktu source and it looks like configure uses a tool 
called (something like) pkg-config to find out where your sqlite lives. 
I guess this tool isn't looking in the place where you've installed 
sqlite etc.


In config.log there should be a line like PKG_CONFIG='/path/to/app' and 
in configure around line 39110 there are a couple of commands which 
search for/test the installed version of sqlite.


If you can find out what PKG_CONFIG expands to and run

$PKG_CONFIG --libs "sqlite3 >= 3.0"

you might get some info as to where it's looking and compare that with 
the location of your newly built sqlite.


The only Linux box I have handy at the moment is an SME server which 
doesn't install kde (or even gcc :( ) so I can't try this myself. Feel 
free to mail me off-list if you want, my address is in the headers.


Martin

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] problem with application which uses sqlite

2006-08-24 Thread renato71


Martin Jenkins wrote:
> 
> As you suggest later in your message, this sounds like a bug in the KTU 
> config scripts, so you're probably not going to get much joy here. If 
> you look at the KTU page at http://www.kde-apps.org (the Administration, 
> System Tools category) you'll see there was a similar dependency problem 
> with svn, so that's probably the best place to ask.
> 
> In the meantime,
> 
>  > If it is due to an error in KTU configure file, how do I fix it?
> 
> Have a look in config.log(sp?) to see where config thinks sqlite(3) 
> lives (it might be hard coded to the wrong place) and check if there's a 
> "--sqlite-dir=/path/to/sqlite" (or similar) option for ./configure.
> 

Well, I am trying to solve the problem from that angle as well. For now, I
was told that KTU depends on libsqlite3. I was trying to install
libsqlite3-dev, but I'm not sure I now how to.
I cannot deducate as what is crucial in config.log. I just says "sqlite3
found - NO".
I tried above option for ./configure (with my paths, I hope), but with same
result. And am not that god with scripting so I don't undertand mush from
configurate file...

Btw, when I istalled sqlite, I could locate following files:

./usr/local/lib/
libsqlite3.a
libsqlite3.la
libsqlite3.so
libsqlite3.so.0
libsqlite3.so.0.8.6

./usr/local/lib/pkgconfig/
sqlite3.pc

./usr/lib/
libsqlite3.so.0
libsqlite3.so.0.8.6

./usr/local/bin/sqlite3
./usr/local/include/sqlite3

Furthermore, via konsole:

[EMAIL PROTECTED] ~]$ whereis sqlite3
sqlite3: /usr/local/bin/sqlite3
[EMAIL PROTECTED] ~]$ whereis libsqlite
libsqlite: /usr/local/lib/libsqlite3.so
/usr/local/lib/libsqlite3.la
/usr/local/lib/libsqlite3.a
[EMAIL PROTECTED] ~]$ sqlite3 -version
3.3.7

Btw, KDE is 3.4, not 3.2, my mistake.

Thnx for advices
Renato
-- 
View this message in context: 
http://www.nabble.com/problem-with-application-which-uses-sqlite-tf2156856.html#a5974818
Sent from the SQLite forum at Nabble.com.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] problem with application which uses sqlite

2006-08-24 Thread Martin Jenkins

renato71 wrote:

I am tryin to install KTU (KDE Translations Updated) and it needs sqlite.

I've tried to install on Mandriva free 2006, KDE 3.2. On first try to
configure KTU I got message that sqlite3 is not found.


As you suggest later in your message, this sounds like a bug in the KTU 
config scripts, so you're probably not going to get much joy here. If 
you look at the KTU page at http://www.kde-apps.org (the Administration, 
System Tools category) you'll see there was a similar dependency problem 
with svn, so that's probably the best place to ask.


In the meantime,

> If it is due to an error in KTU configure file, how do I fix it?

Have a look in config.log(sp?) to see where config thinks sqlite(3) 
lives (it might be hard coded to the wrong place) and check if there's a 
"--sqlite-dir=/path/to/sqlite" (or similar) option for ./configure.


HTH

Martin

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] problem with application which uses sqlite

2006-08-23 Thread renato71

Hi,

I am tryin to install KTU (KDE Translations Updated) and it needs sqlite.

I've tried to install on Mandriva free 2006, KDE 3.2. On first try to
configure KTU I got message that sqlite3 is not found. OK, so I dload sqlite
and installed it. I guess. Cos I still got the sam emessage durin KTU
configure.

I tried both as user, and as root. After dload of sqlite, I saved it to
/home/user, then I followed the procedure that is mostly described:
-entered dir
-mkdir bld
-cd bld
-../configure
-make
-sudo make install

I've tested sqlite and it works.

Afterwards, I endered ktu dir, and got the error while running ./configure,
from ktu-0.0.3 dir. Should I create bld dir as well, and configure from it?

I've tried usual configure-make-make install, but with same results. sqlite
apperantly works, but KTU during his confugure reports that sqlite is not
found.

If it is due to an error in KTU configure file, how do I fix it?

Thanks in advance!

Renato Pavicic
Croatia
-- 
View this message in context: 
http://www.nabble.com/problem-with-application-which-uses-sqlite-tf2156856.html#a5958197
Sent from the SQLite forum at Nabble.com.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-