This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: can not compile cscope on cygwin


> simple). But make still gave the following error
> and terminatedimmediately :-
> cd . && aclocal-1.7
> /bin/bash: line 1: aclocal-1.7:command not found
> make: *** [aclocal.m4] Error 127

It looks like you are missing aclocal script, which is, I believe, a part of automake package. Use setup to install the package.

Or, the package is already installed, but your path is not correct. Make sure you have all packages required by cscope installed. Use cygcheck to verify your cygwin.

Vladica


-----Original Message-----
From: Anusha Parthasarathy [mailto:anusharvind@sify.com] 
Sent: Thursday, May 19, 2005 12:20 PM
To: Todorovic Vladica-VTODORO1; cygwin@cygwin.com
Subject: RE: can not compile cscope on cygwin


Sorry about the personal email thing.. my 
webmail service islousy.

This time I connected to the cvs repository
and checkedoutthe cscope project, as per the
sourceforge.net instructions (which wasquite
simple). But make still gave the following error
and terminatedimmediately :-
cd . && aclocal-1.7
/bin/bash: line 1: aclocal-1.7:command not found
make: *** [aclocal.m4] Error 127

For which I did agrep on "aclocal" :-

aclocal.m4:# generated automatically by aclocal1.7.9 -*- Autoconf -*-
aclocal.m4:AM_MISSING_PROG(ACLOCAL,aclocal-${am__api_version})
aclocal.m4:# Automake X.Y traces this macroto ensure aclocal.m4 has been
aclocal.m4:# written in clear, in whichcase automake, when readingaclocal.m4,
config.log:ACLOCAL='aclocal-1.7'
config.status:s,@ACLOCAL@,aclocal-1.7,;tt
configure:ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
contrib/Makefile.in:ACLOCAL_M4 =$(top_srcdir)/aclocal.m4
contrib/Makefile:ACLOCAL =aclocal-1.7
contrib/Makefile:ACLOCAL_M4 =$(top_srcdir)/aclocal.m4
doc/Makefile:ACLOCAL =aclocal-1.7
doc/Makefile:ACLOCAL_M4 =$(top_srcdir)/aclocal.m4
doc/Makefile.in:ACLOCAL_M4 =$(top_srcdir)/aclocal.m4
missing:  aclocal      touch file\`aclocal.m4'
missing:  aclocal*)
missing:    touchaclocal.m4
src/Makefile:ACLOCAL = aclocal-1.7
src/Makefile:ACLOCAL_M4= $(top_srcdir)/aclocal.m4
src/Makefile.in:ACLOCAL_M4 =$(top_srcdir)/aclocal.m4

I tried replacing all instances ofaclocal-1.7
with aclocal.m4, but it gave the same error.
Ran out ideashere. Waiting for yours (thanks !!)

An unrelated question :- doescygwin support the
"script" utility ?

Regards
Arvind.

Vladica.Todorovic@motorola.com:

> Please don't send personale-mails.

It looks like that your cvstarball wasn't "pluged-in". As I see it, you have two options:

1. Usesetup to install cvs on your system, then put the cvs tarball in yourcvs repository, and then check out the files. Alternativelly, you couldfollow instuctions on http://sourceforge.net/cvs/?group_id=4664 to getsource files and skip cvs tarball completely. Anyway, you'll probablyneed to consult cvs man pages in order to get through this.

2. Youcan try to  manually rename files and strip them of change history.Needless to say, it may take while to do this and it may be error proneprocess -- the experiance you've alreadyhad.

Vladica

-----Original Message-----
From: AnushaParthasarathy [mailto:anusharvind@sify.com] 
Sent: Tuesday, May 17,2005 10:20 PM
To: Todorovic Vladica-VTODORO1
Cc: Mark Paulus
Subject:RE: can not compile cscope on cygwin


Hi,

Thanks for the reply. Idid rerun configure
after installingflex, bison and everythingelse.

I tried Sunday night's tarball oncvs. I'm not 
sure I followedthe correct procedure for building - ifsuch a procedure is well knownand
different from the standarddistribution, can
you please point meto it.

The files in thetarball are suffixed with ",v"
and themakefile and the configure file,have
an attached change log that causea lot of
error messages(possibly noise). But even
the tarball did notbuild - makeinstantly
gave an error (sorry, I missed copying thisone
for the list- but it was something very basic,
like as if themakefile was notwritten properly).
I even tried removing the change logstuff(which
strangely enough did not seem commented),and
rerunning(starting with configure), but to 
noavail.

Regards
Arvind.


Vladica.Todorovic@motorola.com:

> 
Iremember having similarproblems with 15.5, but cvs version was ok.Now, Ihaven't tried to build cscope recently, but the last time Itried, thecvs version was building (and working) just fine. 

Did youtrycvs?

Vladica
 

-----Original Message-----
From:Arvind[mailto:anusharvind@sify.com] 
Sent: Saturday, May 14, 20059:13AM
To: cygwin@cygwin.com
Subject: Re: can not compile cscopeoncygwin


Mark Paulus  mci.com> writes:

> 
> Ijust tried this,and it appears that you don't have
> lex/flex and/orbison/byaccinstalled.  Apparently
> these aren't selected by defaultfrom thecygwin
> setup tool.  Re-run the cygwin setup tool, and under
> Devel,select bison and flex, and you should be good
> to go.
>

triedthat.. butgot:-
-------------------------------------------------------------
make all-recursive
make[1]: Enteringdirectory`/cygdrive/c/cscope/cscope-15.5'
Making all in doc
make[2]:Enteringdirectory `/cygdrive/c/cscope/cscope-15.5/doc'
make[2]: Nothingto bedone for `all'.
make[2]: Leavingdirectory`/cygdrive/c/cscope/cscope-15.5/doc'
Making all insrc
make[2]:Entering directory`/cygdrive/c/cscope/cscope-15.5/src'
bison -y  `test -f 'egrep.y' ||echo './'`egrep.y
conflicts: 2shift/reduce
make[2]: *** [egrep.c]Broken pipe
make[2]: Leavingdirectory`/cygdrive/c/cscope/cscope-15.5/src'
make[1]: ***[all-recursive] Error1
make[1]: Leaving directory`/cygdrive/c/cscope/cscope-15.5'
make: ***[all]Error2
-------------------------------------------------------------


Arvind.

> On Wed, 27 Apr 2005 15:46:47 -0400 (EDT), IgorPechtchanskiwrote:
> 
> >On Wed, 27 Apr 2005, lin q wrote:
> 
> >>Hi,
> >>  Iam using latest version cygwin and I just downloaded cscope15.5, butin
> >> compiling it there is such error,
> >>
> >> $make
> >> make all-recursive
> >> make[1]: Entering directory`/c/bin/cscope-15.5'
>>> Making all in doc
> >> make[2]: Enteringdirectory`/c/bin/cscope-15.5/doc'
> >> make[2]: Nothing to be done for`all'.
>>> make[2]: Leaving directory `/c/bin/cscope-15.5/doc'
> >>Making allin src
> >> make[2]: Entering directory`/c/bin/cscope-15.5/src'
> >>/bin/bash ../ylwrap `test -f 'fscanner.l'|| echo './'`fscanner.l .c
>>> fscanner.c -- :
> >> make[2]: ***[fscanner.c] Error 1
> >>make[2]: Leaving directory`/c/bin/cscope-15.5/src'
> >> make[1]: ***[all-recursive] Error 1
> >>make[1]: Leaving directory`/c/bin/cscope-15.5'
> >> make: *** [all]Error 2
> >>
> >> Do youknow what is wrong?
> 
> >Please review andfollow
> >> Problemreports:       http://cygwin.com/problems.html
>>to provide enoughinformation about your installation for this listto
> >help you.
>
> >Without the above information, I would guessthat it's a lineending issue
> >of some sort (since you're using /c,and I suppose yourcygdrive prefix is
> >empty rather than "c:" beingmounted on /cexplicitly).
> 
> >> Is there any pre-compiled cscope forcygwinsomewhere?
> 
> >According to , the onlymatches for "cscope"
>>are in the vim source package, so no, thereisn't an official cscope
>>package.  You can Google for unofficialones, I suppose.
> >	Igor
>>-- 
>>				http://cs.nyu.edu/~pechtcha/
> >      |     _,,,---,,_		pechtcha cs.nyu.edu
> >ZZZzz /,`.-'`'    -.  ;-;;,_		igorwatson.ibm.com
> >     |,4-  ) )-,_. , (  `'-'		IgorPechtchanski,Ph.D.
> >    '---''(_/--'  `-'_) fL	a.k.aJaguaR-R-R-r-r-r-.-.-. Meow!
> 
> >"The Sun will pass between theEarth and the Moon tonightfor a total
> >Lunar eclipse..." -- WCBSRadio Newsbrief, Oct 27 2004,12:01 pm EDT
> 
> >--
> >Unsubscribeinfo:     http://cygwin.com/ml/#unsubscribe-simple
> >Problem reports:     http://cygwin.com/problems.html
> >Documentation:       http://cygwin.com/docs.html
> >FAQ:                 http://cygwin.com/faq/
> 
> 






 


 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]