During the emerge process of kmatplot-0.4 compiling fails due the "inline bug" in kmatplot/widgets/qscontour.[cpp/h] patch is available at http://www.rocklinux.org/sources/package/rene/kmatplot/inline-fix.patch Merged it manually and it works! Hope it helps.
Part of log: dialogs/libdialogs.a(ksexportpicturedlg.o): In function `KSExportPictureDlg::exportPicture(void)': ksexportpicturedlg.o(.text+0x12c4): the use of `tmpnam' is dangerous, better use `mkstemp' widgets/libplot.a(qscontour.o): In function `QSContour::drawing_fills(void)': qscontour.o(.text+0x16c9): undefined reference to `QSContour::find_level_greater_than(double)' widgets/libplot.a(qscontour.o): In function `QSContour::draw_rectangle(QSPt3f const *)': qscontour.o(.text+0x1b51): undefined reference to `QSContour::find_level_greater_than(double)' collect2: ld returned 1 exit status make[3]: *** [kmatplot] Error 1 make[3]: Leaving directory `/var/tmp/portage/kmatplot-0.4/work/kmatplot-0.4/kmatplot' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kmatplot-0.4/work/kmatplot-0.4/kmatplot' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kmatplot-0.4/work/kmatplot-0.4' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -5977, Exitcode 2 !!! died running emake, kde_src_compile:make
kmatplot emerges fine here, when does it fail (which compiler/ which glibc/which optimizations/which qt/kde?)?
GCC 2.95.3 KDE 3.04 QT 3.0.5-r2 GLIBC 2.2.5-r7 CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" CXXFLAGS="${CFLAGS}" USE="3dnow aalib alsa arts avi berkdb crypt cups dga doc dvd encode gd gdbm gif gpm gtk imap imlib innodb ipv6 java jpeg kde lcms libwww maildir mbox mikmod mmx mozilla motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib plotutils png qt qtmt quicktime readline sdl socks5 spell sse ssl svga tcltk tetex tcpd tiff truetype wmf X xml xml2 xmms xv zlib" I can also send ./configure output, if needed.
ok, committed. thanks for submission.
kmatplot-0.4 doesn`t compile. GCC 3.2.1 GLIBC: glibc-2.3.1-r2 QT: qt-3.1.0-r1 I dont have kde installed, but some kde packages (running fluxbox): kdesdk-3.0.5a kdegraphics-3.0.5a kdelibs-3.1 kde-env-3-r2 kdelibs-3.0.5a kdegraphics-3.1 here is the compile error: qsdrvhittest.h:41: sorry, not implemented: adjusting pointers for covariant returns make[3]: *** [qsdrvhittest.o] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[2]: *** [all-recursive] Fehler 1 make[1]: *** [all-recursive] Fehler 1 make: *** [all-recursive-am] Fehler 2 !!! ERROR: app-sci/kmatplot-0.4 failed. !!! Function kde_src_compile, Line 114, Exitcode 2 !!! died running emake, kde_src_compile:make
Konrad: fixed that in current cvs, please test.
Thank you Hannes, it works now!
i bumped to 0.4-r1 cause 0.4 installed /kmatplotrc. 0.4-r1 no longer installs this file.