-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centos build the rpm package, not support autocomlete and uparrow command. #194
Comments
Did you install all the dependencies first? If it will not help - please provide full cmake output |
ok, Now I found the library maybe not good. Let me try first and exclude the enviroment reasons. |
What does this mean? When build rpms from this directory. |
Use cmake and make command, the program is ok. |
I solved this problem. This problem is caused by the options of cmake. |
It should not be an issue. We always build clickhouse as RelWithDebugInfo and strip symbols afterwards, so do Yandex too. You can just pick our rpm and check that autocomplite works there. |
How to reproduce
System CentOS 7
https://github.com/Altinity/clickhouse-rpm.git
clickhouse-rpm builder.
./builder build --rpms --from-sources-in-SOURCES-dir
then we will have
clickhouse-client-19.8.3.8-1.el7.x86_64.rpm clickhouse-debuginfo-19.8.3.8-1.el7.x86_64.rpm clickhouse-server-common-19.8.3.8-1.el7.x86_64.rpm
clickhouse-common-static-19.8.3.8-1.el7.x86_64.rpm clickhouse-server-19.8.3.8-1.el7.x86_64.rpm clickhouse-test-19.8.3.8-1.el7.x86_64.rpm
then
Reinstall clickhouse
sudo yum -y remove clickhouse-common-static.x86_64
sudo yum -y remove clickhouse-server-common.x86_64
cd /data/software/clickhouse-rpm/rpmbuild/RPMS/x86_64
sudo rpm -ivh clickhouse-common-static-19.8.3.8-1.el7.x86_64.rpm
sudo rpm -ivh clickhouse-server-common-19.8.3.8-1.el7.x86_64.rpm
sudo rpm -ivh clickhouse-server-19.8.3.8-1.el7.x86_64.rpm
sudo rpm -ivh clickhouse-client-19.8.3.8-1.el7.x86_64.rpm
sudo service clickhouse-server restart
then
connect to this server.
clickhouse-client
press uparrow
client shows ^[[A^[[A
Which ClickHouse server version to use
19.8.3.8 stable or above.
I have tried to use libtinfo.so and on the icu library, all failed. so help, appreciate in advance.
Expected behavior
A clear and concise description of what you expected to happen.
When I press the uparrow it should show the previous command i input, empty if no command input previously input and Tab clickhosue client should autocomplete.
Error message and/or stacktrace
No error message in server's log.
The text was updated successfully, but these errors were encountered: