SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to compile and install the qt4-gui for Licq. The configure, or buildscript, don't end in an error. But on checking, it says
Code:
$ cmake -DCMAKE_INSTALL_PREFIX=/opt/licq/ ..
-- Could NOT find Boost
-- Found Licq include dir: /home/wed/licq-1.3.9/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wed/licq-1.3.9/plugins/qt4-gui/build
bash-4.1$
The requirements state:
Quote:
Boost C++ Libraries >= 1.31.1. Portable and very useful C++ libraries, see http://www.boost.org/ for more information.
I have checked and my system holds boost-1.42.0-i486-1.txz. I even reinstalled it. The sources are downloaded from boost.org, so 1.43 is possible, but ought not to be necessary.
Probably the pkgconfig path. The compile checks /usr/lib/pkgconfig, but if you installed in /usr/local, there might be a /usr/local/pkgconfig
Find pkgconfig directories, and try either specifying the pkgconfig path, or
cd /usr/lib(64)/pkgconfig
lndir /usr/local/lib/pkgconfig
lndir /opt/lib/pkgconfig
etc.
I just built licq 1.3.9 and Cmake reported the same thing about missing Boost. This is a full install and so I know I have Boost installed.
Looking inside CMakeLists.txt, Cmake is looking for a Boost component called smart_ptr. I have no idea what that is but there is an include directory inside /usr/include/boost called smart_ptr. I hacked CMakeLists.txt so that it just generically looks for Boost and Cmake reported that it found Boost but it doesn't look like it does anything.
However, even if Cmake finds boost or not for the qt4-gui I was still able to build licq as well as the qt4-gui plugin. So, whatever Cmake reports it seems to be irrelevant.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
I have checked with boost 1.38 and 1.42 :
readelf -s /usr/lib/libboost_* | grep -i smart
My first guess was for a symbol not included in the "new boost".
But no luck with any of those versions.
So I don't know, what it could mean.
But : A Makefile is generated and 'make' = No errors.
( No boost is used.)
I looked into the licq.spec in licq-1.3.9-1.17.src.rpm http://download.opensuse.org/source/...9-1.17.src.rpm
There are no workarounds for the qt-gui, I think.
So may be "Could NOT find Boost" is just to be ignored.
..
P.S. : #5 @business_kid : The exact error is : "Could NOT find Boost".
..
This is not going to be of much help. I tried to install the latest Boost
(Several times Jan..Apr 2010) and it would give error messages during compile (like 147 error messages). I could never get the program that needed it to recognize the incomplete library that did compile. Contacting the Boost team was futile.
I was using an older kernel and they would not help with any information so I could fix the incompatibility myself. When asked "Do you really want to support every port yourself" they replied "yes" and that they did not want anyone else messing around in the port configuration files, apparently not even on their own machine (etc. it went on for awhile).
If this is not the latest kernel, then it may not work, and you will not
get help about older kernels.
I think something in the installation is terribly fragile and may depend on which distribution you are using.
I gave up on Boost, but am now installing a new Slackware where it seems to come included, so maybe this one will work.
Sorry this is so negative, but I just pass this on so others know what
has been tried already.
Yes, You can't use pkgconfig for boost presence detection, because boost don't ship pc file .
Try to figure out, how licq cmake script detect boost presence, but I think, that he's looking for library files in standard locations (ie. /usr/lib, /usr/local/lib) _and_ for boost headers in common locations.
Try to update Your ld cache, and look in common location for libboost* and include/boost
The CMakeLists.txt for qt4-gui in 1.3.9 has this line:
find_package(Boost 1.31.1 COMPONENTS smart_ptr)
This is an error. Since smart_ptr is a header-only component it should
not be searched for using COMPONENTS since this only works for boost
components that have a library.
I have now changed (in r7729) this line to:
find_package(Boost 1.31.1)
Which is what we already have on trunk. It should be noted that as
long as it compiles you can safely ignore the Boost NOT found error.
If you have problem building qt4-gui, please try changing the line as
indicated above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.