LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-18-2006, 11:21 AM   #1
bungle3
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Rep: Reputation: 15
Installing librarys


I have moved from mandriva to ubuntu, this was due to the fact that i just purchased an orinoco gold card and ubuntu was the only distro it would work with after installation.
Only now with ubuntu i want to install other software from source, but keep coming up with the same problems that certain librarys dont exist.
Is there any way i can install all the librarys in one go instead of one at a time?
 
Old 10-18-2006, 11:59 AM   #2
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
My guess is no. I have not used ubuntu, but when I was testing kubuntu I noticed that most of the "default" dev librarys are not install. So you will need to install the dev pacakges that are required. Or you can brave it and do something like

Code:
apt-get install *-dev
But you will end up with every dev package in the ubuntu repository.
 
Old 10-18-2006, 12:13 PM   #3
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
If the program is packaged in Ubuntu but you want a newer version, you can try sudo apt-get build-dep programName to attempt and fetch the program necessary build libraries. If not, you'll have to run ./configure until you get all the required libraryName-dev packages.
 
Old 10-18-2006, 12:15 PM   #4
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
From the post I am guessing that he is installing from a source (non-ubuntu).
 
Old 10-18-2006, 12:29 PM   #5
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Quote:
Originally Posted by diilbert
From the post I am guessing that he is installing from a source (non-ubuntu).
Yep, you're right.
 
Old 10-22-2006, 07:59 AM   #6
bungle3
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Tried the command apt-get install *-dev but recieved an error from it.

Am trying to install kismet at the moment and receiving the error

checking for main in -luClibc++... no
configure: WARNING: uclibc++ not available on this system
checking for main in -lstdc++... yes
checking for group 'root'... yes
checking for group 'man'... checking for initscr in -lncurses... no
configure: WARNING: Unable to find libncurses
checking for initscr in -lcurses... no
configure: error: Unable to find libncurses or libcurses

Does anyone know which package i need to install for this?
 
Old 10-22-2006, 08:05 AM   #7
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
My guess is libncursesX & libncursesX-dev (X = version). My apt-cache search libncurses is showing version 5, but I am using Debian Sarge.
 
Old 10-22-2006, 08:18 AM   #8
bungle3
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks diilbert, that did the trick. What command did you use to search the apt-cache so i know what to do next time i find something missing?
 
Old 10-23-2006, 08:18 AM   #9
bungle3
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Am installing another program at the moment, while running configure i get the error

checking for suitable m4... configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons).

Any ideas
 
Old 10-23-2006, 10:04 AM   #10
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
To answer your first question:
Code:
apt-get search [PACKAGE_NAME]
Check out the APT Howto for more command details

If you are running a desktop manager you could always install Synaptic. Although I still find myself using the apt-cache command more often, since I can pipe the results through grep enabling me to narrow the results.

For the second problem:

Why is it looking in /usr/5bin for libraries?
to see if m4 is installed try:

Code:
dpkg -l | grep m4
And there should be and ii next to the m4 package if it is install (although it should be).
Otherwise install it and re-run your configure script.
 
  


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
Java librarys, Where are they?! Joe2003 Linux - Software 1 01-02-2006 06:14 AM
Basic Librarys Gonto Linux - Software 1 04-25-2005 07:25 AM
Problem with missing librarys mjl3434 Linux - Newbie 3 02-25-2004 09:33 PM
Librarys sir_aelurus Linux - Software 3 04-18-2003 08:10 PM
Librarys, What Where When Why? Micah Linux - Newbie 6 07-15-2002 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:58 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