LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-22-2008, 05:41 AM   #1
kichun
LQ Newbie
 
Registered: Jun 2008
Distribution: openSUSE11
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-22-2008, 09:52 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, why not just install qalculate using yast.

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.
 
Old 06-22-2008, 04:47 PM   #3
kichun
LQ Newbie
 
Registered: Jun 2008
Distribution: openSUSE11
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 06-22-2008, 06:28 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 06-23-2008, 11:49 AM   #5
kichun
LQ Newbie
 
Registered: Jun 2008
Distribution: openSUSE11
Posts: 3

Original Poster
Rep: Reputation: 0
I already did that (before writing the last post). But I'm afraid that I can't update cln while updating all packages, am I right?
 
Old 06-23-2008, 02:46 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuSE 10.3 failing to uninstall openSuSE installer from the windows boot Lucens Linux - Newbie 5 10-11-2008 08:08 AM
problem in opensuse 10.3 almon Linux - Newbie 5 12-01-2007 07:57 PM
have errors while compiling beryl on opensuse 10.2 thewhitelion Linux - Software 8 11-12-2007 04:53 AM
OpenSuSE: Compiling arcmsr Module for Areca Make Error makuro Linux - Hardware 0 12-08-2006 03:32 AM
libexpat.so in wrong format when compiling Apache 2.2 under openSuSE 10 Basel Linux - Software 1 03-11-2006 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration