>Number: 5122 >Category: config >Synopsis: apxs fails when using non-default gcc >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Oct 11 02:40:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.6 >Environment: Linux >Description: * When using a non-default compiler (in my case a version of egcs) apxs does not fill in $CFG_LD_SHLIB which causes a subquent failure. * In addition, apxs checks $CFG_LD_SHLIB against "gcc" (line 385). >How-To-Repeat: env CC=/opt/egcs/bin/gcc ./configure --enable-module=so Then afterwards build php --with-apxs=... >Fix: 1. Either configure should set LD_SHLIB to CC if undefined or apxs should do so. 2. Instead of checking against "gcc" apxs should check against the equivalent of `basename $CFG_LD_SHLIB` >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 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! ]