From owner-freebsd-questions Mon Jul 23 14:53:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id A31B637B434 for ; Mon, 23 Jul 2001 14:53:10 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 35004 invoked by uid 1001); 23 Jul 2001 21:53:06 -0000 Date: Mon, 23 Jul 2001 14:53:06 -0700 From: Sean Chittenden To: Matthew Joseff Cc: freebsd-questions@freebsd.org Subject: Re: gcc crapping? Message-ID: <20010723145306.C34549@rand.tgd.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZInfyf7laFu/Kiw7" Content-Disposition: inline In-Reply-To: ; from "mjoseff@infobutter.com" on Mon, Jul 23, 2001 at = 05:54:22PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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