Error with make command

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

 



Hi

I have been trying to install Apache on Solaris 10. I hit problems when I r=
un the "make" command. I have downloaded, and isntalled GNU Make, and also =
have GCC installed. Here is the output when I run this make command:

iris:/software/httpd-2.2.6# make
Making all in srclib
Making all in apr
/bin/bash /software/httpd-2.2.6/srclib/apr/libtool --silent
g -O2 -DHAVE_CONFIG_H -DSOLARIS2=3D10 -D_POSIX_PTHREAD_SEMAN
_LARGEFILE64_SOURCE -I./include -I/software/httpd-2.2.6/sr
h/unix -I./include/arch/unix -I/software/httpd-2.2.6/srclib/
wd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/ap
In file included from /usr/include/sys/wait.h:24,
from include/apr.h:134,
from include/apr_pools.h:37,
from /software/httpd-2.2.6/srclib/apr/inclu
common.h:24,
from /software/httpd-2.2.6/srclib/apr/inclu
vate.h:779,
from passwd/apr_getpass.c:22:
/usr/include/sys/siginfo.h:259: error: parse error before "c
/usr/include/sys/siginfo.h:292: error: parse error before '}
/usr/include/sys/siginfo.h:294: error: parse error before '}
/usr/include/sys/siginfo.h:390: error: parse error before "c
/usr/include/sys/siginfo.h:392: error: conflicting types for
/usr/include/sys/siginfo.h:261: error: previous declaration
/usr/include/sys/siginfo.h:398: error: conflicting types for
/usr/include/sys/siginfo.h:267: error: previous declaration
/usr/include/sys/siginfo.h:404: error: conflicting types for
/usr/include/sys/siginfo.h:273: error: previous declaration
/usr/include/sys/siginfo.h:420: error: conflicting types for
/usr/include/sys/siginfo.h:287: error: previous declaration
/usr/include/sys/siginfo.h:424: error: conflicting types for
/usr/include/sys/siginfo.h:291: error: previous declaration
/usr/include/sys/siginfo.h:426: error: parse error before '}
/usr/include/sys/siginfo.h:428: error: parse error before '}
/usr/include/sys/siginfo.h:432: error: parse error before "k
/usr/include/sys/siginfo.h:437: error: parse error before '}
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from include/apr.h:134,
from include/apr_pools.h:37,
from /software/httpd-2.2.6/srclib/apr/inclu
common.h:24,
from /software/httpd-2.2.6/srclib/apr/inclu
vate.h:779,
from passwd/apr_getpass.c:22:
/usr/include/sys/signal.h:85: error: parse error before "sig
In file included from include/apr.h:134,
from include/apr_pools.h:37,
from /software/httpd-2.2.6/srclib/apr/inclu
common.h:24,
from /software/httpd-2.2.6/srclib/apr/inclu
vate.h:779,
from passwd/apr_getpass.c:22:
/usr/include/sys/wait.h:86: error: parse error before "sigin
In file included from include/apr_general.h:33,
from include/apr_pools.h:39,
from /software/httpd-2.2.6/srclib/apr/inclu
common.h:24,
from /software/httpd-2.2.6/srclib/apr/inclu
vate.h:779,
from passwd/apr_getpass.c:22:
/usr/include/signal.h:111: error: parse error before "siginf
/usr/include/signal.h:113: error: parse error before "siginf
*** Error code 1
make: Fatal error: Command failed for target `passwd/apr_get
Current working directory /software/httpd-2.2.6/srclib/apr
*** Error code 1
The following command caused the error:
otarget=3D`echo all-recursive | sed s/-recursive//`; \
list=3D'random/unix dso/os2 time/unix locks/unix user/unix loc
rt/unix file_io/unix mmap/unix atomic/unix poll/os2 dso/os39
eos poll/unix passwd network_io/beos threadproc/os2 network_
os shmem/unix network_io/unix file_io/os2 dso/aix threadproc
m/beos dso/unix locks/os2 shmem/os2 memory/unix strings '; \
for i in $list; do \
if test -f "$i/Makefile"; then \
target=3D"$otarget"; \
echo "Making $target in $i"; \
if test "$i" =3D "."; then \
made_local=3Dyes; \
target=3D"local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" =3D "all" && test -z "libapr-1.la e
"; then \
made_local=3Dyes; \
fi; \
if test "$made_local" !=3D "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
Current working directory /software/httpd-2.2.6/srclib/apr
*** Error code 1
The following command caused the error:
otarget=3D`echo all-recursive|sed s/-recursive//`; \
list=3D' apr apr-util pcre '; \
for i in $list; do \
if test -d "$i"; then \
target=3D"$otarget"; \
echo "Making $target in $i"; \
if test "$i" =3D "."; then \
made_local=3Dyes; \
target=3D"local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" =3D "all" && test -z ''; then \
made_local=3Dyes; \
fi; \
if test "$made_local" !=3D "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
Current working directory /software/httpd-2.2.6/srclib
*** Error code 1
The following command caused the error:
otarget=3D`echo all-recursive|sed s/-recursive//`; \
list=3D' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target=3D"$otarget"; \
echo "Making $target in $i"; \
if test "$i" =3D "."; then \
made_local=3Dyes; \
target=3D"local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" =3D "all" && test -z 'httpd '; then \
made_local=3Dyes; \
fi; \
if test "$made_local" !=3D "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'

I have searched for solutions, and attempted many suggestions but nothing s=
eems to work.

If you could give me any information or help it would be greatly appreciate=
d.=20

Thanks, Stuart


Sounds like? How many syllables? Guess and win prizes with Search Charades!

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux