06-18-2010
Apache Installation issue
HI Guys,
I got the below error while trying to install the apache2.2.15. from the error I can interpret that some of the .h files are missing. I guess those are C library header files.. Can you help me with it.
Code :
bash-3.00# make
Making all in srclib
Making all in apr
/bin/sh /installables/Apache/httpd-2.2.15/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I./include -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I./include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo
/bin/sh /installables/Apache/httpd-2.2.15/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I./include -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I./include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include -o strings/apr_cpystrn.lo -c strings/apr_cpystrn.c && touch strings/apr_cpystrn.lo
/bin/sh /installables/Apache/httpd-2.2.15/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I./include -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I./include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include -o strings/apr_strtok.lo -c strings/apr_strtok.c && touch strings/apr_strtok.lo
/bin/sh /installables/Apache/httpd-2.2.15/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I./include -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I./include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include/arch/unix -I/installables/Apache/httpd-2.2.15/srclib/apr/include -o strings/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
In file included from /usr/include/fcntl.h:188,
from ./include/apr_portable.h:44,
from strings/apr_snprintf.c:23:
/usr/include/unistd.h:915: error: parse error before '[' token
/usr/include/unistd.h:916: error: parse error before 'rid_t'
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:50,
from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/sys/secattr.h:49: error: parse error before 'rid_t'
/usr/include/sys/secattr.h:60: error: parse error before '}' token
/usr/include/sys/secattr.h:65: error: parse error before 'authnum_t'
/usr/include/sys/secattr.h:71: error: parse error before '}' token
/usr/include/sys/secattr.h:106: error: field 'sc_attr' has incomplete type
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:50,
from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/sys/cred.h:331: error: parse error before 'rid_t'
/usr/include/sys/cred.h:346: error: parse error before '}' token
In file included from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:50,
from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/sys/thread.h:877: error: parse error before 'cred_ext_t'
/usr/include/sys/thread.h:878: error: conflicting types for 'reserved'
/usr/include/sys/secattr.h:58: error: previous declaration of 'reserved' was here
/usr/include/sys/thread.h:879: error: parse error before '}' token
In file included from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/pthread.h:587: error: parse error before '*' token
/usr/include/pthread.h:590: error: parse error before '*' token
/usr/include/pthread.h:594: error: parse error before '*' token
/usr/include/pthread.h:597: error: parse error before '*' token
/usr/include/pthread.h:600: error: parse error before '*' token
/usr/include/pthread.h:603: error: parse error before '*' token
/usr/include/pthread.h:606: error: parse error before '*' token
/usr/include/pthread.h:609: error: parse error before '*' token
/usr/include/pthread.h:612: error: parse error before '*' token
/usr/include/pthread.h:615: error: parse error before '*' token
/usr/include/pthread.h:618: error: parse error before '*' token
/usr/include/pthread.h:622: error: parse error before '*' token
/usr/include/pthread.h:625: error: parse error before '*' token
/usr/include/pthread.h:629: error: parse error before '*' token
/usr/include/pthread.h:633: error: parse error before '*' token
/usr/include/pthread.h:644: error: parse error before '*' token
/usr/include/pthread.h:648: error: parse error before '*' token
/usr/include/pthread.h:671: error: parse error before '*' token
/usr/include/pthread.h:674: error: parse error before '*' token
/usr/include/pthread.h:677: error: parse error before '*' token
/usr/include/pthread.h:680: error: parse error before '*' token
/usr/include/pthread.h:683: error: parse error before '*' token
/usr/include/pthread.h:691: error: parse error before '*' token
/usr/include/pthread.h:694: error: parse error before '*' token
/usr/include/pthread.h:697: error: parse error before '*' token
/usr/include/pthread.h:700: error: parse error before '*' token
/usr/include/pthread.h:708: error: parse error before '*' token
/usr/include/pthread.h:712: error: parse error before '*' token
/usr/include/pthread.h:715: error: parse error before '*' token
/usr/include/pthread.h:911: error: parse error before 'cred_ext_t'
/usr/include/pthread.h:913: error: parse error before '}' token
make: The error code from the last command is 1.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all!
I've got big problems while installing Apache 2.0 on my HPUX 11 machine.
I have configured the installation script with "./configure --prefix=/opt/apache" and run "make". All things looking good. But when i execute "make install" i have two errors, first:
and second
and the... (1 Reply)
Discussion started by: coredump2003
1 Replies
2. Solaris
I have installed sunsolaris 10 in sparc machine.In that how to run apache
bydefault apache is installed on /etc file.
I have logged in as a root
changed the directory to cd /etc/apache2/
from there i have copied httpd.conf-example to httpd.conf
#cp httpd.conf-example httpd.conf
after... (6 Replies)
Discussion started by: ambavaram
6 Replies
3. Solaris
Hello everybody,
I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com
It's running perfectly if I start... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies
4. Solaris
hi
i need to install apache and php on my solaris server ..
can u tell me the procedure...
tell me as soon as possible.. (4 Replies)
Discussion started by: senkerth
4 Replies
5. Ubuntu
on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies
6. Solaris
Hi,
I'm getting the below error when trying to run configure from apache 2.0.64.
configure: error: C preprocessor "/lib/cpp" fails sanity check
I navigated through the forum and found some users experiencing this problem and the solution was to install kernel-headers. But i'm not able to... (1 Reply)
Discussion started by: prithvirao17
1 Replies
7. Solaris
Hi ,
I am new to the unix environment.
I need to install apache 2.2.21 on my machine.
I have tried configuring apache from /etc/apache2 directory.
But now I want to install it under a separate user.
Can anybody tell me the step by step procedure to install it under separate user,please ?... (1 Reply)
Discussion started by: bikas89
1 Replies
8. Solaris
Hi,
can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I have installed apache using yum on centos. I know that the default installation directory is /var/www/html.
Now I want to change the installation directory to /mnt/ebs. How can I do this ? (5 Replies)
Discussion started by: Palak Sharma
5 Replies
10. HP-UX
Hi Guys!
I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly.
The apache version was 2.2.15
Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies