Solved

using make install

Posted on 2003-12-05
4
298 Views
Last Modified: 2013-11-13
I want to install libnet on a Linux system however parts of the filesystem are RO on this system that are normaly RW on most system. libnet wants to use the RO parts, how can I tell make install to put the files in a differnt spot?

Thank you for your time,
Arrummzen
0
Comment
Question by:Arrummzen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9887413
u can try any of this option.

If the RPM is incompatible only because of installation path differences, you can either try to 'relocate' it:

rpm -i --relocate oldpath=newpath

or - before you install it - you link the RPMs installation directory to the one preferred by your system, e.g.

ln -s /usr /opt/kde
for SuSE's or Caldera's KDE RPMs
--------------------------
if your case u have to see where it install lets say /opt/old_path (which is RO).

ln -s /RW_path /opt/old_path
0
 
LVL 1

Author Comment

by:Arrummzen
ID: 9887422
'If the RPM is incompatible only because of installation path differences, you can either try to 'relocate' it:"

Im not using an rpm, My system uses an Intel PXA 255 NOT an x86 CPU. An rpm of x86 binnarys is useless to me. however beacuse C is platform independent I can recompile libnet for my syste.

I need to get it working using only the GNU build tools.

Thank you for your time,
Arrummzen
0
 
LVL 24

Accepted Solution

by:
shivsa earned 250 total points
ID: 9887428
when u configure there is option in configure.

Run
./configure [--prefix=PREFIX]

This will test your system and decide the versions that will work for you
(user-level, Linux module, or both). It will tell you what is wrong if it
cannot compile a version. Run

      ./configure --help

to see more options for `./configure'.
After running `./configure', the `make install' command will install the user-level executable and all
under PREFIX (which defaults to /usr/local).

so u have to change the PREFIX value while running configure.
0
 
LVL 1

Author Comment

by:Arrummzen
ID: 9887463
Good answer, thats what I needed to know. I thought it would be a option to make install, but I guess it was a configure option.

Thank you for your time,
Arrummzen
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question