Hi all
I am working on a heterogeneous linux network.
We have different exec-prefixes for all plattforms,
while documentation,icons, etc. are shared
between platforms (->prefix is the same). My
configure looks like this:
configure \
--prefix=/megx \
--exec-prefix=/megx/ix86-suse91
or
configure \
--prefix=/megx \
--exec-prefix=/megx/amd64-suse91
This works fine for the executable (sim) and the
base library (libsim), but not for the plugins and
styles. The problem is that 'make install' will install
the plugins into ${prefix}/lib/sim and the styles into
${prefix}/lib/sim/styles. This will break the
installation because one install overwrites the
plugins/styles of another one.
Wouldn't it be better to install the plugins/styles
into exec-prefix/lib?
You would have to change the following lines in
configure.in.in:
line 99
line 100
line 103
just replace ${prefix}/lib/sim with
{exec_prefix}/lib/sim. I think libdir would be better
but it's not expanded until 'make install'.
I tried it and it seems to work just fine...
keep up the great work
Christian Quast
Logged In: YES
user_id=884799
Accepted and applied in SVN on berlios.