I am trying to build GDB from source, and am encountering a strange problem. I'm not sure what information is relevant, so please let me know if I have not provided enough.
I am working on Linux Mint. I have a tarball of the various gdb source files and build scripts, which was provided in a class.
When executing one of the build scripts (linux-targ), which I can post if it's valuable, I encounter the following error.
.../gdb/install.sh -c -m 644 libreadline.a /usr/local/lib/libreadline.a install: libreadline.a does not exist make: [install] Error 1
This is the line in the install.sh script that is failing.
if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi
I've tried copying a libreadline.a to the local directory, but that failed also.
/usr/local/lib/libreadline.a does exist. I have even removed it and reinstalled. It also doesn't seem to matter if I run this as root.
Why is the install script reporting that
libreadlines.a does not exist?
If this is the wrong SE, please suggest an alternative.