-
Notifications
You must be signed in to change notification settings - Fork 15
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
"py-compile: Missing argument to --destdir." #2
Comments
You should use ./configure --prefix=/usr (That autogen.sh is in the tarball is a mistake, I’ll remove it, it should only used when building from git. ./configure --prefix=/usr/local Then you don’t get that error message. So there is some bug in the build system with the handling of DESTDIR. But installing to a different location than /usr will probably not work for you anyway. So use ./configure --prefix=/usr this should work. |
Did it work for you? |
Sorry, didn't have time to test it yet. Will update this issue after I try. |
OK, just installed from the repo checked out to release 1.5.7, and the installation finished with no errors. Sorry if this is a trivial question, but how do I trigger it? should I restart X11 before? |
Yes, it is easier if you restart X11. exec ibus-daemon -drx After starting your session, start "ibus-setup" and add the "English US (Typing Booster)" In case you are using Gnome, see the video at the bottom of the ibus-typing-booster |
OK so now when I try to open ibus-setup I get this error:
I guess that this is unrelated to your code. I'll handle it and report back. |
OK I finally went back to fix this issue, it was just a conflicting python library. Should I have run anything else other than the Thanks! |
FYI: I installed https://github.com/salty-horse/ibus-uniemoji and it worked. |
More info: $ ls -l /usr/share/ibus/component
total 48
-rw-r--r-- 1 root root 413 Jan 22 2016 dconf.xml
-rw-r--r-- 1 root root 420 Jan 22 2016 gtkpanel.xml
-rw-r--r-- 1 root root 1483 Feb 27 2014 pinyin.xml
-rw-r--r-- 1 root root 22676 Jan 22 2016 simple.xml
-rw-r--r-- 1 root root 611 Feb 14 2014 table.xml
-rw-r--r-- 1 root root 695 Nov 11 04:31 typing-booster.xml
-rw-r--r-- 1 root root 1257 Nov 11 04:27 uniemoji.xml
$ cat /usr/share/ibus/component/typing_booster.xml
<?xml version='1.0' encoding='utf-8'?>
<!-- filename: hunspell-table.xml -->
<component>
<name>org.freedesktop.IBus.IbusTypingBooster</name>
<description>Table Component</description>
<exec>/usr/libexec/ibus-engine-typing-booster --ibus</exec>
<version>0.0.1</version>
<author>Anish Patil <anish.developer@gmail.com></author>
<license>GPL</license>
<homepage>http://mike-fabian.github.io/ibus-typing-booster</homepage>
<textdomain>ibus-typing-booster</textdomain>
<observed-paths>
<path> </path>
</observed-paths>
<engines exec='/usr/libexec/ibus-engine-typing-booster --xml'/>
</component> Some strange things about
|
Hey @mike-fabian , did you get a chance to look at this? Thanks! |
Some strange things about typing_booster.xml:
OK, I have fixed that now, but that is only a comment, it doesn’t matter.
This is probably because you installed to /usr/local, not /usr. ./configure --prefix=/usr (The --prefix=/usr is important!) mfabian@taka:/local/mfabian/src/ibus-uniemoji$ make -n install
Which error? |
Running
|
OK not sure why it happened, but it should be ok now.
|
It seems that after I ran the following from the ibus source directory to resolve it:
Now
Indeed, the directory Any idea? Thanks! |
I finally was able to resolve the issue after debugging it.
So I also copied the aff file to this directory. I also deleted the db file, but not sure if it was needed or not. Anyway, it seems like on Ubuntu ibus-typing-booster doesn't look at the right location for hunspell dictionaries? |
See also: #6 I’ll make the path for the dictionaries configurable to solve this. By the way, if ibus-typing-booster cannot find the dictionaries, it will nevertheless work. By the way, you do not need to delete the ~/.local/share/ibus-typing-booster/user.db if you change the dictionaries. |
infokiller> Anyway, it seems like on Ubuntu ibus-typing-booster doesn't look at the right location for infokiller> hunspell dictionaries? I hope it does now. In this release https://github.com/mike-fabian/ibus-typing-booster/releases/tag/1.5.16 Which fixes the problem for Arch Linux by looking in a list of directories now. It now looks Where are the dictionaries on Ubuntu? In case they are somewhere else in Ubuntu, I can https://github.com/mike-fabian/ibus-typing-booster/blob/master/engine/itb_util.py#L354 |
I tried installing it by running:
However, I get the following error:
Am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: