Re: Compile problems on a solaris
Sasha_Vasko@osca.state.mo.us
Wed, 28 Jun 2000 07:56:22 -0500
Any of you Solaris folks care to submit a patch that fixes Makefiles
so to not generate those bad backslashes ?
I would greately appreciate it
>On Mon, 26 Jun 2000, Michael Hartman wrote:
>
>> So I go to compile the source code myself and run into more problems:
>>
>> 1) All the .depend files have extra "\" characters in them. Here is an
>> example
>>
>> ./catstring3.o: \
>> ../configure.h \
>> ../include/aftersteplib.h \
>>
>> ./copystring.o: \ # rest of file.....
>>
>
>Yes I had the same problem when I was using Solaris and ended up editing
>all of the .depend files. You need to remove both the '\' character *and*
>the new line character that follows it. I seem to remember this is the
>hack that I used, ( I now use Linux and could not retest this
>completely)
>
>in your AfterStep source directory with the original .depend files first
>run
>
>find . -name .depend -exec mv "{}" "{}".old \;
>
>to move the .depends files out of the way and then
>
>find . -name .depend.old -printf "nawk -f awkfile.awk %p >
>%h/.depend\n" | sh
>
>to produce the .depend files that make needs.
>
>The awkfile.awk just contains the following lines
>
>{
> if(match(":",$1)) printf "\n%s", $1
> else printf" %s ", $1
>}
>
>I hope that helps. Anyway the problem is that some versions of make that
>come with Solaris seem not to understand that the '\' character should
>escape a newline. I am guessing this is a bug in those versions and not an
>AfterStep problem.
Sasha Vasko
<sashav@sprintmail.com>
--------------------------------------------------------------------
To unsubscribe from this mailing list, simply type the following at #
echo "unsubscribe as-users <your_email>" | mail majordomo@afterstep.org