Re: [PATCH] Dependency tracking for Microsoft Visual C/C++

2000-10-17 Thread Akim Demaille

> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> We compute dependencies in parallel with the actual
Alexandre> compilation, but we mustn't consider the job done before
Alexandre> both are complete.

Ah!  Yes, I overlooked the ` "$@" '.  Thanks!




Re: Avoiding cross-dependencies for aclocal.m4

2000-10-17 Thread Akim Demaille

> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> On Oct 16, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
>> This guy looks good to me.  Any objection?

Alexandre> Nope.

Pavel, you still consider this patch alive?




Re: PATCH: depcomp cpp method output

2000-10-17 Thread Akim Demaille


| 2000-06-21  Alex Hornby <[EMAIL PROTECTED]>
| 
| * depcomp: Altered sed clause to strip of inclusion depth
| numbers generated by cpp. Also output in gcc style.
| 
| Index: depcomp
| ===
| RCS file: /cvs/automake/automake/depcomp,v
| retrieving revision 1.8
| diff -u -r1.8 depcomp
| --- depcomp   2000/08/20 15:58:45 1.8
| +++ depcomp   2000/09/05 09:35:43
| @@ -253,7 +253,8 @@
|;;
|  esac
|  "$@" -E |
| -sed -n '/^# [0-9][0-9]* "\([^"]*\)"/ s::'"$object"'\: \1:p' > "$tmpdepfile"
| +sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
| +sed '$ s: \\$::' > "$tmpdepfile"
|) &
|proc=$!
|"$@"
| @@ -261,8 +262,9 @@
|wait "$proc"
|if test "$stat" != 0; then exit $stat; fi
|rm -f "$depfile"
| -  cat < "$tmpdepfile" > "$depfile"
| -  sed < "$tmpdepfile" -e 's/^[^:]*: //' -e 's/$/ :/' >> "$depfile"
| +  echo "$object : \\" > "$depfile"
| +  cat < "$tmpdepfile" >> "$depfile"
| +  sed < "$tmpdepfile" -e '/^$/d' -e 's/^ //' -e 's/ \\$//' -e 's/$/ :/' >> 
|"$depfile"
|rm -f "$tmpdepfile"
|;;

Fine with me.  Any objection?  I'll change the last sed into

sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"




Re: PATCH: depcomp cpp method output

2000-10-17 Thread Alexandre Oliva

On Oct 17, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

> | 2000-06-21  Alex Hornby <[EMAIL PROTECTED]>
> | 
> | * depcomp: Altered sed clause to strip of inclusion depth
> | numbers generated by cpp. Also output in gcc style.

> Fine with me.  Any objection?

Nope.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me




Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Praveen Kumar Amritaluru

Hi,

I am getting the foll. error message when I am trying to build
automake 1.4 on 11.00 hpux machine:

make all
Making all in .
Making all in m4
No suffix list.
Making all in tests
No suffix list.

It says no suffix list in m4 directory. 

I ran the configure script and I am getting the error when I try to
./make 

Any help would be greatly appreciated.

Regards,

Praveen




Dependency tracking

2000-10-17 Thread Paul F. Kunz

   I have a project being worked on by two people; both with gmake but
one not using gcc.   Is there a way to allow the gcc developer to use
automake dependency tracking, while the other developer uses some
other system.   The other developer has gcc (but doesn't use it for
the code), so is there a way for automake to use gcc just for
dependency generation, but not for compiling?   For example, with a
seperate `make depend' target?




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Akim Demaille


| I am getting the foll. error message when I am trying to build
| automake 1.4 on 11.00 hpux machine:

You said it all: HPUX.  Their Make is incredibly broken and is often
responsible of build failures.  I would *strongly* encourage you to
install GNU Make and use this one only.




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Praveen Kumar Amritaluru

Hi,


Thanks for replying.

But I am getting the error even if I use the gmake.

Making all in .
gmake[1]: Entering directory `/home/praveen/automake-1.4'
gmake[1]: Nothing to be done for `all-am'.
gmake[1]: Leaving directory `/home/praveen/automake-1.4'
Making all in m4
gmake[1]: Entering directory `/home/praveen/automake-1.4/m4'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/praveen/automake-1.4/m4'
Making all in tests
gmake[1]: Entering directory `/home/praveen/automake-1.4/tests'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/praveen/automake-1.4/tests'


The  reason  seems to be that  there is no action  for the above
targets.  I am not sure whether the problem is due to  configure
script that is run first.

Is there any known problem with the configure script on HP-UX.

Thanks,

Praveen


> 
> | I am getting the foll. error message when I am trying to build
> | automake 1.4 on 11.00 hpux machine:
> 
> You said it all: HPUX.  Their Make is incredibly broken and is often
> responsible of build failures.  I would *strongly* encourage you to
> install GNU Make and use this one only.
> 


-- 
==
Praveen Kumar Amritaluru Phone (Off) : (91)(80)2251554 x 1306
HP India Software Operations Telnet  : 847-1306
Bangalore 560 052
India.
==




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Thomas E. Dickey

On 17 Oct 2000, Akim Demaille wrote:

> 
> | I am getting the foll. error message when I am trying to build
> | automake 1.4 on 11.00 hpux machine:
> 
> You said it all: HPUX.  Their Make is incredibly broken and is often
> responsible of build failures.  I would *strongly* encourage you to
> install GNU Make and use this one only.

give an example of how it's broken.

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com





Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Akim Demaille

> "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes:

Thomas> give an example of how it's broken.

I never managed to track it down precisely.  But for instance with
Bison and a2ps, the only problems I has with gettext 0.10.33 were
people using HPUX Make.  For a time I tried to find the origin, but
dropped it, too painful.

My feelings at that time were that it was probably getting lost when
there are at least to levels of dependencies (I fairly well recall of
Bison and Flex rules which were triggered although the files I shipped
were up to date).

In each of these cases (and I'm talking about *dozens* of such ``bug
report''), suggesting using GNU Make instead solved the problem.  I
never received any comparable bug report for non HP native Makes.




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Akim Demaille


| Hi,
| Thanks for replying.
| 
| But I am getting the error even if I use the gmake.
| 
| Making all in .
| gmake[1]: Entering directory `/home/praveen/automake-1.4'
| gmake[1]: Nothing to be done for `all-am'.
| gmake[1]: Leaving directory `/home/praveen/automake-1.4'
| Making all in m4
| gmake[1]: Entering directory `/home/praveen/automake-1.4/m4'
| gmake[1]: Nothing to be done for `all'.
| gmake[1]: Leaving directory `/home/praveen/automake-1.4/m4'
| Making all in tests
| gmake[1]: Entering directory `/home/praveen/automake-1.4/tests'
| gmake[1]: Nothing to be done for `all'.
| gmake[1]: Leaving directory `/home/praveen/automake-1.4/tests'

Err, what error?  There are many verbose messages here, but no sign of
any kind of failure.


| Is there any known problem with the configure script on HP-UX.

Nope.




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Praveen Kumar Amritaluru

Hi,


> 
> | Hi,
> | Thanks for replying.
> | 
> | But I am getting the error even if I use the gmake.
> | 
> | Making all in .
> | gmake[1]: Entering directory `/home/praveen/automake-1.4'
> | gmake[1]: Nothing to be done for `all-am'.
> | gmake[1]: Leaving directory `/home/praveen/automake-1.4'
> | Making all in m4
> | gmake[1]: Entering directory `/home/praveen/automake-1.4/m4'
> | gmake[1]: Nothing to be done for `all'.
> | gmake[1]: Leaving directory `/home/praveen/automake-1.4/m4'
> | Making all in tests
> | gmake[1]: Entering directory `/home/praveen/automake-1.4/tests'
> | gmake[1]: Nothing to be done for `all'.
> | gmake[1]: Leaving directory `/home/praveen/automake-1.4/tests'


As can be seen  from  the  above  message,  there  is no  action
associated  with the  targets.  As a result  nothing  is getting
done under these two directories m4 and tests.

The same thing  happens when I do make  install.  It is cribbing
that  there is no suffix  list and as a result  the m4 files are
not getting copied or installed.

I am not sure whether it is an error.  But automake  perl script
gets installed under /usr/local/bin.

When I run automake with  --version  option to check the version
it gives the foll.  error:



syntax error in file /usr/local/bin/automake at line 3227, next 2 tokens 
"push_dist_common ("
Execution of /usr/local/bin/automake aborted due to compilation errors.



-Praveen

> 
> Err, what error?  There are many verbose messages here, but no sign of
> any kind of failure.
> 
> 
> | Is there any known problem with the configure script on HP-UX.
> 
> Nope.
> 


-- 
==
Praveen Kumar Amritaluru Phone (Off) : (91)(80)2251554 x 1306
HP India Software Operations Telnet  : 847-1306
Bangalore 560 052
India.
==




Re: Dependency tracking

2000-10-17 Thread Alexandre Oliva

On Oct 17, 2000, "Paul F. Kunz" <[EMAIL PROTECTED]> wrote:

> Is there a way to allow the gcc developer to use automake dependency
> tracking, while the other developer uses some other system.

Use CVS automake.  It's dependency tracking mechanism no longer
depends on GNU make nor GCC.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Akim Demaille

> "Praveen" == Praveen Kumar Amritaluru <[EMAIL PROTECTED]> writes:

Praveen>As can be seen from the above message, there is no
Praveen> action associated with the targets.  As a result nothing is
Praveen> getting done under these two directories m4 and tests.

That's right, nothing to make in these directories.  But did you run
`make install' with GNU Make?




Re: Help-regd. error while compiling automake1.4 on hpux11.00

2000-10-17 Thread Praveen Kumar Amritaluru

> > "Praveen" == Praveen Kumar Amritaluru <[EMAIL PROTECTED]> writes:
> 
> Praveen>  As can be seen from the above message, there is no
> Praveen> action associated with the targets.  As a result nothing is
> Praveen> getting done under these two directories m4 and tests.
> 
> That's right, nothing to make in these directories.  But did you run
> `make install' with GNU Make?

I used GNU make and now it is installing the m4 files.  But I am
getting a new error when I try to  execute  automake.  The error
is :

# /usr/local/bin/automake
syntax error in file /usr/local/bin/automake at line 3227, next 2 tokens 
"push_d
ist_common ("
Execution of /usr/local/bin/automake aborted due to compilation errors.


> 


-- 
==
Praveen Kumar Amritaluru Phone (Off) : (91)(80)2251554 x 1306
HP India Software Operations Telnet  : 847-1306
Bangalore 560 052
India.
==




Re: Avoiding cross-dependencies for aclocal.m4

2000-10-17 Thread Pavel Roskin

Hello!

> Pavel, you still consider this patch alive?

I've just applied it.

I'm sorry, this week is going to be very busy for me, but please consider
me alive anyway :-)

Regards,
Pavel Roskin