LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2004, 04:46 PM   #1
DDD26
LQ Newbie
 
Registered: Dec 2004
Location: CA
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
Installation problems


Hi all,

I am installing coin3d software (analog of Open Inventor) and I have troubles doing that. I did everything according to the manual:
1. I Put *.tar.gz file into /usr/local/src/ directory and gzipped it:
gzip -cd coin.tar.gz | tar xvf -

A directory named coin was created. Then I created a build directory coin-build and run configure from there:
cd coin-build
../coin/configure

then in directory coin-build I typed:

make
make install

Everything seem to go fine and the program seemed to be installed however I cannot use it. Is it possible to see whether it was installed? I tried
rpm -qa | grep coin

but it does not show anything. Should it show the packages that were installed manually?

Am I doing something wrong? I am sorry for silly questions, I am very new to installing software under linux.

Regards.
 
Old 12-15-2004, 05:08 PM   #2
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Use the whereis <package name> command or the locate<package name> command.
If it only returns a name then it was not installed.
 
Old 12-15-2004, 05:10 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"I tried
rpm -qa | grep coin
but it does not show anything. "

The rpm data base is where rpm stores its information about the packages that you have installed. When you compile a program to install it no information is recorded in the rpm data base. So rpm queries will find no information about packages compiled from source. In order to see if you have an executable program called coin try:

which coin

If you want to record programs compiled from source in the rpm data base then use checkinstall. You use this command sequence to do the compile.

./configure
make
checkinstall

This results in a rpm package which you install using the rpm command. checkinstall may be available on your Red Hat distribution CD. If not you can download it from here:

http://asic-linux.com.mx/~izto/checkinstall/

---------------------------
Steve Stites
 
Old 12-15-2004, 05:22 PM   #4
DDD26
LQ Newbie
 
Registered: Dec 2004
Location: CA
Distribution: Red Hat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
I tried both which and whereis:

which coin
/usr/bin/which: no coin in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin)

whereis coin
coin:

I guess it was not installed. Does anybody know what is wrong? The installation process did not give any errors and seemed to be successful. I am using RH 9.0 if it makes any difference.
 
Old 12-15-2004, 05:37 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You could read the Makefile that the configure script produced. Look for the 'install' target. It will contain a few copy commands, and you can check if the program and library files are indeed in the directories they were supposed to be copied to. Also check that your paths are OK.

One possibility is that the makefile didn't run the 'ldconfig' program. Try running /sbin/ldconfig as root and see if that fixes the problem.

While looking at the Makefile, you may find a target called 'check'. Some projects have this target to check if the compilation went OK.

After installing from source, I will sometimes use the find command to locate new files in the /usr hierarchy: find /usr -cmin -5
Often this will reveal the location of documentation installed with the package.

Be sure to carefully read the INSTALL and README files that are in the source directory. There may be caviats that you need to heed for a successful installation.

Last edited by jschiwal; 12-15-2004 at 05:44 PM.
 
  


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
installation problems Garibaldi3489 Slackware 8 01-27-2005 02:34 AM
installation problems marccu Linux - Newbie 14 09-28-2003 07:01 AM
Installation problems christer Linux - Software 2 09-27-2003 06:52 PM
Mandrake 9.0 Installation Problems: X-Server, GUI Problems? chromelocust Linux - Software 4 03-21-2003 02:59 AM
Installation Problems loran Linux - Software 16 03-03-2003 08:28 AM


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