LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 05-10-2006, 02:41 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
Compiling in any folder will install in current or correct folder ?


When logged in SSH, I was looking at the /home/username folder. In that there were are 3 files - .bash_logout, .bash_profile and .bashrc files and public_ftp and public_html folders.
It was in this /home/username folder and I did (got this from the net)
Code:
wget http://easynews.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.7.tar.gz
tar -zxf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure --disable-posix-threads
compile and install:
make
make install
The installation is complete.

Question - Did I compile it in the wrong directory ? Or compiling it in any directory will have the package installed at the proper location ?

Should I have done this in some proper location (like Windows's C:\Program Files or C:\Widnows) ?

Thanks
 
Old 05-10-2006, 04:07 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
It doesn't matter where on your system you compile software. Usually it will be installed in the right place, but always watch out for packages that could be different.
 
Old 05-10-2006, 04:17 AM   #3
blueAlien
Member
 
Registered: May 2005
Location: Seattle, WA
Distribution: Slackware 13
Posts: 87

Rep: Reputation: 15
If are wondering if anything is installed in the correct directory, you could always try searching for it.

whereis what_i_installed
slocate what_i_installed
find what_i_installed

If it is something that is executable try running the command outside of the install directory. If it works, then it is installed correctly, otherwise it won't run, and you'll get an error like "bash: what_i_installed: command not found"

Another great tip that AMAZINGLY took me way too long to learn is to check documentation files that come with the source, such as README, INSTALL, etc. These will almost always tell you where everything will be installed to, and what commands to issue to install and other options for installation.
 
Old 05-10-2006, 06:18 AM   #4
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
I got this when Im under / folder
Code:
username@server [~]# find mcrypt
find: mcrypt: No such file or directory
username@server [~]#
 
Old 05-10-2006, 09:44 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I think the file you downloaded is just a library so does not contain the mcrypt binary. If you look in /usr/lib or /usr/local/lib you should have some files named libmcrypt*. If you need to install mcrypt, you will need to download and install it using the same procedure as you used to install the library.

Last edited by reddazz; 05-10-2006 at 09:45 AM.
 
  


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
size of shared folder not correct VMWare buldir Linux - Software 0 09-01-2004 05:10 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 03:26 AM
how to get Terminal to start in current folder woodywellhung Linux - Software 1 04-28-2004 10:13 AM
Which folder form Slackware-current to download alekoos Slackware 5 04-20-2004 05:34 AM


All times are GMT -5. The time now is 06:20 PM.

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