RE: Choose destination directory at installation

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <3046C179E69FC24AB83536978A17614D04C4833C@i2km96-ukbr.domain1.systemhost.net>
Thomas Anders wrote:
> Sauterel Fabrice wrote:
> > The problem remains... If I specify a "--prefix=myPrefix" for the 
> > ./configure script, then typing "make install 
> > DESTDIR=/some/where/else" will install the agent in 
> > /some/where/else/myPrefix
> > 
> > If I do not specify any prefix, then typing "make install 
> > DESTDIR=/some/where/else" will install it in 
> > /some/where/else/usr/local
> > 
> > I would like my root to be /some/where/else
> > And then:
> > /some/where/else/bin
> > /some/where/else/include
> > /some/where/else/sbin
> > etc...
> 
> Then you need to configure --prefix=/some/where/else. These 
> paths get hard-coded into the toolkit, so you cannot change 
> them (permanently) at install time.
> 
> 

Accoding to ./configure --help you can use the following options:
Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data
[PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data
[PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

I have never actually used any of those though.

Regards,

Holger

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.