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

Re: development packages and multilib



On Tue, Apr 21, 2009 at 5:50 PM, Tom Lane wrote:
> Orcan Ogetbil writes:
>> On Tue, Apr 21, 2009 at 4:11 PM, Tom Lane wrote:
>>> Actually the only reason that mysql-config is a binary and not a script
>>> is that there doesn't seem to be any other good way for it to know which
>>> word-width it's supposed to return results for. This is one of the main
>>> problems with trying to do software builds in a multilib environment.
>
>> What is wrong with renaming the xxxxx-config binary to
>> xxxxx-config.%{arch} (or moving it to %{_libdir}) and writing a
>> platform independent shell script xxxxx-config that will call the
>> correct xxxxx-config.%{arch} file?
>
> How is the platform independent shell script to know which arch-specific
> file to call?  (This is an actual question, not a rhetorical one.)
> AFAIK there is nothing it can look at that isn't likely to do the Wrong
> Thing from the perspective of someone trying to build software.
>
>                        regards, tom lane

This is only for preventing file conflicts between RPMs. Honestly, as
I said before, I really don't understand the need of keeping different
arch devel packages in the same system at the same time.

Just remove one and install another. You can even write a simple
script to do this. Create a local repo if you are worried about the
time loss.

If you are dying for keeping different arch devel packages in the same
system, you can write your code accordingly.

Orcan


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