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: Fwd: Re: Trying to build rxvt on Cygwin64.


On 09/02/2013 09:14 PM, Robert McBroom wrote:
> On 9/2/2013 11:08 AM, Peter Rosin wrote:
>> On 2013-09-02 16:04, Robert McBroom wrote:
>>> checking for minix/config.h... no
>>> checking whether it is safe to define __EXTENSIONS__... yes
>>> checking for library containing strerror... none required
>>> checking build system type... autoconf/config.guess: line 4: $'\r':
>>> command not found
>>> autoconf/config.guess: line 6: $'\r': command not found
>>> autoconf/config.guess: line 33: $'\r': command not found
>>> autoconf/config.guess: line 34: $'\r': command not found
>>> autoconf/config.guess: line 36: $'\r': command not found
>>> autoconf/config.guess: line 48: $'\r': command not found
>>> autoconf/config.guess: line 57: $'\r': command not found
>>> autoconf/config.guess: line 60: $'\r': command not found
>>> autoconf/config.guess: line 63: syntax error near unexpected token
>>> `$'in\r''
>>> autoconf/config.guess: line 63: `  case $1 in
>>> '
>>> configure: error: cannot guess build type; you must specify one
>> You have messed up your copies of config.guess and config.sub to contain
>> silly line-endings by the looks of it.
>>
>> Cheers,
>> Peter
>>
>>
>>
> The copies of config.guess and config.sub are were retrieved as prompted
> by the readme in the ftp link the original config.guess pointed out.
> 
> From now on, please fetch new versions of these scripts via the
> following URLs:
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
> 
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
> 
> 
> which are purported to be the most current editions. Pulled the rxvt
> source from the cygwin 32 archive and replaced said config files in
> rxvt/autoconf with the results previously noted. The lines given in the
> console output do not match up with anything meaningful in the script.
> 
> However, you are correct. The process of retrieving the files stored
> them as DOS format files. Converting to linux allows the scripts to
> execute.
> 
> make[2]: Entering directory `/usr/local/src/rxvt/W11/w32'
> gcc -c xlib.c -O -I.. -mwin32
> xlib.c: In function ‘XOpenDisplay’:
> xlib.c:131:26: error: lvalue required as left operand of assignment
> (NT_window*)(scrd->root)= NT_new_window();
> ^
This is a bug in the original source code. It needs to be fixed or the
bug needs to be sidestepped. This might work, untested:

scrd->root = (void *)NT_new_window();

> Makefile:14: recipe for target `xlib.o' failed
> make[2]: *** [xlib.o] Error 1
> make[2]: Leaving directory `/usr/local/src/rxvt/W11/w32'
> Makefile:90: recipe for target `all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/rxvt/W11'
> Makefile:101: recipe for target `all' failed
> make: *** [all] Error 1
> 
> Where do I find the pieces to change W11/w32 toW11/w64 ?

-- 
VZ



Attachment: signature.asc
Description: OpenPGP digital signature


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