[Insight-developers] [Fwd: NLM]

Stephen R. Aylward aylward at unc.edu
Fri Nov 3 20:54:55 EST 2000


Hi,

I did an update tonight and got the following error:

>    >checking for pthread.h... yes
>    >checking for pthread_create in -lpthreads... no
>    >checking for pthread_create in -lpthread... yes
>    >checking for thr_create in -lthread... yes
>    >./configure: test: argument expected


It looks like it is in line 2934

	if test $CMAKE_USE_SPROC = 1; then

CMAKE_USE_SPROC hasn't been set at this point so the line
becomes

	if test = 1; then

I think you need to change the line to

	if test "$CMAKE_USE_SPROC" = "1"; then

This also has to be done to the two subsequence CMAKE_USE_* tests -
lines 2942 and 2949 - and then configure runs, but is this correct? I've
never messed with configure before.

Thanks,
Stephen



Has anyone else encountered this error?

Thanks,
Stephen

-- 
=======================================================================checking
for thr_create in -lthread... HEREa
yes
HEREn
configure: test: argument expected

Stephen R. Aylward, Ph.D.			www.cs.unc.edu/~aylward
Research Assistant Professor of Radiology		aylward at unc.edu
Adjunct Assistant Professor of Computer Science		  (919)966-9695




More information about the Insight-developers mailing list