Re: Global not working

Shigio Yamaguchi <[email protected]>
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hello,
> I just installed global v4.6 on my mandrake 9.1 system
> (first-time global user).
> My problem is that global is not working:
> When I type 'gtags' in a project directory I get no
> error messages but the files GTAGS and GRTAGS are empty
> (while GPATH and GSYMS have the same size).

It seems a configuration problem in Linux.
Would you please take following workaround?

% ./configure			# execute configure
% vi config.h			# edit config.h (generated by configure)

	+----------------------------------------------------
	|/* Define if your struct dirent has dp_d_namlen. */
	|#define HAVE_DP_D_NAMLEN 1
	|
	|/* Define if your struct dirent has dp_d_type. */
	|#define HAVE_DP_D_TYPE 1

		|
		v
	+----------------------------------------------------
	|/* Define if your struct dirent has dp_d_namlen. */
	|/* #define HAVE_DP_D_NAMLEN 0 */		<- encomment
	|
	|/* Define if your struct dirent has dp_d_type. */
	|/* #define HAVE_DP_D_TYPE 0 */			<- encomment

% make
# make install

I will fix this problem in the next release.
Good luck!
--
Shigio Yamaguchi <[email protected]> - Tama Communications Corporation
Spare mail address: <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.