Date: Thu, 30 Jul 2009 21:38:58 +0400 From: "R.Mahmatkhanov" <cvs-src@yandex.ru> To: Anonymous <swell.k@gmail.com> Cc: ports@freebsd.org Subject: Re: devel/m4 broken? Message-ID: <4A71DAB2.20703@yandex.ru> In-Reply-To: <86ocr2mc3c.fsf@gmail.com> References: <15141248950977@webmail117.yandex.ru> <8663daqonc.fsf@gmail.com> <4A71AF39.5090008@yandex.ru> <86ocr2mc3c.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Anonymous пишет: >> configure:6078: result: no > > Looks like you have no posix_spawn in your libc. I wonder where did you > get /usr/include/spawn.h that gcc complained about. You are right. I had downgraded from HEAD to STABLE a couple of months ago, so for me now pretty obvious that spawn.h is a HEAD remnant. I removed this file and rebuilt m4 w/o problem. Thank you once again for resolving my issue. > >> ./spawn.h:113: error: conflicting types for 'posix_spawnattr_t' >> /usr/include/spawn.h:53: error: previous declaration of 'posix_spawnattr_t' was here > > It doesn't look like spawn.h in RELENG_7 branch yet. But it *is* in HEAD. > > $ svn log svn://svn.freebsd.org/base/stable/7/include/spawn.h > svn: File not found: revision 195974, path '/stable/7/include/spawn.h' > >>> And try to add ac_cv_func_posix_spawn=yes to CONFIGURE_ENV in the port >>> Makefile to force using posix_spawn from /usr/include/spawn.h >>> >> It fixed this. Thank you much! > > I think the correct fix would to delete /usr/include/spawn.h so it > doesn't confuse configure script. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A71DAB2.20703>