You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While following the instructions in the main README, I run into the following errors:
test -n "ranlib" && ranlib libtilde.a
make[1]: Leaving directory '/home/shawnghu/athame/bash-4.4_tmp/lib/tilde'
rm -f bash
gcc -L./builtins -Wl,-rpath,/home/shawnghu/athame/test/build/lib/ -L/home/shawnghu/athame/test/build/lib -L./lib/glob -L./lib/tilde -L./lib/sh -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o
-lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde -lutil -ldl
./lib/sh/libsh.a(tmpfile.o): In function `sh_mktmpname':
/home/shawnghu/athame/bash-4.4_tmp/lib/sh/tmpfile.c:152: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
bashhist.o: In function `load_history':
/home/shawnghu/athame/bash-4.4_tmp/bashhist.c:324: undefined reference to `history_lines_read_from_file'
bashhist.o: In function `maybe_save_shell_history':
/home/shawnghu/athame/bash-4.4_tmp/bashhist.c:474: undefined reference to `history_lines_written_to_file'
bashline.o: In function `bash_execute_unix_command':
/home/shawnghu/athame/bash-4.4_tmp/bashline.c:4105: undefined reference to `rl_clear_visible_line'
/home/shawnghu/athame/bash-4.4_tmp/bashline.c:4153: undefined reference to `rl_redraw_prompt_last_line'
./builtins/libbuiltins.a(history.o): In function `history_builtin':
/home/shawnghu/athame/bash-4.4_tmp/builtins/./history.def:227: undefined reference to `history_lines_read_from_file'
/home/shawnghu/athame/bash-4.4_tmp/builtins/./history.def:214: undefined reference to `history_lines_read_from_file'
collect2: error: ld returned 1 exit status
Makefile:572: recipe for target 'bash' failed
make: *** [bash] Error 1
Make failed: Are you sure you have readline 8 installed? readline_athame_setup.sh installs readline 8 patched with athame. You may want to run it first.
This may also fail if you have a versionless libreadline.so symlinked to libreadline.so.7
I also find that I get the following error before any of the output about patching:
make[1]: Leaving directory '/home/shawnghu/athame/readline-8.0_tmp/doc'
( cd examples ; make DESTDIR=/home/shawnghu/athame/readline-8.0_tmp/../test/build install )
make[1]: Entering directory '/home/shawnghu/athame/readline-8.0_tmp/examples'
/bin/sh ../support/mkdirs /home/shawnghu/athame/readline-8.0_tmp/../test/build/usr/share/readline
mkdir /home/shawnghu/athame/readline-8.0_tmp/../test/build/usr/share/readline
/usr/bin/install: cannot stat './rltest2.c': No such file or directory
make[1]: Leaving directory '/home/shawnghu/athame/readline-8.0_tmp/examples'
/usr/bin/install -c -m 644 /home/shawnghu/athame/readline-8.0_tmp/readline.pc /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/pkgconfig/readline.pc
rm -f /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readline/vimbed.vim && rm -f -r /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readli
ne
cp -r ./vimbed/plugin /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readline
mv /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.old
mv: cannot stat '/home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a': No such file or directory
Makefile:261: recipe for target 'install-static' failed
make: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libreadline.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a
test -n "ranlib" && ranlib /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a
mv /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.old
mv: cannot stat '/home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a': No such file or directory
Makefile:261: recipe for target 'install-static' failed
make: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libhistory.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a
test -n "ranlib" && ranlib /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; make all )
It seems to me that there's some problem configuring headers at some point, but I can't figure out where this issue should be solved. Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered:
While following the instructions in the main README, I run into the following errors:
make[1]: Leaving directory '/home/shawnghu/athame/readline-8.0_tmp/doc'
( cd examples ; make DESTDIR=/home/shawnghu/athame/readline-8.0_tmp/../test/build install )
make[1]: Entering directory '/home/shawnghu/athame/readline-8.0_tmp/examples'
/bin/sh ../support/mkdirs /home/shawnghu/athame/readline-8.0_tmp/../test/build/usr/share/readline
mkdir /home/shawnghu/athame/readline-8.0_tmp/../test/build/usr/share/readline
/usr/bin/install: cannot stat './rltest2.c': No such file or directory
make[1]: Leaving directory '/home/shawnghu/athame/readline-8.0_tmp/examples'
/usr/bin/install -c -m 644 /home/shawnghu/athame/readline-8.0_tmp/readline.pc /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/pkgconfig/readline.pc
rm -f /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readline/vimbed.vim && rm -f -r /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readli
ne
cp -r ./vimbed/plugin /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/athame_readline
mv /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.old
mv: cannot stat '/home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a': No such file or directory
Makefile:261: recipe for target 'install-static' failed
make: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libreadline.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a
test -n "ranlib" && ranlib /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libreadline.a
mv /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.old
mv: cannot stat '/home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a': No such file or directory
Makefile:261: recipe for target 'install-static' failed
make: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libhistory.a /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a
test -n "ranlib" && ranlib /home/shawnghu/athame/readline-8.0_tmp/../test/build/lib/x86_64-linux-gnu/libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; make all )
The text was updated successfully, but these errors were encountered: