[strongSwan] Building strongSwan on one machine, to be installed on another - paths
ryan at ryanruel.com
Sun Feb 15 02:51:46 CET 2015
Perfect! Thanks Noel, exactly what i need.
On Sat, Feb 14, 2015 at 8:30 PM, Noel Kuntze <noel at familie-kuntze.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> Hello Ryan,
> Don't use the prefix to make the install script copy the files into a
> special directory.
> he prefix is a statical path that will be a part of the source code when
> it gets compiled.
> To install into a different directory, use the DESTDIR directive when you
> execute make install.
> e.g.: make DESTDIR=/home/foo/install install
> Decide in which directory you will install the program on that other box
> before you compile it and adjust the prefix accordingly.
> Mit freundlichen Grüßen/Regards,
> Noel Kuntze
> GPG Key ID: 0x63EC6658
> Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658
> Am 15.02.2015 um 02:02 schrieb Ryan Ruel:
> > I am trying to build strongSwan on one machine, which will ultimately be
> installed on another machine, but in a different path.
> > On the machine where I need to build strongSwan, I was hoping to use:
> > ./configure —prefix=/home/foo/install
> > make
> > make install
> > Which of course, puts everything into /home/foo/install, which makes it
> nice to tar it up for exporting to another machine.
> > The machine where I’m planning on running strongSwan requires that I put
> the binaries into a non-standard, but when I try to do this, the libraries
> and such are all in the wrong places.
> > Which would be the best solution to this problem?
> > - Should I use the “enable-monolithic” option and statically link
> everything in? Would that help, or hurt? I see that the .so’s are still
> > - Is there a way to specify the final paths for everything when I
> compile, except for the install prefix, so that “make install” still puts
> everything in the right place, but the compiled in paths match the final
> machine paths?
> > Any suggestions would be very helpful.
> > Thanks!
> > /Ryan
> > _______________________________________________
> > Users mailing list
> > Users at lists.strongswan.org
> > https://lists.strongswan.org/mailman/listinfo/users
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> -----END PGP SIGNATURE-----
> Users mailing list
> Users at lists.strongswan.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users