Bug #51706 [Com]: Make fails dns.c:305: error: expected specifier-qualifier-list before ‘HEADER'

From: Date: Tue, 04 May 2010 15:12:36 +0000
Subject: Bug #51706 [Com]: Make fails dns.c:305: error: expected specifier-qualifier-list before ‘HEADER'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150173@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51706&edit=1

 ID:               51706
 Comment by:       keith at take88 dot com
 Reported by:      keith at take88 dot com
 Summary:          Make fails dns.c:305: error: expected
                   specifier-qualifier-list before ‘HEADER'
 Status:           Open
 Type:             Bug
 Package:          Compile Failure
 Operating System: Mac OS X 10.6.3
 PHP Version:      5.3.2

 New Comment:

Wait a second. I'm seeing this when I run ./configure

checking build system type... Invalid configuration `/usr': machine
`/usr' not recognized

That's the --prefix=/usr part of my ./configure script. 

That sounds like it could be screwing up my dns host stuff.

Any ideas?


Previous Comments:
------------------------------------------------------------------------
[2010-05-04 16:18:02] rasmus@php.net

Works fine for me on Leopard here as well.  Both 5.3.2 and SVN.

------------------------------------------------------------------------
[2010-05-04 15:47:14] keith at take88 dot com

I'm trying to build PHP from source using a fresh install of Snow
Leopard. No fink. No Macports.

When I try an SVN install I get other problems.

------------------------------------------------------------------------
[2010-05-04 11:14:45] david dot zuelke at bitextender dot com

Can't reproduce here... building from fresh SVN checkout of PHP_5_3 on a
new 
install 
of Mac OS X 10.6.3.

Both with
  ./configure --disable-all
and
  MACOSX_DEPLOYMENT_TARGET=10.6.3 CFLAGS="-arch x86_64 -g -Os -pipe
-no-cpp-
precomp" 
CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe"

LDFLAGS="-
arch x86_64 -bind_at_load -L/usr/local/lib/ -liconv" ./configure
--disable-all
it builds just fine,
  make test
shows nothing unusual (http://pastie.org/944860), gethostbyname() etc
work.

Maybe it's some sort of library conflict on your system? Or your
checkout is 
borked? 
Undeclared identifiers sound fishy; T_MX etc are defined outside of PHP.

------------------------------------------------------------------------
[2010-05-01 22:41:36] scottmac@php.net

Jani made the last changes to these :)

------------------------------------------------------------------------
[2010-05-01 22:36:40] kalle@php.net

Scott, I remember you fixed some portability issues for the DNS
functions, namely on MAC could you look into this?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51706


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51706&edit=1


Thread (18 messages)

« previous php.bugs (#150173) next »