You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by erick rudiak <ru...@yahoo.com> on 1999/10/26 17:30:19 UTC

mod_jserv/5197: configure script uses flags to 'find' that are incompatible with Sun's syntax

>Number:         5197
>Category:       mod_jserv
>Synopsis:       configure script uses flags to 'find' that are incompatible with Sun's syntax
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct 26 08:40:01 PDT 1999
>Last-Modified:
>Originator:     rudeyak@yahoo.com
>Organization:
apache
>Release:        1.3.9 + 1.1.b3
>Environment:
Solaris 2.6
Apache 1.3.9
Apache JServ 1.1b3
JDK 1.2.1_03
JSDK 2.0
>Description:
On Solaris, the find command does not support -or and does not default to -print
as the action :-(

With the stock configure, I error out on

checking javadoc... /apps/jdk/current/bin/javadoc
checking jar... /apps/jdk/current/bin/jar
checking JSDK... configure: error: no javax.servlet.Servlet class or jar with it in /apps/jsdk/curr
ent
>How-To-Repeat:

>Fix:

The following change to configure allowed the script to complete on Solaris 2.6:

# diff configure configure.original
<     JARS=`${FIND} ${JSDK_CLASSES} -follow \( -name "*.jar" -o -name "*.zip" \) -print |tr "\n" "
 "`
---
>     JARS=`${FIND} ${JSDK_CLASSES} -name "*.jar" -or -name "*.zip"|tr "\n" " "`
>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!     ]