tsp-devel
[Top][All Lists]
Advanced

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

Re: [Tsp-devel] Symlink in opt directory


From: Frederik Deweerdt
Subject: Re: [Tsp-devel] Symlink in opt directory
Date: Fri, 20 Apr 2007 09:32:56 +0200
User-agent: mutt-ng/devel-r804 (Linux)

On Fri, Apr 20, 2007 at 08:48:29AM +0200, Robert de Vries wrote:
> On 4/19/07, Olivier BONHOMME <address@hidden> wrote:
> >I think it would be interesting to add this symlink in the template SPEC
> >file used for the RPM generation in order to be sure that when we change
> >the RPM, the new TSP version installed is used.
> 
> I personally would prefer to let the rpm have the files /usr/lib,
> /usr/include/tsp, /usr/share/doc/tsp etc. instead of in /opt.
> Putting stuff in /opt requires extra settings in your environment,
> such as an extra entry in PATH, LD_LIBRARY_PATH, or extra -I flags
> when compiling something with TSP.
> 
I'd go for the same solution, a few things remain to consider though:
        * we need: modif .spec.in + modif CMakeLists.txt
        * if the installation is made in /usr/include/tsp:
                * we need to modify the all the current users with
                  something along the lines of  '<tsp/tsp_consumer.h>',
                  or add the extra flags back.
                * supply a tsp-config in /usr/bin (or use pkg-config),
                  that also supposes adding a for of extra flags
                * supply a /usr/include/tsp.h entry point that will
                  include all needed headers (see fuse.h as an example)
> 
> Maybe some people want to be able to install multiple TSP versions
> alongside each other. That just means that those people have to spend
> some extra time in figuring out to make a relocatable rpm package. :-)
I agree, if you want to keep several versions you should be able to pass
the appropriate options to cmake.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]