www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Park <dp...@mit.edu>
Subject os-linux/4712: configure script complains compiler non-ANSI
Date Thu, 08 Jul 1999 14:59:47 GMT

>Number:         4712
>Category:       os-linux
>Synopsis:       configure script complains compiler non-ANSI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul  8 08:00:01 PDT 1999
>Last-Modified:
>Originator:     dpark@mit.edu
>Organization:
apache
>Release:        1.3.6
>Environment:
both redhat 5.2 / linux 2.0.36 / gcc and redhat 6.0 / linux 2.2.10 / egcs
give this error
>Description:
[danny@qwerty] ~/linux/src/server/apache_1.3.6$ configure --activate-module=src/modules/php3/libphp3.a
     
Configuring for Apache, Version 1.3.6
 + using installation path layout: Apache (config.layout)
 + activated php3 module (modules/php3/libphp3.a)
Creating Makefile
Creating Configuration.apaci in src
ld: cannot open -lpcre: No such file or directory
make: *** [dummy] Error 1
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php3_module uses ConfigStart/End
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!
[danny@qwerty] ~/linux/src/server/apache_1.3.6$ configure
Configuring for Apache, Version 1.3.6
 + Warning: Configuring Apache with default settings.
 + This is probably not what you really want.
 + Please read the README.configure and INSTALL files
 + first or at least run './configure --help' for
 + a compact summary of available options.
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
[danny@qwerty] ~/linux/src/server/apache_1.3.6$ cd ../apache_1.3.4
[danny@qwerty] ~/linux/src/server/apache_1.3.4$ cat ../conf-apache-qwerty 
./configure --prefix=/etc/httpd --exec-prefix=/usr \
        --bindir=/usr/sbin --sbindir=/usr/sbin \
        --sysconfdir=/etc/httpd/conf --logfiledir=/var/log/httpd \
        --includedir=/usr/include --datadir=/usr/share \
        --runtimedir=/var/run  --mandir=/usr/man \
        --enable-module=most --enable-module=auth_dbm \
        --activate-module=src/modules/php3/libphp3.a \
        --enable-shared=max --enable-shared=php3 \
        --disable-rule=WANTHSREGEX
[danny@qwerty] ~/linux/src/server/apache_1.3.4$ ../conf-apache-qwerty 
Configuring for Apache, Version 1.3.4
 + using installation path layout: Apache (config.layout)
 + activated php3 module (modules/php3/libphp3.a)
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
 + using -lndbm for DBM support
      enabling DBM support for mod_rewrite
    o dbm_auth_module uses ConfigStart/End
    o php3_module uses ConfigStart/End
 + using -ldl for vendor DSO support
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/proxy
Creating Makefile in src/modules/php3
[danny@qwerty] ~/linux/src/server/apache_1.3.4$ 
>How-To-Repeat:
the errors are very consistent.  all you need is apache 1.3.6 on a redhat linux
system with mod_php (3.0.11) installed.  this does not happen with 1.3.4+php
or with 1.3.6 w/o php.
>Fix:
the only error i see is here:
Creating Configuration.apaci in src
ld: cannot open -lpcre: No such file or directory
make: *** [dummy] Error 1
looks like the inclusion of an outside module triggers something in configure
to pass funky arguments to ld that it doesn't recognize?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]




Mime
View raw message