[Digikam-devel] compile from svn problem

Fabien fabien.ubuntu at gmail.com
Thu Mar 1 15:46:43 GMT 2007


Hi,

Arnd Baecker wrote:
> my usual install from svn
> (using the script from http://www.digikam.org/?q=download/svn)
> does not work.
> 
> The problem seems to be libjasper:
> 
> checking for jas_init in -ljasper... no
> configure: WARNING: digiKam requires libjasper >= 1.7.0
> configure: WARNING: digiKam requires libjasper >= 1.7.0; digiKam will not
> be compiled.
> configure: creating ./config.status
> wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1261.
> config.status: creating digikam/utilities/hotplug/digikam-download.desktop
> 
> However, libjasper is installed
> digikam/lib $ ls -l | grep jasper
> -rw-r--r-- 1 abaecker abaecker 1266404 Mar  1 14:51 libjasper.a
> -rwxr-xr-x 1 abaecker abaecker     817 Mar  1 14:51 libjasper.la
> 
> and does contain jas_init:
> 
> nm libjasper.a | grep jas_init
> jas_init.o:
> 00000010 T jas_init
> [ptpcp3] /home/scratch/abaecker/SOFTWARE/digikam/lib $
> 
> 
> How can I debug such configure problem in a systematic way?

Have you checked config.log ?

This is what I have on a fresh compile :

<<
configure:36358: checking for jas_init in -ljasper
configure:36388: gcc -o conftest -std=iso9899:1990 -W -Wall 
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_XOP
EN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security 
-Wmissing-format-attribute  -DQT_THREAD_SUPPORT  -D_REENTRANT 
-L/usr/lib -L/usr/share/qt3/lib
  -L/usr/X11R6/lib    -L/opt/digikam091/lib conftest.c -ljasper -ljasper 
  >&5
configure:36394: $? = 0
configure:36397: test -z                         || test ! -s conftest.err
configure:36400: $? = 0
configure:36403: test -s conftest
configure:36406: $? = 0
configure:36419: result: yes
 >>

Maybe you should try manually the gcc to see what's wrong...

You can extract the small source code that is used (conftest.c) in 
configure script.

I tried and gcc compiled fine in my case :)

Good luck.

--
Fabien




More information about the Digikam-devel mailing list