Opened 11 years ago

Last modified 9 years ago

#40 new task

Decide upon and implement a library installation standard

Reported by: allenb Owned by: dirk
Priority: blocker Milestone: 2.0 Beta
Component: Build Version:
Keywords: Cc:

Description

As it stands now we are simply building the OpenSG libraries and putting them in lib/debug or lib/opt. We need to go beyond this and think about how to handle versioning, symbolic links from lib/ and everything else involved in having a full install. This will probably take a bit of thought although we could start by using the pattern that Dirk has been using for RPMs and going from there.

Change History (4)

comment:1 follow-up: Changed 11 years ago by anonymous

Dev/PluginsPathes has my take on the installed structure. It might be good if the SCons build would automatically create a structure like this in the build.* hierarchy. That would simplify creating dists.

Versioning: do you mean version extensions on the libs or inside the code?

comment:2 in reply to: ↑ 1 Changed 11 years ago by allenb

Replying to anonymous:

Dev/PluginsPathes has my take on the installed structure. It might be good if the SCons build would automatically create a structure like this in the build.* hierarchy. That would simplify creating dists.

Agreed. I would consider it a bug if the scons build does not create the final hierarchy. To say this another way, creating a dist should not have to do anything more then call the scons build and give it a prefix.

Versioning: do you mean version extensions on the libs or inside the code?

On libs and headers. In other words how are we going to handle parallel installs and are they even going to be allowed?

comment:3 in reply to: ↑ description ; follow-up: Changed 11 years ago by cneumann

Replying to allenb:

As it stands now we are simply building the OpenSG libraries and putting them in lib/debug or lib/opt. We need to go beyond this and think about how to handle versioning, symbolic links from lib/ and everything else involved in having a full install. This will probably take a bit of thought although we could start by using the pattern that Dirk has been using for RPMs and going from there.

I know this won't make things any easier, but I would think that having a fixed, i.e. not configurable, directory layout is going to drive package maintainers for distros nuts. Hence a good default is very nice and necessary, but I think the configurability one usually gets from auto-conf/auto-make (there are options for lib, bin, etc. prefixes) should at least be considered - although this particular aspect does not warrant the blocker status ;)

comment:4 in reply to: ↑ 3 Changed 11 years ago by dirk

Replying to cneumann:

I know this won't make things any easier, but I would think that having a fixed, i.e. not configurable, directory layout is going to drive package maintainers for distros nuts. Hence a good default is very nice and necessary, but I think the configurability one usually gets from auto-conf/auto-make (there are options for lib, bin, etc. prefixes) should at least be considered - although this particular aspect does not warrant the blocker status ;)

Given that this (hopefully) only touches on where the directories go, but not their internal structure, I would accept that to be changed in whatever distro builder is used.

It would probably not be a big deal to have scons install accept different directories for copying stuff anyway.

Note: See TracTickets for help on using tickets.