build on raspberry 3B+

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

build on raspberry 3B+

Müller, Andreas, Prof. Dr.
Dear Insight Team,

I am trying to build the Insight software on a Raspberry Pi 3B+. I get the enclosed two errors when running "make" and "make install". Can you help me fixing them?

Thank you very much in advance!

Best regards,

Andreas

make_messages (2K) Download Attachment
make_install_messages (15K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: build on raspberry 3B+

Keith Seitz
On 12/2/18 10:30 AM, Müller, Andreas, Prof. Dr. wrote:

> I am trying to build the Insight software on a Raspberry Pi 3B+. I
> get the enclosed two errors when running "make" and "make install".
> Can you help me fixing them?

From make_messages:

if (/home/pi/src/insight-6.8/missing makeinfo --split-size=5000000 --split-size=
5000000 --version) >/dev/null 2>&1; then \
  for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9] bfd.i[0-9][0-9
]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
if /home/pi/src/insight-6.8/missing makeinfo --split-size=5000000 --split-size=5000000   -I ../../../src/insight-6.8/bfd/doc \
 -o bfd.info `test -f 'bfd.texinfo' || echo '../../../src/insight-6.8/bfd/doc/'`bfd.texinfo; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
Makefile:390: recipe for target 'bfd.info' failed

There is no error message contained in here... Did you by chance redirect stdout
to a file when compiling and forget to redirect stderr?

Nonetheless, bfd.info failed, and I'm going to take a wild guess that your
system doesn't have makeinfo installed. This is in the texinfo package.

From make_install_messages:

/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/insight-6.8/bfd -I. -I. -I../../src/insight-6.8/bfd -I../../src/insight-6.8/bfd/../include     -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o opncls.lo ../../src/insight-6.8/bfd/opncls.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/insight-6.8/bfd -I. -I. -I../../src/insight-6.8/bfd -I../../src/insight-6.8/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../src/insight-6.8/bfd/opncls.c -o opncls.o
Makefile:1071: recipe for target 'opncls.lo' failed

Again, no error messages here. [It looks like stderr is missing from the output.] However, for this one, I cannot guess off the top of my head what the problem might be.

Insight 6.8? That's *really* old. I would encourage you to clone the GIT repo
[git clone git://sourceware.org/git/insight.git] and build that. That's what I've
been using for several years now.

I don't believe we've done an "official" release in almost ten years. Maybe I should.

Keith