<div dir="ltr">Perfect!  Thanks Noel, exactly what i need.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 14, 2015 at 8:30 PM, Noel Kuntze <span dir="ltr"><<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
Hello Ryan,<br>
<br>
Don't use the prefix to make the install script copy the files into a special directory.<br>
he prefix is a statical path that will be a part of the source code when it gets compiled.<br>
To install into a different directory, use the DESTDIR directive when you execute make install.<br>
e.g.: make DESTDIR=/home/foo/install install<br>
<br>
Decide in which directory you will install the program on that other box<br>
before you compile it and adjust the prefix accordingly.<br>
<br>
Mit freundlichen Grüßen/Regards,<br>
Noel Kuntze<br>
<br>
GPG Key ID: 0x63EC6658<br>
Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658<br>
<br>
Am 15.02.2015 um 02:02 schrieb Ryan Ruel:<br>
<div><div class="h5">> I am trying to build strongSwan on one machine, which will ultimately be installed on another machine, but in a different path.<br>
><br>
> On the machine where I need to build strongSwan, I was hoping to use:<br>
><br>
> ./configure —prefix=/home/foo/install<br>
> make<br>
> make install<br>
><br>
> Which of course, puts everything into /home/foo/install, which makes it nice to tar it up for exporting to another machine.<br>
><br>
> 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.<br>
><br>
> Which would be the best solution to this problem?<br>
><br>
> - 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 built.<br>
> - 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?<br>
><br>
> Any suggestions would be very helpful.<br>
><br>
> Thanks!<br>
><br>
> /Ryan<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.strongswan.org">Users@lists.strongswan.org</a><br>
> <a href="https://lists.strongswan.org/mailman/listinfo/users" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQIcBAEBCAAGBQJU3/aaAAoJEDg5KY9j7GZYAiQP/i9PjTaQa0CFMLbArhvt70if<br>
b95xymjaqPAbyvQRvRWBB8Nf0pb4tBBO0rmtt5ld3wpnt6N7Q7JPJt9YXRzNMLCv<br>
GYMGLWh/sFubtUEptLDdJZPJ0D4gKRoJvbfNW8BnHlyoGUU+gzE8J9bi03aAHRxn<br>
UXW6nmyYMACTFiG1Yb+I2zKpl/oPKD9vZHKRPl8vhReoRHGwp0qQEbXv5vGaJ2VW<br>
QI/u+zxxqEGuDM2c/oZxKYabUBLqQliIomfdJ4zvspEmdBhpXX/atcVQVDPBU+v8<br>
M3/NP7+9B7f4AXw3qfa8bAGwE8gNimVYBEmw+mcviwWKkVPKwkxq1fpGbIpI3sXp<br>
X464viGPfHaoTvtFK2HHfqkN4fJwsbpTo1fYS8s9X9GbLS4nWjUYPAJnZrl0cJ4x<br>
K1FnZJlMDYmkt/FoGc2MqrR8mMo1egOhu+rBE/zhILus/9VHcrFDLLDHaygl6arJ<br>
7l4PB+wluIW8RxOZ6BAArfOaJsSPM1rt1wV6l8aNNOJMuzVKUD512quUqM9IXVDK<br>
B/AhoL5aLo55Hhv5Cy6/SHf9tiQ7bNneBZvmxvDGtsIbSjD3nkzk9XpnONCvjjI2<br>
psRLzzYBtmNZg3+9lj2KRw6EPk3vXdwCfDVFWF6FYxyTTrP+/1RQqIF7PhAjl0aF<br>
7VySlmevLrJU4u0WFxny<br>
=tnn+<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.strongswan.org">Users@lists.strongswan.org</a><br>
<a href="https://lists.strongswan.org/mailman/listinfo/users" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a></blockquote></div><br></div>