Corinna, While cppunit 1.12.0 compiles just fine via ./configure && make, I've spent many, many hours trying to get cygport to work, without success.
Using http://smithii.com/files/cygwin/cppunit/cppunit-1.10.2-1.cygport http://smithii.com/files/cygwin/cppunit/cppunit-1.10.2-1.cygwin.patch http://smithii.com/files/cygwin/cppunit/cppunit-1.10.2-1.src.patch I get: $ cygport cppunit-1.12.0-1.cygport prep compile >>> Preparing cppunit-1.12.0-1 *** Info: CYGPORT SCRIPT signature missing. *** Info: CYGWIN PATCH signature missing. *** Info: SOURCE PATCH signature missing. >>> Unpacking source cppunit-1.12.0.tar.gz >>> Unpacking source cppunit-1.12.0-1.cygwin.patch >>> Unpacking source cppunit-1.12.0-1.src.patch >>> Preparing working source directory *** Info: applying patch cppunit-1.12.0-1.cygwin.patch: patching file CYGWIN-PATCHES/cppunit.README patching file CYGWIN-PATCHES/setup.hint *** Info: applying patch cppunit-1.12.0-1.src.patch: >>> Compiling cppunit-1.12.0-1 autoreconf-2.61: Entering directory `.' autoreconf-2.61: configure.in: not using Gettext autoreconf-2.61: running: aclocal --force -I config config/bb_enable_doxygen.m4:1: warning: underquoted definition of BB_ENABLE_DOXYGEN run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPUNIT autoreconf-2.61: configure.in: tracing autoreconf-2.61: running: libtoolize --copy --force Putting files in AC_CONFIG_AUX_DIR, `config'. config/bb_enable_doxygen.m4:1: warning: underquoted definition of BB_ENABLE_DOXYGEN run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPUNIT autoreconf-2.61: running: /usr/bin/autoconf-2.61 --force autoreconf-2.61: running: /usr/bin/autoheader-2.61 --force autoreconf-2.61: running: automake --add-missing --copy --force-missing automake-1.9: autoconf failed with exit status: 1 autoreconf-2.61: automake failed with exit status: 1 *** ERROR: autoreconf failed I figured cygautoreconf is the culprit, so I changed it to autoreconf via: src_compile() { cd ${S} autoreconf cd ${B} cygconf cygmake } but I still get the same error. So I tried removing autoreconf: src_compile() { cd ${B} cygconf cygmake } but I get: $ cygport cppunit-1.12.0-1.cygport compile >>> Compiling cppunit-1.12.0-1 /cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppunit-1.12.0/confi gure --srcdir=/cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppuni t-1.12.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --datadir=/usr/sha re --infodir=/usr/share/info --mandir=/usr/share/man --enable-static --enable-sh ared *** ERROR: configure failed which stumps me, as if I type: cd /cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/build /cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppunit-1.12.0/configure --srcdir=/cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppunit-1.12.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man --enable-static --enable-shared manually, it works fine. So finally, I tried: src_compile() { cd ${B} /cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppunit-1.12.0/configure --srcdir=/cygdrive/c/docume~1/ross/mydocu~1/src/cppunit-1.12.0-1/src/cppunit-1.12.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man --enable-static --enable-shared cygmake } which fails immediately without error. Apparently I'm over my head. Any suggestions would be greatly appreciated, -Ross Corinna Vinschen wrote On 10/19/2007 4:06 AM -0800: > Ross, > > On Aug 17 10:02, Ross Smith II wrote: >> Dr. Volker Zell wrote On 8/17/2007 5:20 AM -0800: >>> Did you see http://cygwin.com/ml/cygwin-apps/2007-08/msg00119.html >> Volker, >> >> Yes, I did. I had assumed that 1.12.0 was unstable, as the project's >> home page >> >> http://cppunit.sourceforge.net/cppunit-wiki >> >> made no mention of it. Researching further, it does appear that 1.12.0 >> is the current "stable" version. I will package and submit this version >> instead. > > any news on that? > > > Corinna >
