From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24880 invoked by alias); 15 Aug 2009 15:46:00 -0000 Received: (qmail 24803 invoked by uid 22791); 15 Aug 2009 15:45:59 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,LOCALPART_IN_SUBJECT X-Spam-Check-By: sourceware.org Received: from dimen.russel.org.uk (HELO dimen.russel.org.uk) (213.165.225.90) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Aug 2009 15:45:52 +0000 Received: from [192.168.1.3] (balin.russel.org.uk [192.168.1.3]) by dimen.russel.org.uk (Postfix) with ESMTP id 7D8254BA14; Sat, 15 Aug 2009 16:45:49 +0100 (BST) Subject: Re: Compiling Insight From: Russel Winder To: Insight In-Reply-To: <1250338272.20123.292.camel@balin> References: <1250338272.20123.292.camel@balin> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+DmptYZBrZXd4k0yktIM" Date: Sat, 15 Aug 2009 15:46:00 -0000 Message-Id: <1250351148.20123.314.camel@balin> Mime-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00029.txt.bz2 --=-+DmptYZBrZXd4k0yktIM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-length: 2531 I take the plunge and checkout out the development repository. Initially the build failed as texinfo wasn't installed. The core problem is marked as a warning but it causes the build to fail. I think there is an issue to sort out there. The build then failed because flex wasn't installed. I guess the config phase should check for the presence of flex so as to avoid this failure. I installed bison at the same time as flex so I don't know if that would cause a problem as well. With texinfo and flex (and bison) in place the build completed and installed as required. PS It seems that 6,7,1 remains the version of insight in Debian and hence Ubuntu. On Sat, 2009-08-15 at 13:11 +0100, Russel Winder wrote: > I have just downloaded 6.8.1 from the website, but when I try to compile > it I get an error as shown below. I am on Ubuntu 9.04 with the standard > GCC installed. Is this supposed to compile "out of the box"? >=20 > Thanks. >=20 > gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR=3D"\= "/opt/insight-6.8.1/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/o= pcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../in= clude -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=3D1 -DGDBTK -= DTUI=3D1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonl= iteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werr= or .././gdb/cli/cli-cmds.c > cc1: warnings being treated as errors > .././gdb/cli/cli-cmds.c: In function =E2=80=98pwd_command=E2=80= =99: > .././gdb/cli/cli-cmds.c:323: error: ignoring return value of =E2= =80=98getcwd=E2=80=99, declared with attribute warn_unused_result > make[2]: *** [cli-cmds.o] Error 1 > make[2]: Leaving directory `/home/share/tmp/insight-6.8-1/gdb' > make[1]: *** [all-gdb] Error 2 > make[1]: Leaving directory `/home/share/tmp/insight-6.8-1' > make: *** [all] Error 2 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder Partner xmpp: russel@russel.org.uk Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder@ekiga.n= et London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder --=-+DmptYZBrZXd4k0yktIM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkqG2CwACgkQ9Mb+qYVvBY2yWACcCC7/bP3vryixAJfEFPxPRb/C qWAAniGpTnSCaHBW6MLtyxItj7mGKNur =8qGN -----END PGP SIGNATURE----- --=-+DmptYZBrZXd4k0yktIM--