I searched the archives but couldn't find an answer...

Am I the only who has noticed that MySQL fails to
install properly on Solaris platforms? (at least Solaris 7).

Specifically the files under...

$(srcdir)/Data/ATIS/*.*
$(srcdir)/Data/Wisconsin/*.*
$(srcdir)/Results/*-*
$(srcdir)/Results-win32/*-*
$(srcdir)/limits/*.*
$(srcdir)/Comments/*.*

don't get installed properly.  The reason for this appears to
be that somebody was smart enough to use a platform independent
installation tool such as install-sh but then they went and
called it in a platform dependent manner.

>From what I can gather install-sh expects *exactly* one source
and one destination argument.  If you use more than one source
only the first source argument is used.

The result of this seems to be that on Solaris systems the "*.*" in

dist-hook:
        mkdir -p $(distdir)/Data/ATIS $(distdir)/Data/Wisconsin \
                 $(distdir)/Results  $(distdir)/Results-win32 \
                 $(distdir)/limits $(distdir)/Comments
        $(INSTALL_DATA) $(srcdir)/Data/ATIS/*.* $(distdir)/Data/ATIS
        $(INSTALL_DATA) $(srcdir)/Data/Wisconsin/*.* $(distdir)/Data/Wisconsin
        $(INSTALL_DATA) $(srcdir)/Results/*-* $(distdir)/Results
        $(INSTALL_DATA) $(srcdir)/Results-win32/*-* $(distdir)/Results-win32
        $(INSTALL_DATA) $(srcdir)/limits/*.* $(distdir)/limits
        $(INSTALL_DATA) $(srcdir)/Comments/*.* $(distdir)/Comments

gets globbed and then most of the source targets are ignored by install-sh.

Either somebody was lazy in the sql-bench/Makefile and should have put seperate
$(INSTALL_DATA) entries for each and every individual file or install-sh should
not be used to perform this type of installation as it cannot handle multiple src
targets OR...

I'm missing some thing very easy about how to fix this.

Can anybody clue me in?

- Jeff

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to