LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2008, 06:15 AM   #1
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Rep: Reputation: 32
Need to add correct paths for './configure' to find X libraries.


This is about installing the K3B CD/DVD Burning application into a Debian-type desktop (Mepis 8 Lenny).

We are driven into trying to compile from source because the version that arrives from using Synaptic has a bug that always reports a 'Track 1 write error' at the very end of a burn. This bug is not present on K3B in other distros in the PC (Its a multiboot).

So after unpacking the source, and running './configure', it starts checking, ending up with..
Quote:
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
Now these paths to libraries, for the use applications, are not at all the same kind of path as in
Code:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games
I searched about,until I found..
Quote:
/usr/share/doc/libx11-6
/usr/share/doc/libx11-data
/usr/share/doc/libx86-1
.. but I have no idea what to do about it.
Right about now, I just feel very ignorant. Maybe someone can help..
 
Old 12-20-2008, 10:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Libs checked for by "configure" will be searched for first
in /usr/lib/ and the suffix is usually .so which is in
the development package. ( libname = libx11.so )

# 'apt-get install libx11-dev' will do ( or use Synaptic )

You will also need 'libxext-dev' 'zlib1g-dev' 'libpng12-dev'
'libjpeg62-dev' 'libqt3-mt-dev' (11 packages) 'kdelibs4-dev'
(35 packages)
Numbers mentioned are interdependecies installed, when
installing libqt3-mt-dev and kdelibs4-dev.

Optional, if cd / DVD-ripping, encoding etc. is a requirement :
'libdvdread' 'libhal-dev' 'libhal-storage-dev'
'libavcodec-dev' 'libavformat-dev'
'libflac++-dev' 'libmpcdec-dev' 'libtag1-dev'
'libmusicbrainz4-dev'
...... and 2 packages, not in the usual repo ?
'liblame0' 'liblame-dev'
http://debian-multimedia.org/dists/s...e/liblame0.php

'./configure' was run using Debian Lenny.
....

Last edited by knudfl; 12-20-2008 at 10:54 AM.
 
Old 12-20-2008, 12:05 PM   #3
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Original Poster
Rep: Reputation: 32
Many Thanks. That was quite a list!
I have found them all and it is all compiling now.

I am not sure why the libx files were in a different directory - maybe thats where Mepis puts them. I just did copy-paste of the apt-get install commands you posted, and it worked.
 
Old 12-20-2008, 12:47 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
No, there are no libs in /usr/share/doc/libx*/

Those are directories, containing text files,
(some gzipped), is documentation.

And Mepis isn't that different from other Linux's.
....
Good luck with k3b !
....
 
Old 12-21-2008, 04:48 AM   #5
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Original Poster
Rep: Reputation: 32
For knudfl.

K3B compiled correctly.
It also continued to exhibit the problem that motivated trying out the compiled version in the first place

Your compilation advice was absolutely excellent!

I then used
Code:
$ isoinfo  -d -i /dev/cdrom
to find out the block size (2048) and the <volume_size> of the burned CDROM. Then ..
Code:
$dd if=/dev/cdrom bs=2048 count=356532 conv=notrunc,noerror | md5sum
to find out the MD5 sum.
The MD5 check is correct, even though the K3B burn verification ends with that depressing Wah..Whah sound effect signalling failure.

Life is too short to go after why K3B does this in some locales and not others. I will settle for making my own checksum when I feel it important to.
 
Old 12-21-2008, 06:15 AM   #6
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
knudfl Nice solution.
 
Old 03-24-2009, 10:34 PM   #7
Chroposnos
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
This solution worked :happy: Thanks a lot!
 
Old 10-12-2009, 04:31 AM   #8
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Original Poster
Rep: Reputation: 32
[QUOTE=GTrax;3382795]For knudfl.

I then used
Code:
$ isoinfo  -d -i /dev/cdrom
to find out the block size (2048) and the <volume_size> of the burned CDROM. Then ..
Code:
$dd if=/dev/cdrom bs=2048 count=356532 conv=notrunc,noerror | md5sum
I know this is quoting my own (old > 6 months) post, but I keep seeing it searched, and I feel it is important to expand it with just one other little hint for those maybe disappointed if they tried it blindly.

Be very sure that the path to the cdrom is right, and that the CDROM is mounted. It may have auto-mounted when you closed the drive tray .. maybe.
It may have a device name something like /dev/scd1 (Ubuntu) instead of /dev/cdrom. The way to know is to open a terminal, and type the "mount" command, and look for the CDROM-related paths.

Note that the "isoinfo" command does not work on a path that is the mounted directory (e.g. /media/cdrom0 or similar). The path must point to a device, and so must begin with "/dev" (e.g. /dev/scd1 ).
 
  


Reply

Tags
cdrom, k3b, md5


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
Python failing to find correct Subversion libraries HowitZer Linux - Software 2 11-21-2008 04:35 PM
configure: error: Cannot find X11 headers/libraries shams Ubuntu 1 02-20-2006 10:07 PM
./configure error (can't find libraries) nodnarb Linux - Newbie 3 02-09-2006 08:10 PM
gaim configure can't find ssl libraries shanenin Linux - Software 2 10-18-2003 01:46 PM
./configure problem with apollon on RH 9 -> cannot find QT headers and libraries B1TW1SE Linux - Software 13 10-17-2003 07:31 PM


All times are GMT -5. The time now is 08:37 PM.

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