From: Andreas H. <an...@xs...> - 2005-09-05 14:47:46
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Micha Bieber schrieb: | Monday, September 5, 2005, 14:09:28, Andreas Haumer wrote: | | http://qwtplot3d.sourceforge.net/050904plot3d.tgz | | |>Does not compile... :-( | | | Ooops, erroneous uploaded. My mistake :-( | I've replaced the archive by the correct sources now (unchanged URL) | Ok, I downloaded the new version and things are looking good now! :-) Here's what I did: a) Un-tared and compiled the new sources in /work/qwtplot3d.new andreas@tolstoi:~ {1014} % ll /work/qwtplot3d.new/lib insgesamt 387 drwxrwxr-x 2 andreas outlaws 200 2005-09-05 15:52 ./ drwxrwxr-x 8 andreas outlaws 336 2005-09-05 15:52 ../ lrwxrwxrwx 1 andreas outlaws 21 2005-09-05 15:52 libqwtplot3d.so -> libqwtplot3d.so.0.2.6* lrwxrwxrwx 1 andreas outlaws 21 2005-09-05 15:52 libqwtplot3d.so.0 -> libqwtplot3d.so.0.2.6* lrwxrwxrwx 1 andreas outlaws 21 2005-09-05 15:52 libqwtplot3d.so.0.2 -> libqwtplot3d.so.0.2.6* - -rwxrwxr-x 1 andreas outlaws 390712 2005-09-05 15:52 libqwtplot3d.so.0.2.6* b) Fresh install of LabPlot-1.5.0.1. The package installs ~ itself under /opt/kde3/ c) Verify LabPlot library dependencies, especially the libLabPlot libraries andreas@tolstoi:~ {1016} % ldd /opt/kde3/bin/LabPlot ~ libLabPlotnetCDF.so.3 => /opt/kde3/lib/libLabPlotnetCDF.so.3 (0x40017000) ~ libLabPlot.so.1 => /opt/kde3/lib/libLabPlot.so.1 (0x40045000) ~ libgsl.so.0 => /usr/lib/./libgsl.so.0 (0x403a6000) ~ libgslcblas.so.0 => /usr/lib/./libgslcblas.so.0 (0x40524000) ~ libMagick++.so.6 => /usr/lib/./libMagick++.so.6 (0x40555000) ~ libWand.so.6 => /usr/lib/./libWand.so.6 (0x405c0000) ~ libMagick.so.6 => /usr/lib/./libMagick.so.6 (0x405f8000) ~ libltdl.so.3 => /usr/lib/./libltdl.so.3 (0x4080e000) ~ liblcms.so.1 => /usr/lib/./liblcms.so.1 (0x40816000) ~ libtiff.so.3 => /usr/lib/./libtiff.so.3 (0x40845000) ~ libjpeg.so.62 => /usr/lib/./libjpeg.so.62 (0x40894000) ~ libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x408d0000) ~ libfftw3.so.3 => /usr/lib/./libfftw3.so.3 (0x40921000) ~ libaudiofile.so.0 => /usr/lib/./libaudiofile.so.0 (0x409b1000) ~ libGLU.so.1 => /usr/lib/./libGLU.so.1 (0x409d8000) ~ libLabPlotqwtplot3d.so.0 => /opt/kde3/lib/libLabPlotqwtplot3d.so.0 (0x40a52000) ~ libkexidbparser.so.0 => /opt/kde3/lib/libkexidbparser.so.0 (0x40aa2000) ~ libkexidb.so.0 => /opt/kde3/lib/libkexidb.so.0 (0x40ab5000) ~ libkdeprint.so.4 => /opt/kde3/lib/libkdeprint.so.4 (0x40b57000) ~ libkparts.so.2 => /opt/kde3/lib/libkparts.so.2 (0x40c2d000) ~ libkio.so.4 => /opt/kde3/lib/libkio.so.4 (0x40c72000) ~ libkdeui.so.4 => /opt/kde3/lib/libkdeui.so.4 (0x40fad000) ~ libkdesu.so.4 => /opt/kde3/lib/libkdesu.so.4 (0x41284000) ~ libkwalletclient.so.1 => /opt/kde3/lib/libkwalletclient.so.1 (0x4129e000) ~ libkdecore.so.4 => /opt/kde3/lib/libkdecore.so.4 (0x412b0000) ~ libDCOP.so.4 => /opt/kde3/lib/libDCOP.so.4 (0x414e8000) ~ libresolv.so.2 => /lib/libresolv.so.2 (0x4151d000) ~ libutil.so.1 => /lib/libutil.so.1 (0x4152f000) ~ libart_lgpl_2.so.2 => /usr/lib/./libart_lgpl_2.so.2 (0x41533000) ~ libidn.so.11 => /usr/lib/./libidn.so.11 (0x41549000) ~ libkdefx.so.4 => /opt/kde3/lib/libkdefx.so.4 (0x41579000) ~ libqt-mt.so.3 => /usr/lib/qt3/lib/libqt-mt.so.3 (0x415a5000) ~ libGL.so.1 => /usr/lib/./libGL.so.1 (0x41c45000) ~ libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x41cb1000) ~ libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x41cc7000) ~ libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x41cca000) ~ libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x41cd3000) ~ libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x41cd6000) ~ libfontconfig.so.1 => /usr/lib/./libfontconfig.so.1 (0x41ce9000) ~ libfreetype.so.6 => /usr/lib/./libfreetype.so.6 (0x41d18000) ~ libexpat.so.0 => /usr/lib/./libexpat.so.0 (0x41d7d000) ~ libdl.so.2 => /lib/libdl.so.2 (0x41d9d000) ~ libpng.so.3 => /usr/lib/./libpng.so.3 (0x41da1000) ~ libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41dd1000) ~ libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41de0000) ~ libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41ea8000) ~ libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41eb1000) ~ libpthread.so.0 => /lib/libpthread.so.0 (0x41ec9000) ~ libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x41f1b000) ~ libz.so.1 => /usr/lib/./libz.so.1 (0x41f23000) ~ libfam.so.0 => /usr/lib/./libfam.so.0 (0x41f36000) ~ libLabPlotcephes.so.1 => /opt/kde3/lib/libLabPlotcephes.so.1 (0x41f3f000) ~ libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0x41f51000) ~ libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4201b000) ~ libm.so.6 => /lib/libm.so.6 (0x42023000) ~ libc.so.6 => /lib/libc.so.6 (0x42046000) ~ libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x42162000) ~ /lib/ld-linux.so.2 (0x40000000) andreas@tolstoi:~ {1019} % ll /opt/kde3/lib/libLabPlot* - -rw-r--r-- 1 root root 5734378 2005-09-05 12:14 /opt/kde3/lib/libLabPlot.a - -rw-r--r-- 1 root root 137756 2005-09-05 12:14 /opt/kde3/lib/libLabPlotcephes.a - -rwxr-xr-x 1 root root 846 2005-09-05 12:01 /opt/kde3/lib/libLabPlotcephes.la* lrwxrwxrwx 1 root root 25 2005-09-05 16:16 /opt/kde3/lib/libLabPlotcephes.so -> libLabPlotcephes.so.1.5.0* lrwxrwxrwx 1 root root 25 2005-09-05 16:16 /opt/kde3/lib/libLabPlotcephes.so.1 -> libLabPlotcephes.so.1.5.0* - -rwxr-xr-x 1 root root 85792 2005-09-05 12:01 /opt/kde3/lib/libLabPlotcephes.so.1.5.0* - -rwxr-xr-x 1 root root 2002 2005-09-05 12:14 /opt/kde3/lib/libLabPlot.la* - -rw-r--r-- 1 root root 214258 2005-09-05 12:14 /opt/kde3/lib/libLabPlotnetCDF.a - -rwxr-xr-x 1 root root 846 2005-09-05 12:01 /opt/kde3/lib/libLabPlotnetCDF.la* lrwxrwxrwx 1 root root 25 2005-09-05 16:16 /opt/kde3/lib/libLabPlotnetCDF.so -> libLabPlotnetCDF.so.3.5.0* lrwxrwxrwx 1 root root 25 2005-09-05 16:16 /opt/kde3/lib/libLabPlotnetCDF.so.3 -> libLabPlotnetCDF.so.3.5.0* - -rwxr-xr-x 1 root root 218554 2005-09-05 12:01 /opt/kde3/lib/libLabPlotnetCDF.so.3.5.0* - -rw-r--r-- 1 root root 586906 2005-09-05 12:14 /opt/kde3/lib/libLabPlotqwtplot3d.a - -rwxr-xr-x 1 root root 891 2005-09-05 12:02 /opt/kde3/lib/libLabPlotqwtplot3d.la* lrwxrwxrwx 1 root root 28 2005-09-05 16:16 /opt/kde3/lib/libLabPlotqwtplot3d.so -> libLabPlotqwtplot3d.so.0.2.5* lrwxrwxrwx 1 root root 28 2005-09-05 16:36 /opt/kde3/lib/libLabPlotqwtplot3d.so.0 -> libLabPlotqwtplot3d.so.0.2.5* - -rwxr-xr-x 1 root root 447962 2005-09-05 12:02 /opt/kde3/lib/libLabPlotqwtplot3d.so.0.2.5* lrwxrwxrwx 1 root root 19 2005-09-05 16:16 /opt/kde3/lib/libLabPlot.so -> libLabPlot.so.1.5.0* lrwxrwxrwx 1 root root 19 2005-09-05 16:16 /opt/kde3/lib/libLabPlot.so.1 -> libLabPlot.so.1.5.0* - -rwxr-xr-x 1 root root 3969232 2005-09-05 12:14 /opt/kde3/lib/libLabPlot.so.1.5.0* c) Verify, that the original LabPlot still does crash: andreas@tolstoi:~ {1019} % /opt/kde3/bin/LabPlot zsh: segmentation fault /opt/kde3/bin/LabPlot d) Change the installation to use the new qwtplot3d library root@tolstoi:~ {621} $ cd /opt/kde3/lib root@tolstoi:/opt/kde3/lib {622} $ rm libLabPlotqwtplot3d.so.0 /bin/rm: remove symbolic link `libLabPlotqwtplot3d.so.0'? y root@tolstoi:/opt/kde3/lib {623} $ ln -sf /work/qwtplot3d.new/lib/libqwtplot3d.so.0.2.6 libLabPlotqwtplot3d.so.0 root@tolstoi:/opt/kde3/lib {624} $ ll libLabPlot* - -rw-r--r-- 1 root root 5734378 Sep 5 12:14 libLabPlot.a - -rwxr-xr-x 1 root root 2002 Sep 5 12:14 libLabPlot.la* lrwxrwxrwx 1 root root 19 Sep 5 16:16 libLabPlot.so -> libLabPlot.so.1.5.0* lrwxrwxrwx 1 root root 19 Sep 5 16:16 libLabPlot.so.1 -> libLabPlot.so.1.5.0* - -rwxr-xr-x 1 root root 3969232 Sep 5 12:14 libLabPlot.so.1.5.0* - -rw-r--r-- 1 root root 137756 Sep 5 12:14 libLabPlotcephes.a - -rwxr-xr-x 1 root root 846 Sep 5 12:01 libLabPlotcephes.la* lrwxrwxrwx 1 root root 25 Sep 5 16:16 libLabPlotcephes.so -> libLabPlotcephes.so.1.5.0* lrwxrwxrwx 1 root root 25 Sep 5 16:16 libLabPlotcephes.so.1 -> libLabPlotcephes.so.1.5.0* - -rwxr-xr-x 1 root root 85792 Sep 5 12:01 libLabPlotcephes.so.1.5.0* - -rw-r--r-- 1 root root 214258 Sep 5 12:14 libLabPlotnetCDF.a - -rwxr-xr-x 1 root root 846 Sep 5 12:01 libLabPlotnetCDF.la* lrwxrwxrwx 1 root root 25 Sep 5 16:16 libLabPlotnetCDF.so -> libLabPlotnetCDF.so.3.5.0* lrwxrwxrwx 1 root root 25 Sep 5 16:16 libLabPlotnetCDF.so.3 -> libLabPlotnetCDF.so.3.5.0* - -rwxr-xr-x 1 root root 218554 Sep 5 12:01 libLabPlotnetCDF.so.3.5.0* - -rw-r--r-- 1 root root 586906 Sep 5 12:14 libLabPlotqwtplot3d.a - -rwxr-xr-x 1 root root 891 Sep 5 12:02 libLabPlotqwtplot3d.la* lrwxrwxrwx 1 root root 28 Sep 5 16:16 libLabPlotqwtplot3d.so -> libLabPlotqwtplot3d.so.0.2.5* lrwxrwxrwx 1 root root 45 Sep 5 16:39 libLabPlotqwtplot3d.so.0 -> /work/qwtplot3d.new/lib/libqwtplot3d.so.0.2.6* - -rwxr-xr-x 1 root root 447962 Sep 5 12:02 libLabPlotqwtplot3d.so.0.2.5* e) Start LabPlot again andreas@tolstoi:~ {1020} % /opt/kde3/bin/LabPlot LabPlot: MainWin() LabPlot: MainWin::readConfig() LabPlot: MainWin::New() LabPlot: MainWin::updateSheetList() LabPlot: MainWin::updateGraphList() LabPlot: number of windows = 0 LabPlot: NO SHEET/PLOT LabPlot: MainWin::updateSheetList() DONE - -> NO CRASH! (I even verified that QWT plots still do work... ;-) To me this looks like a valid test that the problem is solved. What do you think? What was the reason for the problem? What did you change? - - andreas - -- Andreas Haumer | mailto:an...@xs... *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDHFpixJmyeGcXPhERAgrKAJsEt4ivuA7tBYRfW0qtBDLM0qHbjgCfZA8S +Cxxkx5YnpPEXBENQXACmOY= =8Pek -----END PGP SIGNATURE----- |