Solved

using make install

Posted on 2003-12-05
4
297 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fetching data from Multiple Linux Server using Shell Scripting 55 157
Help With Shell Script Centos 6 6 70
moving away from .local domain 5 69
LINUX Field Separators 7 39
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 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