Building KDE 3.5.3 with Konstruct

Bogus Zaba bogzab at blueyonder.co.uk
Wed Jun 7 23:43:38 BST 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/attachments/20060607/b012db61/attachment.htm>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list