Go Premium for a chance to win a PS4. Enter to Win


using make install

Posted on 2003-12-05
Medium Priority
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,
Question by:Arrummzen
  • 2
  • 2
LVL 24

Expert Comment

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

Author Comment

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,
LVL 24

Accepted Solution

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

./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.

Author Comment

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,

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month7 days, 17 hours left to enroll

824 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