#126 Building mrxvt broken on Cygwin

open
nobody
None
5
2012-12-11
2008-05-12
Anonymous
No

Since trunk-rev.-274 this happens (until 265 all worked fine):

After downloading from SVN

$ cd mrxvt05b
$ ./bootstrap.sh
+ aclocal
+ autoheader
+ automake --add-missing --copy
configure.ac:38: installing `./config.guess'
configure.ac:38: installing `./config.sub'
configure.ac:29: installing `./install-sh'
configure.ac:29: installing `./missing'
Makefile.am: required file `./ChangeLog' not found
+ autoconf

and ./configure fails.

If I copy ChangeLog.old to ChangeLog OR if I

$ svn2cl --authors=svn-authors.xml -r 245:HEAD

then ./configure passes but

$ make
[...]
gcc -DPKG_CONF_DIR=\"/usr/local/mrxvt/etc/mrxvt\" -I. -I/tmp/mrxvt-0.5.b-274/src -I.. -g -O2 -Wall -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -c /tmp/mrxvt-0.5.b-274/src/scrollbar.c
/tmp/mrxvt-0.5.b-274/src/scrollbar.c:1: warning: -fPIC ignored for target (all code is position independent)
/tmp/mrxvt-0.5.b-274/src/screen.c:40:21: wordexp.h: No such file or directory
/tmp/mrxvt-0.5.b-274/src/screen.c: In function `rxvt_scr_draw_string':
/tmp/mrxvt-0.5.b-274/src/screen.c:3198: warning: passing arg 2 of `libiconv' from incompatible pointer type
/tmp/mrxvt-0.5.b-274/src/screen.c: In function `rxvt_paste_file':
/tmp/mrxvt-0.5.b-274/src/screen.c:5074: error: `wordexp_t' undeclared (first use in this function)
/tmp/mrxvt-0.5.b-274/src/screen.c:5074: error: (Each undeclared identifier is reported only once
/tmp/mrxvt-0.5.b-274/src/screen.c:5074: error: for each function it appears in.)
/tmp/mrxvt-0.5.b-274/src/screen.c:5074: error: parse error before "p"
/tmp/mrxvt-0.5.b-274/src/screen.c:5078: warning: implicit declaration of function `wordexp'
/tmp/mrxvt-0.5.b-274/src/screen.c:5078: error: `p' undeclared (first use in this function)
/tmp/mrxvt-0.5.b-274/src/screen.c:5102: warning: implicit declaration of function `wordfree'
make[2]: *** [screen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build'
make: *** [all] Error 2

Cheers,
Angelo.

Discussion

  • Jehan

    Jehan - 2008-08-08

    Logged In: YES
    user_id=1325007
    Originator: NO

    Hello,

    could you tell us if it is still happening with last version? Apparently your issue is that it tries to include a header it should not have the right to: wordexp.h: No such file or directory
    The code shows:
    40 #ifdef HAVE_WORDEXP_H
    41 # include <wordexp.h>
    42 #endif

    If you don't have this wordexp.h file, it should simply ignore all the related part, but here it tries to include it! So is the HAVE_WORDEXP_H not good test? Is it because cygwin make problems in preprocessing variables?
    Anyway I guess your configure failed for some reason. What was the last messages when it failed originally?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks