Hi,
I have the Pygments parser setup correctly and it was working fine with
global 6.5.1.
But on updating to 6.5.2, I get the below error:
gtags: cannot open shared object '$pygmentslib'.
The following line in the new ~/.globalrc apparently should set the
$pygmentslib variable, correct?
:pygmentslib=$libdir/gtags/pygments-parser.la:\
I use the below to build global (csh script):
set os_version = `lsb_release -a | \grep Release | awk
'{print $2}' | awk -F. '{print $1}'`
set global_version = 6.5.2
set global_install_dir =
"$HOME/usr_local/apps/${os_version}/global/${global_version}"
set my_ctags_bin_location =
"$HOME/usr_local/apps/${os_version}/ctags/universal/bin/ctags"
make clean
sh reconf.sh
./configure --prefix=${global_install_dir} \
--with-exuberant-ctags=${my_ctags_bin_location}
make
make install
and following is the content of pygments-parser.la:
# pygments-parser.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.5
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='pygments-parser.so'
# Names of this library.
library_names='pygments-parser.so pygments-parser.so pygments-parser.so'
# The name of the static archive.
old_library='pygments-parser.a'
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=''
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for pygments-parser.
current=0
age=0
revision=0
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/home/kmodi/usr_local/apps/6/global/6.5.2/lib/gtags'
--
Kaushal Modi
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global