>Number: 2004 >Category: config >Synopsis: `Configuration' uses `EXTRA_LFLAGS', but `TestCompile' expects >`EXTRA_LFLAGS' >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Mar 26 15:50:00 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b5 >Environment: Linux 2.0.0, gcc 2.7.2 but I don't think it matters >Description: In `Configuration', I put EXTRA_LFLAGS= -L/data/mysql/lib EXTRA_LIBS= -lmysqlclient
Then the sanity checker failed, saying `most likely your C compiler is not ANSI'. Actually it was because the command line constructed by TestCompile included the -lmysqlclient option without also the -L/data/mysql/lib option, so the compilation was failing with `Cannotopen -lmysqlclient: No such file or directory` . I added a line EXTRA_LDFLAGS= $(EXTRA_LFLAGS) into Configuration, and the configure ran successfully. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
