2008/7/24 Raul Acevedo: > Ok, I got the source to build urxvt with perl extensions so I can get > tabs, but I'm getting a build error because rxvtperl.xs doesn't exist: > > /bin/perl /usr/lib/perl5/5.10/ExtUtils/xsubpp -C++ -typemap > /usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap -prototypes > rxvtperl.xs >rxvtperl.C > cannot open rxvtperl.xs: No such file or directory > > I'm attaching the full build log. Thoughts?
Sure. rxvtperl.xs is in srcdir but not in builddir. You have to symlink it or fix the Makefile. I think a combination of both is easiest. Something like the attached patch worked for me. -- Reini Urban http://phpwiki.org/ http://murbreak.at/
diffbk src/Makefile.in diff -u src/Makefile.in~ src/Makefile.in --- src/Makefile.in~ 2008-07-25 11:02:14.015625000 +0200 +++ src/Makefile.in 2008-07-25 11:14:00.718750000 +0200 @@ -132,8 +132,8 @@ @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl [EMAIL PROTECTED]@ $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm [EMAIL PROTECTED]@ for ext in perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done [EMAIL PROTECTED]@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm [EMAIL PROTECTED]@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done install: allbin alldoc install-perl $(INSTALL) -d $(DESTDIR)$(bindir) @@ -144,8 +144,8 @@ perlxsi.c: Makefile $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt -rxvtperl.C: rxvtperl.xs typemap - $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes rxvtperl.xs >$@ +rxvtperl.C: $(srcdir)/rxvtperl.xs $(srcdir)/typemap + $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/rxvtperl.xs >$@ rxvtperl.o: rxvtperl.C perlxsi.c $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/