Short list of configuration issues for Linux Mint

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Short list of configuration issues for Linux Mint

Daniel J Sebald
I've upgraded to Linux Mint and noticed a few small issues with
configuration and linking.

TERMLIBS DEFINITION FOR wxWidgets COMPILATION
---------------------------------------------
I came across this linking error:

/usr/bin/ld: wxterminal/wxt_gui.o: undefined reference to symbol
'XInitThreads'
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status

which luckily I found details about in the list archive around 2014.
Per one of Ethan's posts:

-----
Could you please try

TERMLIBS="-lX11" ./configure
-----

That fixed the linking problem.  I'm just curious what the status of
this issue is.  Ethan wrote something about the issue should be fixed in
wxWidgets.  Has this been addressed in that project?  Is it simply that
Ubuntu/Mint lags a bit in up-to-date software utilities?  (The
repository does seem to be behind a bit, at least in the non-major
programs.)


CONFIGURATION DOESN'T CHECK FOR Qt PROGRAM lrelease
---------------------------------------------------
I then ran into:

        mv -f $depbase.Tpo $depbase.Po
c++  -g -O2 -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0
-I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
-pthread -pthread -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0   -fPIC    -o gnuplot_qt
qtterminal/gnuplot_qt.o qtterminal/QtGnuplotWindow.o
qtterminal/QtGnuplotApplication.o qtterminal/QtGnuplotWidget.o
qtterminal/QtGnuplotScene.o qtterminal/QtGnuplotItems.o
qtterminal/QtGnuplotEvent.o qtterminal/moc_QtGnuplotWindow.o
qtterminal/moc_QtGnuplotApplication.o qtterminal/moc_QtGnuplotWidget.o
qtterminal/moc_QtGnuplotScene.o qtterminal/moc_QtGnuplotEvent.o
qtterminal/qrc_QtGnuplotResource.o -lQt5Network -lQt5Svg
-lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core   -ldl -lm  -lz
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
/home/sebald/gnuplot/gnuplot/gnuplot/src/qtterminal/po/qtgnuplot_fr.ts
-qm qtgnuplot_fr.qm
/bin/bash: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: No such file or
directory
make[3]: *** [qtgnuplot_fr.qm] Error 127
make[3]: Leaving directory `/usr/local/src/gnuplot/gnuplot/build1/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gnuplot/gnuplot/build1/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/gnuplot/gnuplot/build1/src'
make: *** [install-recursive] Error 1

Yes, there is no such file:

sebald@ ~ $ ls /usr/lib/x86_64-linux-gnu/qt5/bin
moc  qdbuscpp2xml  qdbusxml2cpp  qdoc  qmake  rcc  syncqt.pl  uic

so I had to add package qttools5-dev-tools.  Is this another package in
the list of Qt libraries (i.e., Qt5Core, Qt5Gui, Qt5Svg, etc.) to check
for?  Or is more a helper routine that is expected to be present?
(There are a lot of instances in config where a minor program can be
missing and isn't checked supplied.)


IS IT REALLY A WARNING TO HAVE Qt5?
-----------------------------------
After supplying all the needed Qt5 libraries (through a bit of
straightforward trial and error), the source code compiles and links and
runs the 'qt' terminal just fine.  Yet, in the configuration log is the
following warning:

checking for CAIROPDF... yes
checking for CAIROEPS... yes
checking for QT... yes
configure: WARNING: The Qt terminal will use Qt5.
checking for vfork.h... (cached) no

Why is this a warning?  If there is something wrong with Qt5, perhaps
the warning could state what it is.  If there is no problem with Qt5,
then remove the "WARNING" portion and just state The Qt terminal will
use Qt5.  Actually the whole message could be left out because near the
end of the log is a summary which states:

   wxt terminal: yes
   Qt terminal: yes (qt5)


LIBWX, MORE THAN JUST BASE
--------------------------
I ran into this warning:

configure: WARNING: You only have the 'base' flavor of wxWidgets. A full
wxWidgets library is required. On Debian/Ubuntu, please make sure that
you have a 'libwx...-dev' package other than just 'libwxbase...-dev'
installed. The wxWidgets terminal will not be compiled.

Linux Mint is based on Ubuntu.  I couldn't find 'libwx...-dev'.  I think
the one that made the library complete and eliminated the warning for me
was 'libwxgtk3.0-dev'.


Dan

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Loading...