On 28 Jan, Paul DuBois wrote:
>On 28 Jan John A. Murdie wrote:
>>I decided that it was probably simpler just to build from source - I'm
>>on a Solaris 2.8 system - and so it proved to be. I was careful to use
>>the recommended configure options.
>>
>>I found that I had to build in the installation directory - `make
>>install' didn't copy the `scripts' sub-directory to the installation
>>directory, for instance, when (in my first attempt) I unpacked the
>>source in one directory (the build directory) and configured for another
>>(the installation directory). For my second and successful build I made
>>the build and installation directories the same. I can't find, however,
>>any documentation of a command to clean the build files (e.g.
>>`configure', `INSTALL-SOURCE' etc.) from the build/installation
>>directory. Is there a `make tidy' or something similar? (`make clean'
>>looks as if it would delete the executables!)
> 
> make distclean removes the most stuff.
> 

Rather too much, I'm afraid - the executables and libraries too. What
baffles me is that `make install' doesn't install the `scripts'
directory (and probably other necessary files), so it appears that you
have to build in the final installation directory (which is not
conventional under Unix - I build other programs under /tmp and then do
`make install'). When you build in the installation directory you have a
lot of build materials left in your installation when it's done. It does
no harm, of course, but I'd like to tidy up. (All I can think of is to
remove files that are not present in a binary distribution - using a
script which calls comm(1) perhaps.)

I've scoured the `INSTALL-SOURCE' document, and can find no mention of
this nuisance.
-- 

John A. Murdie
Experimental Officer (Software)
Department of Computer Science
University of York
England


---------------------------------------------------------------------
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