In article <[EMAIL PROTECTED]> you wrote:
> Full_Name: Ingo T. Storm
> Version: 3.23.54a-1.2.1
> OS: Solaris 9
> Submission from: (NULL) (145.243.187.7)
> 
> I rebuilt the updated 3.23.54a-1.2.1 and installed it on a system where mysql
> had not been installed previously. I get an error message
> 
> -Uvh UPDBIN/mysql-3.23.54a-1.2.1.sparc64-solaris2.9-cw.rpm 
> Preparing...                ########################################### [100%]
>   1:mysql                  ########################################### [100%]
> /cw/bin/mysql_install_db: /cw/bin/hostname: not found
> Sorry, the host '' could not be looked up.
> Please configure the 'hostname' command to return a correct hostname.
> If you want to solve this at a later stage, restart this script with
> the --force option
> 
> /cw/bin/hostname is in coreutils, so I guess coreutils should be added to the
> "Requieres"-clause in mysql.spec or /cw/bin/mysql_install_db shoul check if it
> can live with /bin/hostname

The use of <prefix>/bin/hostname by <prefix>/bin/resolveip is strange, of
course.  But your real problem seems to be that the output of /bin/hostname
cannot be resolved to a valid IP address for your host. Fix this and it should
no longer complain, too. Additionally we should determine why MySQL's
resolveip tries <prefix>/bin/hostname...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to