2008/10/20 Graham Dumpleton <[EMAIL PROTECTED]>:
> 2008/10/20 Graham Dumpleton <[EMAIL PROTECTED]>:
>> 2008/10/20 Peter <[EMAIL PROTECTED]>:
>>>
>>>
>>> I have run:
>>>
>>> bash -x ./config.status -d >& log.txt
>>>
>>> and emailed the log.txt and the culprit temporary sed file to you.
>>
>> Got it.
>>
>> Can you tell me what you get for:
>>
>> which sed
>>
>> sed --version
>>
>> I don't see problems on Ubuntu, but have older version than 8.04.
>>
>> Also tried passing just the sed file to sed on MacOS X and on old
>> Ubuntu and it doesn't complain.
>>
>> If on command line you run:
>>
>> sed -f subs-1.sed
>>
>> does it still complain?
>>
>> I know others around here have newer Ubuntu, so will see if can check
>> the sed file on that.
>
> ubuntu 8.04 has sed version 4.1.5 just like my older ubuntu and 8.04
> sed didn't complain about subs-1.sed.
>
> Can you run od -c on the file and verify that all UNIX style LF and
> not got some DOS CR crap in there.
>
> Also look to see if very last line in file actually has a LF.
> Attaching and me saving may have added a LF if it was missing.
>
> If can't verify sed fail when run on subs-1.sed directly, would be strange.
Actually, it probably isn't that file, but the sed which precedes that
and which is in the log file.
sed '/^[ ]*VPATH[ ]*=/{
s/:*$(srcdir):*/:/;
s/:*${srcdir}:*/:/;
s/:[EMAIL PROTECTED]@:*/:/;
s/^\([^=]*=[ ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ ]*$//;
}
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s,@configure_input@,Makefile. Generated from Makefile.in by configure.,;t t
s,@srcdir@,.,;t t
s,@abs_srcdir@,/home/peter/src/python/mod-wsgi/mod_wsgi,svn/mod_wsgi,;t t
s,@top_srcdir@,.,;t t
s,@abs_top_srcdir@,/home/peter/src/python/mod-wsgi/mod_wsgi,svn/mod_wsgi,;t t
s,@builddir@,.,;t t
s,@abs_builddir@,/home/peter/src/python/mod-wsgi/mod_wsgi,svn/mod_wsgi,;t t
s,@top_builddir@,,;t t
s,@abs_top_builddir@,/home/peter/src/python/mod-wsgi/mod_wsgi,svn/mod_wsgi,;t t
' Makefile.in
+ eval 'sed -f ./confstatm13299/subs-1.sed'
++ sed -f ./confstatm13299/subs-1.sed
sed: -e expression #1, char 321: unknown option to `s'
It looks like you are using a directory for holding source code which
has a comma in it. Ie.,
/home/peter/src/python/mod-wsgi/mod_wsgi,svn/mod_wsgi
The presence of the command is stuffing up the patterns.
Can you confirm the full path name of directory where source code is?
Change it to not use a comma and try again.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---