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]$
|