[mira_talk] Re: Compiling v 4.9.5 from source

  • From: Bastien Chevreux <bach@xxxxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Tue, 21 Jul 2015 09:54:43 +0200

Thanks, I forgot answering your mail when fixing that bug which also arrived
through other channels. But then again, that’s what bug trackers are for :-)

B.

On 21 Jul 2015, at 1:25 , Martin MOKREJŠ <mmokrejs@xxxxxxxxx> wrote:

Hi Bastien,
I hit this error again and I realized I haven't heard anything back on this.
However, I had time
to look into it myself now. A trivial patch for Makefile.in is attached, same
should go for Makefile.am
and if you apply it manually, just apply it to the generated Makefile.

Hope this helps,
Martin

Martin MOKREJŠ wrote:
I see the same with gcc-4.9.2:

Making install in modules
make[4]: Entering directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/modules'
make[5]: Entering directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/modules'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/modules'
make[4]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/modules'
Making install in progs
make[4]: Entering directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
Making .H out of .xxd compileinfo.itxt
make[5]: Entering directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
make[5]: Nothing to be done for 'install-data-am'.
Making .H out of .xxd compileinfo.itxt
/bin/mkdir -p '/var/tmp/portage/sci-biology/mira-4.9.5/image//usr/bin'
/bin/sh ../../libtool --mode=install /usr/bin/install -c mira
'/var/tmp/portage/sci-biology/mira-4.9.5/image//usr/bin'
libtool: install: /usr/bin/install -c mira
/var/tmp/portage/sci-biology/mira-4.9.5/image//usr/bin/mira
make install-exec-hook
make[6]: Entering directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
cd /var/tmp/portage/sci-biology/mira-4.9.5/image//usr/bin && \
rm -f miramem && \
ln -s mira miramem && \
rm -f mirabait && \
ln -s mira mirabait &&\
rm -f miraconvert && \
ln -s mira miraconvert \
rm -f miramer && \
ln -s mira miramer
ln: target 'miramer' is not a directory
Makefile:714: recipe for target 'install-exec-hook' failed
make[6]: *** [install-exec-hook] Error 1
make[6]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
Makefile:636: recipe for target 'install-exec-am' failed
make[5]: *** [install-exec-am] Error 2
make[5]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
Makefile:582: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
make[4]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src/progs'
Makefile:401: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src'
Makefile:555: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5/src'
Makefile:413: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
'/var/tmp/portage/sci-biology/mira-4.9.5/work/mira-4.9.5'
Makefile:709: recipe for target 'install' failed
make: *** [install] Error 2


pedro.barbosa@xxxxxxxx wrote:
Thanks Bastien, I updated the GCC version and it worked. However I got the
following error. Anyway, I think I have mira ready for assembly, no?

Pedro

test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c mira
'/usr/local/bin'
libtool: install: /usr/bin/install -c mira /usr/local/bin/mira
make install-exec-hook
make[6]: Entering directory `/opt/tools/mira-4.9.5/src/progs'
cd /usr/local/bin && \
rm -f miramem && \
ln -s mira miramem && \
rm -f mirabait && \
ln -s mira mirabait &&\
rm -f miraconvert && \
ln -s mira miraconvert \
rm -f miramer && \
ln -s mira miramer
ln: target `miramer' is not a directory
make[6]: *** [install-exec-hook] Error 1
make[6]: Leaving directory `/opt/tools/mira-4.9.5/src/progs'
make[5]: *** [install-exec-am] Error 2
make[5]: Leaving directory `/opt/tools/mira-4.9.5/src/progs'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/opt/tools/mira-4.9.5/src/progs'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/opt/tools/mira-4.9.5/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/tools/mira-4.9.5/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/tools/mira-4.9.5'
make: *** [install] Error 2
<mira-4.9.5-fix-miramer-symlink-error.patch>


--
You have received this mail because you are subscribed to the mira_talk mailing
list. For information on how to subscribe or unsubscribe, please visit
http://www.chevreux.org/mira_mailinglists.html

Other related posts: