alkesaltzer Napisano Sierpień 6, 2005 Zgłoszenie Share Napisano Sierpień 6, 2005 Witam Mam pewien być możę banalny problem lecz jestem jeszcze słabo rozeznany w linuxe z instalacją KDE 3.4.2 ze źródeł. Na stronie KDE.pl znalazłem szczegółowy opis jak zainstalować sobie owe środowisko (http://www.kde.pl/?page=articles&category=4&id=2) . Na wstępie powiem ze mam świezo zainstalowanego Debiana Etch. Do tego szereg programów typu g++, gcc, bin86, libc-dev, make, x-window-system, xserver-xfree86. Zrobiłem wszystko krok po kroku tak jak jest tam opisane, wszystkie wymagane pakiety zainstalowałem. Pakiet libart_lgpl skompilował i zainstalował się poprawnie. Pakiet qt-x11-xfree3.3.4 już nie przeszedł przez kompilacje. Poledenie ./configure -system-zlib -qt-gif -system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-stl -no-xinerama -no-g++-exceptions -xft -prefix /usr/lib/qt3 wykonało się poprawnie lecz już samo make wyświetla błędy : make[1]: Entering directory `/usr/local/inne/qt-x11-free-3.3.4' cd qmake && make make[2]: Entering directory `/usr/local/inne/qt-x11-free-3.3.4/qmake' make[2]: `qmake' jest aktualne. make[2]: Leaving directory `/usr/local/inne/qt-x11-free-3.3.4/qmake' cd src/moc && make make[2]: Entering directory `/usr/local/inne/qt-x11-free-3.3.4/src/moc' make[2]: Nie nic do roboty w `first'. make[2]: Leaving directory `/usr/local/inne/qt-x11-free-3.3.4/src/moc' cd src && make make[2]: Entering directory `/usr/local/inne/qt-x11-free-3.3.4/src' g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_SM_SUPPORT -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 -DQT_NO_STYLE_POCKETPC -I/usr/local/inne/qt-x11-free-3.3.4/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: Nie ma takiego pliku ani katalogu kernel/qpngio.cpp:67: error: `png_structp' was not declared in this scope kernel/qpngio.cpp:67: error: parse error before `,' token kernel/qpngio.cpp: In function `void iod_read_fn(...)': kernel/qpngio.cpp:69: error: `png_ptr' undeclared (first use this function) kernel/qpngio.cpp:69: error: (Each undeclared identifier is reported only once for each function it appears in.) kernel/qpngio.cpp:69: error: `png_get_io_ptr' undeclared (first use this function) kernel/qpngio.cpp:72: error: `length' undeclared (first use this function) kernel/qpngio.cpp:73: error: `data' undeclared (first use this function) kernel/qpngio.cpp:75: error: `png_error' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:84: error: parse error before `,' token kernel/qpngio.cpp: In function `void qpiw_write_fn(...)': kernel/qpngio.cpp:86: error: `png_get_io_ptr' undeclared (first use this function) kernel/qpngio.cpp:91: error: `png_error' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:98: error: parse error before `)' token kernel/qpngio.cpp: In function `void qpiw_flush_fn(...)': kernel/qpngio.cpp:100: error: `png_get_io_ptr' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:111: error: type specifier omitted for parameter `png_structp ' kernel/qpngio.cpp:111: error: parse error before `,' token kernel/qpngio.cpp: In function `void setup_qt(...)': kernel/qpngio.cpp:113: error: `screen_gamma' undeclared (first use this function) kernel/qpngio.cpp:113: error: `info_ptr' undeclared (first use this function) kernel/qpngio.cpp:113: error: `PNG_INFO_gAMA' undeclared (first use this function) kernel/qpngio.cpp:113: error: `png_get_valid' undeclared (first use this function) kernel/qpngio.cpp:115: error: `png_get_gAMA' undeclared (first use this function) kernel/qpngio.cpp:116: error: `png_set_gamma' undeclared (first use this function) kernel/qpngio.cpp:119: error: `png_uint_32' undeclared (first use this function) kernel/qpngio.cpp:119: error: parse error before `;' token kernel/qpngio.cpp:123: error: `width' undeclared (first use this function) kernel/qpngio.cpp:123: error: `height' undeclared (first use this function) kernel/qpngio.cpp:124: error: `png_get_IHDR' undeclared (first use this function) kernel/qpngio.cpp:126: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use this function) kernel/qpngio.cpp:129: error: `png_set_invert_mono' undeclared (first use this function) kernel/qpngio.cpp:130: error: `png_read_update_info' undeclared (first use this function) kernel/qpngio.cpp:131: error: `image' undeclared (first use this function) kernel/qpngio.cpp:135: error: `PNG_INFO_tRNS' undeclared (first use this function) kernel/qpngio.cpp:136: error: `png_set_expand' undeclared (first use this function) kernel/qpngio.cpp:137: error: `png_set_strip_16' undeclared (first use this function) kernel/qpngio.cpp:138: error: `png_set_gray_to_rgb' undeclared (first use this function) kernel/qpngio.cpp:145: error: `png_set_swap_alpha' undeclared (first use this function) kernel/qpngio.cpp:152: error: `png_set_packing' undeclared (first use this function) kernel/qpngio.cpp:170: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function) kernel/qpngio.cpp:170: error: `PNG_INFO_PLTE' undeclared (first use this function) kernel/qpngio.cpp:213: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use this function) kernel/qpngio.cpp:220: error: `PNG_COLOR_MASK_ALPHA' undeclared (first use this function) kernel/qpngio.cpp:224: error: `PNG_FILLER_BEFORE' undeclared (first use this function) kernel/qpngio.cpp:224: error: `PNG_FILLER_AFTER' undeclared (first use this function) kernel/qpngio.cpp:224: error: `png_set_filler' undeclared (first use this function) kernel/qpngio.cpp:239: error: `png_set_bgr' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:247: error: `png_structp' was not declared in this scope kernel/qpngio.cpp:247: error: `png_const_charp' was not declared in this scope kernel/qpngio.cpp:247: error: parse error before `)' token kernel/qpngio.cpp: In function `void qt_png_warning(...)': kernel/qpngio.cpp:249: error: `message' undeclared (first use this function) kernel/qpngio.cpp: In function `void read_png_image(QImageIO*)': kernel/qpngio.cpp:260: error: parse error before `;' token kernel/qpngio.cpp:262: error: `png_infop' undeclared (first use this function) kernel/qpngio.cpp:263: error: `png_bytep' undeclared (first use this function) kernel/qpngio.cpp:263: error: `row_pointers' undeclared (first use this function) kernel/qpngio.cpp:265: error: `PNG_LIBPNG_VER_STRING' undeclared (first use this function) kernel/qpngio.cpp:265: error: `png_create_read_struct' undeclared (first use this function) kernel/qpngio.cpp:271: error: `png_set_error_fn' undeclared (first use this function) kernel/qpngio.cpp:273: error: `png_create_info_struct' undeclared (first use this function) kernel/qpngio.cpp:275: error: `png_destroy_read_struct' undeclared (first use this function) kernel/qpngio.cpp:280: error: `end_info' undeclared (first use this function) kernel/qpngio.cpp:287: error: `setjmp' undeclared (first use this function) kernel/qpngio.cpp:293: error: `png_set_read_fn' undeclared (first use this function) kernel/qpngio.cpp:294: error: `png_read_info' undeclared (first use this function) kernel/qpngio.cpp:297: warning: cannot pass objects of non-POD type `class QImage' through `...'; call will abort at runtime kernel/qpngio.cpp:304: error: parse error before `;' token kernel/qpngio.cpp:309: error: `png_get_IHDR' undeclared (first use this function) kernel/qpngio.cpp:312: error: parse error before `[' token kernel/qpngio.cpp:318: error: `png_read_image' undeclared (first use this function) kernel/qpngio.cpp:338: error: `png_get_x_pixels_per_meter' undeclared (first use this function) kernel/qpngio.cpp:339: error: `png_get_y_pixels_per_meter' undeclared (first use this function) kernel/qpngio.cpp:342: error: `png_textp' undeclared (first use this function) kernel/qpngio.cpp:342: error: parse error before `;' token kernel/qpngio.cpp:344: error: `text_ptr' undeclared (first use this function) kernel/qpngio.cpp:344: error: `png_get_text' undeclared (first use this function) kernel/qpngio.cpp:373: error: `png_read_end' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:415: error: type specifier omitted for parameter `png_structp ' kernel/qpngio.cpp:415: error: parse error before `,' token kernel/qpngio.cpp: In function `void set_text(...)': kernel/qpngio.cpp:419: error: parse error before `=' token kernel/qpngio.cpp:425: error: `short_not_long' undeclared (first use this function) kernel/qpngio.cpp:427: error: `PNG_TEXT_COMPRESSION_NONE' undeclared (first use this function) kernel/qpngio.cpp:429: error: `PNG_TEXT_COMPRESSION_zTXt' undeclared (first use this function) kernel/qpngio.cpp:430: error: `png_charp' undeclared (first use this function) kernel/qpngio.cpp:431: error: parse error before `.' token kernel/qpngio.cpp:436: error: `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:455: error: parse error before `;' token kernel/qpngio.cpp:459: error: `png_create_write_struct' undeclared (first use this function) kernel/qpngio.cpp:464: error: `png_set_error_fn' undeclared (first use this function) kernel/qpngio.cpp:466: error: `png_create_info_struct' undeclared (first use this function) kernel/qpngio.cpp:468: error: `png_destroy_write_struct' undeclared (first use this function) kernel/qpngio.cpp:472: error: `setjmp' undeclared (first use this function) kernel/qpngio.cpp:485: error: `png_set_compression_level' undeclared (first use this function) kernel/qpngio.cpp:489: error: `png_set_gAMA' undeclared (first use this function) kernel/qpngio.cpp:492: error: `png_set_write_fn' undeclared (first use this function) kernel/qpngio.cpp:504: error: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use this function) kernel/qpngio.cpp:505: error: `PNG_COLOR_TYPE_RGB' undeclared (first use this function) kernel/qpngio.cpp:505: error: `png_set_IHDR' undeclared (first use this function) kernel/qpngio.cpp:514: error: `png_set_packswap' undeclared (first use this function) kernel/qpngio.cpp:516: error: `png_colorp' undeclared (first use this function) kernel/qpngio.cpp:516: error: parse error before `=' token kernel/qpngio.cpp:517: error: `png_bytep' undeclared (first use this function) kernel/qpngio.cpp:521: error: `palette' undeclared (first use this function) kernel/qpngio.cpp:521: error: parse error before `[' token kernel/qpngio.cpp:522: error: `png_set_PLTE' undeclared (first use this function) kernel/qpngio.cpp:538: error: `copy_trans' undeclared (first use this function) kernel/qpngio.cpp:538: error: parse error before `[' token kernel/qpngio.cpp:541: error: `png_set_tRNS' undeclared (first use this function) kernel/qpngio.cpp:553: error: `png_set_swap_alpha' undeclared (first use this function) kernel/qpngio.cpp:558: error: `png_set_bgr' undeclared (first use this function) kernel/qpngio.cpp:562: error: `PNG_OFFSET_PIXEL' undeclared (first use this function) kernel/qpngio.cpp:562: error: `png_set_oFFs' undeclared (first use this function) kernel/qpngio.cpp:566: error: `png_set_sig_bytes' undeclared (first use this function) kernel/qpngio.cpp:571: error: `PNG_RESOLUTION_METER' undeclared (first use this function) kernel/qpngio.cpp:571: error: `png_set_pHYs' undeclared (first use this function) kernel/qpngio.cpp:576: warning: cannot pass objects of non-POD type `const class QImage' through `...'; call will abort at runtime kernel/qpngio.cpp:579: error: `png_write_info' undeclared (first use this function) kernel/qpngio.cpp:583: warning: cannot pass objects of non-POD type `const class QImage' through `...'; call will abort at runtime kernel/qpngio.cpp:587: error: `png_set_packing' undeclared (first use this function) kernel/qpngio.cpp:592: error: `png_set_filler' undeclared (first use this function) kernel/qpngio.cpp:599: error: `png_byte' undeclared (first use this function) kernel/qpngio.cpp:599: error: parse error before `)' token kernel/qpngio.cpp:607: error: parse error before `)' token kernel/qpngio.cpp:610: error: parse error before `;' token kernel/qpngio.cpp:615: error: `png_get_IHDR' undeclared (first use this function) kernel/qpngio.cpp:618: error: parse error before `[' token kernel/qpngio.cpp:623: error: `png_write_image' undeclared (first use this function) kernel/qpngio.cpp:626: error: `png_write_end' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:835: error: parse error before `,' token kernel/qpngio.cpp:836: error: parse error before `,' token kernel/qpngio.cpp:838: error: parse error before `,' token kernel/qpngio.cpp:852: error: 'png_structp' is used as a type, but is not defined as a type. kernel/qpngio.cpp:853: error: 'png_infop' is used as a type, but is not defined as a type. kernel/qpngio.cpp:942: error: parse error before `,' token kernel/qpngio.cpp: In function `void info_callback(...)': kernel/qpngio.cpp:944: error: `png_get_progressive_ptr' undeclared (first use this function) kernel/qpngio.cpp:945: error: `info' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:949: error: parse error before `,' token kernel/qpngio.cpp: In function `void row_callback(...)': kernel/qpngio.cpp:952: error: `png_get_progressive_ptr' undeclared (first use this function) kernel/qpngio.cpp:953: error: `new_row' undeclared (first use this function) kernel/qpngio.cpp:953: error: `row_num' undeclared (first use this function) kernel/qpngio.cpp:953: error: `pass' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:957: error: parse error before `,' token kernel/qpngio.cpp: In function `void end_callback(...)': kernel/qpngio.cpp:959: error: `png_get_progressive_ptr' undeclared (first use this function) kernel/qpngio.cpp: In destructor `virtual QPNGFormat::~QPNGFormat()': kernel/qpngio.cpp:1000: error: `png_destroy_read_struct' undeclared (first use this function) kernel/qpngio.cpp: In member function `virtual int QPNGFormat::decode(QImage&, QImageConsumer*, const uchar*, int)': kernel/qpngio.cpp:1016: error: `png_create_read_struct' undeclared (first use this function) kernel/qpngio.cpp:1023: error: `png_set_error_fn' undeclared (first use this function) kernel/qpngio.cpp:1024: error: `png_set_compression_level' undeclared (first use this function) kernel/qpngio.cpp:1026: error: `png_create_info_struct' undeclared (first use this function) kernel/qpngio.cpp:1028: error: `png_destroy_read_struct' undeclared (first use this function) kernel/qpngio.cpp:1033: error: `setjmp' undeclared (first use this function) kernel/qpngio.cpp:1040: error: `png_set_progressive_read_fn' undeclared (first use this function) kernel/qpngio.cpp:1052: error: `png_set_sig_bytes' undeclared (first use this function) kernel/qpngio.cpp:1067: error: parse error before `,' token kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:1081: error: `png_structp' was not declared in this scope kernel/qpngio.cpp:1081: error: parse error before `,' token kernel/qpngio.cpp: In member function `void QPNGFormat::info(...)': kernel/qpngio.cpp:1083: error: `png' undeclared (first use this function) kernel/qpngio.cpp:1083: error: `png_set_interlace_handling' undeclared (first use this function) kernel/qpngio.cpp:1084: warning: cannot pass objects of non-POD type `class QImage' through `...'; call will abort at runtime kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:1087: error: parse error before `,' token kernel/qpngio.cpp: In member function `void QPNGFormat::row(...)': kernel/qpngio.cpp:1091: error: `png_progressive_combine_row' undeclared (first use this function) kernel/qpngio.cpp: At global scope: kernel/qpngio.cpp:1095: error: parse error before `,' token kernel/qpngio.cpp: In member function `void QPNGFormat::end(...)': kernel/qpngio.cpp:1097: error: `png_get_x_offset_pixels' undeclared (first use this function) kernel/qpngio.cpp:1098: error: `png_get_y_offset_pixels' undeclared (first use this function) kernel/qpngio.cpp:1105: error: `png_get_x_pixels_per_meter' undeclared (first use this function) kernel/qpngio.cpp:1106: error: `png_get_y_pixels_per_meter' undeclared (first use this function) kernel/qpngio.cpp:1108: error: parse error before `;' token kernel/qpngio.cpp:1110: error: `png_get_text' undeclared (first use this function) kernel/qpngio.cpp: In function `void qt_zlib_compression_hack()': kernel/qpngio.cpp:1235: error: `compress' undeclared (first use this function) kernel/qpngio.cpp:1236: error: `uncompress' undeclared (first use this function) make[2]: *** [.obj/release-shared-mt/qpngio.o] Bł±d 1 make[2]: Leaving directory `/usr/local/inne/qt-x11-free-3.3.4/src' make[1]: *** [sub-src] Bł±d 2 make[1]: Leaving directory `/usr/local/inne/qt-x11-free-3.3.4' make: *** [init] Bł±d 2 Prosze o pomoc Prosze o szybką pomoc. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Raven Napisano Sierpień 6, 2005 Zgłoszenie Share Napisano Sierpień 6, 2005 Po pierwsze, jest to forum Fedory. Po drugie, jako początkujący powinieneś używać raczej pakietów (w aktualizacjach do FC4 jest KDE 3.4.2). Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
lszk Napisano Sierpień 6, 2005 Zgłoszenie Share Napisano Sierpień 6, 2005 Po pierwsze, jest to forum Fedory. Właśnie. jak już chciałeś tu pisać, to powinieneś w odpowiednim dziale świezo zainstalowanego Debiana Etch W jednym topicu o Debianie podałem kiedyś linka, skąd można przez apt stargać nowe KDE. kernel/qpngio.cpp:45:17: png.h: Nie ma takiego pliku ani katalogu Tutaj Ci pisze, czego brakuje. Musisz spełnić tę zależnośc. apt-cache search png.h libpng10-0 - PNG library, older version - runtime libpng10-dev - PNG library, older version - development libpng12-0 - PNG library - runtime libpng12-dev - PNG library - development png2html - transforms a PNG image to a web page pngcheck - PNG file format checker Instaluj, jak leci. Któryś z nich to musi być Najlepiej poleceniem apt-get install png\* Tylko zaktualizuj sobie baze paczek (przez update). Do tego mam nadzieje, że masz odpowiednie wpisy w swoim sources.list Jakby co, to dla testinga kiedyś na forum podawałem swoje. jestem jeszcze słabo rozeznany w linuxe Ehh. Toś się nie powinien sam za kompilacje brać Bo nawet, jak Ci się to uda, to pewnie nie będziesz go umiał uruchomić Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się