octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect version of libtool executable under Linux Mint


From: Daniel J Sebald
Subject: Incorrect version of libtool executable under Linux Mint
Date: Mon, 2 May 2016 12:57:32 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

I've just switched to Linux Mint. I've run into a problem immediately after what looks like proper configuration. When building, I see

cd libgnu; make all
make[1]: Entering directory `/home/sebald/matlab/octave/build1/libgnu'
make all-recursive
make[2]: Entering directory `/home/sebald/matlab/octave/build1/libgnu'
make[3]: Entering directory `/home/sebald/matlab/octave/build1/libgnu'
CC areadlink-with-size.lo
../libtool: line 2096: ../../octave/libgnu/areadlink-with-size.c: Permission denied
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.

I think that the problem here may be that ../libtool is being used (the one constructed by "configure"), rather than /usr/bin/libtool. The following list discussion

  http://forums.fedoraforum.org/showthread.php?t=225111

suggests changing

LIBTOOL='$(SHELL) $(top_builddir)/libtool'

to

LIBTOOL='$(SHELL) /usr/bin/libtool'

in

/usr/share/aclocal/libtool.m4

but I don't really feel like modifying system files to solve this. So, temporarily, I've cheated a bit and after configuration completes renamed the local libtool and then linked the system libtool in its place, i.e.,

build1 # mv libtool libtool-local
build1 # ln -s /usr/bin/libtool
build1 # make

and away we go...

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]