From owner-freebsd-ports@FreeBSD.ORG Sat Oct 10 02:34:13 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD9F5106566B for ; Sat, 10 Oct 2009 02:34:13 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id E27778FC0A for ; Sat, 10 Oct 2009 02:34:12 +0000 (UTC) Received: from delta.allbsd.org (p4206-ipbf1902funabasi.chiba.ocn.ne.jp [114.146.107.206]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id n9A2Xxfo017956; Sat, 10 Oct 2009 11:34:10 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id n9A2XoIO083007; Sat, 10 Oct 2009 11:33:53 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 10 Oct 2009 11:32:55 +0900 (JST) Message-Id: <20091010.113255.47053601.hrs@allbsd.org> To: web@umich.edu From: Hiroki Sato In-Reply-To: <20090929175944.GK23010@itcom245.staff.itd.umich.edu> References: <20090929175944.GK23010@itcom245.staff.itd.umich.edu> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.2.52 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Sat_Oct_10_11_32_55_2009_866)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.2 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Sat, 10 Oct 2009 11:34:11 +0900 (JST) Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: pcb-20081128_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 02:34:13 -0000 ----Security_Multipart0(Sat_Oct_10_11_32_55_2009_866)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Oct_10_11_32_55_2009_776)--" Content-Transfer-Encoding: 7bit ----Next_Part(Sat_Oct_10_11_32_55_2009_776)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit William Bulley wrote in <20090929175944.GK23010@itcom245.staff.itd.umich.edu>: we> I am building cad/pcb on 7.2-STABLE and I get this: we> we> cc -std=gnu99 -DNDEBUG -O2 -fno-strict-aliasing -pipe we> -I/usr/local/include -I/usr/local/include -I/usr/local/include we> -Wall -Wdeclaration-after-statement -pthread -L/usr/local/lib we> -rdynamic -o pcb action.o autoplace.o autoroute.o buffer.o we> change.o clip.o command.o compat.o copy.o create.o crosshair.o we> data.o djopt.o draw.o drill.o edif.o error.o file.o find.o flags.o we> fontmode.o heap.o insert.o intersect.o line.o lrealpath.o main.o we> mirror.o misc.o move.o mtspace.o mymem.o netlist.o parse_l.o parse_y.o we> polygon.o polygon1.o puller.o print.o rats.o remove.o report.o res_parse.o we> res_lex.o rotate.o rtree.o rubberband.o search.o select.o set.o strflags.o we> thermal.o undo.o vector.o vendor.o hid/common/actions.o hid/common/flags.o we> hid/common/hidinit.o hid/common/hidnogui.o hid/common/extents.o we> liblesstif.a liblpr.a libbom.a libgerber.a libnelma.a libpng.a libps.a we> -lXm -lXpm -lXmu -lXt -lXext -lSM -lICE -lX11 -lfl -lm -lXrender we> -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lgd -lgd we> main.o(.text+0xc8e): In function `main': we> : undefined reference to `bindtextdomain' we> main.o(.text+0xca2): In function `main': we> : undefined reference to `bind_textdomain_codeset' we> gmake[4]: *** [pcb] Error 1 we> gmake[4]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[3]: *** [all-recursive] Error 1 we> gmake[3]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[2]: *** [all] Error 2 we> gmake[2]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[1]: *** [all-recursive] Error 1 we> gmake[1]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128' we> gmake: *** [all] Error 2 we> *** Error code 1 we> we> My build line in /usr/ports/cad/pcb was: we> we> # make WITH_MOTIF_GUI=yes install we> we> It builds fine if I use: we> we> # make install we> we> Regards, Thanks for the report. Could you try the attached patch and let me know if it works or not? -- Hiroki ----Next_Part(Sat_Oct_10_11_32_55_2009_776)-- Content-Type: Text/X-Patch; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="pcb.diff" SW5kZXg6IGZpbGVzL3BhdGNoLXNyYy1wY2ItbWVudS5yZXMNCj09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxl OiBmaWxlcy9wYXRjaC1zcmMtcGNiLW1lbnUucmVzDQpkaWZmIC1OIGZpbGVzL3BhdGNoLXNyYy1w Y2ItbWVudS5yZXMNCi0tLSAvZGV2L251bGwJMSBKYW4gMTk3MCAwMDowMDowMCAtMDAwMA0KKysr IGZpbGVzL3BhdGNoLXNyYy1wY2ItbWVudS5yZXMJMTAgT2N0IDIwMDkgMDI6MDE6NDIgLTAwMDAN CkBAIC0wLDAgKzEsMTEgQEANCistLS0gc3JjL3BjYi1tZW51LnJlcy5vcmlnCTIwMDktMTAtMTAg MTA6NDQ6NDQuMDAwMDAwMDAwICswOTAwDQorKysrIHNyYy9wY2ItbWVudS5yZXMJMjAwOS0xMC0x MCAxMTowMDo1OC4wMDAwMDAwMDAgKzA5MDANCitAQCAtNTIsNyArNTIsNyBAQA0KKyAgIHtWaWV3 DQorICAgIHsiRmxpcCB1cC9kb3duIiBjaGVja2VkPWZsaXBfeSBTd2FwU2lkZXMoVikgYT17IlRh YiIgIjxLZXk+VGFiIn19DQorICAgIHsiRmxpcCBsZWZ0L3JpZ2h0IiBjaGVja2VkPWZsaXBfeCBT d2FwU2lkZXMoSCkgYT17IlNoaWZ0LVRhYiIgIlNoaWZ0PEtleT5UYWIifX0NCistICAgeyJTcGlu IDE4MO+9sCIgU3dhcFNpZGVzKFIpIGE9eyJDdHJsLVRhYiIgIkN0cmw8S2V5PlRhYiJ9fQ0KKysg ICB7IlNwaW4gMTgwIiBTd2FwU2lkZXMoUikgYT17IkN0cmwtVGFiIiAiQ3RybDxLZXk+VGFiIn19 DQorICAgIHsiU3dhcCBTaWRlcyIgU3dhcFNpZGVzKCkgYT17IkN0cmwtU2hpZnQtVGFiIiAiQ3Ry bCBTaGlmdDxLZXk+VGFiIn19DQorICAgIHsiQ2VudGVyIGN1cnNvciIgQ2VudGVyKCkgYT17IkMi ICI8S2V5PmMifX0NCisgICAgeyJTaG93IHNvbGRlcm1hc2siIGNoZWNrZWQ9c2hvd21hc2sgRGlz cGxheShUb2dnbGVNYXNrKX0NCg== ----Next_Part(Sat_Oct_10_11_32_55_2009_776)---- ----Security_Multipart0(Sat_Oct_10_11_32_55_2009_866)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkrP8lcACgkQTyzT2CeTzy2iRgCg1nwT6+eixEhuv/l6zkTRYclp wCYAnAhOYjowbRpTpAGOqzU/uopDjq2w =V3vC -----END PGP SIGNATURE----- ----Security_Multipart0(Sat_Oct_10_11_32_55_2009_866)----