Solved

using make install

Posted on 2003-12-05
4
295 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
Comment Utility
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
Comment Utility
'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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now