From owner-freebsd-ports@FreeBSD.ORG Sat Jul 2 05:12:48 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85846106566B for ; Sat, 2 Jul 2011 05:12:48 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1E68FC08 for ; Sat, 2 Jul 2011 05:12:47 +0000 (UTC) Received: by eyg7 with SMTP id 7so1790511eyg.13 for ; Fri, 01 Jul 2011 22:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7SoYzZisY6ZgSZAcrm2nsKu5oA8rTvx9CD3MVGzPooA=; b=WGDMIMCIGYyFVIfATHh1Vb0T7jVveL703EibSnkmOjzGJhN43U9y5dx8Lomwxbvl+G lKluMpMdmGPExkYO55qZM+Z4xf59/DJWnlxkNq/M7EhDZ2oLc66O0Zm0CnBR1QJdMqwk LPgMdPH+ss8rVC9uayVr5b82DeaHZwGOLNCbs= MIME-Version: 1.0 Received: by 10.213.19.78 with SMTP id z14mr627237eba.10.1309583566629; Fri, 01 Jul 2011 22:12:46 -0700 (PDT) Received: by 10.213.11.20 with HTTP; Fri, 1 Jul 2011 22:12:46 -0700 (PDT) In-Reply-To: <20110701161642.2dd6a743@dell64> References: <20110701161642.2dd6a743@dell64> Date: Sat, 2 Jul 2011 00:12:46 -0500 Message-ID: From: Scot Hetzel To: Robert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-ports@freebsd.org" Subject: Re: ICAL fails to build 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, 02 Jul 2011 05:12:48 -0000 On Fri, Jul 1, 2011 at 6:16 PM, Robert wrote: > Greetings > > I am having trouble getting ICAL to build. > > uname -a > FreeBSD dell64.shasta204.local 8.2-STABLE FreeBSD 8.2-STABLE #19: Fri > Jul =A01 06:36:42 PDT 2011 > root@dell64.shasta204.local:/usr/obj/usr/src/sys/GENERIC =A0amd64 > > I ran portsnap fetch update before starting. Here is what I have. Sorry > about the length. > > [robert@dell64] /usr/ports/deskutils/ical> pkg_info | grep tcl > tcl-8.5.10 =A0 =A0 =A0 =A0 =A0Tool Command Language > tcl-modules-8.5.10 =A0Tcl common modules > [robert@dell64] /usr/ports/deskutils/ical> sudo make > =3D=3D=3D> =A0 ical-2.2_3 depends on shared library: tk84.1 - found > =3D=3D=3D> =A0Configuring for ical-2.2_3 > loading cache ./config.cache > checking for a BSD compatible install... /usr/bin/install -c -o root -g > wheel checking for ranlib... ranlib > checking whether ln -s works... yes > checking for Mail... /usr/bin/Mail > checking for c++... c++ > checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing ) > works... yes checking whether the C++ compiler (c++ -O2 -pipe > -fno-strict-aliasing ) is a cross-compiler... no checking whether we > are using GNU C++... yes checking whether c++ accepts -g... yes > checking for POSIXized ISC... no > checking Tcl/Tk installation > checking for tclsh... /usr/local/bin/tclsh8.4 > checking for tclConfig.sh... configure: error: I could not find > tclConfig.sh. > > Please specify the directory that contains tclConfig.sh > by running configure with the following option > =A0 =A0 =A0 =A0--with-tclconfig=3D tclConfig.sh> > The port is only looking for tcl8.4. > me: OK. I will find it. > > [robert@dell64] /usr/ports/deskutils/ical> sudo find /usr -name > tclConfig.sh -print /usr/local/lib/tcl8.5/tclConfig.sh > me: OK. That was easy > But you have tcl8.5 installed > > What am I doing wrong? > You need to either install tcl8.4 or change the ports Makefile from: LIB_DEPENDS=3D tk84.1:${PORTSDIR}/x11-toolkits/tk84 GNU_CONFIGURE=3D yes CONFIGURE_ARGS=3D --with-tclconfig=3D${PREFIX}/lib/tcl8.4 \ --with-tclhdir=3D${PREFIX}/include/tcl8.4 \ --with-tclsh=3D${PREFIX}/bin/tclsh8.4 \ --with-tkconfig=3D${PREFIX}/lib/tk8.4 \ --with-tkhdir=3D${PREFIX}/include/tk8.4 to USE_TK=3DYES GNU_CONFIGURE=3D yes CONFIGURE_ARGS=3D --with-tclconfig=3D${TCL_LIBDIR} \ --with-tclhdir=3D${TCL_INCLUDEDIR} \ --with-tclsh=3D${TCLSH} \ --with-tkconfig=3D${TK_LIBDIR} \ --with-tkhdir=3D${TK_INCLUDEDIR} If this works, send a PR with a diff between the origninal and the modified Makefile. Scot