Bug 104235 - make stops with error about missing imlib.h file while compiling digikam 0.73 beta
Summary: make stops with error about missing imlib.h file while compiling digikam 0.73...
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 0.7.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 21:36 UTC by Rinse De Vries
Modified: 2017-08-19 20:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
config.log (107.32 KB, text/x-log)
2005-04-26 23:52 UTC, Rinse De Vries
Details
config.log (110.54 KB, text/x-log)
2005-04-27 00:03 UTC, Rinse De Vries
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rinse De Vries 2005-04-19 21:36:10 UTC
Version:           0.7.3-beta1 (using KDE 3.4.0 Level "a" , unofficial build of SUSE )
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.151-default

Hi,
I tried to compile digikam 0.73 beta on suse 9.1
./configure went fine, but make stopped halfway and reportet  a missing imlib.h file.
After installing imlib2-devel everything went fine.

I guess this is a bug in the configure script, which should have noticed the missing imlib-files..
Comment 1 Renchi Raju 2005-04-26 18:19:41 UTC
i just downloaded and compiled the beta version and configure correctly detected that imlib2-devel is not installed (check the output of the configure step) and typing make did not try to compile the digikam directory. Did you by any chance step into the digikam subdir and type make?
Comment 2 Rinse De Vries 2005-04-26 22:45:38 UTC
Op dinsdag 26 april 2005 18:19, schreef Renchi Raju:
> Did you by any chance step into the digikam subdir and type make?


No, but I have imlib and imlib2 installed, while I only had imlib-devel, not 
imlib2-devel

Perhaps ./configure noticed imlib-devel while imlib2-devel was needed.

Rinse
Comment 3 Renchi Raju 2005-04-26 23:10:12 UTC
i had imlib-devel installed when i ran the previous test. can you do me a favor, and uninstall imlib2-devel and run configure again and send me the config.log
Comment 4 Rinse De Vries 2005-04-26 23:52:37 UTC
Ok, attached the file :)

Also run make afterwards..


This is the output of make:


make[4]: Entering directory 
`/home/rinse/documenten/software/digikam-0.7.3-beta1/digikam/utilities/imageeditor'
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../digikam/digikam 
-I../../../digikam/libs/widgets -I../../../digikam/libs/histogram 
-I../../../digikam/utilities/splashscreen  -I/opt/kde3/include   
-I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include    
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE  -MT imageiface.lo -MD -MP -MF 
".deps/imageiface.Tpo" \
  -c -o imageiface.lo `test -f 'imageiface.cpp' || echo './'`imageiface.cpp; \
then mv -f ".deps/imageiface.Tpo" ".deps/imageiface.Plo"; \
else rm -f ".deps/imageiface.Tpo"; exit 1; \
fi
imageiface.cpp:30:20: Imlib2.h: No such file or directory
imageiface.cpp:48: error: 'Imlib_Context' is used as a type, but is not 
defined
   as a type.
imageiface.cpp:49: error: 'Imlib_Image' is used as a type, but is not defined
   as a type.
imageiface.cpp:62: error: syntax error before `*' token
imageiface.cpp: In constructor `Digikam::ImageIface::ImageIface(int, int)':
imageiface.cpp:78: error: 'class Digikam::ImageIfacePriv' has no member named 
'
   image'
imageiface.cpp:84: error: 'class Digikam::ImageIfacePriv' has no member named 
'
   previewData'
imageiface.cpp:86: error: 'class Digikam::ImageIfacePriv' has no member named 
'
   context'
imageiface.cpp:86: error: `imlib_context_new' undeclared (first use this
   function)
imageiface.cpp:86: error: (Each undeclared identifier is reported only once 
for
   each function it appears in.)
imageiface.cpp:87: error: 'class Digikam::ImageIfacePriv' has no member named 
'
   context'
imageiface.cpp:87: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:89: error: `imlib_context_set_display' undeclared (first use
   this function)
imageiface.cpp:90: error: `imlib_context_set_visual' undeclared (first use 
this
   function)
imageiface.cpp:91: error: `imlib_context_set_colormap' undeclared (first use
   this function)
imageiface.cpp:92: error: `imlib_context_set_drawable' undeclared (first use
   this function)
imageiface.cpp:94: error: `imlib_context_pop' undeclared (first use this
   function)
imageiface.cpp: In destructor `Digikam::ImageIface::~ImageIface()':
imageiface.cpp:113: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:114: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:114: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:115: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:115: error: `imlib_context_set_image' undeclared (first use 
this
   function)
imageiface.cpp:116: error: `imlib_free_image_and_decache' undeclared (first 
use
   this function)
imageiface.cpp:120: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp:121: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp:124: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:124: error: `imlib_context_free' undeclared (first use this
   function)
imageiface.cpp: In member function `uint* 
Digikam::ImageIface::getPreviewData()
   ':
imageiface.cpp:131: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp:133: error: `DATA32' undeclared (first use this function)
imageiface.cpp:133: error: `ptr' undeclared (first use this function)
imageiface.cpp:142: error: `origData' undeclared (first use this function)
imageiface.cpp:142: error: syntax error before `[' token
imageiface.cpp:145: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:145: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:147: error: `Imlib_Image' undeclared (first use this function)
imageiface.cpp:147: error: syntax error before `=' token
imageiface.cpp:151: error: `im' undeclared (first use this function)
imageiface.cpp:151: error: `imlib_context_set_image' undeclared (first use 
this
   function)
imageiface.cpp:153: error: `imlib_image_set_has_alpha' undeclared (first use
   this function)
imageiface.cpp:160: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:161: error: `imlib_create_cropped_scaled_image' undeclared
   (first use this function)
imageiface.cpp:166: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:167: error: `imlib_image_get_width' undeclared (first use this
   function)
imageiface.cpp:168: error: `imlib_image_get_height' undeclared (first use this
   function)
imageiface.cpp:175: error: `imlib_image_get_data_for_reading_only' undeclared
   (first use this function)
imageiface.cpp:177: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp:177: error: syntax error before `[' token
imageiface.cpp:179: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp:182: error: `Imlib_Color_Modifier' undeclared (first use this
   function)
imageiface.cpp:182: error: syntax error before `=' token
imageiface.cpp:183: error: `mod' undeclared (first use this function)
imageiface.cpp:183: error: `imlib_context_set_color_modifier' undeclared 
(first
   use this function)
imageiface.cpp:193: error: `data' undeclared (first use this function)
imageiface.cpp:193: error: syntax error before `[' token
imageiface.cpp:194: error: 'class Digikam::ImageIfacePriv' has no member named
   'previewData'
imageiface.cpp: In member function `uint*
   Digikam::ImageIface::getOriginalData()':
imageiface.cpp:209: error: syntax error before `[' token
imageiface.cpp: In member function `void
   Digikam::ImageIface::putPreviewData(uint*)':
imageiface.cpp:225: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:225: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:227: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:227: error: `imlib_context_set_image' undeclared (first use 
this
   function)
imageiface.cpp:228: error: `imlib_image_get_data' undeclared (first use this
   function)
imageiface.cpp:234: error: `imlib_image_put_back_data' undeclared (first use
   this function)
imageiface.cpp: In member function `void
   Digikam::ImageIface::setPreviewBCG(double, double, double)':
imageiface.cpp:305: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:305: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:306: error: `imlib_reset_color_modifier' undeclared (first use
   this function)
imageiface.cpp:308: error: `imlib_modify_color_modifier_brightness' undeclared
   (first use this function)
imageiface.cpp:309: error: `imlib_modify_color_modifier_contrast' undeclared
   (first use this function)
imageiface.cpp:310: error: `imlib_modify_color_modifier_gamma' undeclared
   (first use this function)
imageiface.cpp: In member function `void
   Digikam::ImageIface::paint(QPaintDevice*, int, int, int, int)':
imageiface.cpp:322: error: 'class Digikam::ImageIfacePriv' has no member named
   'context'
imageiface.cpp:322: error: `imlib_context_push' undeclared (first use this
   function)
imageiface.cpp:324: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:326: error: 'class Digikam::ImageIfacePriv' has no member named
   'image'
imageiface.cpp:326: error: `imlib_context_set_image' undeclared (first use 
this
   function)
imageiface.cpp:328: error: `imlib_image_has_alpha' undeclared (first use this
   function)
imageiface.cpp:335: error: `imlib_context_set_drawable' undeclared (first use
   this function)
imageiface.cpp:336: error: `imlib_context_set_mask' undeclared (first use this
   function)
imageiface.cpp:337: error: `imlib_render_image_on_drawable_at_size' undeclared
   (first use this function)
make[4]: *** [imageiface.lo] Fout 1
make[4]: Leaving directory 
`/home/rinse/documenten/software/digikam-0.7.3-beta1/digikam/utilities/imageeditor'
make[3]: *** [all-recursive] Fout 1
make[3]: Leaving directory 
`/home/rinse/documenten/software/digikam-0.7.3-beta1/digikam/utilities'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory 
`/home/rinse/documenten/software/digikam-0.7.3-beta1/digikam'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory 
`/home/rinse/documenten/software/digikam-0.7.3-beta1'
make: *** [all] Fout 2


Created an attachment (id=10808)
config.log
Comment 5 Renchi Raju 2005-04-26 23:57:41 UTC
the config.log that you have attached is for digikamimageplugins not digikam
Comment 6 Rinse De Vries 2005-04-27 00:03:13 UTC
Op dinsdag 26 april 2005 23:57, schreef Renchi Raju:
[bugs.kde.org quoted mail]

oops :o)
ok, this one should be it


Created an attachment (id=10809)
config.log
Comment 7 Renchi Raju 2005-04-27 00:07:35 UTC
from your config.log:

configure:34180: checking for imlib2-config                                                                            
configure:34230: result: /usr/bin/imlib2-config                                                                        

so you either have a stale imlib2-config lying around in your system or you are not giving me the full story :)
Comment 8 Renchi Raju 2005-05-02 02:43:19 UTC
user has imlib2-config in the path and obviously configure finds it
Comment 9 Felix 2005-07-10 05:44:22 UTC
fwiw, I just ran into this problem. I had imlib and imlib2 installed; and no -devel. configure ran fine and make gave the same error as reported previously. once I installed imlib-devel and imlib-devel the problem went away
Comment 10 Rinse De Vries 2005-07-10 10:13:55 UTC
@Felix, is SuSE also your distro?