From: Keith H. <kei...@gm...> - 2006-08-30 08:13:17
|
Hi Ralf > > I'm having problems compiling libpqxx on a winxp machine using msys/mingw. > > > > sh-2.04$ ./configure > > 1.0 > > checking for a BSD-compatible install... /bin/install -c > > configure: error: ls -t appears to fail. Make sure there is not a broken > > alias in your environment > > configure: error: newly created file is older than distributed files! > > Check your system clock > > sed: 1: "s/^/([a-zA-Z_][a-zA-Z0-9...": bad flag in substitute command: ')' > > sed: 1: "/dev/fs/C/msys/1.0/^[_ab...": invalid command code f > > Those errors are probably from Autoconf and Automake macros. Which > versions of these tools were used? The commands > ./configure --version sh-2.04$ ./configure --version 1.0 c:\WINDOWS\system32\cat.exe c:\WINDOWS\system32\cat.exe > head Makefile.in sh-2.04$ head Makefile.in # Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, > > should reveal this. > > It may be helpful to see the exact package you have tried. Could you > provide a URL to it? > msys http://umn.dl.sourceforge.net/sourceforge/mingw/MSYS-1.0.11-2004.04.30-1.exe mingw ... http://prdownloads.sf.net/mingw/MinGW-5.0.2.exe?download libpqxx ftp://thaiopensource.org/software/libpqxx/libpqxx-2.6.7.tar.gz grep http://optusnet.dl.sourceforge.net/sourceforge/gnuwin32/grep-2.5.1a-bin.zip installed into c:\msys\1.0\bin ... but there was no grep there ... sh-2.04$ grep Turbo GREP 5.5 Copyright (c) 1992, 1999 Inprise Corporation Syntax: GREP [-rlcnvidzuwo] searchstring file[s] or @filelist GREP ? for help mktemp http://optusnet.dl.sourceforge.net/sourceforge/gnuwin32/mktemp-1.5-2-bin.zip installed/copied into c:\msys\1.0\bin .. there there was no mktemp there ... > > > configure: error: ls -t appears to fail. > > ls -t works from the shell so what alias would it be pointing to > > Could be messed up time stamps in the tarball. Or a wrong system time. sh-2.04$ date Wed Aug 30 18:01:09 EST 2006 sh-2.04$ ls -l Volume in drive C has no label. Volume Serial Number is C415-8F97 Directory of c:\usr\src\libpqxx-2.6.7 30/08/2006 17:57 <DIR> . 30/08/2006 17:57 <DIR> .. 18/06/2006 17:48 261,532 aclocal.m4 11/02/2006 18:55 182 AUTHORS 14/05/2006 15:14 1,714 autogen.sh 10/06/2006 18:49 150,664 ChangeLog 30/08/2006 14:30 <DIR> config 30/08/2006 17:57 3,793 config.log 10/06/2006 07:12 1,799 configitems 18/06/2006 17:48 838,767 configure 18/06/2006 17:47 25,578 configure.ac 10/06/2006 17:55 25,610 configure.ac.in 11/02/2006 18:55 1,448 COPYING 30/08/2006 14:30 <DIR> debian 30/08/2006 14:30 <DIR> doc 30/08/2006 14:30 <DIR> include 11/02/2006 18:55 7,831 INSTALL 11/02/2006 18:55 282 libpqxx.pc.in 18/06/2006 18:40 2,145 libpqxx.spec 28/05/2006 23:34 2,149 libpqxx.spec.in 11/02/2006 18:55 376 Makefile.am 18/06/2006 17:48 22,071 Makefile.in 30/08/2006 16:30 4,414 MinGW.mak 10/06/2006 17:22 23,581 NEWS 11/02/2006 18:55 993 pqxx-config.in 07/03/2006 03:31 20,661 README 11/02/2006 18:55 8,021 README-UPGRADE 30/08/2006 14:30 <DIR> src 30/08/2006 14:30 <DIR> test 10/06/2006 07:03 1,541 TODO 30/08/2006 14:30 <DIR> tools 27/05/2006 21:31 18 VERSION 30/08/2006 16:49 <DIR> win32 23 File(s) 1,405,170 bytes 10 Dir(s) 27,955,515,392 bytes free sh-2.04$ > > > >configure: error: newly created file is older than distributed files! > > >Check your system clock > > Any ideas what file does this refers to? > > See above. > > > >sed: 1: "s/^/([a-zA-Z_][a-zA-Z0-9...": bad flag in substitute command: ')' > > Any ideas what the bad flag is? > > Looks like a broken sed script to me; but I need to see the code to find > out where it comes from. > > > >sed: 1: "/dev/fs/C/msys/1.0/^[_ab...": invalid command code f > > Any ideas why f is a invalid command code? > > Likewise. Thanks for your help, I've been on this for a while ... :-) -- Keith Hutchison http://balance-infosystems.com http://realopen.org |