bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure fails on Maemo/OS2008 (sed: no previous regexp)


From: Jim Meyering
Subject: Re: configure fails on Maemo/OS2008 (sed: no previous regexp)
Date: Wed, 02 Apr 2008 00:55:03 +0200

Elbert Pol <address@hidden> wrote:
> I've attach the log file

This is the relevant part:

checking for struct spwd.sp_pwdp... no^M
checking for getspnam... no^M
checking for library containing crypt... none required^M
+ c=./configure.ac^M
+ re=^gl_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])^M
+ sed -n /^gl_INCLUDE_EXCLUDE_PROG(.* 
\[\(.*\)\])/{s/^gl_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])/\1/;s/,/ /gp^M
} ./configure.ac^M
+ t=arch hostname su^M
+ echo T: arch hostname su^M
T: arch hostname su^M
+ printf %s\n configure:68651: error: internal error: 
g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, arch hostname su,^M
                   does not match the list of default-not-installed programs^M
                   (arch hostname su^M) also recorded in ./src/Makefile.am^M
+ printf %s\n configure: error: internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd 
arg, arch hostname su,^M
                   does not match the list of default-not-installed programs^M
                   (arch hostname su^M) also recorded in ./src/Makefile.am^M
configure: error: internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, arch 
hostname su,^M
                   does not match the list of default-not-installed programs^M
                   (arch hostname su^M) also recorded in ./src/Makefile.am^M

Ah ha!  You have CR bytes as line endings.

Please change your configure script one more time, to contain this
(only the tr -s... line is changed: I've added \\015 on the left
and a single space on the right) and run it again:

    v=no_install__progs
    t=`sed -n '/^'$v' =/,/[[^\]]$/p' $mk \
        | sed 's/^  *//;/^\$.*/d;/^'$v' =/d' \
        | tr -s '\\015\\012\\\\' '   '`

That makes it so the definition of $no_install_progs_default
contains no carriage return bytes either.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]