# Build issues with Mac OSX 10.4

- Thread: https://externals.io/message/16230
- Original archive: https://news-web.php.net/php.internals/16230
- Started by D. Walsh on 2005-05-12T14:05:48+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #16230 — D. Walsh — 2005-05-12T14:05:48+00:00

URL: https://externals.io/message/16230#16230

I've been trying to build PHP in Mac OS X Server 10.4.0

The OS is a fresh install with the appropriate graphic libs installed

It fails to configure with the switch '--with-gd' citing the  
following error.

________________________________________________________

checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... /var/ 
mysql/mysql.sock
checking for MySQL UNIX socket location... /var/mysql/mysql.sock
checking for char... yes
checking size of char... configure: error: cannot compute sizeof  
(char), 77
See `config.log' for more details.
________________________________________________________



Here's a tail of 'config.log', it yields little information on the  
cause of the problem so I'm not sure what the problem is or what to  
do about it.
________________________________________________________

#define PHP_SIGCHILD 0
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define STDC_HEADERS 1
#define USE_GD_IMGSTRTTF 1
#define USE_GD_IMGSTRTTF 1
#define WORDS_BIGENDIAN
#define YYTEXT_POINTER 1

configure: exit 1
________________________________________________________


It built fine under Mac OS X Server 10.2.x - 10.3.x

Any ideas on the problem/solution or where to begin looking?

-- Dale

---

## #16235 — Justin Hannus — 2005-05-13T01:36:05+00:00

URL: https://externals.io/message/16230#16235 · In reply to: #16230

have you by any chance rebuilt the configure script with buildconf to 
add another extension to your build? not thats it's necessary but is 
sometimes the cause of the problem your having. if you ave incompatible 
versions of the GNU tools (autoconf, automake, etc.) they can generate 
buggy configure scripts from running buildconf. try checking the 
versions on your system vs. the versions recommended for building php.

http://www.php.net/anoncvs.php
http://www.php.net/manual/en/install.macosx.php

-justin


D. Walsh wrote:
> I've been trying to build PHP in Mac OS X Server 10.4.0
> 
> The OS is a fresh install with the appropriate graphic libs installed
> 
> It fails to configure with the switch '--with-gd' citing the  following 
> error.
> 
> ________________________________________________________
> 
> checking for msession support... no
> checking for mSQL support... no
> checking for MSSQL support via FreeTDS... no
> checking for MySQL support... yes
> checking for specified location of the MySQL UNIX socket... /var/ 
> mysql/mysql.sock
> checking for MySQL UNIX socket location... /var/mysql/mysql.sock
> checking for char... yes
> checking size of char... configure: error: cannot compute sizeof  
> (char), 77
> See `config.log' for more details.
> ________________________________________________________
> 
> 
> 
> Here's a tail of 'config.log', it yields little information on the  
> cause of the problem so I'm not sure what the problem is or what to  do 
> about it.
> ________________________________________________________
> 
> #define PHP_SIGCHILD 0
> #define SIZEOF_INT 4
> #define SIZEOF_LONG 4
> #define STDC_HEADERS 1
> #define USE_GD_IMGSTRTTF 1
> #define USE_GD_IMGSTRTTF 1
> #define WORDS_BIGENDIAN
> #define YYTEXT_POINTER 1
> 
> configure: exit 1
> ________________________________________________________
> 
> 
> It built fine under Mac OS X Server 10.2.x - 10.3.x
> 
> Any ideas on the problem/solution or where to begin looking?
> 
> -- Dale
