LinuxQuestions.org
Visit Jeremy's Blog.
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 12-05-2004, 02:25 PM   #1
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Rep: Reputation: 15
./configure problems


I'm trying to install XDrawChem on a Mandrake 9.2 box. I installed the most recent version of OpenBabel and I can't get XDC to ./configure. I've read other posts about PKG_COFIG_PATH, but I don't know if they relate to what my problem is.

[root@localhost xdrawchem-1.9]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openbabel >= 1.100.2... Package openbabel was not found in the pkg-config search path.
Perhaps you should add the directory containing `openbabel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openbabel' found

configure: error: Library requirements (openbabel >= 1.100.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

*******************
When I do a "locate openbabel.pc" I get the following results:

/usr/local/lib/pkgconfig/openbabel.pc
/usr/shared-drive/Software/openbabel-1.100.2/openbabel.pc.in
/usr/shared-drive/Software/openbabel-1.100.2/openbabel.pc

I'm not really familiar with setting environment variables, so any advice would be greatly appreciated!

Thanks,

Perry
 
Old 12-05-2004, 03:25 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Don't know this package, but typically there would be a README or INSTALL text file in the source tarball. At the same place where you are running ./configure.

Try finding it and follow instructions. Some packages default to installign in /usr . .. other to /opt (rare). you can set the variable and export it from from .bashrc file in the home or on command line itself and rerun command.

most likely the problem is missing lib/package

A lot of times the issue is that some of the packages want the development version of the package.
So you might have to download the "whateverpackge-dev.rpm" and run rpm -ivh on it.

hope this helps.
 
Old 12-05-2004, 04:03 PM   #3
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Original Poster
Rep: Reputation: 15
I've looked around the projects page on sourceforge and I haven't seen any dev packages.

The install documentation leaves a little to be desired. Basically, it says "type ./configure, make, make install, have a nice day". I emailed the author, so we'll see if he can help me out. In the meantime, any other advice would be appreciated!

Thanks
 
Old 12-10-2004, 01:47 PM   #4
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
very interesting problem
 
Old 12-10-2004, 03:01 PM   #5
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by perryub
I've looked around the projects page on sourceforge and I haven't seen any dev packages.

The install documentation leaves a little to be desired. Basically, it says "type ./configure, make, make install, have a nice day". I emailed the author, so we'll see if he can help me out. In the meantime, any other advice would be appreciated!
The README/INSTALL docs on tarballs tend to be very generic...

Do you have "openbabel.pc" anywhere on your machine? The typical place to look at is /usr/lib/pkgconfig, but it can be /usr/local/lib/pkgconfig or somewhere else. Once you've found it, set the PKG_CONFIG_PATH variable as follows (which you may already know how to do):
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
Re-run ./configure.
 
Old 12-10-2004, 05:35 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by daihard
The README/INSTALL docs on tarballs tend to be very generic...

Do you have "openbabel.pc" anywhere on your machine? The typical place to look at is /usr/lib/pkgconfig, but it can be /usr/local/lib/pkgconfig or somewhere else. Once you've found it, set the PKG_CONFIG_PATH variable as follows (which you may already know how to do):
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
Re-run ./configure.
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
Old 12-10-2004, 05:52 PM   #7
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by Komakino
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Mine was using /usr/bin/pkgconfig just as an example.
 
  


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
X Configure problems? Firewielder Linux - Hardware 9 11-02-2005 05:21 AM
Problems with ./configure PeterWelzien Slackware 16 07-08-2004 02:46 PM
./configure problems poacher Linux - Software 1 09-11-2002 01:11 AM
./configure problems KeithKessler Linux - General 5 07-15-2002 03:02 PM
./configure problems fritzlero Linux - General 0 10-23-2000 12:34 PM

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

All times are GMT -5. The time now is 03:43 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
Open Source Consulting | Domain Registration