[kde-linux] Konstruct and KDE 3.5.3 build attempt

Bogus Zaba b.zaba at britishlibrary.net
Sun Jun 11 21:19:58 UTC 2006


I have updated KDE previously (currently running 3.4.2 under Suse 9.2) 
with rpms but decided to have a go at building 3.5.3 from source with 
Konstruct this time.

A lot of downloading, unzipping and directory building happened, but 
once compilations started I ran into problems when make reported :

Entering directory 
`/test/konstruct/konstruct-stable/konstruct/libs/qt-x11-free/work/qt-x11-free-3.3.6/plugins/src/imageformats/jpeg'

and tried to compile the main.cpp which it finds there, things go wrong 
with error messages that start :

In file included from main.cpp:11:
../../../../src/kernel/qjpegio.cpp:59:21: jpeglib.h: No such file or 
directory
In file included from main.cpp:11:
../../../../src/kernel/qjpegio.cpp:66: error: syntax error before `{' token
../../../../src/kernel/qjpegio.cpp:75: error: `j_common_ptr' was not 
declared
   in this scope
../../../../src/kernel/qjpegio.cpp:75: error: syntax error before `)' token
../../../../src/kernel/qjpegio.cpp: In function `void my_error_exit(...)':
../../../../src/kernel/qjpegio.cpp:77: error: `cinfo' undeclared (first use
   this function)
../../../../src/kernel/qjpegio.cpp:77: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
../../../../src/kernel/qjpegio.cpp:78: error: `JMSG_LENGTH_MAX' undeclared
   (first use this function)

All seems to stem from not finding jpeglib.h.

Should I be setting some global variable which gives g++ a clue as to 
where to find header files?

Grateful for any help and sorry if this is very obvious to  old hands 
with  Konstruct.

Bogus Zaba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060611/bb8543d1/attachment.html>


More information about the kde-linux mailing list