Date: Thu, 16 Apr 2009 18:31:39 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Torfinn Ingolfsen <tingox@gmail.com> Cc: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: mythtv 0.21 - trouble compiling the port Message-ID: <49E7B1CB.10302@FreeBSD.org> In-Reply-To: <ef8c8a880904141111q457b70a8m88e0b35f9df48980@mail.gmail.com> References: <ef8c8a880903301054qe27906bn7ee69f5158bed3e6@mail.gmail.com> <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> <49E1616C.5060404@FreeBSD.org> <ef8c8a880904130022u79db504dte3ec8879319d0b48@mail.gmail.com> <8e44ebf15169796f60883e3c409bbb62.squirrel@webmail.itac.at> <ef8c8a880904131134p3da7e6cbsf8a37a875597c441@mail.gmail.com> <ab35b248101ae3668cd1a8be45584e84.squirrel@webmail.itac.at> <ef8c8a880904141111q457b70a8m88e0b35f9df48980@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Torfinn Ingolfsen wrote: > Hi, >=20 > 2009/4/13 Bernhard Fr=F6hlich <decke@bluelife.at>: >> Looks like another missing patch. Now i've double checked with your li= st >> and this is the last missing one. (also taken from mythtv-frontend) >> >> http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pr= o >=20 > Yes, now 'make' in mythtv woks as expected. Thank you. :-) >=20 > However, 'make install' fails if mysql is not running: >=20 > Added group "mythtv". > Added user "mythtv". > Starting mysql. > *** Unable to start mysqld > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. >=20 > The port is lying about not being able to start mysql: >=20 > root@kg-quiet# /usr/local/etc/rc.d/mysql-server status > mysql is running as pid 34965. >=20 >=20 > If I run 'make install' with mysql running, it works as expected. > I'm not really sure how this should be handled. > Perphaps the port should just tell the user that it was unable to > install the database, and tel her / hom how to do it manually? >=20 Hi Torfinn, Would you mind applying this small patch to mythtv/files/pkg-install.in? http://people.freebsd.org/~glarkin/diffs/mythtv-pkg-install.in.diff Since the "Unable to start mysqld" message is emitted in two different places, I'd like to know which one you are getting. I think that the spurious error might be caused by checking for the process existence too quickly, but I could be wrong. If you have a chance to re-install the port, let me know which message appears now when it attempts to start mysqld. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ57HL0sRouByUApARAk6bAJ4/xRvhnUi0vCHuVnU/QaRVdf0wWQCgv5J6 ozMf2y9Zh6yfsqZWMVCmgO4=3D =3D+clW -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E7B1CB.10302>