Received: (qmail 11778 invoked by uid 2012); 29 Oct 1997 09:06:52 -0000 Message-Id: <19971029090652.11777.qmail@hyperreal.org> Date: 29 Oct 1997 09:06:52 -0000 From: seunghan SHIN Reply-To: root@inet.dytc.ac.kr To: apbugs@hyperreal.org Subject: regex not build...(may be new) X-Send-Pr-Version: 3.2 >Number: 1331 >Category: os-sunos >Synopsis: regex not build...(may be new) >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Oct 29 01:10:00 PST 1997 >Last-Modified: Fri Nov 7 21:27:37 PST 1997 >Originator: root@inet.dytc.ac.kr >Organization: >Release: 1.2.4 >Environment: sun-OS 5.5.1 cc >Description: venus# /usr/ccs/bin/make (cd regex; /usr/ccs/bin/make lib CC=cc AUX_CFLAGS='-O2 -DSOLARIS2 -O2' RANLIB=') rm -f *.o sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c >regexp cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h rm -f regex.tmp cc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -O2 -c regcomp.c cc: Warning: option -2 passed to ld cc: Warning: option -2 passed to ld cc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -O2 -c regexec.c cc: Warning: option -2 passed to ld cc: Warning: option -2 passed to ld cc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -O2 -c regerror.c cc: Warning: option -2 passed to ld cc: Warning: option -2 passed to ld cc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -O2 -c regfree.c cc: Warning: option -2 passed to ld cc: Warning: option -2 passed to ld rm -f libregex.a ar crv libregex.a regcomp.o regexec.o regerror.o regfree.o sh: ar: none *** error code 1 make: Fatal error: target command failed for `lib' working Directory /usr/local/etc/apache_1.2.4/src/regex *** error code 1 make: fatal error: target command failed for `regex/libregex.a' >How-To-Repeat: >Fix: non >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: marc State-Changed-When: Wed Oct 29 08:01:22 PST 1997 State-Changed-Why: You don't mention _what_ cc you are using, bug i will assume it is Sun's compiler. You should not have the -O2. Remove it from anywhere it appears in your Configuration file and add: OPTIM=" " Second, it appears like ar can't be found. ar is a basic part of a development environment; I would suggest you add /usr/ccs/bin to your path so things like that can be found. This sort of thing is more appropriately asked somewhere like comp.infosystems.www.servers.unix because it, more often than not, involves your development environment being setup incorrectly. State-Changed-From-To: feedback-closed State-Changed-By: marc State-Changed-When: Fri Nov 7 21:27:37 PST 1997 State-Changed-Why: No response, assuming closed. Appears like incorrect user environment. >Unformatted: