LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cheops and slackware 12.2 (Gnome Files Error) (https://www.linuxquestions.org/questions/slackware-14/cheops-and-slackware-12-2-gnome-files-error-801746/)

netpumber 04-13-2010 08:39 AM

Cheops and slackware 12.2 (Gnome Files Error)
 
Hi All . Today i download cheops source code and when i type ./configure returns me this error :

Quote:

checking for gnome-config... no
checking for gnomeConf.sh file in /usr/local/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install
Is there any way to install cheops in KDE ? Do you know any solution for this problem ?

Thanks!

knudfl 04-13-2010 12:56 PM

"gnome-libs-1.4.x" : Last time seem in Slackware 8.1 ?
ftp://ftp.heanet.ie/mirrors/ftp.slac...ackware/gnome/
gnome-libs-1.4.1.7-i386-1.tgz provides /usr/lib/gnomeConf.sh

Cheops-0.61 is from 2002, cheops-ng-0.2.3 : 2003,
equal build requirements.

The gnome-libs-1.4.1.7 can be omitted, if you install a binary
package http://distro.ibiblio.org/pub/linux/...ps-0.61.tar.gz
EDIT : please see post # 5.
.. .....

netpumber 04-13-2010 03:14 PM

I install gnome-libs and then with installpkg cheops-0.61.tgz this is what i get back

Quote:

installpkg cheops-0.61.tgz
Installing package cheops-0.61...
PACKAGE DESCRIPTION:
and if im gonna run cheops from console

Quote:

bash: cheops: command not found

netpumber 04-13-2010 04:25 PM

Also if now im going to ./configure the source code i get this back :

Quote:

hecking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path

knudfl 04-14-2010 01:28 AM

Install cd, disk 1, slackware/l/gtk+-1.2.10-i486-4.tgz
Also required : slackware/l/glib-1.2.10-i486-3.tgz

Seems you have an incomplete OS install.
All the packages in " slackware/l/ " are useful.

.....

About the binary package :
My mistake ... it is packed into a folder.
You can just do :
tar xvf cheops-0.61.tar.gz (or tar xvf cheops-0.61.tgz)
And # cp usr/local/bin/cheops /usr/local/bin/
.....

netpumber 04-14-2010 03:21 AM

Hmm i install gtk+-1.2.10-i486-4.tgz and glib-1.2.10-i486-3 was already installed..Then i run ./configure and this is what returned to me again..

Quote:

checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path

netpumber 04-14-2010 03:22 AM

Hmm i install gtk+-1.2.10-i486-4.tgz and glib-1.2.10-i486-3 was already installed..Then i run ./configure and this is what returned to me again..

Quote:

checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path

knudfl 04-14-2010 03:48 AM

cheops-ng_0.2.3 : NG means new generation.
http://packages.ubuntu.com/hardy/cheops-ng
Links for cheops-ng → [cheops-ng_0.2.3.orig.tar.gz]

No problems on a modern Linux with that one.
Is still used for Ubuntu Hardy 8.04 (LTS).
.....

Probably more than one version of the 1999 style cheops-0.61.
Your version may assume the "1999 different gtk file locations"
in e.g. /usr/include/ . ( Was changed when gtk2 appeared.)
The version "0.61" I found: configure is not even checking for gtk.
And it cannot be compiled. May require gcc-2.95 ? Or is buggy ?
.....

netpumber 04-14-2010 04:10 AM

So..? What to do??

knudfl 04-16-2010 09:47 AM

Well, it seems cheops doesn't like the /usr/bin/gtk-config
in Slackware 12 , 12.1 , 12.2 . But easy to build cheops-ng
on a different Linux, and create a Slackware package :
'cheops-ng-0.2.3sl122.i586.tgz'. Click my name and send a mail,
to get the package, 508 kB in a return mail.

You will need libxml-1.8.17 too :
ftp://ftp.heanet.ie/mirrors/ftp.slac....17-i386-1.tgz
((Was also needed for compiling, configure would look for it
after the gtk checking.))


All times are GMT -5. The time now is 03:48 AM.