This is the mail archive of the cygwin-apps@cygwin.com 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: Cannot build latest CVS setup


On Tue, 24 May 2005, Max Bowsher wrote:

> Igor Pechtchanski wrote:
> > I'm struggling with building the latest setup.  Here's what I get:
> >
> > $ cd /usr/src/setup
> > $ cvs update setup
> > [snip]
> > cvs update: move away setup/cfgaux/.direxists; it is in the way
> > C setup/cfgaux/.direxists
> > $ # that last one looks kinda weird, but probably unrelated
>
> Umm, bizarre!

CVS got confused.  A fresh checkout doesn't have this problem.

> > $ cd setup && ./bootstrap.sh
> > /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of
> >  AC_CHECK_FT2 run info '(automake)Extending aclocal'
> >  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > Autotool bootstrapping complete.
> > $ # again, something's weird here
>
> Harmless, but annoyingly verbose - at least, when it isn't our code
> causing it.  Perhaps we need to prod the freetype2 (Cygwin|upstream)
> maintainer.

Yep.  Annoying.

> > [snip]
> > $ make > make.log 2>&1
> > $ tail make.log
> > cd ../../setup/libgetopt++ && /bin/bash /usr/src/setup-cvs/setup/libgetopt++/cfgaux/missing --run autoconf
> > Can't locate object method "path" via package "Request" at /usr/autotool/devel/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111
>
> Mysterious!

This was caused by a stale cfgaux directory, apparently, that was left
over from the previous version of autotools.  Don't know why a fresh
checkout didn't work before, but it does work now.

> > Same errors with a fresh checkout.  Any ideas?  Am I doing something
> > wrong?
>
> No, but apparently something is odd with your system, since it works for me,
> following the commands you show above.

On Mon, 23 May 2005, Brian Dessent wrote:

> Igor Pechtchanski wrote:
>
> > Same errors with a fresh checkout.  Any ideas?  Am I doing something
> > wrong?
>
> That's odd.  I'm not sure what's causing that.  I just tried the
> following and it built fine:
>
> $ cvs -d :ext:briand@sources.redhat.com:/cvs/cygwin-apps \
>   co -d setup-test setup
> $ cd setup-test
> $ ./bootstrap.sh
> $ mkdir build
> $ cd build
> $ ../configure -C --disable-shared --host=i686-pc-mingw32 \
>   --build=i686-pc-cygwin CC="ccache gcc -mno-cygwin" \
>   CXX="g++ -mno-cygwin"
> $ make
>
> See if the above works for you, and then maybe narrow down what the
> difference is.  (CC="ccache .." you can ignore, it shouldn't matter.)  I
> don't know what --enable-maintainer-mode actually does, and I've never
> used it.

Thanks to both of you.  I've blown away the old checkout and the build
directory, and it all builds now.

> > P.S. Incidentally, neither Max nor Brian (nor me :-)) are in the
> > CONTRIBUTORS file.
>
> Oh... yeah, probably ought to update that! :-)
> Done.
>
> > P.P.S. It might be nice to make the word "README" on the setup homepage
> > a link to the CVS version (where it says "For instructions on how to
> > build setup.exe, see the README file included in its source.").
>
> Done.
> Max.

Thanks, Max!  FWIW, another person who definitely deserves to be in that
file, but isn't, is Frank Richter (the author of ControlAdjuster and
resizeable setup).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


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