Message-ID: <4D263D2C.2090708@...1030...> Date: Thu, 06 Jan 2011 22:07:40 +0000 From: Mr Dash Four MIME-Version: 1.0 References: <4D260407.9090004@...1030...> <4D260739.1030201@...68...> <4D262940.5020104@...1030...> <4D262C21.6080905@...68...> In-Reply-To: <4D262C21.6080905@...68...> Subject: Re: [Openvpn-devel] bugfix2.1: automake support for plugin build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Matthias Andree Cc: "openvpn-devel@lists.sourceforge.net" > This has gone wrong. The plugins should be built from the top-level > directory instead (see below how it works for me), with the regular > "make" that also builds openvpn, so the "for plugin in ... make -C > $plugin ..." is no longer needed for these two guys. > > "make install" should load the material where it belongs, namely into > libdir/packagename, i. e. /usr[/local]/lib/openvpn/*.so > > But I should possibly remove the Makefiles that are no longer needed. > > My log excerpt is given below. > So, should I remove the for loop then? Would that be enough? I don't know if it is clear to you, but I am not building OpenVPN to install it on a local machine - I am doing cross-compilation build to end up with rpm, which is for a different architecture to be installed on a completely different machine (my build machine is x86_64, host machine is i686). So, I am not using ./configure, make and then make install in a sense - I am running "rpmbuild -bb" (which in itself runs configure and make) with a custom-designed openvpn.spec file - this is also where I apply your patches.