Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 14:53:06 -0700
From:      Sean Chittenden <sean-freebsd-questions@chittenden.org>
To:        Matthew Joseff <mjoseff@infobutter.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gcc crapping?
Message-ID:  <20010723145306.C34549@rand.tgd.net>
In-Reply-To: <Pine.BSF.4.33.0107231752230.17628-100000@spread.infobutter.com>; from "mjoseff@infobutter.com" on Mon, Jul 23, 2001 at = 05:54:22PM
References:  <Pine.BSF.4.33.0107231752230.17628-100000@spread.infobutter.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZInfyf7laFu/Kiw7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> When configuring apache . . . any clues?

	Have you thought about using the ports?  They work rather well=20
for me.

cd /usr/ports/www/apache13 && make install clean
cd /usr/ports/www/mod_php4 && make install clean

	-sc

>=20
> [spread:/usr/local/src/apache_1.3.20]./configure --prefix=3D/www
> --activate-module=3Dsrc/modules/frontpage/mod_frontpage.o
> --activate-module=3Dsrc/modules/php4/libphp4.a
> Configuring for Apache, Version 1.3.20
>  + using installation path layout: Apache (config.layout)
>  + activated frontpage module (modules/frontpage/mod_frontpage.o)
>  + activated php4 module (modules/php4/libphp4.a)
>  +
>  + Warning: You will have to change the value of the "User" directive
>  + in your httpd.conf file to a value of "www" to run the
>  + Frontpage Server Extensions.
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>  + configured for FreeBSD 4.3 platform
>  + setting C pre-processor to gcc -E
>  + checking for system header files
>  + adding selected modules
>     o php4_module uses ConfigStart/End
>  + 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.
>=20
> cd ..; gcc  -funsigned-char -I/usr/local/src/php-4.0.6
> -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6/main
> -I/usr/local/src/php-4.0.6/Zend -I/usr/local/src/php-4.0.6/Zend
> -I/usr/local/src/php-4.0.6/TSRM -I/usr/local/src/php-4.0.6/TSRM
> -I/usr/local/src/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
> `./apaci`     -o helpers/dummy helpers/dummy.c   -R/usr/local/lib
> -rdynamic -L/usr/local/lib -Lmodules/php4 -L../modules/php4
> -L../../modules/php4 -lmodphp4  -lpam -lc-client4  -lpam -lcrypt -lm
> -lcrypt
> /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_searched'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_status'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_login'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_list'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_critical'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_exists'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_log'
> /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
> *** Error code 1
>=20
> Stop in /usr/local/src/apache_1.3.20/src/helpers.
> =3D=3D=3D=3D=3D=3D=3D=3D Error Output for sanity check =3D=3D=3D=3D=3D=3D=
=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D End of Error Report =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
>  Aborting!
> [spread:/usr/local/src/apache_1.3.20]gcc -v
> Using builtin specs.
> gcc version 2.95.2 19991024 (release)
> [spread:/usr/local/src/apache_1.3.20]cat config.status
> #!/bin/sh
> ##
> ##  config.status -- APACI auto-generated configuration restore script
> ##
> ##  Use this shell script to re-run the APACI configure script for
> ##  restoring your configuration. Additional parameters can be supplied.
> ##
>=20
> CC=3D"gcc" \
> ./configure \
> "--with-layout=3DApache" \
> "--prefix=3D/www" \
> "--activate-module=3Dsrc/modules/frontpage/mod_frontpage.o" \
> "--activate-module=3Dsrc/modules/php4/libphp4.a" \
> "$@"
>=20
> [spread:/usr/local/src/apache_1.3.20]uname  -a
> FreeBSD spread.infobutter.com 4.3-RC FreeBSD 4.3-RC #3: Tue Apr 17
> 14:13:44 EDT 2001
> root@spread.infobutter.com:/usr/src/sys/compile/INFOBUTTER  i386
>=20
> --=20
> Matthew Joseff
> www.infobutter.com
> mjoseff@infobutter.com
> "The instructions said 'Windows 98 or better' . . . so I installed FreeBS=
D"
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--=20
Sean Chittenden

--ZInfyf7laFu/Kiw7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: Sean Chittenden <sean@chittenden.org>

iEYEARECAAYFAjtcnMEACgkQn09c7x7d+q1pvQCgg5vS92RUa9JL9qjOlbXZs9wx
2x8AoLie2pBmpsQr5AKeFs3ekQwSzU92
=bJee
-----END PGP SIGNATURE-----

--ZInfyf7laFu/Kiw7--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010723145306.C34549>