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


Igor Pechtchanski wrote:
I'm struggling with building the latest setup. Here's what I get:

$ cd /usr/src/setup
$ cvs update setup
M setup/PickPackageLine.cc
M setup/PickView.cc
M setup/PickView.h
M setup/String++.cc
M setup/String++.h
M setup/localdir.cc
M setup/root.cc
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!


$ 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.


$ mkdir build && cd build
$ ../setup/configure -C --disable-shared --enable-maintainer-mode CC='gcc
-mno-cygwin' CXX='g++ -mno-cygwin' > configure.log 2>&1 $ # nothing
untoward in the configure output $ make > make.log 2>&1
$ tail make.log
make[1]: Entering directory `/usr/src/setup-cvs/build'
Making all in libgetopt++
make[2]: Entering directory `/usr/src/setup-cvs/build/libgetopt++'
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

Mysterious!


111. make[2]: *** [../../setup/libgetopt++/configure] Error 1
make[2]: Leaving directory `/usr/src/setup-cvs/build/libgetopt++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/setup-cvs/build'
make: *** [all] Error 2

$ cygcheck -cd | egrep 'auto|libtool'
autoconf             2.59-1
autoconf-devel       2.59-1
autoconf-stable      2.13-5
automake             1.7.9-1
automake-devel       1.9.2-1
automake-stable      1.4p6-2
libtool              1.5b-1
libtool-devel        1.5.10-1
libtool-stable       1.4.3-2

Ditto.


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.


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.


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