Sithu1988 / smart-highlighting-gedit

Automatically exported from code.google.com/p/smart-highlighting-gedit
0 stars 0 forks source link

install.sh doesn't work on 64bit RHEL #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the install instructions.
2. Use install_all.sh

What is the expected output? What do you see instead?
I expected it to be installed but I got this instead

smart_highlighting-2.0.1 $ ./install_all.sh 
mkdir: cannot create directory `/usr/lib/gedit-2': Permission denied
cp: target `/usr/lib/gedit-2/plugins/' is not a directory
[sudo] password for chender: 
`smart_highlight/locale/en_US/LC_MESSAGES/smart-highlight.mo' -> 
`/usr/share/locale/en_US/LC_MESSAGES/smart-highlight.mo'
`smart_highlight/locale/zh_TW/LC_MESSAGES/smart-highlight.mo' -> 
`/usr/share/locale/zh_TW/LC_MESSAGES/smart-highlight.mo'

What version of the product are you using? On what operating system?
I'm using 2.0.1 on 64-bit RHEL6

Please provide any additional information below.
   On my machine, it seems like the gedit-2 plugins folder is here:

$ ls /usr/lib64/gedit-2/plugins/
changecase.gedit-plugin     libindent.so                quickopen
docinfo.gedit-plugin        libmodelines.so             quickopen.gedit-plugin
externaltools               libsort.so                  snippets
externaltools.gedit-plugin  libspell.so                 snippets.gedit-plugin
filebrowser.gedit-plugin    libtaglist.so               sort.gedit-plugin
indent.gedit-plugin         libtime.so                  spell.gedit-plugin
libchangecase.so            modelines.gedit-plugin      taglist.gedit-plugin
libdocinfo.so               pythonconsole               time.gedit-plugin
libfilebrowser.so           pythonconsole.gedit-plugin

Original issue reported on code.google.com by henderso...@gmail.com on 3 Feb 2012 at 11:02

GoogleCodeExporter commented 8 years ago
1. The standard path of gedit2 plugins is /usr/lib/gedit-2/plugins/. Seems your 
system has a different path. You should change the PLUGIN_PATH to 
/usr/lib64/gedit-2/plugins.

2. I forget to add sudo before the commands in the install_all.sh. You can run 
install_all.sh as root  to install. I will fix the script in next release.

Thanks for your report.

Original comment by swatch.c...@gmail.com on 3 Feb 2012 at 11:59

GoogleCodeExporter commented 8 years ago
Fixed at v2.0.2.

Original comment by swatch.c...@gmail.com on 4 Feb 2012 at 11:06