You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Frank Storbeck <fr...@rivo.dlo.nl> on 1999/05/05 11:15:15 UTC

os-solaris/4355: /usr/local/apache/bin/httpd: syntax error at line 1: `(' unexpected

>Number:         4355
>Category:       os-solaris
>Synopsis:       /usr/local/apache/bin/httpd: syntax error at line 1: `(' unexpected
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Wed May  5 02:20:03 PDT 1999
>Last-Modified:
>Originator:     franks@rivo.dlo.nl
>Organization:
apache
>Release:        1.3.6
>Environment:
orca# uname -a
SunOS orca 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-4
orca# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/specs
gcc version 2.8.1
>Description:
orca# make
===> src
make[1]: Entering directory `/home5/src/gnu/apache_1.3.6'
make[2]: Entering directory `/home5/src/gnu/apache_1.3.6/src'
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[3]: Nothing to be done for `all'.
<=== src/main
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done for `all'.
<=== src/modules/standard
<=== src/modules
gcc -c  -I./os/unix -I./include   -DSOLARIS2=270 `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=270 `./apaci` buildmark.c
gcc  -DSOLARIS2=270 `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain
.a ./os/unix/libos.a ap/libap.a   -lsocket -lnsl
make[2]: Leaving directory `/home5/src/gnu/apache_1.3.6/src'
make[1]: Leaving directory `/home5/src/gnu/apache_1.3.6'
make[1]: Entering directory `/home5/src/gnu/apache_1.3.6'
===> src/support
make[2]: Entering directory `/home5/src/gnu/apache_1.3.6/src/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home5/src/gnu/apache_1.3.6/src/support'
<=== src/support
make[1]: Leaving directory `/home5/src/gnu/apache_1.3.6'
<=== src
orca# make install
make[1]: Entering directory `/home5/src/gnu/apache_1.3.6'
===> [mktree: Creating Apache installation tree]
./src/helpers/mkdir.sh /usr/local/apache/bin
./src/helpers/mkdir.sh /usr/local/apache/bin
./src/helpers/mkdir.sh /usr/local/apache/libexec
./src/helpers/mkdir.sh /usr/local/apache/man/man1
./src/helpers/mkdir.sh /usr/local/apache/man/man8
./src/helpers/mkdir.sh /usr/local/apache/conf
./src/helpers/mkdir.sh /usr/local/apache/htdocs
./src/helpers/mkdir.sh /usr/local/apache/icons
./src/helpers/mkdir.sh /usr/local/apache/cgi-bin
./src/helpers/mkdir.sh /usr/local/apache/include
./src/helpers/mkdir.sh /usr/local/apache/logs
./src/helpers/mkdir.sh /usr/local/apache/logs
./src/helpers/mkdir.sh /usr/local/apache/proxy
<=== [mktree]
===> [programs: Installing Apache httpd program and shared objects]
./src/helpers/install.sh -c -m 755 -s ./src/httpd /usr/local/apache/bin/httpd
./src/helpers/install.sh -c -m 644 ./src/support/httpd.8 /usr/local/apache/man/m
an8/httpd.8
<=== [programs]
===> [support: Installing Apache support programs and scripts]
./src/helpers/install.sh -c -m 755 -s ./src/support/ab /usr/local/apache/bin/ab
./src/helpers/install.sh -c -m 644 ./src/support/ab.8 /usr/local/apache/man/man8
/ab.8
./src/helpers/install.sh -c -m 755  ./src/support/apachectl[*] /usr/local/apache
/bin/apachectl
./src/helpers/install.sh -c -m 644 ./src/support/apachectl.8 /usr/local/apache/m
an/man8/apachectl.8
./src/helpers/install.sh -c -m 755 -s ./src/support/htpasswd /usr/local/apache/b
in/htpasswd
./src/helpers/install.sh -c -m 644 ./src/support/htpasswd.1 /usr/local/apache/ma
n/man1/htpasswd.1
./src/helpers/install.sh -c -m 755 -s ./src/support/htdigest /usr/local/apache/b
in/htdigest
./src/helpers/install.sh -c -m 644 ./src/support/htdigest.1 /usr/local/apache/ma
n/man1/htdigest.1
./src/helpers/install.sh -c -m 755  ./src/support/dbmmanage[*] /usr/local/apache
/bin/dbmmanage
./src/helpers/install.sh -c -m 644 ./src/support/dbmmanage.1 /usr/local/apache/m
an/man1/dbmmanage.1
./src/helpers/install.sh -c -m 755 -s ./src/support/logresolve /usr/local/apache
/bin/logresolve
./src/helpers/install.sh -c -m 644 ./src/support/logresolve.8 /usr/local/apache/
man/man8/logresolve.8
./src/helpers/install.sh -c -m 755 -s ./src/support/rotatelogs /usr/local/apache
/bin/rotatelogs
./src/helpers/install.sh -c -m 644 ./src/support/rotatelogs.8 /usr/local/apache/
man/man8/rotatelogs.8
./src/helpers/install.sh -c -m 755  ./src/support/apxs[*] /usr/local/apache/bin/
apxs
./src/helpers/install.sh -c -m 644 ./src/support/apxs.8 /usr/local/apache/man/ma
n8/apxs.8
<=== [support]
===> [include: Installing Apache C header files]
cp ./src/include/*.h /usr/local/apache/include/
cp ./src/os/unix/os.h /usr/local/apache/include/
cp ./src/os/unix/os-inline.c /usr/local/apache/include/
chmod 644 /usr/local/apache/include/*.h
<=== [include]
===> [data: Installing initial data files]
[PRESERVING EXISTING DATA SUBDIR: /usr/local/apache/htdocs/]
[PRESERVING EXISTING DATA SUBDIR: /usr/local/apache/cgi-bin/]
Copying tree ./icons/ -> /usr/local/apache/icons/
<=== [data]
===> [config: Installing Apache configuration files]
./src/helpers/install.sh -c -m 644 ./conf/httpd.conf-dist[*] /usr/local/apache/c
onf/httpd.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/httpd.conf]
./src/helpers/install.sh -c -m 644 ./conf/access.conf-dist[*] /usr/local/apache/
conf/access.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/access.conf]
./src/helpers/install.sh -c -m 644 ./conf/srm.conf-dist[*] /usr/local/apache/con
f/srm.conf.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/srm.conf]
./src/helpers/install.sh -c -m 644 ./conf/mime.types /usr/local/apache/conf/mime
.types.default
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/mime.types]
./src/helpers/install.sh -c -m 644 ./conf/magic /usr/local/apache/conf/magic.def
ault
[PRESERVING EXISTING CONFIG FILE: /usr/local/apache/conf/magic]
<=== [config]
make[1]: Leaving directory `/home5/src/gnu/apache_1.3.6'
+--------------------------------------------------------+
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files   |
|                                                        |
|   /usr/local/apache/conf/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
|   /usr/local/apache/bin/apachectl start
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
+--------------------------------------------------------+
orca# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/httpd: syntax error at line 1: `(' unexpected
/usr/local/apache/bin/apachectl start: httpd could not be started
orca#/usr/local/apache/bin/httpd
/usr/local/apache/bin/httpd: Exec format error. Wrong Architecture.
orca#
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]