[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about otcl compilation



Hi, forks

I have configured otcl using ./configure and created a makefile.
However the following messages I received on running ./configure:

	checking for main in -lXbsd... no
	.
	checking for gethostbyname in -lnsl... yes
	checking for getnodebyname in -ldnet_sthb... no
	.
	.

When  I checked configure.log file, errors are shown:

	configure:1329: checking for main in -lXbsd
	configure:1344: gcc -o conftest -g -02 conftest.c -lXbsd 1>&5

/sw/gackages/cygnus/progressive-96q1/sparc-sun-solaris2.5.1/lib/gcc-lib/spar
c-sun-solaris2.5.1/2.7-96q1/../../../../sparc-sun-solaris2.5.1/bin/ld:
cannot open -lXbsd: No such file or directory
	collect2: ld returned 1 exit status
	configure: failed program was:
	#line 1337 "configure"
	#include "confdefs.h"

I couldn't find confdefs.h file anywhere. When I run make, no any error
message was received. -> strange !
Could you please tell me what going on? Thanks

Fang