Hi, ( Let me send CC to fink-users mailing list, and Todai Fink Team. ) 2007/3/16, Karl-Heinz Kampert <[EMAIL PROTECTED]>: > > Dear Asari, > > sorry to bother you with this but I am stuck and cannot continue working. > When trying to install the Mysql package (or other packages requiring mysql) > I always run into the following error: > > > > ... > Making install in server-tools > Making install in instance-manager > test -z "/sw/sbin" || > /sw/src/fink.build/mysql-5.0.27-1001/mysql-5.0.27/install-sh -d > "/sw/src/fink.build/root-mysql-5.0.27-1001/sw/sbin" > /bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install > -c 'mysqlmanager' > '/sw/src/fink.build/root-mysql-5.0.27-1001/sw/sbin/mysqlmanager' > /usr/bin/install -c mysqlmanager > /sw/src/fink.build/root-mysql-5.0.27-1001/sw/sbin/mysqlmanager > make[4]: Nothing to be done for `install-data-am'. > make[4]: Nothing to be done for `install-exec-am'. > make[4]: Nothing to be done for `install-data-am'. > mkdir -p /sw/src/fink.build/root-mysql-5.0.27-1001/sw/var/mysql > chmod 700 /sw/src/fink.build/root-mysql-5.0.27-1001/sw/var/mysql > chown mysql /sw/src/fink.build/root-mysql-5.0.27-1001/sw/var/mysql > chown: mysql: Invalid argument > ### execution of chown failed, exit code 1 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-mysql-5.0.27-1001 > (Lese Datenbank ... 71149 Dateien und Verzeichnisse sind derzeit > installiert.) > Entferne fink-buildlock-mysql-5.0.27-1001 ... > Failed: phase installing: mysql-5.0.27-1001 failed > > The strange thing to me appears the line: > chown mysql /sw/src/fink.build/root-mysql-5.0.27-1001/sw/var/mysql > > which seems to be due to an incorrect coding of the installation script. > Can you give advice? > I am running the most recent fink version on MacOS-X 1.4.8 > > Thanks in advance and with kind regards, > Karl-Heinz Kampert >
Make sure you have an user named 'mysql' on your Mac. Didn't you (or your system administrator) accidentally remove it? You can check it by executing `niutil -list . /users | grep mysql` (which typically returns "19 mysql" or "20 mysql"), or with "NetInfo Manager.app" in your /Applications/Utilities folder. If you don't have 'mysql' user, re-creating it should be a quick workaround, like: niutil -create . /users/mysql niutil -createprop . /users/fred gid 74 niutil -createprop . /users/fred uid 74 niutil -createprop . /users/fred shell /usr/bin/false niutil -createprop . /users/fred home /var/empty niutil -createprop . /users/fred realname "MySQL Server" niutil -createprop . /users/fred passwd '*' Regards, -- ASARI Takashi @ Todai Fink Team http://fink.sodan.ecc.u-tokyo.ac.jp/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
