Subject: apache-1.3.28 seems broken on NetBSD 1.6.1
To: None <tech-pkg@netbsd.org>
From: James K.Lowden <jklowden@speakeasy.net>
List: tech-pkg
Date: 09/27/2003 18:33:10
Just fetched pkgsrc from anoncvs this afternoon.  Apache 1.3 won't build,
and I'm at a loss as to why.  The end of the build output is below.  

Thanks.

--jkl


Configuring for Apache, Version 1.3.28
 + using installation path layout: pkgsrc
(/usr/pkgsrc/www/apache/work/config.la
yout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for NetBSD platform
 + setting C pre-processor to cc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o db_auth_module uses ConfigStart/End
      using Berkeley-DB/1.x for mod_auth_db (-lc)
 + enabling Extended API (EAPI)
   using MM library: /usr/pkg (installed)
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc. 

======== Error Output for sanity check ========
cd ..; cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD -DEAPI
-DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -O2 -I/usr/pkg/include `./apaci`
-I/usr/pkg/include  -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o
helpers/dummy helpers/dummy.c   -lcrypt -lmm
/usr/pkgsrc/www/apache/work/.buildlink/lib/libmm.so: could not read
symbols: Invalid operation
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/apache/work/apache_1.3.28/src/helpers
============= End of Error Report =============