i have installed sun studio and set the path variable as below PATH=/opt/dasyedib/sunstudio12.1/bin:/bin:/router/bin:/sbin:/usr/sbin:/usr/bin LD_LIBRARY_PATH=/opt/dasyedib/sunstudio12.1/lib and used this command to configure ./configure --prefix=/opt/dasyedib/apache CFLAGS=-I/opt/dasyedib/sunstudio12.1/include LDFLAGS=-L/opt/dasyedib/sunstudio12.1/lib But still the configuration issue is present. configure: WARNING: signal.h: present but cannot be compiled configure: WARNING: signal.h: check for missing prerequisite headers? configure: WARNING: signal.h: see the Autoconf documentation configure: WARNING: signal.h: section "Present But Cannot Be Compiled" configure: WARNING: signal.h: proceeding with the compiler's result Please help. Thanks, Daulatkhan On Mon, Feb 1, 2010 at 9:34 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote: > daulat khan wrote: > >> /usr/ucbinclude/sys/file.h:156:20: macro "lseek" requires 3 arguments, > > That's BSD compatibility headers. You shouldn't go anywhere near those > compiling on Solaris, unless perhaps it's a cross-compile or other such > specialist job! I expect apache's configure expects native headers and > breaks on yours (if they aren't inherently broken). > > It might work if you go one step back from configure to buildconf. > But I wouldn't advise that unless you're happy to fix any problems. > > Have a word with your sysop about why you have this non-standard > environment as your default. Or just take all ucb stuff out of > your paths, and (if necessary) install a new toolchain - either > sunstudio or gcc will do the job. > > -- > Nick Kew > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx