On Sep 24, 2007 5:29 PM, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
> On some systems uname -p evaluates to weird stuff.
> Eg. on mandriva it came back with "Dual-Core AMD Opteron(tm) Processor
> 8214" which wasn't what the various tests were expecting and broke the
> install because of this line:
>
>         echo $(LIBDIR) > $(DESTDIR)$(ETCDIR)/ld.so.conf.d/openais-$(ARCH).conf
>
> we could fix the quoting but its probably best to fix the underlying problem.
>
> Someone suggested 'uname -i' was more appropriate but thats not
> available everywhere so perhaps -m?

Ok, so I finally got around to dealing with this...

On mandriva, /etc/ld.so.conf contains:
include ld.so.conf.d/*.conf

So simply changing:

-       echo $(LIBDIR) > $(DESTDIR)$(ETCDIR)/ld.so.conf.d/openais-$(ARCH).conf
+       echo $(LIBDIR) > "$(DESTDIR)$(ETCDIR)/ld.so.conf.d/openais-$(ARCH).conf"

resolves the issue - regardless of what madness is returned by uname :-)
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to