You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by vikas dubey <vi...@skandia.ch> on 2002/01/07 19:28:35 UTC

os-solaris/9397: Give the error when running the ./configure --prefix=$APACHE_HOME

>Number:         9397
>Category:       os-solaris
>Synopsis:       Give the error when running the ./configure  --prefix=$APACHE_HOME
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 07 10:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     vikas.dubey@skandia.ch
>Release:        1.3.22
>Organization:
apache
>Environment:
Sun Solaris 8
>Description:
$ ./configure --prefix=$APACHE_HOME
Configuring for Apache, Version 1.3.22
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Solaris 280 platform
 + setting C compiler to cc
 + setting C pre-processor to /lib/cpp
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..; cc  -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./
apaci`     -o helpers/dummy helpers/dummy.c   -lsocket -lnsl
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt
/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, i
gnored otherwise
"helpers/dummy.c", line 3: warning: const is a keyword in ANSI C
"helpers/dummy.c", line 3: syntax error before or at: char
"helpers/dummy.c", line 3: warning: undefined or missing type for: char
"helpers/dummy.c", line 4: syntax error before or at: char
"helpers/dummy.c", line 4: warning: undefined or missing type for: char
"helpers/dummy.c", line 6: undefined symbol: c
"helpers/dummy.c", line 6: cannot dereference non-pointer type
"helpers/dummy.c", line 9: undefined symbol: const
"helpers/dummy.c", line 9: syntax error before or at: char
"helpers/dummy.c", line 10: undefined symbol: c
*** Error code 2
make: Fatal error: Command failed for target `dummy'
======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!
>How-To-Repeat:
untar the apache 1.3.22 distribution and logon to unix as non super user and run the ./configure  --prefix=$APACHE_HOME command from the installed dir
>Fix:
i think the ./helper/dummy.c file has got the syntax error
>Release-Note:
>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 make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]