Re: development packages and multilib

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux