LinuxQuestions.org
Visit Jeremy's Blog.
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 10-12-2003, 09:28 PM   #1
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Rep: Reputation: 15
.\configure PROBLEM


I tried everything...
Now is the time to ask...

Fresh installed and updated RH9
I want to install Screem package.

When I run ./configure last lines are:

checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

I downloaded latest glib-2.2.3
And succefully run .\configure -make -make install

I tried again to run .\configure for Screem and got
exactly the same message:

checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

So I checked my config.log:

[root@localhost screem-0.8.2]# less config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by screem configure 0.8.2, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.20-20.9
uname -s = Linux
uname -v = #1 Mon Aug 18 11:45:58 EDT 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin

What to do? May be something in gcc?
But I compiled GLIB...

Thanks.
Michael.
 
Old 10-12-2003, 09:32 PM   #2
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
try an rpm or tar download.

~It's sort of cheating but it works heh heh
 
Old 10-12-2003, 09:47 PM   #3
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Mossy please be more detailed...
I am too new to understand your laconic answer

to tar what?

I untared Screem and run .\configure
 
Old 10-12-2003, 09:50 PM   #4
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
Try running 'ldconfig' as root to make sure the new GLIB libs get found.
 
Old 10-12-2003, 09:52 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
mossy suggested not bothering with the source code but to use rpms instead.

http://www.google.com/search?hl=en&i...=Google+Search

most likely you'll want to use the command:

rpm -Ivh filename.rpm

if upgrading to a newer version and old version is still installed:

rpm -Uvh filename.rpm

you can also click the *.rpm file in the gui if you want and have kpackage or gnome package manager install the rpm.
 
Old 10-12-2003, 10:27 PM   #6
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks
Advices are good. But there is no RPM...

Better help me to solve the problem

Idconfig is not there

[root@localhost /]# Idconfig
-bash: Idconfig: command not found
[root@localhost /]# man idconfig
No manual entry for idconfig
[root@localhost /]# locate Idconfig
[root@localhost /]# locate idconfig
[root@localhost /]#
 
Old 10-12-2003, 10:32 PM   #7
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Quote:
Try running 'ldconfig' as root to make sure the new GLIB libs get found.
http://www.die.net/doc/linux/man/man8/ldconfig.8.html

Or you can try this: http://download.fedora.us/fedora/red....0.94.i386.rpm
It is not 0.8.2 (i.e. "bleeding edge" ) but may do the job if everything else fail.

Last edited by pesho_p; 10-12-2003 at 10:42 PM.
 
Old 10-12-2003, 11:05 PM   #8
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
I run
/sbin/ldconfig -v ( took it from example ldconfig manual )


very long listing.. didn't find glib
all lines begin by l... (
what you will suggest?
I compiled glib and all 3 steps run well...


....
libOSMesa.so.4 -> libOSMesa.so.4.0
libICE.so.6 -> libICE.so.6.3
/usr/lib/sane:
libsane.so.1 -> libsane-v4l.so.1.0.9
/usr/lib/qt-3.1/lib:
libqui.so.1 -> libqui.so.1.0.0
libqt-mt.so.3 -> libqt-mt.so.3.1.1
libqassistantclient.so.1 -> libqassistantclient.so.1.0.0
libeditor.so.1 -> libeditor.so.1.0.0
libdesigner.so.1 -> libdesigner.so.1.0.0
/lib/i686: (hwcap: 0x8000000000000)
librt.so.1 -> librt-2.3.2.so
libm.so.6 -> libm-2.3.2.so
libc.so.6 -> libc-2.3.2.so
libpthread.so.0 -> libpthread-0.10.so
/lib/tls: (hwcap: 0x8000000000000000)
librt.so.1 -> librt-2.3.2.so
libpthread.so.0 -> libpthread-0.34.so
libthread_db.so.1 -> libthread_db-1.0.so
libm.so.6 -> libm-2.3.2.so
libc.so.6 -> libc-2.3.2.so
 
Old 10-13-2003, 12:17 AM   #9
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Open /etc/ld.so.conf and check for existence of line containing '/usr/local'. If it is not there simply add it and then rerun 'ldconfig'. Or better yet do 'make uninstall' in the directory containing glib, erase that directory and unpack downloaded archive again. Then do the './configure && make && make install' procedure again, but this time as './configure --prefix=/usr --sysconfdir=/etc && make && make install'. Then run 'ldconfig' again. After that try with that Screem package (again ./configure --prefix=/usr --sysconfdir=/etc && make && make install, but without 'ldconfig', because it is not necessary).
 
Old 10-13-2003, 08:19 AM   #10
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Hi pesho_p,
I did first part. reinstalled glib as you suggested.
Before I'll run Screem, I want to be sure not to mess up again.

How to run properly ldconfig? (Please exact way)

I very want to succed with that
 
Old 10-13-2003, 11:04 AM   #11
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
sorry about the brevity of last post - I meant what megaspaz says.
 
Old 10-13-2003, 11:34 AM   #12
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
I didn't run ldconfig because don't know for what directory
but after proper reinstall of glib I moved forward...
How to fix new error?
How to adjust the PKG_CONFIG_PATH environment variable?
I found Screem rpm at freshrpms finally
But I would like to get satisfaction from compiling...
After your advices I will review all...
Doing all that is good to improve the knowledge of Linux.
Thanks.




module-2.0 >= 2.2.0 libgnomeprint-2.2 >= 2.2
.0 libgnomeprintui-2.2 >= 2.2.0 g
tksourceview-1.0 >= 0.3.0 ... Package libgnome-2.0 was not found in the pkg-conf
ig search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found

configure: error: Library requirements ( libgnome-2.0 >=
2.2.0 libgnomeui-2.0 >= 2.2.0 l
ibxml-2.0 >= 2.4.3 libglade-2.0 >= 2.0.0 g
conf-2.0 >= 2.2.0 gnome-vfs-2.0 >= 2.2.0 g
dk-pixbuf-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 l
ibbonobo-2.0 >= 2.2.0 libbonoboui-2.0 >= 2.2.0
libgtkhtml-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.0 l
ibgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >= 2
.2.0 gtksourceview-1.0 >= 0.3.0 ) not met; consider a
djusting the PKG_CONFIG_PATH environment variable if your libraries are in a non
standard prefix so pkg-config can find them.
[root@localhost screem-0.8.2]#
 
Old 10-13-2003, 12:33 PM   #13
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
I found simple solution.
RPM

I did it throug Synaptic

It installed another missed package and after Screem.

Thanks to all.
 
Old 10-13-2003, 05:01 PM   #14
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
yaahoo!

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem with ./configure Chtiman Linux - Software 1 01-04-2005 10:53 AM
./configure problem tuxrules Linux - Newbie 6 09-24-2004 12:58 PM
./configure problem :( moskal Mandriva 23 08-15-2004 11:33 PM
problem with ./configure vijay_souri Linux - Software 0 06-07-2004 01:04 PM
configure problem. schatoor Linux - General 9 12-17-2002 09:07 AM


All times are GMT -5. The time now is 10:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration