This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling Insight


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"?
> 
> Thanks.
> 
>         gcc -c -g -O2   -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/opt/insight-6.8.1/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber   -DMI_OUT=1 -DGDBTK -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror .././gdb/cli/cli-cmds.c
>         cc1: warnings being treated as errors
>         .././gdb/cli/cli-cmds.c: In function âpwd_commandâ:
>         .././gdb/cli/cli-cmds.c:323: error: ignoring return value of âgetcwdâ, 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

-- 
Russel.
=============================================================================
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.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]