public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Windows installation bugs
@ 2016-03-05  4:40 Mark.Bravington
  2016-04-06 13:51 ` Patrick Monnerat
  0 siblings, 1 reply; 3+ messages in thread
From: Mark.Bravington @ 2016-03-05  4:40 UTC (permalink / raw)
  To: insight

Hi folks

I was going to report this as a bug, but there's a bug in the Insight bug-reporting system ... :) at least with the link on your Bugs page

https://www.sourceware.org/cgi-bin/gnatsweb.pl?database=insight&user=guest&password=guest&cmd=login

Anyway. I was trying to install Insight 6.8-1 on Windows 7 32bit, after first installing Cygwin. I ran into two types of bug, the first of which I could hack round and the second of which I couldn't:

The first one relates to "bfd.info". Here's the excerpt that appears on-screen during 'make':

rm -rf $backupdir; exit $rc
../../../insight-6.8-1/bfd/doc/bfd.texinfo:326: unknown command `colophon'
../../../insight-6.8-1/bfd/doc/bfd.texinfo:337: unknown command `cygnus'
../../../insight-6.8-1/bfd/doc/elf.texi:11: raising the section level of @subsubsection which is too low
Makefile:390: recipe for target 'bfd.info' failed
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/doc'
Making info in po
make[3]: Entering directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/po'
make[3]: Entering directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:1090: recipe for target 'info-recursive' failed
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:3065: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built'
Makefile:705: recipe for target 'all' failed
make: *** [all] Error 2

The problem seems to be triggered by having @-signs inside the relevant comment lines in "bfd.texinfo". For "elf.texi" I manually changed the @subsubsection into @subsection (again, I found out that @-signs inside a comment line would cause woe).

The second bug comes when 'make' tries to process "opncls.c":

1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o init.lo ../../insight-6.8-1/bfd/init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/init.c -o init.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-
1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o libbfd.lo ../../insight-6.8-1/bfd/libbfd.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/libbfd.c -o libbfd.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-
1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o opncls.lo ../../insight-6.8-1/bfd/opncls.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/opncls.c -o opncls.o
In file included from ../../insight-6.8-1/bfd/opncls.c:26:0:
../../insight-6.8-1/bfd/opncls.c: In function 'bfd_fopen':
./bfd.h:586:65: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                 ^
../../insight-6.8-1/bfd/opncls.c:235:5: note: in expansion of macro 'bfd_set_cacheable'
     bfd_set_cacheable (nbfd, TRUE);
     ^
cc1: all warnings being treated as errors
Makefile:1071: recipe for target 'opncls.lo' failed
make[4]: *** [opncls.lo] Error 1
make[4]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:1090: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:985: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:3065: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built'
Makefile:705: recipe for target 'all' failed
make: *** [all] Error 2


At this point I will probably just give up and stick to "print" statements in my code, 1973-style :/  I freely admit to knowing nothing about texinfo/bash/cygwin/make/configure/this kinda installation thing (and I'm very happy to keep it that way--- there's a reason I use Windows despite its aggravations)! Still, hopefully this report will help y'all track the bugs down...

Mark Bravington
CSIRO Marine Lab
Hobart
Australia

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Windows installation bugs
  2016-03-05  4:40 Windows installation bugs Mark.Bravington
@ 2016-04-06 13:51 ` Patrick Monnerat
  2016-04-06 16:30   ` Could help with errors building on Ubuntu 15.10? Fabio D'Alfonso
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Monnerat @ 2016-04-06 13:51 UTC (permalink / raw)
  To: insight

On 03/05/2016 05:40 AM, Mark.Bravington@csiro.au wrote:
> Hi folks
>
> I was going to report this as a bug, but there's a bug in the Insight bug-reporting system ... :) at least with the link on your Bugs page
>
> https://www.sourceware.org/cgi-bin/gnatsweb.pl?database=insight&user=guest&password=guest&cmd=login
>
> Anyway. I was trying to install Insight 6.8-1 on Windows 7 32bit, after first installing Cygwin. I ran into two types of bug, the first of which I could hack round and the second of which I couldn't:
I can't help you with sourceware.org: I have the same access permissions 
as you have. Maybe try contacting sourcemaster at sourceware dot org.

However I see you are trying the latest insight official release, which 
is very old and outdated: please try git cloning my own version from 
https://github.com/monnerat/insight (in sync with gdb repo < 1 week). 
I've compiled and run it this morning on Linux with success. I succeeded 
with cygwin and mingw32 on W$ a few months ago. I am not a W$ guy, so 
the support I can bring for your case is limited.
It's unofficial but I think this is the most up-to-date you'll find on 
the net. In any case, you'll have more chance with it that with 6.8.1.

Good luck,
Patrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Could help with errors building on Ubuntu 15.10?
  2016-04-06 13:51 ` Patrick Monnerat
@ 2016-04-06 16:30   ` Fabio D'Alfonso
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio D'Alfonso @ 2016-04-06 16:30 UTC (permalink / raw)
  To: insight

Hi,
I was trying to build on 15.10 , but I am getting some errors:

I am getting errors on
info-recursive error 1
recipe for all-bfd error 2
recipes for trget all failed error 2

How could I fix?

Thanks for making this big job on Insight!


On 4/6/2016 3:51 PM, Patrick Monnerat wrote:
> On 03/05/2016 05:40 AM, Mark.Bravington@csiro.au wrote:
>> Hi folks
>>
>> I was going to report this as a bug, but there's a bug in the Insight 
>> bug-reporting system ... :) at least with the link on your Bugs page
>>
>> https://www.sourceware.org/cgi-bin/gnatsweb.pl?database=insight&user=guest&password=guest&cmd=login 
>>
>>
>> Anyway. I was trying to install Insight 6.8-1 on Windows 7 32bit, 
>> after first installing Cygwin. I ran into two types of bug, the first 
>> of which I could hack round and the second of which I couldn't:
> I can't help you with sourceware.org: I have the same access 
> permissions as you have. Maybe try contacting sourcemaster at 
> sourceware dot org.
>
> However I see you are trying the latest insight official release, 
> which is very old and outdated: please try git cloning my own version 
> from https://github.com/monnerat/insight (in sync with gdb repo < 1 
> week). I've compiled and run it this morning on Linux with success. I 
> succeeded with cygwin and mingw32 on W$ a few months ago. I am not a 
> W$ guy, so the support I can bring for your case is limited.
> It's unofficial but I think this is the most up-to-date you'll find on 
> the net. In any case, you'll have more chance with it that with 6.8.1.
>
> Good luck,
> Patrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-06 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-05  4:40 Windows installation bugs Mark.Bravington
2016-04-06 13:51 ` Patrick Monnerat
2016-04-06 16:30   ` Could help with errors building on Ubuntu 15.10? Fabio D'Alfonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).