Unix Programming - ./configure

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2004 > ./configure





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ./configure
concern

2004-03-22, 8:34 pm

Hi all,
(autoconf v2.13, gnu/linux)
With a simple autoconf/automake test, I got following error while ran
../configure:
#./configure --srcdir=/home/me/test/src
....
checking whether build environment is sane... configure: error: ls -t
appears to fail. Make sure there is not a broken alias in your environment
....

The src tree likes below:
/home/me/test
configure
Makefile.in
....
src/main.c

If I move main.c to /home/me/test, no error.
If I change AC_INIT(main.c) to AC_INIT(src/main.c) while src/main.c exists,
no error.

My question is that why option --srcdir=dir doesn't work?


TIA


-s


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com