From owner-freebsd-questions@freebsd.org Thu Sep 19 12:02:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 554F5121234 for ; Thu, 19 Sep 2019 12:02:15 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic314-13.consmr.mail.bf2.yahoo.com (sonic314-13.consmr.mail.bf2.yahoo.com [74.6.132.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46YwSj5g9sz4dCY for ; Thu, 19 Sep 2019 12:02:13 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: gzOzF0YVM1mtwnlFRQ8w33BKr6uILCCAqeYwfi8winoj8jhWxCx7atoZaYoT2iJ Xuc7wCzav8Oy4DAOJ9TCXTB9aJ6Q_y6SIEhuuRUluJvIfOs3uPZbwvoF_odwUCpaDJW_Cr6T1lrW x0ei4gK6U4xCSW6v0g7rK.zqL0A.yO_WrKb5Y9vwa9J2Bgd4gUhTLmyRGfsPxNoBmYfLbTzF6rDM u9YQWp.9cE1fmLOL.bT5Z38WUPuDoMDo5LcSvgzFRriW1q8_AHeBQUeePAGlhG5zr6NFBYHxcUqu QL1NWOK0r777R48e0YSneIiyb86wUt6289QqfRPXLyQxeC1BvRNblNuPuUemDjl1UBPNGH3_DstY V68DaPBdBYzOgqgjFs2gGF.5R.RY_lh4OkzwpZPycyEGOLtOTJN1lMthYMj.qh3QrY7YsRzJ1X2N IZTQz4wIuJafhWkWGadKO_w.xKneXZQBicuFEHG4MOOM8yK4cb.qtIQyPB6K_hfG16Im36i_SGqr pEYLlgoBGV7wAKGIbqK3lxwYoLqCFcOIpg7AG_FPnST0yuV4pu_ac8_GhF_E1VnSbE0.VQEGKlsu W9Iu5cebVPRhN3dVqr0utBllzv5y7X84XfElWU.41iE_9byr8WEwS_VwXY3Js04IPIIzG_RZEa8s kMlM_kyCZKYlisaUGnYDIOXpjF3rXN.S6kJkhcDUdLuEAXedtT266bcACQHNvNndnvrH1APwLL5U JOxstn2wMAzcR88aWiULwHqI6cgEeDufw5gFozCJRYPkiU3mcVtNWC1H4CbqXuzcm2T2fnttDFeM .Fq7wfU86DbVZGpxT0np4KVOX0mw8wcNUfKTbqGCzgVj3_H3ejGXI5Yycol2VX27RbCeb5wmB51g Eq9.mHfVEWtfMAL12sFh47oh_8MplUcFaMpLC42KE4YXrKQQEs6V9Bl5EXE0sWUgH3LPjPQGqGtk vFsoBzdNpuGvm4OBGTT2BcZHDWKfY20cwAXyzZ3MS4fItD9.8f9KcIBrd0n6Xx8M9oCRnqGw2gL2 _G3OweZImGMiem9EbQsyQjCM9cMRSsr5TQMHGgB55Rsv10XEBlzos5vy6TgvP3QpsBcizdaQpb7L hyGd7h42imHO2mpNTB79qpeZsy_WqudHx9uA9EkVE8JkalGDZhHR9xvutBAAGoZvuLGx349Yqo.i IlzUctVQaMAY._EwDJkvuH_z1Vbin3eg16sdwUQ7nY16lpS4tubk5CvMlZefq_Bz0gs6JbUag3qF 5SKv9pJEAafF14vPtrLsUB01mQOe8OPcjsv9m_JiGLfaPx.MtqoUQLTB9v4dRPoqFU2GQ8Z1hQyI DNSDssXX2vMjZpked2fGgiGwuiDhfEg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Thu, 19 Sep 2019 12:02:11 +0000 Received: by smtp416.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 57ee5d1394beba27dc7312ade8e435cf; Thu, 19 Sep 2019 12:02:09 +0000 (UTC) Date: Thu, 19 Sep 2019 08:02:09 -0400 From: "Vlad D. Markov" To: MJ Cc: freebsd-questions@freebsd.org Subject: Re: Imake fails Message-Id: <20190919080209.abe7bfd821ecc8cecd17e890@aim.com> In-Reply-To: <7f08a95d-180b-ff1c-0166-20bf5d6a2c5e@gmail.com> References: <20190918152511.fa908fba7c3370ce32d6ba3b@aim.com> <20190918192156.c1ecab9a83307de51a72b4be@aim.com> <7f08a95d-180b-ff1c-0166-20bf5d6a2c5e@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46YwSj5g9sz4dCY X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.81)[-0.806,0]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[aim.com]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[aim.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[123.132.6.74.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (3.59), ipnet: 74.6.128.0/21(1.45), asn: 26101(1.16), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 12:02:15 -0000 On Thu, 19 Sep 2019 11:11:51 +1000 MJ wrote: > > On 19/09/2019 9:21 am, Vlad D. Markov via freebsd-questions wrote: > > On Thu, 19 Sep 2019 08:58:07 +1000 > > MJ 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 doing 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 character 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 .rules' file not found > >>> #include ProjectRulesFile > >>> ^ > >>> /usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro 'ProjectRulesFile' > >>> # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) > >>> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ > >>> /usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro '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 build-related > > tools. > > > > WWW: https://www.x.org/ > > > Are you using ports? I have the same v12 FreeBSD and I just built it from games/xpat2 without a problem. This built imake as well. > > Why are you using xmkmf? > > Cheers > Mark > xpat2 builds well from ports because it uses the supplied Makefile. No problem there. There are multiple options to building xpat2 like using Motif vice Xaw etc. I prefer the Motif version. There is a tmpl file in the src directory where you can modify things then run xmkmf to generate the new Makefile and build it to your taste. --