From nobody@hyperreal.com Fri Dec 6 10:54:35 1996 Received: by taz.hyperreal.com (8.8.3/V2.0) id KAA27836; Fri, 6 Dec 1996 10:54:35 -0800 (PST) Message-Id: <199612061854.KAA27836@taz.hyperreal.com> Date: Fri, 6 Dec 1996 10:54:35 -0800 (PST) From: Kief Morris Reply-To: kmorris@cs.utk.edu To: apbugs@hyperreal.com Subject: Can't compile Apache 1.2b1 on SunOS X-Send-Pr-Version: 3.2 >Number: 32 >Category: config >Synopsis: Can't compile Apache 1.2b1 on SunOS >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Dec 6 11:00:02 1996 >Last-Modified: Fri Dec 6 18:09:48 PST 1996 >Originator: kmorris@cs.utk.edu >Organization: >Release: 1.2b1 >Environment: SunOS 4.1.3 and SunOS 4.1.4 on the Sun4m architecture gcc 2.5.8 and 2.7.2 >Description: # ./Configure Using 'Configuration' as config file + configured for SunOS 4 platform + setting C compiler to gcc # make gcc -c -O2 -DSUNOS4 alloc.c In file included from alloc.c:61: conf.h:438: regex.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `alloc.o' The line in question looks like it's the same no matter the architecture(?): #include I change this to: #include "regex/regex.h" and it gets past it, until: gcc -c -O2 -DSUNOS4 mod_include.c mod_include.c:72: regex.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `mod_include.o' Tried running make in the regex subdirectory with the following command line: make CC=gcc AUX_CFLAGS="-O2 -DSUNOS4" RANLIB=ranlib but produced this error: gcc -I. -DPOSIX_MISTAKE -O2 -DSUNOS4 regcomp.o regexec.o regerror.o regfree.o split.o debug.o main.o -o re collect2: ld returned 2 exit status ld: Undefined symbol _memmove *** Error code 1 make: Fatal error: Command failed for target `re' >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fielding State-Changed-When: Fri Dec 6 18:09:47 PST 1996 State-Changed-Why: Solution in PR 33. The change to conf.h was not necessary and should be undone before recompiling. >Unformatted: