Date: Sat, 2 Jul 2011 06:42:37 -0700 From: Robert <traveling08@cox.net> To: Scot Hetzel <swhetzel@gmail.com> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: ICAL fails to build Message-ID: <20110702064237.76c9c7f0@viao-bsd> In-Reply-To: <CACdU%2Bf89_bK0jbXNqq0DRbJd6ENhNhYwT=ZLaWT9ksfgL51u_Q@mail.gmail.com> References: <20110701161642.2dd6a743@dell64> <CACdU%2Bf89_bK0jbXNqq0DRbJd6ENhNhYwT=ZLaWT9ksfgL51u_Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Jul 2011 00:12:46 -0500 Scot Hetzel <swhetzel@gmail.com> wrote: > On Fri, Jul 1, 2011 at 6:16 PM, Robert <traveling08@cox.net> 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<path name of directory containing > > tclConfig.sh> > > >=20 > The port is only looking for tcl8.4. >=20 > > 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? > > >=20 > You need to either install tcl8.4=20 Removing tcl8.5 and installing tcl8.4 does work. I do not remember upgrading from 8.4 to 8.5 but it could have happened during some other port upgrade. ICAL was working until a few days ago.=20 I have another system running: FreeBSD vaio-bsd.shasta204.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 14:29:59 PDT 2011 root@vaio-bsd.shasta204.local:/usr/obj/usr/src/sys/GENERIC i386 and it too had tcl8.5 installed and ICAL not working. I decided to test the changes below. > or change the ports Makefile from: >=20 > LIB_DEPENDS=3D tk84.1:${PORTSDIR}/x11-toolkits/tk84 >=20 > 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 >=20 > to >=20 > USE_TK=3DYES >=20 > 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} This did not work. The paths could not be found. I did some further experiments: LIB_DEPENDS=3D tk84.1:${PORTSDIR}/x11-toolkits/tk84 =20 GNU_CONFIGURE=3D yes CONFIGURE_ARGS=3D --with-tclconfig=3D${PREFIX}/lib/tcl8.5 \ --with-tclhdir=3D${PREFIX}/include/tcl8.5 \ --with-tclsh=3D${PREFIX}/bin/tclsh8.5 \ --with-tkconfig=3D${PREFIX}/lib/tk8.4 \ --with-tkhdir=3D${PREFIX}/include/tk8.4 Changing the tcl8.4 statements to 8.5 also failed but the make ran further and failed : main.C:80: warning: deprecated conversion from string constant to 'char*' I then deinstalled tk84 and installed tk85 and edited the Makefile to LIB_DEPENDS=3D tk85.1:${PORTSDIR}/x11-toolkits/tk84 GNU_CONFIGURE=3D yes CONFIGURE_ARGS=3D --with-tclconfig=3D${PREFIX}/lib/tcl8.5 \ --with-tclhdir=3D${PREFIX}/include/tcl8.5 \ --with-tclsh=3D${PREFIX}/bin/tclsh8.5 \ --with-tkconfig=3D${PREFIX}/lib/tk8.5 \ --with-tkhdir=3D${PREFIX}/include/tk8.5 It still complained about the conversion at line 80 in main.C but did build and ICAL does run. I do not understand all I know about this but I have one system running tcl84 and tk84 and another running tcl85 and tk85 successfully.=20 Robert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110702064237.76c9c7f0>