problem with cln whie compiling libqalculate/ opensuse 11
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
problem with cln whie compiling libqalculate/ opensuse 11
I installed the latest cln and cln-devel via yast. After trying ./configure in the libqalculate directory i get this error:
Quote:
checking for CLN - version >= 1.1.0... no
*** The cln-config script installed by CLN could not be found
*** If CLN was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the CLN_CONFIG environment variable to the
*** full path to cln-config.
configure: error: No suitable installed version of CLN could be found.
I tried compiling the source package from cln's home directory but the result's the same. I changed the prefix :
Quote:
./configure --with-cln-prefix=/usr/lib/
and got this:
Quote:
checking for cln-config... /usr/lib//bin/cln-config
checking for CLN - version >= 1.1.0... ./configure: line 21073: /usr/lib//bin/cln-config: No such file or directory
./configure: line 21074: /usr/lib//bin/cln-config: No such file or directory
./configure: line 21075: /usr/lib//bin/cln-config: No such file or directory
./configure: line 21082: test: `)' expected, found 1
no
*** Could not run CLN test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding CLN or finding the wrong
*** version of CLN. If it is not finding CLN, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location. Also, make sure you have run ldconfig if that
*** is required on your system.
configure: error: No suitable installed version of CLN could be found.
I thought that because of this line :
Quote:
./configure: line 21074: /usr/lib//bin/cln-config: No such file or directory
I have to edit the configure file by myself, which is no problem but there;s no cln-config file on my disk. Could anyone please help? I used qalculate before and i can't imagine doing anything without it.
Second, which version of CLN do you have installed. CLN no longer uses cln-config, rather it uses a metadata (*.pc) file. CLN 1.1.13 is the last version to use cln-config IIRC. The libqalculate devs are behind the times and need to fix their configure script. If you don't want to downgrade CLN, you could create a cln-config.
Third, assuming you are using an older version of CLN or a cln-config you create, you would pass --with-cln-prefix=/usr not --with-cln-prefix=/usr/lib/. Of course the libqalculate configure script assumes the /usr prefix by default, so you shouldn't need to pass anything.
I couldn't find qalculate in yast. I tried to installed an older version of cln from a rpm and then libqalculate and qalculate-gtk the same way, however I can't find qalculate-kde, but that doesn't meter. I only want to know if the whole thing will work after I make an update. The new cln doesn't include libcln.so.4 (it includes libcln.so.4)which is needed by libqalculate.
cln-1.2.2 (the current stable version I think) provides libcln-so.5.0.2. Try building and installing cln-1.1.13 which, I suspect provided version 4 of libcln. cln-1.1.3 also installs cln-config. I suspect libqalculate hasn't been updated since cln-1.1.13 which is why newer versions of CLN don't work.
You tried to do what? Build and install cln-1.1.13? You should be able to build and install cln-1.1.13 and then libqalculate-0.9.6.
I don't understand your question relative to updating all packages when you update cln. Do you mean updating cln using YAST? I'm not at all familiar with YAST, but there may be a way to install a specific version of a package (e.g., cln-1.1.13) rather than the latest stable version. If that's not possible, then install CLN and libqalculate from source but install them in /usr/local or your $HOME directory. That way YAST won't blow away the version of CLN you need for libqalculate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.