LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2004, 08:45 PM   #1
the_loser
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
problem compiling kde using konstruct


I have a problem Iam using konstruct to compile the latest kde becouse I dont know that much about linux everything downloaded fine but then almost finishing it said something about error 2 here the whole process

[the_loser@localhost the_loser]$ /home/the_loser/Desktop/konstruct/meta/kde
bash: /home/the_loser/Desktop/konstruct/meta/kde: is a directory
[the_loser@localhost the_loser]$ cd /home/the_loser/Desktop/konstruct/meta/kde
[the_loser@localhost kde]$ make install
[===== NOW BUILDING: kde-1 =====]
[fetch] complete for kde.
[checksum] complete for kde.
[extract] complete for kde.
[patch] complete for kde.
==> Building kde/kdebase as a dependency
make[1]: Entering directory `/home/the_loser/Desktop/konstruct/kde/kdebase'
[===== NOW BUILDING: kdebase-3.2.1 =====]
[fetch] complete for kdebase.
[checksum] complete for kdebase.
[extract] complete for kdebase.
[patch] complete for kdebase.
==> Building kde/kdelibs as a dependency
make[2]: Entering directory `/home/the_loser/Desktop/konstruct/kde/kdelibs'
[===== NOW BUILDING: kdelibs-3.2.1 =====]
[fetch] complete for kdelibs.
[checksum] complete for kdelibs.
[extract] complete for kdelibs.
[patch] complete for kdelibs.
==> Building libs/arts as a dependency
make[3]: Entering directory `/home/the_loser/Desktop/konstruct/libs/arts'
[===== NOW BUILDING: arts-1.2.1 =====]
[fetch] complete for arts.
[checksum] complete for arts.
[extract] complete for arts.
[patch] complete for arts.
==> Building libs/glib as a dependency
==> Building libs/qt-x11-free as a dependency
make[4]: Entering directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free'
[===== NOW BUILDING: qt-x11-free-3.2.3 =====]
[fetch] complete for qt-x11-free.
[checksum] complete for qt-x11-free.
[extract] complete for qt-x11-free.
[patch] complete for qt-x11-free.
[configure] complete for qt-x11-free.
==> Running make in work/qt-x11-free-3.2.3
make[5]: Entering directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3'
cd qmake && make
make[6]: Entering directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/qmake'
make[6]: `qmake' is up to date.
make[6]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/qmake'
cd src/moc && make
make[6]: Entering directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/src/moc'
make[6]: Nothing to be done for `first'.
make[6]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/src/moc'
cd src && make
make[6]: Entering directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/src'
g++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XFTFREETYPE -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpngio.o kernel/qpngio.cpp
kernel/qpngio.cpp:45:17: png.h: No such file or directory
kernel/qpngio.cpp:67: `png_structp' was not declared in this scope
kernel/qpngio.cpp:67: parse error before `,' token
kernel/qpngio.cpp: In function `void iod_read_fn(...)':
kernel/qpngio.cpp:69: `png_ptr' undeclared (first use this function)
kernel/qpngio.cpp:69: (Each undeclared identifier is reported only once for each function it appears in.)
kernel/qpngio.cpp:69: `png_get_io_ptr' undeclared (first use this function)
kernel/qpngio.cpp:72: `length' undeclared (first use this function)
kernel/qpngio.cpp:73: `data' undeclared (first use this function)
kernel/qpngio.cpp:75: `png_error' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:84: parse error before `,' token
kernel/qpngio.cpp:98: parse error before `)' token
kernel/qpngio.cpp:111: type specifier omitted for parameter `png_structp'
kernel/qpngio.cpp:111: parse error before `,' token
kernel/qpngio.cpp: In function `void setup_qt(...)':
kernel/qpngio.cpp:113: `screen_gamma' undeclared (first use this function)
kernel/qpngio.cpp:113: `info_ptr' undeclared (first use this function)
kernel/qpngio.cpp:113: `PNG_INFO_gAMA' undeclared (first use this function)
kernel/qpngio.cpp:113: `png_get_valid' undeclared (first use this function)
kernel/qpngio.cpp:115: `png_get_gAMA' undeclared (first use this function)
kernel/qpngio.cpp:116: `png_set_gamma' undeclared (first use this function)
kernel/qpngio.cpp:119: `png_uint_32' undeclared (first use this function)
kernel/qpngio.cpp:119: parse error before `;' token
kernel/qpngio.cpp:123: `width' undeclared (first use this function)
kernel/qpngio.cpp:123: `height' undeclared (first use this function)
kernel/qpngio.cpp:124: `png_get_IHDR' undeclared (first use this function)
kernel/qpngio.cpp:126: `PNG_COLOR_TYPE_GRAY' undeclared (first use this function)
kernel/qpngio.cpp:129: `png_set_invert_mono' undeclared (first use this function)
kernel/qpngio.cpp:130: `png_read_update_info' undeclared (first use this function)
kernel/qpngio.cpp:131: `image' undeclared (first use this function)
kernel/qpngio.cpp:136: `png_set_strip_16' undeclared (first use this function)
kernel/qpngio.cpp:138: `png_set_packing' undeclared (first use this function)
kernel/qpngio.cpp:146: `PNG_INFO_tRNS' undeclared (first use this function)
kernel/qpngio.cpp:157: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function)
kernel/qpngio.cpp:157: `PNG_INFO_PLTE' undeclared (first use this function)
kernel/qpngio.cpp:197: `png_set_expand' undeclared (first use this function)
kernel/qpngio.cpp:199: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use this function)
kernel/qpngio.cpp:200: `png_set_gray_to_rgb' undeclared (first use this function)
kernel/qpngio.cpp:205: `PNG_COLOR_MASK_ALPHA' undeclared (first use this function)
kernel/qpngio.cpp:209: `PNG_FILLER_BEFORE' undeclared (first use this function)
kernel/qpngio.cpp:209: `PNG_FILLER_AFTER' undeclared (first use this function)
kernel/qpngio.cpp:209: `png_set_filler' undeclared (first use this function)
kernel/qpngio.cpp:216: `png_set_swap_alpha' undeclared (first use this function)
kernel/qpngio.cpp:224: `png_set_bgr' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:232: `png_structp' was not declared in this scope
kernel/qpngio.cpp:232: `png_const_charp' was not declared in this scope
kernel/qpngio.cpp:232: parse error before `)' token
kernel/qpngio.cpp: In function `void qt_png_warning(...)':
kernel/qpngio.cpp:234: `message' undeclared (first use this function)
kernel/qpngio.cpp: In function `void read_png_image(QImageIO*)':
kernel/qpngio.cpp:245: parse error before `;' token
kernel/qpngio.cpp:247: `png_infop' undeclared (first use this function)
kernel/qpngio.cpp:248: `png_bytep' undeclared (first use this function)
kernel/qpngio.cpp:248: `row_pointers' undeclared (first use this function)
kernel/qpngio.cpp:250: `PNG_LIBPNG_VER_STRING' undeclared (first use this function)
kernel/qpngio.cpp:250: `png_create_read_struct' undeclared (first use this function)
kernel/qpngio.cpp:256: `png_set_error_fn' undeclared (first use this function)
kernel/qpngio.cpp:258: `png_create_info_struct' undeclared (first use this function)
kernel/qpngio.cpp:260: `png_destroy_read_struct' undeclared (first use this function)
kernel/qpngio.cpp:265: `end_info' undeclared (first use this function)
kernel/qpngio.cpp:272: `setjmp' undeclared (first use this function)
kernel/qpngio.cpp:278: `png_set_read_fn' undeclared (first use this function)
kernel/qpngio.cpp:279: `png_read_info' undeclared (first use this function)
kernel/qpngio.cpp:282: warning: cannot pass objects of non-POD type `class QImage' through `...'
kernel/qpngio.cpp:285: parse error before `;' token
kernel/qpngio.cpp:293: parse error before `[' token
kernel/qpngio.cpp:299: `png_read_image' undeclared (first use this function)
kernel/qpngio.cpp:319: `png_get_x_pixels_per_meter' undeclared (first use this function)
kernel/qpngio.cpp:320: `png_get_y_pixels_per_meter' undeclared (first use this function)
kernel/qpngio.cpp:323: `png_textp' undeclared (first use this function)
kernel/qpngio.cpp:323: parse error before `;' token
kernel/qpngio.cpp:325: `text_ptr' undeclared (first use this function)
kernel/qpngio.cpp:325: `png_get_text' undeclared (first use this function)
kernel/qpngio.cpp:354: `png_read_end' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:396: type specifier omitted for parameter `png_structp'
kernel/qpngio.cpp:396: parse error before `,' token
kernel/qpngio.cpp: In function `void set_text(...)':
kernel/qpngio.cpp:400: parse error before `=' token
kernel/qpngio.cpp:406: `short_not_long' undeclared (first use this function)
kernel/qpngio.cpp:408: `PNG_TEXT_COMPRESSION_NONE' undeclared (first use this function)
kernel/qpngio.cpp:410: `PNG_TEXT_COMPRESSION_zTXt' undeclared (first use this function)
kernel/qpngio.cpp:411: `png_charp' undeclared (first use this function)
kernel/qpngio.cpp:412: parse error before `.' token
kernel/qpngio.cpp:417: `png_set_text' undeclared (first use this function)
kernel/qpngio.cpp: In member function `bool QPNGImageWriter::writeImage(const QImage&, int, int, int)':
kernel/qpngio.cpp:436: parse error before `;' token
kernel/qpngio.cpp:440: `png_create_write_struct' undeclared (first use this function)
kernel/qpngio.cpp:449: `png_destroy_write_struct' undeclared (first use this function)
kernel/qpngio.cpp:466: `png_set_compression_level' undeclared (first use this function)
kernel/qpngio.cpp:470: `png_set_gAMA' undeclared (first use this function)
kernel/qpngio.cpp:473: `png_set_write_fn' undeclared (first use this function)
kernel/qpngio.cpp:485: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use this function)
kernel/qpngio.cpp:486: `PNG_COLOR_TYPE_RGB' undeclared (first use this function)
kernel/qpngio.cpp:486: `png_set_IHDR' undeclared (first use this function)
kernel/qpngio.cpp:495: `png_set_packswap' undeclared (first use this function)
kernel/qpngio.cpp:497: `png_colorp' undeclared (first use this function)
kernel/qpngio.cpp:497: parse error before `=' token
kernel/qpngio.cpp:498: `png_bytep' undeclared (first use this function)
kernel/qpngio.cpp:502: `palette' undeclared (first use this function)
kernel/qpngio.cpp:502: parse error before `[' token
kernel/qpngio.cpp:503: `png_set_PLTE' undeclared (first use this function)
kernel/qpngio.cpp:519: `copy_trans' undeclared (first use this function)
kernel/qpngio.cpp:519: parse error before `[' token
kernel/qpngio.cpp:522: `png_set_tRNS' undeclared (first use this function)
kernel/qpngio.cpp:543: `PNG_OFFSET_PIXEL' undeclared (first use this function)
kernel/qpngio.cpp:543: `png_set_oFFs' undeclared (first use this function)
kernel/qpngio.cpp:547: `png_set_sig_bytes' undeclared (first use this function)
kernel/qpngio.cpp:552: `PNG_RESOLUTION_METER' undeclared (first use this function)
kernel/qpngio.cpp:552: `png_set_pHYs' undeclared (first use this function)
kernel/qpngio.cpp:557: warning: cannot pass objects of non-POD type `const class QImage' through `...'
kernel/qpngio.cpp:560: `png_write_info' undeclared (first use this function)
kernel/qpngio.cpp:564: warning: cannot pass objects of non-POD type `const class QImage' through `...'
kernel/qpngio.cpp:580: `png_byte' undeclared (first use this function)
kernel/qpngio.cpp:580: parse error before `)' token
kernel/qpngio.cpp:588: parse error before `)' token
kernel/qpngio.cpp:591: parse error before `;' token
kernel/qpngio.cpp:599: parse error before `[' token
kernel/qpngio.cpp:604: `png_write_image' undeclared (first use this function)
kernel/qpngio.cpp:607: `png_write_end' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:816: parse error before `,' token
kernel/qpngio.cpp:817: parse error before `,' token
kernel/qpngio.cpp:819: parse error before `,' token
kernel/qpngio.cpp:833: 'png_structp' is used as a type, but is not defined as a type.
kernel/qpngio.cpp:834: 'png_infop' is used as a type, but is not defined as a type.
kernel/qpngio.cpp:923: parse error before `,' token
kernel/qpngio.cpp: In function `void info_callback(...)':
kernel/qpngio.cpp:925: `png_get_progressive_ptr' undeclared (first use this function)
kernel/qpngio.cpp:926: `info' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:930: parse error before `,' token
kernel/qpngio.cpp: In function `void row_callback(...)':
kernel/qpngio.cpp:934: `new_row' undeclared (first use this function)
kernel/qpngio.cpp:934: `row_num' undeclared (first use this function)
kernel/qpngio.cpp:934: `pass' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:938: parse error before `,' token
kernel/qpngio.cpp: In member function `virtual int QPNGFormat::decode(QImage&, QImageConsumer*, const uchar*, int)':
kernel/qpngio.cpp:1021: `png_set_progressive_read_fn' undeclared (first use this function)
kernel/qpngio.cpp:1048: parse error before `,' token
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:1062: `png_structp' was not declared in this scope
kernel/qpngio.cpp:1062: parse error before `,' token
kernel/qpngio.cpp: In member function `void QPNGFormat::info(...)':
kernel/qpngio.cpp:1064: `png' undeclared (first use this function)
kernel/qpngio.cpp:1064: `png_set_interlace_handling' undeclared (first use this function)
kernel/qpngio.cpp:1065: warning: cannot pass objects of non-POD type `class QImage' through `...'
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:1068: parse error before `,' token
kernel/qpngio.cpp: In member function `void QPNGFormat::row(...)':
kernel/qpngio.cpp:1072: `png_progressive_combine_row' undeclared (first use this function)
kernel/qpngio.cpp: At global scope:
kernel/qpngio.cpp:1076: parse error before `,' token
kernel/qpngio.cpp: In member function `void QPNGFormat::end(...)':
kernel/qpngio.cpp:1078: `png_get_x_offset_pixels' undeclared (first use this function)
kernel/qpngio.cpp:1079: `png_get_y_offset_pixels' undeclared (first use this function)
kernel/qpngio.cpp:1089: parse error before `;' token
kernel/qpngio.cpp: In function `void qt_zlib_compression_hack()':
kernel/qpngio.cpp:1216: `compress' undeclared (first use this function)
kernel/qpngio.cpp:1217: `uncompress' undeclared (first use this function)
make[6]: *** [.obj/release-shared-mt/qpngio.o] Error 1
make[6]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/src'
make[5]: *** [sub-src] Error 2
make[5]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3'
make[4]: *** [build-work/qt-x11-free-3.2.3/Makefile] Error 2
make[4]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/the_loser/Desktop/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/the_loser/Desktop/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2
[the_loser@localhost kde]$
 
Old 04-01-2004, 11:01 PM   #2
SelaAragon
Member
 
Registered: Mar 2004
Location: Cary, NC
Distribution: Gentoo 1.4, Free BSD 5.2.1
Posts: 32

Rep: Reputation: 16
Just curious. What distro are you using and have you tried a binary installation as well? Also you might want to consider checking the integrity of your source code, just to eliminate it as a possible culprit. KDE is huge and before compiling such a large package it is always wise to take the time to check the integrity of the tarball.

Last edited by SelaAragon; 04-01-2004 at 11:07 PM.
 
Old 04-02-2004, 06:16 AM   #3
the_loser
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
mandrake 9.0 nope havent really tried it and no havent really cheked the integrity I think konstruct doese that for you I think it said OK or something then agian I might be wrong thanks dude for helping me out
 
Old 04-24-2004, 10:04 PM   #4
roiya
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
was having the same problem on suse. seems i had libpng installed, but I had to install libpng-devel to get it to work. i used version 1.2.4, don't know what the recommended version is though.
 
Old 04-26-2004, 11:27 AM   #5
the_loser
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
thanks roiya it fixed that problem but everything started to install but see now I have another problem look:

{standard input}:35: Error: symbol `dev' is already defined
make[8]: *** [.obj/release-shared-mt/main.o] Error 1
make[8]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src/imageformats/jpeg'
make[7]: *** [sub-jpeg] Error 2
make[7]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src/imageformats'
make[6]: *** [sub-imageformats] Error 2
make[6]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3/plugins/src'
make[5]: *** [sub-plugins] Error 2
make[5]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free/work/qt-x11-free-3.2.3'
make[4]: *** [build-work/qt-x11-free-3.2.3/Makefile] Error 2
make[4]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/home/the_loser/Desktop/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/the_loser/Desktop/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/the_loser/Desktop/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2
[root@localhost kde]#
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors compiling KDE 3.2.1 usign konstruct kAmnesiac Slackware 3 02-22-2008 10:53 AM
kde 3.5 konstruct upgrade problem chuck0 Linux - Software 1 12-07-2005 07:19 PM
KDE 3.4 konstruct problem abattoir Mandriva 16 04-07-2005 06:14 AM
Problem installing KDE 3.4 with Konstruct mduser63 Linux - Software 5 03-28-2005 07:11 AM
Installing KDE 3.2.3 w/konstruct gives Qt lib error while compiling... Intrus Mandriva 2 08-08-2004 12:08 PM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration