sqlite3 not found during configure

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

sqlite3 not found during configure

Rüdiger Mähl

Hi Guys,

I am trying to install the svn version of digikam (Oliver posted a recipe)
and I got the kdeextragear-libs* already installed (hopefully).

Now biting on the kdeextragear-graphics*, it complained correctly about
a missing sqlite3. I downloaded sqlite3 and compiled it. But kdeextragear-graphics*
still complains about missing sqlite3:

excerpt:
onfig.status: kst/kst/ksttimers.h is unchanged
config.status: executing depfiles commands

-- digiKam configure results -------------------
-- sqlite3 found.................. NO

digiKam needs sqlite3. You need to install sqlite3 3.x, e.g. from
http://www.sqlite.org

-- imlib2 found................... YES
-- gphoto2 found.................. YES

A 'whereis sqlite3' shows:
sqlite3: /usr/bin/sqlite3 /usr/local/bin/sqlite3 /usr/share/man/man1/sqlite3.1.gz

So, that looks ok for me. Any hints how to continue?

Rüdiger

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 not found during configure

Oliver Dörr
Hi Rüdiger,

take a look at the config.log. There has to be a test about sqllite3
that had failed. Most times it helps to look at it to see what went wrong.

Oliver

Rüdiger Mähl wrote:

> Hi Guys,
>
> I am trying to install the svn version of digikam (Oliver posted a recipe)
> and I got the kdeextragear-libs* already installed (hopefully).
>
> Now biting on the kdeextragear-graphics*, it complained correctly about
> a missing sqlite3. I downloaded sqlite3 and compiled it. But kdeextragear-graphics*
> still complains about missing sqlite3:
>
> excerpt:
> onfig.status: kst/kst/ksttimers.h is unchanged
> config.status: executing depfiles commands
>
> -- digiKam configure results -------------------
> -- sqlite3 found.................. NO
>
> digiKam needs sqlite3. You need to install sqlite3 3.x, e.g. from
> http://www.sqlite.org
>
> -- imlib2 found................... YES
> -- gphoto2 found.................. YES
>
> A 'whereis sqlite3' shows:
> sqlite3: /usr/bin/sqlite3 /usr/local/bin/sqlite3 /usr/share/man/man1/sqlite3.1.gz
>
> So, that looks ok for me. Any hints how to continue?
>
> Rüdiger
>
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>  
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 not found during configure

Rüdiger Mähl
In reply to this post by Rüdiger Mähl

Hi Oliver,

> take a look at the config.log. There has to be a test about sqllite3
> that had failed. Most times it helps to look at it to see what went wrong.

Good idea, now I found several problems:
...
configure:3277: result: none needed
configure:3295: gcc -c    conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3301: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
...
configure:3622: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3628: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kdeextragear-graphics"
| #define VERSION "3.4.92"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
...
some more of these are appearing
...
configure:11149: checking for shl_load
configure:11206: gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototyp
es -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute   conftest.c  >&5
/tmp/ccip9y0s.o(.text+0x11): In function `main':
conftest.c: undefined reference to `shl_load'
/tmp/ccip9y0s.o(.data+0x0): undefined reference to `shl_load'
collect2: ld returned 1 exit status
configure:11212: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
...
And the linker seems to have problems, too:
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
...

I should perhaps better stick to my 0.7.4 installation before I
destroy everything?

Rüdiger

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 not found during configure

Oliver Dörr
Hi Rüdiger,

i don't think that you will destroy anything, but it will be a work of search and install libraries (especially headers of libraries). So you'll have two solutions.

1. Wait 2 weeks until digikam 0.8 is released. Normally it does not take a long time after a release and somebody contributes SuSE rpms.
2. Go and search for the missing packages.

Oliver

Rüdiger Mähl wrote:
Hi Oliver, 

  
take a look at the config.log. There has to be a test about sqllite3 
that had failed. Most times it helps to look at it to see what went wrong.
    

Good idea, now I found several problems:
...
configure:3277: result: none needed
configure:3295: gcc -c    conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3301: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
...
configure:3622: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3628: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kdeextragear-graphics"
| #define VERSION "3.4.92"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
...
some more of these are appearing
...
configure:11149: checking for shl_load
configure:11206: gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototyp
es -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute   conftest.c  >&5
/tmp/ccip9y0s.o(.text+0x11): In function `main':
conftest.c: undefined reference to `shl_load'
/tmp/ccip9y0s.o(.data+0x0): undefined reference to `shl_load'
collect2: ld returned 1 exit status
configure:11212: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
...
And the linker seems to have problems, too:
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
...

I should perhaps better stick to my 0.7.4 installation before I 
destroy everything?

Rüdiger

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

  

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users