Re: how to install xtables extension to arbitrary path?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2011-02-14 16:25, Fabrice wrote:
>> 
>> On Monday 2011-02-14 16:03, Fabrice wrote:
>> 
>> >I'm using DESTDIR but it requires an absolute path which is only valid 
>> >on the platform I compile. Suppose the DESTDIR is my NFS which is what 
>> >my embedded platform uses, it will try to load the xtables libraries by 
>> >using the absolute path from the install. This path is unknown from the 
>> >embedded platform point of view.
>> 
>> 	./configure --prefix=/usr
>> 	make install DESTDIR=/srv/nfsroot
>> 
>> It can't be so hard to use that.
>
>That is what I do and you are right it's not hard. The problem is on the 
>embedded platform it will try to load the libs from /srv/nfsroot/ 

It won't. It will load then from the prefix. Otherwise, a helluva lot
Linux distros would have run into the problem already, because they
use DESTDIR when making their packages.

>which is not valid. The absolute path is only valid on the platform where the 
>install was done. I'm not sure if I explain the problem properly...I hope so...
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux