<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Compiling Apache Web Server on Mac OS X</title>
	<link>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/</link>
	<description>Just another developer's blog.</description>
	<pubDate>Wed, 07 Jan 2009 00:22:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Bruno</title>
		<link>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-160</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Wed, 10 Sep 2008 09:44:17 +0000</pubDate>
		<guid>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-160</guid>
		<description>Not so simple!  I get:

...
checking for APR-util... yes
  adding "-L/usr/lib" to LDFLAGS
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.

The config.log contains 

...
configure:4466: $? = 0
configure:4473: gcc -v &#62;&#38;5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)
configure:4477: $? = 0
configure:4484: gcc -V &#62;&#38;5
gcc-4.0: argument to `-V' is missing
configure:4488: $? = 1
configure:4511: checking for C compiler default output file name
configure:4533: gcc    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -L/usr/lib conftest.c  &#62;&#38;5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
configure:4537: $? = 1
configure:4575: result: 
configure: failed program was:
&#124; /* confdefs.h.  */
&#124; #define PACKAGE_NAME ""
&#124; #define PACKAGE_TARNAME ""
&#124; #define PACKAGE_VERSION ""
&#124; #define PACKAGE_STRING ""
&#124; #define PACKAGE_BUGREPORT ""
&#124; /* end confdefs.h.  */
&#124; 
&#124; int
&#124; main ()
&#124; {
&#124; 
&#124;   ;
&#124;   return 0;
&#124; }
configure:4582: error: C compiler cannot create executables

I'm using Mac OS X 10.5.4 with Xcode 3.1 Developer Tools.  I put /Developer/usr/bin on my path to get gcc.

What's up?

Thanks,
Bruno.</description>
		<content:encoded><![CDATA[<p>Not so simple!  I get:</p>
<p>&#8230;<br />
checking for APR-util&#8230; yes<br />
  adding &#8220;-L/usr/lib&#8221; to LDFLAGS<br />
checking for gcc&#8230; gcc<br />
checking for C compiler default output file name&#8230;<br />
configure: error: C compiler cannot create executables<br />
See `config.log&#8217; for more details.</p>
<p>The config.log contains </p>
<p>&#8230;<br />
configure:4466: $? = 0<br />
configure:4473: gcc -v &gt;&amp;5<br />
Using built-in specs.<br />
Target: i686-apple-darwin9<br />
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure &#8211;disable-checking -enable-werror &#8211;prefix=/usr &#8211;mandir=/share/man &#8211;enable-languages=c,objc,c++,obj-c++ &#8211;program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ &#8211;with-gxx-include-dir=/include/c++/4.0.0 &#8211;with-slibdir=/usr/lib &#8211;build=i686-apple-darwin9 &#8211;with-arch=apple &#8211;with-tune=generic &#8211;host=i686-apple-darwin9 &#8211;target=i686-apple-darwin9<br />
Thread model: posix<br />
gcc version 4.0.1 (Apple Inc. build 5484)<br />
configure:4477: $? = 0<br />
configure:4484: gcc -V &gt;&amp;5<br />
gcc-4.0: argument to `-V&#8217; is missing<br />
configure:4488: $? = 1<br />
configure:4511: checking for C compiler default output file name<br />
configure:4533: gcc    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp   -L/usr/lib conftest.c  &gt;&amp;5<br />
ld: library not found for -lcrt1.10.5.o<br />
collect2: ld returned 1 exit status<br />
configure:4537: $? = 1<br />
configure:4575: result:<br />
configure: failed program was:<br />
| /* confdefs.h.  */<br />
| #define PACKAGE_NAME &#8220;&#8221;<br />
| #define PACKAGE_TARNAME &#8220;&#8221;<br />
| #define PACKAGE_VERSION &#8220;&#8221;<br />
| #define PACKAGE_STRING &#8220;&#8221;<br />
| #define PACKAGE_BUGREPORT &#8220;&#8221;<br />
| /* end confdefs.h.  */<br />
|<br />
| int<br />
| main ()<br />
| {<br />
|<br />
|   ;<br />
|   return 0;<br />
| }<br />
configure:4582: error: C compiler cannot create executables</p>
<p>I&#8217;m using Mac OS X 10.5.4 with Xcode 3.1 Developer Tools.  I put /Developer/usr/bin on my path to get gcc.</p>
<p>What&#8217;s up?</p>
<p>Thanks,<br />
Bruno.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-31</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Mon, 07 Jul 2008 16:02:48 +0000</pubDate>
		<guid>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-31</guid>
		<description>I believe its because you need to recompile PHP for this new version of Apache because your old version of PHP was compiled against another version of Apache. If you follow this guide you should be ok.

http://www.richard-sumilang.com/blog/2008/03/29/compiling-php-on-mac-os-x/</description>
		<content:encoded><![CDATA[<p>I believe its because you need to recompile PHP for this new version of Apache because your old version of PHP was compiled against another version of Apache. If you follow this guide you should be ok.</p>
<p><a href="http://www.richard-sumilang.com/blog/2008/03/29/compiling-php-on-mac-os-x/" rel="nofollow">http://www.richard-sumilang.com/blog/2008/03/29/compiling-php-on-mac-os-x/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahammons</title>
		<link>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-25</link>
		<dc:creator>ahammons</dc:creator>
		<pubDate>Wed, 18 Jun 2008 14:21:53 +0000</pubDate>
		<guid>http://www.richard-sumilang.com/blog/2008/05/08/compiling-apache-web-server-on-mac-os-x/#comment-25</guid>
		<description>Help!  I started with this tutorial but it did not work so I went to you tutorial next.  Now I'm getting the following error when trying to restart Apache.

http://macoshelp.blogspot.com/2008/02/adding-gd-library-for-mac-os-x-leopard.html

httpd: Syntax error on line 115 of /etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server:</description>
		<content:encoded><![CDATA[<p>Help!  I started with this tutorial but it did not work so I went to you tutorial next.  Now I&#8217;m getting the following error when trying to restart Apache.</p>
<p><a href="http://macoshelp.blogspot.com/2008/02/adding-gd-library-for-mac-os-x-leopard.html" rel="nofollow">http://macoshelp.blogspot.com/2008/02/adding-gd-library-for-mac-os-x-leopard.html</a></p>
<p>httpd: Syntax error on line 115 of /etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server:</p>
]]></content:encoded>
	</item>
</channel>
</rss>
