Date: Thu, 19 Sep 2019 20:52:00 -0400 From: "Vlad D. Markov" <dvoich@aim.com> To: "Vlad D. Markov" <dvoich@aim.com> Cc: MJ <mafsys1234@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Imake fails Message-ID: <20190919205200.b9a89548d5923b0ec46935b3@aim.com> In-Reply-To: <20190919080209.abe7bfd821ecc8cecd17e890@aim.com> References: <20190918152511.fa908fba7c3370ce32d6ba3b@aim.com> <e6f9aa74-c10f-5667-643c-2e5014824c40@gmail.com> <20190918192156.c1ecab9a83307de51a72b4be@aim.com> <7f08a95d-180b-ff1c-0166-20bf5d6a2c5e@gmail.com> <20190919080209.abe7bfd821ecc8cecd17e890@aim.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Sep 2019 08:02:09 -0400 "Vlad D. Markov" <dvoich@aim.com> wrote: > On Thu, 19 Sep 2019 11:11:51 +1000 > MJ <mafsys1234@gmail.com> wrote: >=20 > >=20 > > On 19/09/2019 9:21 am, Vlad D. Markov via freebsd-questions wrote: > > > On Thu, 19 Sep 2019 08:58:07 +1000 > > > MJ <mafsys1234@gmail.com> wrote: > > > > > >> On 19/09/2019 5:25 am, Vlad D. Markov via freebsd-questions wrote: > > >>> I was hoping to build xpat2 but Imake fails. I've had no issues doi= ng the same thing using Debian. > > >>> > > >>> Any ideas how to fix this? > > >>> > > >>> happy$ xmkmf -a > > >>> mv -f Makefile Makefile.bak > > >>> imake -DUseInstalled -I/usr/local/lib/X11/config > > >>> In file included from Imakefile.c:15: > > >>> In file included from /usr/local/lib/X11/config/Imake.tmpl:316: > > >>> /usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty chara= cter constant [-Winvalid-pp-token] > > >>> for flag in ${MAKEFLAGS} ''; do \ = @@\ > > >>> ^ > > >>> In file included from Imakefile.c:15: > > >>> /usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .r= ules' file not found > > >>> #include ProjectRulesFile > > >>> ^ > > >>> /usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from m= acro 'ProjectRulesFile' > > >>> # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) > > >>> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ > > >>> /usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from m= acro 'Concat3' > > >>> #define Concat3(a,b,c)a/**/b/**/c > > >>> ^~~~~~~~~~ > > >>> 1 warning and 1 error generated. > > >>> imake: Exit code 1. > > >>> Stop. > > >> > > >> You probably want to add uname information etc. to aid in any help. > > >> > > >> > > > FreeBSD happy 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64 > > > > > > imake-1.0.8,1 > > > Name : imake > > > Version : 1.0.8,1 > > > Installed on : Wed Sep 18 14:38:50 2019 EDT > > > Origin : devel/imake > > > Architecture : FreeBSD:12:amd64 > > > Prefix : /usr/local > > > Categories : devel > > > Licenses : MIT > > > Maintainer : x11@FreeBSD.org > > > WWW : https://www.x.org/ > > > Comment : Imake and other utilities from X.Org > > > Annotations : > > > FreeBSD_version: 1200086 > > > Flat size : 70.7KiB > > > Description : > > > This package contains X.Org's imake, imake config files, and other bu= ild-related > > > tools. > > > > > > WWW: https://www.x.org/ > > > > > Are you using ports? I have the same v12 FreeBSD and I just built it fr= om games/xpat2 without a problem. This built imake as well. > >=20 > > Why are you using xmkmf? > >=20 > > Cheers > > Mark > >=20 > xpat2 builds well from ports because it uses the supplied Makefile. No pr= oblem there. >=20 > There are multiple options to building xpat2 like using Motif vice Xaw et= c. I prefer the Motif version. There is a tmpl file in the src directory wh= ere you can modify things then run xmkmf to generate the new Makefile and b= uild it to your taste. >=20 >=20 >=20 >=20 > --=20 >=20 The exact same issue I am facing is here: https://bugs.freedesktop.org/show_bug.cgi?id=3D45509 Bugzilla ? Bug 45509 imake is failing with clang I installed gcc9. I set: export IMAKECPP=3D/usr/local/bin/cpp9 imake succeeds now. Vlad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190919205200.b9a89548d5923b0ec46935b3>