LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-20-2005, 08:25 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Problem in installating vcdimager because of PKG_CONFIG_PATH environmental variable!


Hi,

I was trying to install vcdimager-0.7.23 from source. I uncompressed it and started the install process when configure reported an error :

Code:
----------------------------------------------- lots of output here ------------------------------------------------------------

checking for pkg-config... /usr/bin/pkg-config
checking for libcdio >= 0.72... Package libcdio was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcdio.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcdio' found
configure: error: Required libcdio library not found. Please get libcdio from http://www.gnu.org/software/libcdio/ and install it.
koodoo@knapsacker:~/vcdimager-0.7.23$
So then i went to http://www.gnu.org/software/libcdio/ and downloaded libcdio-0.75 and installed it.



I then tried installing vcdimager but configure gave the same error again.



Here is the output of slocate libcdio :
Code:
koodoo@knapsacker:~/vcdimager-0.7.23$ slocate libcdio
/win2/koodoo/backups/Sources -- Projects/vcdimager project/GNU Compact Disc Input and Control Library (libcdio).html
/win2/koodoo/backups/Sources -- Projects/vcdimager project/libcdio-0.75.tar.gz
/win2/koodoo/backups/Sources -- Projects/vcdimager project/libcdio-0.75.tar.gz.sig

/usr/local/lib/pkgconfig/libcdio.pc

/usr/local/lib/pkgconfig/libcdio_paranoia.pc
/usr/local/lib/pkgconfig/libcdio_cdda.pc
/usr/local/lib/libcdio.so.6.0.0
/usr/local/lib/libcdio.so.6
/usr/local/lib/libcdio.so
/usr/local/lib/libcdio.la
/usr/local/lib/libcdio.a
/usr/local/lib/libcdio_cdda.so.0.0.0
/usr/local/lib/libcdio_cdda.so.0
/usr/local/lib/libcdio_cdda.so
/usr/local/lib/libcdio_cdda.la
/usr/local/lib/libcdio_cdda.a
/usr/local/lib/libcdio_paranoia.so.0.0.0
/usr/local/lib/libcdio_paranoia.so.0
/usr/local/lib/libcdio_paranoia.so
/usr/local/lib/libcdio_paranoia.la
/usr/local/lib/libcdio_paranoia.a
/usr/local/info/libcdio.info
koodoo@knapsacker:~/vcdimager-0.7.23$
So I did this :
Code:
koodoo@knapsacker:~/vcdimager-0.7.23$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
koodoo@knapsacker:~/vcdimager-0.7.23$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/
koodoo@knapsacker:~/vcdimager-0.7.23$ ./configure
But again configure gave the same error.
I even tried setting PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/libio.pc" but with the same result.
Finally I tried the command $ ./configure --with-PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
but again with the same result.

I know I may be doing something very wrong or stupid here. But I do not know what it is?
Help needed.

Thanks in anticipation.

Last edited by koodoo; 08-20-2005 at 08:28 AM.
 
Old 08-21-2005, 06:08 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
"No package 'libcdio' found"

You need to install the libcdio-devel package.

-----------------------
Steve Stites
 
Old 08-22-2005, 05:26 PM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Hi, thanks for the help.
But I think I'll be needing some more of it.

I am currently working on Slackware 10.0

I like installing packages from source, but I could not find a source package for libcdio-devel.
So I downloaded libcdio-devel-0.75-1.fc5.i386.rpm. When I tried to install it, I got some dependency problems :

Code:
root@knapsacker:/home/koodoo/workspace# rpm -ivh libcdio-devel-0.75-1.fc5.i386.rpm
warning: libcdio-devel-0.75-1.fc5.i386.rpm: V3 DSA signature: NOKEY, key ID 1ac70ce6
error: Failed dependencies:
        libcdio = 0.75-1.fc5 is needed by libcdio-devel-0.75-1.fc5
        pkgconfig is needed by libcdio-devel-0.75-1.fc5
root@knapsacker:/home/koodoo/workspace#

I even tried installing libcdio-devel-0.73.i386.rpm, but had similar dependency problems.
I have already installed licdio-0.75 from source, and I also think that I have pkgconfig installed.

So, I installed libcdio-devel-0.75-1.fc5.i386rpm with the --nodeps flag.
I know one mistake that I was making here is that this rpm is made for Fedora Core 1 but I couldn't find anything more appropriate

Then I went on to install vcdimager.
Here's what configure returned.

Code:
 --------------------------------------- lot of stuff here ---------------------------------------------------------

Setup:
  Install path:     /usr/local
  Build CLI FE:     yes
  Build XML FE:     yes
  Maintainer mode:  no

root@knapsacker:/home/koodoo/workspace/vcdimager-0.7.23#
I then proceeded to make but got the following error message :

Code:
collect2: ld returned 1 exit status
make[3]: *** [vcdimager] Error 1
make[3]: Leaving directory `/home/koodoo/workspace/vcdimager-0.7.23/frontends/cli'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/koodoo/workspace/vcdimager-0.7.23/frontends'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koodoo/workspace/vcdimager-0.7.23'
make: *** [all] Error 2
What should I do now ?
Thanks in anticipation.

Last edited by koodoo; 08-22-2005 at 05:30 PM.
 
Old 08-22-2005, 08:44 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
"What should I do now ?"

Uninstall the libcdio-devel-0.75-1.fc5.i386rpm. Then find a combination of libcdio and libcdio-devel packages that are compatable with each other and install them.

---------------------
Steve Stites
 
  


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
Setting an environmental variable maevious Linux - Newbie 6 11-24-2005 04:15 PM
PKG_CONFIG_PATH environment variable mohapi Linux - Software 8 01-11-2004 08:05 PM
Where is the PKG_CONFIG_PATH environment variable? jdruin Linux - Software 4 12-05-2003 08:31 PM
PKG_CONFIG_PATH environment variable hyperriven Linux - Software 2 10-24-2003 08:29 PM
how to get environmental variable from JAVA program edreddy Programming 2 07-29-2002 10:38 AM


All times are GMT -5. The time now is 07:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration