pbougie / mac-dev-env

Guide for compiling a Web Dev Env on macOS
https://mac-dev-env.patrickbougie.com
99 stars 21 forks source link

PHP (not matter what number) On Mac 10.9.5 is not compiling #5

Closed ebonsi closed 8 years ago

ebonsi commented 9 years ago

Hi, I am trying to compiling and install PHP following your instructions but I am running into these errors on "make";

(Sorry, I do not want to upgrade to Yosemite because it is (in my views) not an upgrade. It looks more like a down-grade.)

Undefined symbols for architecture x86_64: "_libiconv", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o _php_iconv_stream_filter_append_bucket in iconv.o ... "_libiconv_close", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... "_libiconv_open", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [libs/libphp5.bundle] Error 1

I am wondering if you have a solution to get out of this. My Xcode version is 6.2 with command line tools installed

Thanks! Ps: I did installed Apache following your instructions and it compiled fine.

pbougie commented 9 years ago

I've never come across that error before. I do have an archived version of the guide for OS X 10.9: http://archives.patrickbougie.com/mac-dev-env/10.9-mavericks/

Also make sure this option points to where you installed Apache: --with-apxs2=/usr/local/apache/bin/apxs

If you're still having problems, paste your configure command.

ebonsi commented 9 years ago

I have been there and tried to install php-5.5.17 and got the same results. Here is the conf output as far as make.

[server1:~] root# cd /usr/local/install/php-5.5.17 [server1:local/install/php-5.5.17] root# ./configure \ --prefix=/usr/local/php-5.5.17 \ --with-config-file-path=/usr/local/php-5.5.17/etc \ --enable-bcmath \ --enable-mbstring \ --enable-sockets \ --enable-zip \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-bz2 \ --with-curl \ --with-freetype-dir=/usr/local/freetype \ --with-gd \ --with-imap-ssl \ --with-jpeg-dir=/usr/local/libjpeg \ --with-mcrypt=/usr/local/libmcrypt \ --with-mysql \ --with-mysqli \ --with-pear \ --with-pdo-mysql \ --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ --with-pgsql=/usr/local/postgresql \ --with-png-dir=/usr/local/libpng \ --with-openssl \ --with-xmlrpc \ --with-xsl \ --with-zlib? --prefix=/usr/local/php-5.5.17 \ ? --with-config-file-path=/usr/local/php-5.5.17/etc \ ? --enable-bcmath \ ? --enable-mbstring \ ? --enable-sockets \ ? --enable-zip \ ? --with-apxs2=/usr/local/apache/bin/apxs \ ? --with-bz2 \ ? --with-curl \ ? --with-freetype-dir=/usr/local/freetype \ ? --with-gd \ ? --with-imap-ssl \ ? --with-jpeg-dir=/usr/local/libjpeg \ ? --with-mcrypt=/usr/local/libmcrypt \ ? --with-mysql \ ? --with-mysqli \ ? --with-pear \ ? --with-pdo-mysql \ ? --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ ? --with-pgsql=/usr/local/postgresql \ ? --with-png-dir=/usr/local/libpng \ ? --with-openssl \ ? --with-xmlrpc \ ? --with-xsl \ ? --with-zlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking build system type... x86_64-apple-darwin13.4.0 checking host system type... x86_64-apple-darwin13.4.0 checking target system type... x86_64-apple-darwin13.4.0 checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether ln -s works... yes checking for system library directory... lib checking whether to enable runpaths... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking for bison... bison -y checking for bison version... invalid configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7 (found: 2.3). checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking whether to enable computed goto gcc extension with re2c... no checking whether cc supports -no-cpp-precomp... yes checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes checking for pthreads_cflags... checking for pthreads_lib...

Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking whether to enable Apache charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... yes checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no checking whether to enable Apache charset compatibility option... no checking for Caudium support... no checking for setproctitle... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for PS_STRINGS... no checking for CLI build... yes checking for Continuity support... no checking for embedded SAPI library support... no checking for FPM build... no checking for Zeus ISAPI support... no checking for LiteSpeed support... no checking for Milter support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking whether Roxen module is build using ZTS... no checking for Roxen/Pike support... checking for thttpd... no checking for TUX... no checking for webjames... no checking for CGI build... yes checking for socklen_t in sys/socket.h... yes checking for sun_len in sys/un.h... yes checking whether cross-process locking is required by accept()... no checking for chosen SAPI module... apache2handler checking for executable SAPI binaries... cli cgi

Running system checks checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking whether byte ordering is bigendian... no checking whether writing to stdout works... This is the test message -- yes checking for socket... yes checking for socketpair... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... yes checking for dlopen... yes checking for sin in -lm... yes checking for inet_aton... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for dirent.h... yes checking for ApplicationServices/ApplicationServices.h... yes checking for sys/param.h... yes checking for sys/types.h... (cached) yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... no checking for dns.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/ioctl.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/statfs.h... no checking for sys/statvfs.h... yes checking for sys/vfs.h... no checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for sys/loadavg.h... no checking for termios.h... yes checking for unistd.h... (cached) yes checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for dlfcn.h... yes checking for assert.h... (cached) yes checking for fopencookie... no checking for broken getcwd... no checking for broken libc stdio... no checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for missing declarations of reentrant functions... done checking for fclose declaration... ok checking for tm_gmtoff in struct tm... yes checking for struct flock... yes checking for socklen_t... yes checking size of size_t... 8 checking size of long long... 8 checking size of long long int... 8 checking size of long... 8 checking size of int... 4 checking size of intmax_t... 8 checking size of ssize_t... 8 checking size of ptrdiff_t... 8 checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct sockaddr_storage... yes checking for field sa_len in struct sockaddr... yes checking for IPv6 support... yes checking for vprintf... yes checking for _doprnt... no checking for alphasort... yes checking for asctime_r... yes checking for chroot... yes checking for ctime_r... yes checking for cuserid... no checking for crypt... yes checking for flock... yes checking for ftok... yes checking for funopen... yes checking for gai_strerror... yes checking for gcvt... yes checking for getloadavg... yes checking for getlogin... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getservbyname... yes checking for getservbyport... yes checking for gethostname... (cached) yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for getpwnam_r... yes checking for getgrnam_r... yes checking for getpwuid_r... yes checking for grantpt... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for inet_pton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lchown... yes checking for lrand48... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mmap... yes checking for nl_langinfo... yes checking for perror... yes checking for poll... yes checking for ptsname... yes checking for putenv... yes checking for realpath... yes checking for random... yes checking for rand_r... yes checking for scandir... yes checking for setitimer... yes checking for setlocale... yes checking for localeconv... yes checking for setenv... yes checking for setpgid... yes checking for setsockopt... yes checking for setvbuf... yes checking for shutdown... yes checking for sin... yes checking for snprintf... yes checking for srand48... yes checking for srandom... yes checking for statfs... yes checking for statvfs... yes checking for std_syslog... no checking for strcasecmp... yes checking for strcoll... yes checking for strdup... yes checking for strerror... yes checking for strftime... yes checking for strnlen... yes checking for strptime... yes checking for strstr... yes checking for strtok_r... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unlockpt... yes checking for unsetenv... yes checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for vasprintf... yes checking for asprintf... yes checking for nanosleep... yes checking for nanosleep in -lrt... no checking for nanosleep in -lrt... no checking for getaddrinfo... yes checking for sync_fetch_and_add... yes checking for strlcat... yes checking for strlcpy... yes checking for getopt... yes checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for working alloca.h... yes checking for alloca... yes checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX checking for readdir_r... yes checking for type of readdir_r... POSIX checking for in_addr_t... yes checking for crypt_r... no

General settings checking whether to include gcov symbols... no checking whether to include debugging symbols... no checking layout of installed files... PHP checking path to configuration file... /usr/local/php-5.5.17/etc checking where to scan for configuration files... checking whether to enable PHP's own SIGCHLD handler... no checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking whether to enable DTrace support... no checking how big to make fd sets... using system default

Configuring extensions checking size of long... (cached) 8 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking which regex library to use... php checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... yes checking for Kerberos support... no checking for DSA_get_default_method in -lssl... no checking for X509_free in -lcrypto... yes checking for pkg-config... no checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for PCRE library to use... bundled checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for zlib version >= 1.2.0.4... 1.2.5 checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZip2 in default path... found in /usr checking for BZ2_bzerror in -lbz2... yes checking whether to enable calendar conversion support... no checking whether to enable ctype functions... yes checking for cURL support... yes checking for cURL in default path... found in /usr checking for cURL 7.10.5 or greater... libcurl 7.30.0 checking for SSL support in libcurl... yes checking how to run the C preprocessor... cc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for TCADB support... no checking for Berkeley DB4 support... no checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... no checking for INI File support... no checking for FlatFile support... no checking whether to enable DBA interface... no checking whether to enable DOM support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for ENCHANT support... no checking whether to enable EXIF (metadata from images) support... no checking for fileinfo support... yes checking for utimes... yes checking for strndup... yes checking whether to enable input filter support... yes checking pcre install prefix... no checking whether to enable FTP support... no checking OpenSSL dir for FTP... no checking for GD support... yes checking for the location of libvpx... no checking for the location of libjpeg... /usr/local/libjpeg checking for the location of libpng... /usr/local/libpng checking for the location of libXpm... no checking for FreeType 2... /usr/local/freetype checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no If configure fails try --with-vpx-dir=

checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir= checking for fabsf... yes checking for floorf... yes checking for GNU gettext support... no checking for GNU MP support... no checking for mhash support... no checking whether to enable hash support... yes checking whether byte ordering is bigendian... (cached) no checking size of short... 2 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking for iconv support... yes checking for iconv... no checking for libiconv... no checking for libiconv in -liconv... yes checking if iconv is glibc's... no checking if using GNU libiconv... 270yes checking if iconv supports errno... yes checking if your cpp allows macro usage in include lines... yes checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... yes checking for InterBase support... no checking whether to enable internationalization support... no checking whether to enable JavaScript Object Serialization support... yes checking for ANSI C header files... (cached) yes checking for LDAP support... no checking for LDAP Cyrus SASL support... no checking whether to enable multibyte string support... yes checking whether to enable multibyte regex support... yes checking whether to check multibyte regex backtrack... yes checking for external libmbfl... no checking for external oniguruma... no checking for variable length prototypes and stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for stdarg.h... (cached) yes checking size of int... (cached) 4 checking size of short... (cached) 2 checking size of long... (cached) 8 checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for working memcmp... yes checking for stdarg.h... (cached) yes checking for mcrypt support... yes checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... yes checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/mysql/mysql.sock checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for Oracle Database OCI8 support... no checking whether to enable Zend OPcache support... yes checking for mprotect... yes checking for sysvipc shared memory support... yes checking for mmap() using MAP_ANON shared memory support... yes checking for mmap() using /dev/zero shared memory support... no checking for mmap() using shm_open() shared memory support... yes checking for mmap() using regular file shared memory support... yes checking "whether flock struct is linux ordered"... "no" checking "whether flock struct is BSD ordered"... "yes" checking whether to enable pcntl support... no checking whether to enable PDO support... yes checking for PDO_DBLIB support via FreeTDS... no checking for Firebird support for PDO... no checking for MySQL support for PDO... yes checking for PDO includes... checking for PDO includes... /usr/local/install/php-5.5.17/ext checking Oracle OCI support for PDO... no checking for ODBC v3 support for PDO... no checking for PostgreSQL support for PDO... yes checking for pg_config... /usr/local/postgresql-9.4.2/bin/pg_config checking for openssl dependencies... no checking for PQparameterStatus in -lpq... yes checking for PQprepare in -lpq... yes checking for PQescapeStringConn in -lpq... yes checking for PQescapeByteaConn in -lpq... yes checking for pg_encoding_to_char in -lpq... yes checking for PDO includes... (cached) /usr/local/install/php-5.5.17/ext checking for sqlite 3 support for PDO... yes checking for PDO includes... (cached) /usr/local/install/php-5.5.17/ext checking for usleep... (cached) yes checking for nanosleep... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for fdatasync in -lrt... no checking for PostgreSQL support... yes checking for pg_config... /usr/local/postgresql-9.4.2/bin/pg_config checking for PQescapeString in -lpq... yes checking for PQunescapeBytea in -lpq... yes checking for PQsetnonblocking in -lpq... yes checking for PQcmdTuples in -lpq... yes checking for PQoidValue in -lpq... yes checking for PQclientEncoding in -lpq... yes checking for PQparameterStatus in -lpq... (cached) yes checking for PQprotocolVersion in -lpq... yes checking for PQtransactionStatus in -lpq... yes checking for PQexecParams in -lpq... yes checking for PQprepare in -lpq... (cached) yes checking for PQexecPrepared in -lpq... yes checking for PQresultErrorField in -lpq... yes checking for PQsendQueryParams in -lpq... yes checking for PQsendPrepare in -lpq... yes checking for PQsendQueryPrepared in -lpq... yes checking for PQputCopyData in -lpq... yes checking for PQputCopyEnd in -lpq... yes checking for PQgetCopyData in -lpq... yes checking for PQfreemem in -lpq... yes checking for PQsetErrorVerbosity in -lpq... yes checking for PQftable in -lpq... yes checking for PQescapeStringConn in -lpq... (cached) yes checking for PQescapeByteaConn in -lpq... (cached) yes checking for pg_encoding_to_char in -lpq... (cached) yes checking for lo_create in -lpq... yes checking for lo_import_with_oid in -lpq... yes checking for PQescapeLiteral in -lpq... yes checking for phar archive support... yes checking for phar openssl support... yes checking whether to enable POSIX-like functions... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking for seteuid... yes checking for setegid... yes checking for setsid... yes checking for getsid... yes checking for setpgid... (cached) yes checking for getpgid... yes checking for ctermid... yes checking for mkfifo... yes checking for mknod... yes checking for getrlimit... yes checking for getlogin... (cached) yes checking for getgroups... yes checking for makedev... no checking for initgroups... yes checking for getpwuid_r... (cached) yes checking for getgrgid_r... yes checking for working ttyname_r() implementation... no, posix_ttyname() will be thread-unsafe checking for utsname.domainname... no checking for PSPELL support... no checking for libedit readline replacement... no checking for readline support... no checking for recode support... no checking whether to enable PHP sessions... yes checking for mm support... no checking whether pwrite works... yes checking whether pread works... yes checking whether to enable shmop support... no checking whether to enable SimpleXML support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for SNMP support... no checking OpenSSL dir for SNMP... no checking whether to enable SOAP support... no checking whether to enable sockets support... yes checking for struct cmsghdr... yes checking for hstrerror... yes checking for socketpair... (cached) yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for netdb.h... (cached) yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for field ss_family in struct sockaddr_storage... yes checking if getaddrinfo supports AI_V4MAPPED... yes checking whether zend_object_value is packed... no checking whether flush should be called explicitly after a buffered io... yes checking for standard DES crypt... yes checking for extended DES crypt... yes checking for MD5 crypt... no checking for Blowfish crypt... no checking for SHA512 crypt... no checking for SHA256 crypt... no checking whether the compiler supports alignof... yes checking whether the compiler supports aligned attribute... yes checking for getcwd... yes checking for getwd... yes checking for asinh... yes checking for acosh... yes checking for atanh... yes checking for log1p... yes checking for hypot... yes checking for glob... yes checking for strfmon... yes checking for nice... yes checking for fpclass... no checking for isinf... yes checking for isnan... yes checking for mempcpy... no checking for strpncpy... no checking for working POSIX fnmatch... yes checking for fork... yes checking if your OS can spawn processes with inherited handles... yes checking for res_nsearch... no checking for res_nsearch... no checking for res_nsearch in -lresolv... no checking for res_nsearch in -lresolv... no checking for res_nsearch in -lbind... no checking for res_nsearch in -lbind... no checking for res_nsearch in -lsocket... no checking for res_nsearch in -lsocket... no checking for dns_search... no checking for dns_search... no checking for dns_search in -lresolv... yes checking for dn_expand... yes checking for dn_skipname... no checking for dn_skipname... yes checking for res_search... yes checking whether atof() accepts NAN... yes checking whether atof() accepts INF... yes checking whether HUGE_VAL == INF... yes checking whether HUGE_VAL + -HUGEVAL == NAN... yes checking whether strptime() declaration fails... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for mblen... yes checking for mbrlen... yes checking for mbsinit... yes checking for mbstate_t... no checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking for Sybase-CT support... no checking whether to enable System V IPC support... no checking whether to enable System V semaphore support... no checking whether to enable System V shared memory support... no checking for TIDY support... no checking whether to enable tokenizer support... yes checking whether to enable WDDX support... no checking libexpat dir for WDDX... no checking whether to enable XML support... yes checking libexpat install dir... no checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking whether to enable XMLReader support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for XMLRPC-EPI support... yes checking libexpat dir for XMLRPC-EPI... no checking iconv dir for XMLRPC-EPI... no checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for ranlib... ranlib checking for inline... inline checking for ANSI C header files... (cached) yes checking xmlparse.h usability... no checking xmlparse.h presence... no checking for xmlparse.h... no checking xmltok.h usability... no checking xmltok.h presence... no checking for xmltok.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking size of char... 1 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for strtoul... yes checking for strtoull... yes checking for snprintf... (cached) yes checking for strstr... (cached) yes checking for strpbrk... yes checking for strerror... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking whether to enable XMLWriter support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for XSL support... yes checking for EXSLT support... found checking for zip archive read/writesupport... yes checking pcre install prefix... no checking for the location of zlib... /usr checking whether to enable mysqlnd... no checking whether to disable compressed protocol support in mysqlnd... yes checking for DSA_get_default_method in -lssl... (cached) no checking for X509_free in -lcrypto... (cached) yes checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... (cached) yes checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes checking whether int8 exists... no checking whether uint8 exists... no checking whether int16 exists... no checking whether uint16 exists... no checking whether int32 exists... no checking whether uint32 exists... no checking whether uchar exists... no checking whether ulong exists... no checking whether int8_t exists... yes checking whether uint8_t exists... yes checking whether int16_t exists... yes checking whether uint16_t exists... yes checking whether int32_t exists... yes checking whether uint32_t exists... yes checking whether int64_t exists... yes checking whether uint64_t exists... yes checking whether whether compiler supports Decimal32/64/128 types... no

Configuring PEAR checking whether to install PEAR... yes

Configuring Zend checking for bison version... (cached) invalid configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7 (found: none). checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for limits.h... (cached) yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for signal.h... (cached) yes checking for unix.h... (cached) no checking for stdlib.h... (cached) yes checking for dlfcn.h... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... void checking for uint... yes checking for ulong... no checking for int32_t... yes checking for uint32_t... yes checking for vprintf... (cached) yes checking for _doprnt... (cached) no checking for working memcmp... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for memcpy... (cached) yes checking for strdup... (cached) yes checking for getpid... yes checking for kill... yes checking for strtod... yes checking for strtol... yes checking for finite... yes checking for fpclass... (cached) no checking for sigsetjmp... yes checking whether sprintf is broken... no checking for finite... (cached) yes checking for isfinite... no checking for isinf... (cached) yes checking for isnan... (cached) yes checking whether fp_except is defined... no checking for usable _FPU_SETCW... no checking for usable fpsetprec... no checking for usable _controlfp... no checking for usable _controlfp_s... no checking whether FPU control word can be manipulated by inline assembler... yes checking whether double cast to long preserves least significant bits... no checking for dlfcn.h... (cached) yes checking whether dlsym() requires a leading underscore in symbol names... no checking virtual machine dispatch method... CALL checking whether to enable thread-safety... yes checking whether to enable inline optimization for GCC... yes checking whether to enable Zend debugging... no checking for inline... (cached) inline checking target system is Darwin... yes checking for MM alignment and log values... done checking for memory allocation using mmap(MAP_ANON)... yes checking for memory allocation using mmap("/dev/zero")... no checking for mremap... no checking for sigaction... yes checking whether to enable zend signal handling... no

Configuring TSRM checking for stdarg.h... (cached) yes checking for sigprocmask... yes checking for pthreads_cflags... (cached) checking for pthreads_lib... (cached) checking for POSIX threads... yes

Configuring libtool checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking how to recognize dependent libraries... pass_all checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking for dsymutil... dsymutil checking for nmedit... nmedit checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fno-common checking if cc PIC flag -fno-common works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.4.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes

creating libtool appending configuration tag "CXX" to libtool

Generating files configure: creating ./config.status creating main/internal_functions.c creating main/internal_functions_cli.c +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+

Thank you for using PHP.

config.status: creating php5.spec config.status: creating main/build-defs.h config.status: creating scripts/phpize config.status: creating scripts/man1/phpize.1 config.status: creating scripts/php-config config.status: creating scripts/man1/php-config.1 config.status: creating sapi/cli/php.1 config.status: creating sapi/cgi/php-cgi.1 config.status: creating ext/phar/phar.1 config.status: creating ext/phar/phar.phar.1 config.status: creating main/php_config.h config.status: executing default commands [server1:local/install/php-5.5.17] root# make /bin/sh /usr/local/install/php-5.5.17/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/pgsql/ -I/usr/local/install/php-5.5.17/ext/pgsql/ -DPHP_ATOM_INC -I/usr/local/install/php-5.5.17/include -I/usr/local/install/php-5.5.17/main -I/usr/local/install/php-5.5.17 -I/usr/local/install/php-5.5.17/ext/date/lib -I/usr/local/install/php-5.5.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/libjpeg/include -I/usr/local/libpng/include -I/usr/local/freetype-2.5.5/include/freetype2 -I/usr/local/include -I/usr/local/install/php-5.5.17/ext/mbstring/oniguruma -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl/mbfl -I/usr/local/libmcrypt/include -I/usr/local/postgresql-9.4.2/include -I/usr/local/install/php-5.5.17/ext/sqlite3/libsqlite -I/usr/local/install/php-5.5.17/TSRM -I/usr/local/install/php-5.5.17/Zend -no-cpp-precomp -DTHREAD=1 -I/usr/local/include -g -O2 -fvisibility=hidden -DZTS -c /usr/local/install/php-5.5.17/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.lo /usr/local/install/php-5.5.17/ext/pgsql/pgsql.c:2819:35: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (colno >= num_fields || colno < 0) {


1 warning generated.
/bin/sh /usr/local/install/php-5.5.17/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/standard/ -I/usr/local/install/php-5.5.17/ext/standard/ -DPHP_ATOM_INC -I/usr/local/install/php-5.5.17/include -I/usr/local/install/php-5.5.17/main -I/usr/local/install/php-5.5.17 -I/usr/local/install/php-5.5.17/ext/date/lib -I/usr/local/install/php-5.5.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/libjpeg/include -I/usr/local/libpng/include -I/usr/local/freetype-2.5.5/include/freetype2 -I/usr/local/include -I/usr/local/install/php-5.5.17/ext/mbstring/oniguruma -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl/mbfl -I/usr/local/libmcrypt/include -I/usr/local/postgresql-9.4.2/include -I/usr/local/install/php-5.5.17/ext/sqlite3/libsqlite -I/usr/local/install/php-5.5.17/TSRM -I/usr/local/install/php-5.5.17/Zend  -no-cpp-precomp -DTHREAD=1  -I/usr/local/include -g -O2 -fvisibility=hidden -DZTS  -c /usr/local/install/php-5.5.17/ext/standard/info.c -o ext/standard/info.lo 
/bin/sh /usr/local/install/php-5.5.17/libtool --silent --preserve-dup-deps --mode=compile cc  -Imain/ -I/usr/local/install/php-5.5.17/main/ -DPHP_ATOM_INC -I/usr/local/install/php-5.5.17/include -I/usr/local/install/php-5.5.17/main -I/usr/local/install/php-5.5.17 -I/usr/local/install/php-5.5.17/ext/date/lib -I/usr/local/install/php-5.5.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/libjpeg/include -I/usr/local/libpng/include -I/usr/local/freetype-2.5.5/include/freetype2 -I/usr/local/include -I/usr/local/install/php-5.5.17/ext/mbstring/oniguruma -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl -I/usr/local/install/php-5.5.17/ext/mbstring/libmbfl/mbfl -I/usr/local/libmcrypt/include -I/usr/local/postgresql-9.4.2/include -I/usr/local/install/php-5.5.17/ext/sqlite3/libsqlite -I/usr/local/install/php-5.5.17/TSRM -I/usr/local/install/php-5.5.17/Zend  -no-cpp-precomp -DTHREAD=1  -I/usr/local/include -g -O2 -fvisibility=hidden -DZTS  -c main/internal_functions.c -o main/internal_functions.lo 
cc -bundle -bundle_loader /usr/local/apache-2.4.12/bin/httpd -L/usr/lib -laprutil-1 -lldap -llber -llber -lexpat -liconv -lsqlite3 -lldap -llber -llber -L/usr/lib -lapr-1 -lpthread -I/usr/local/include -g -O2 -fvisibility=hidden -DZTS   -L/usr/local/libjpeg/lib -L/usr/local/libpng/lib -L/usr/local/freetype-2.5.5/lib -L/usr/local/lib -L/usr/local/libmcrypt/lib -L/usr/local/postgresql-9.4.2/lib ext/date/php_date.o ext/date/lib/astro.o ext/date/lib/dow.o ext/date/lib/parse_date.o ext/date/lib/parse_tz.o ext/date/lib/timelib.o ext/date/lib/tm2unixtime.o ext/date/lib/unixtime2tm.o ext/date/lib/parse_iso_intervals.o ext/date/lib/interval.o ext/ereg/ereg.o ext/ereg/regex/regcomp.o ext/ereg/regex/regexec.o ext/ereg/regex/regerror.o ext/ereg/regex/regfree.o ext/libxml/libxml.o ext/openssl/openssl.o ext/openssl/xp_ssl.o ext/pcre/pcrelib/pcre_chartables.o ext/pcre/pcrelib/pcre_ucd.o ext/pcre/pcrelib/pcre_compile.o ext/pcre/pcrelib/pcre_config.o ext/pcre/pcrelib/pcre_exec.o ext/pcre/pcrelib/pcre_fullinfo.o ext/pcre/pcrelib/pcre_get.o ext/pcre/pcrelib/pcre_globals.o ext/pcre/pcrelib/pcre_maketables.o ext/pcre/pcrelib/pcre_newline.o ext/pcre/pcrelib/pcre_ord2utf8.o ext/pcre/pcrelib/pcre_refcount.o ext/pcre/pcrelib/pcre_study.o ext/pcre/pcrelib/pcre_tables.o ext/pcre/pcrelib/pcre_valid_utf8.o ext/pcre/pcrelib/pcre_version.o ext/pcre/pcrelib/pcre_xclass.o ext/pcre/php_pcre.o ext/sqlite3/sqlite3.o ext/sqlite3/libsqlite/sqlite3.o ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/zlib/zlib_filter.o ext/bcmath/bcmath.o ext/bcmath/libbcmath/src/add.o ext/bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o ext/bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/outofmem.o ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/libbcmath/src/rt.o ext/bcmath/libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/src/int2num.o ext/bcmath/libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/sqrt.o ext/bcmath/libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/libbcmath/src/nearzero.o ext/bcmath/libbcmath/src/num2str.o ext/bcmath/libbcmath/src/raise.o ext/bcmath/libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o ext/bz2/bz2.o ext/bz2/bz2_filter.o ext/ctype/ctype.o ext/curl/interface.o ext/curl/multi.o ext/curl/share.o ext/curl/curl_file.o ext/dom/php_dom.o ext/dom/attr.o ext/dom/document.o ext/dom/domerrorhandler.o ext/dom/domstringlist.o ext/dom/domexception.o ext/dom/namelist.o ext/dom/processinginstruction.o ext/dom/cdatasection.o ext/dom/documentfragment.o ext/dom/domimplementation.o ext/dom/element.o ext/dom/node.o ext/dom/string_extend.o ext/dom/characterdata.o ext/dom/documenttype.o ext/dom/domimplementationlist.o ext/dom/entity.o ext/dom/nodelist.o ext/dom/text.o ext/dom/comment.o ext/dom/domconfiguration.o ext/dom/domimplementationsource.o ext/dom/entityreference.o ext/dom/notation.o ext/dom/xpath.o ext/dom/dom_iterators.o ext/dom/typeinfo.o ext/dom/domerror.o ext/dom/domlocator.o ext/dom/namednodemap.o ext/dom/userdatahandler.o ext/fileinfo/fileinfo.o ext/fileinfo/libmagic/apprentice.o ext/fileinfo/libmagic/apptype.o ext/fileinfo/libmagic/ascmagic.o ext/fileinfo/libmagic/cdf.o ext/fileinfo/libmagic/cdf_time.o ext/fileinfo/libmagic/compress.o ext/fileinfo/libmagic/encoding.o ext/fileinfo/libmagic/fsmagic.o ext/fileinfo/libmagic/funcs.o ext/fileinfo/libmagic/is_tar.o ext/fileinfo/libmagic/magic.o ext/fileinfo/libmagic/print.o ext/fileinfo/libmagic/readcdf.o ext/fileinfo/libmagic/readelf.o ext/fileinfo/libmagic/softmagic.o ext/filter/filter.o ext/filter/sanitizing_filters.o ext/filter/logical_filters.o ext/filter/callback_filter.o ext/gd/gd.o ext/gd/libgd/gd.o ext/gd/libgd/gd_gd.o ext/gd/libgd/gd_gd2.o ext/gd/libgd/gd_io.o ext/gd/libgd/gd_io_dp.o ext/gd/libgd/gd_io_file.o ext/gd/libgd/gd_ss.o ext/gd/libgd/gd_io_ss.o ext/gd/libgd/webpimg.o ext/gd/libgd/gd_webp.o ext/gd/libgd/gd_png.o ext/gd/libgd/gd_jpeg.o ext/gd/libgd/gdxpm.o ext/gd/libgd/gdfontt.o ext/gd/libgd/gdfonts.o ext/gd/libgd/gdfontmb.o ext/gd/libgd/gdfontl.o ext/gd/libgd/gdfontg.o ext/gd/libgd/gdtables.o ext/gd/libgd/gdft.o ext/gd/libgd/gdcache.o ext/gd/libgd/gdkanji.o ext/gd/libgd/wbmp.o ext/gd/libgd/gd_wbmp.o ext/gd/libgd/gdhelpers.o ext/gd/libgd/gd_topal.o ext/gd/libgd/gd_gif_in.o ext/gd/libgd/xbm.o ext/gd/libgd/gd_gif_out.o ext/gd/libgd/gd_security.o ext/gd/libgd/gd_filter.o ext/gd/libgd/gd_pixelate.o ext/gd/libgd/gd_arc.o ext/gd/libgd/gd_rotate.o ext/gd/libgd/gd_color.o ext/gd/libgd/gd_transform.o ext/gd/libgd/gd_crop.o ext/gd/libgd/gd_interpolation.o ext/gd/libgd/gd_matrix.o ext/hash/hash.o ext/hash/hash_md.o ext/hash/hash_sha.o ext/hash/hash_ripemd.o ext/hash/hash_haval.o ext/hash/hash_tiger.o ext/hash/hash_gost.o ext/hash/hash_snefru.o ext/hash/hash_whirlpool.o ext/hash/hash_adler32.o ext/hash/hash_crc32.o ext/hash/hash_fnv.o ext/hash/hash_joaat.o ext/iconv/iconv.o ext/json/json.o ext/json/utf8_decode.o ext/json/JSON_parser.o ext/mbstring/oniguruma/regcomp.o ext/mbstring/oniguruma/regerror.o ext/mbstring/oniguruma/regexec.o ext/mbstring/oniguruma/reggnu.o ext/mbstring/oniguruma/regparse.o ext/mbstring/oniguruma/regenc.o ext/mbstring/oniguruma/regext.o ext/mbstring/oniguruma/regsyntax.o ext/mbstring/oniguruma/regtrav.o ext/mbstring/oniguruma/regversion.o ext/mbstring/oniguruma/st.o ext/mbstring/oniguruma/enc/unicode.o ext/mbstring/oniguruma/enc/ascii.o ext/mbstring/oniguruma/enc/utf8.o ext/mbstring/oniguruma/enc/euc_jp.o ext/mbstring/oniguruma/enc/euc_tw.o ext/mbstring/oniguruma/enc/euc_kr.o ext/mbstring/oniguruma/enc/sjis.o ext/mbstring/oniguruma/enc/iso8859_1.o ext/mbstring/oniguruma/enc/iso8859_2.o ext/mbstring/oniguruma/enc/iso8859_3.o ext/mbstring/oniguruma/enc/iso8859_4.o ext/mbstring/oniguruma/enc/iso8859_5.o ext/mbstring/oniguruma/enc/iso8859_6.o ext/mbstring/oniguruma/enc/iso8859_7.o ext/mbstring/oniguruma/enc/iso8859_8.o ext/mbstring/oniguruma/enc/iso8859_9.o ext/mbstring/oniguruma/enc/iso8859_10.o ext/mbstring/oniguruma/enc/iso8859_11.o ext/mbstring/oniguruma/enc/iso8859_13.o ext/mbstring/oniguruma/enc/iso8859_14.o ext/mbstring/oniguruma/enc/iso8859_15.o ext/mbstring/oniguruma/enc/iso8859_16.o ext/mbstring/oniguruma/enc/koi8.o ext/mbstring/oniguruma/enc/koi8_r.o ext/mbstring/oniguruma/enc/big5.o ext/mbstring/oniguruma/enc/utf16_be.o ext/mbstring/oniguruma/enc/utf16_le.o ext/mbstring/oniguruma/enc/utf32_be.o ext/mbstring/oniguruma/enc/utf32_le.o ext/mbstring/libmbfl/filters/html_entities.o ext/mbstring/libmbfl/filters/mbfilter_7bit.o ext/mbstring/libmbfl/filters/mbfilter_ascii.o ext/mbstring/libmbfl/filters/mbfilter_base64.o ext/mbstring/libmbfl/filters/mbfilter_big5.o ext/mbstring/libmbfl/filters/mbfilter_byte2.o ext/mbstring/libmbfl/filters/mbfilter_byte4.o ext/mbstring/libmbfl/filters/mbfilter_cp1251.o ext/mbstring/libmbfl/filters/mbfilter_cp1252.o ext/mbstring/libmbfl/filters/mbfilter_cp1254.o ext/mbstring/libmbfl/filters/mbfilter_cp5022x.o ext/mbstring/libmbfl/filters/mbfilter_cp51932.o ext/mbstring/libmbfl/filters/mbfilter_cp850.o ext/mbstring/libmbfl/filters/mbfilter_cp866.o ext/mbstring/libmbfl/filters/mbfilter_cp932.o ext/mbstring/libmbfl/filters/mbfilter_cp936.o ext/mbstring/libmbfl/filters/mbfilter_gb18030.o ext/mbstring/libmbfl/filters/mbfilter_euc_cn.o ext/mbstring/libmbfl/filters/mbfilter_euc_jp.o ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.o ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.o ext/mbstring/libmbfl/filters/mbfilter_euc_kr.o ext/mbstring/libmbfl/filters/mbfilter_euc_tw.o ext/mbstring/libmbfl/filters/mbfilter_htmlent.o ext/mbstring/libmbfl/filters/mbfilter_hz.o ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.o ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.o ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.o ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.o ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.o ext/mbstring/libmbfl/filters/mbfilter_jis.o ext/mbstring/libmbfl/filters/mbfilter_koi8r.o ext/mbstring/libmbfl/filters/mbfilter_armscii8.o ext/mbstring/libmbfl/filters/mbfilter_qprint.o ext/mbstring/libmbfl/filters/mbfilter_sjis.o ext/mbstring/libmbfl/filters/mbfilter_sjis_open.o ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.o ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.o ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.o ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.o ext/mbstring/libmbfl/filters/mbfilter_ucs2.o ext/mbstring/libmbfl/filters/mbfilter_ucs4.o ext/mbstring/libmbfl/filters/mbfilter_uhc.o ext/mbstring/libmbfl/filters/mbfilter_utf16.o ext/mbstring/libmbfl/filters/mbfilter_utf32.o ext/mbstring/libmbfl/filters/mbfilter_utf7.o ext/mbstring/libmbfl/filters/mbfilter_utf7imap.o ext/mbstring/libmbfl/filters/mbfilter_utf8.o ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.o ext/mbstring/libmbfl/filters/mbfilter_uuencode.o ext/mbstring/libmbfl/filters/mbfilter_koi8u.o ext/mbstring/libmbfl/mbfl/mbfilter.o ext/mbstring/libmbfl/mbfl/mbfilter_8bit.o ext/mbstring/libmbfl/mbfl/mbfilter_pass.o ext/mbstring/libmbfl/mbfl/mbfilter_wchar.o ext/mbstring/libmbfl/mbfl/mbfl_convert.o ext/mbstring/libmbfl/mbfl/mbfl_encoding.o ext/mbstring/libmbfl/mbfl/mbfl_filter_output.o ext/mbstring/libmbfl/mbfl/mbfl_ident.o ext/mbstring/libmbfl/mbfl/mbfl_language.o ext/mbstring/libmbfl/mbfl/mbfl_memory_device.o ext/mbstring/libmbfl/mbfl/mbfl_string.o ext/mbstring/libmbfl/mbfl/mbfl_allocators.o ext/mbstring/libmbfl/nls/nls_de.o ext/mbstring/libmbfl/nls/nls_en.o ext/mbstring/libmbfl/nls/nls_ja.o ext/mbstring/libmbfl/nls/nls_kr.o ext/mbstring/libmbfl/nls/nls_neutral.o ext/mbstring/libmbfl/nls/nls_ru.o ext/mbstring/libmbfl/nls/nls_uni.o ext/mbstring/libmbfl/nls/nls_zh.o ext/mbstring/libmbfl/nls/nls_hy.o ext/mbstring/libmbfl/nls/nls_tr.o ext/mbstring/libmbfl/nls/nls_ua.o ext/mbstring/mbstring.o ext/mbstring/php_unicode.o ext/mbstring/mb_gpc.o ext/mbstring/php_mbregex.o ext/mcrypt/mcrypt.o ext/mcrypt/mcrypt_filter.o ext/mysql/php_mysql.o ext/mysqli/mysqli.o ext/mysqli/mysqli_api.o ext/mysqli/mysqli_prop.o ext/mysqli/mysqli_nonapi.o ext/mysqli/mysqli_fe.o ext/mysqli/mysqli_report.o ext/mysqli/mysqli_driver.o ext/mysqli/mysqli_warning.o ext/mysqli/mysqli_exception.o ext/mysqli/mysqli_result_iterator.o ext/pdo/pdo.o ext/pdo/pdo_dbh.o ext/pdo/pdo_stmt.o ext/pdo/pdo_sql_parser.o ext/pdo/pdo_sqlstate.o ext/pdo_mysql/pdo_mysql.o ext/pdo_mysql/mysql_driver.o ext/pdo_mysql/mysql_statement.o ext/pdo_pgsql/pdo_pgsql.o ext/pdo_pgsql/pgsql_driver.o ext/pdo_pgsql/pgsql_statement.o ext/pdo_sqlite/pdo_sqlite.o ext/pdo_sqlite/sqlite_driver.o ext/pdo_sqlite/sqlite_statement.o ext/pgsql/pgsql.o ext/phar/util.o ext/phar/tar.o ext/phar/zip.o ext/phar/stream.o ext/phar/func_interceptors.o ext/phar/dirstream.o ext/phar/phar.o ext/phar/phar_object.o ext/phar/phar_path_check.o ext/posix/posix.o ext/reflection/php_reflection.o ext/session/mod_user_class.o ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o ext/session/mod_user.o ext/simplexml/simplexml.o ext/simplexml/sxe.o ext/sockets/sockets.o ext/sockets/multicast.o ext/sockets/conversions.o ext/sockets/sockaddr_conv.o ext/sockets/sendrecvmsg.o ext/spl/php_spl.o ext/spl/spl_functions.o ext/spl/spl_engine.o ext/spl/spl_iterators.o ext/spl/spl_array.o ext/spl/spl_directory.o ext/spl/spl_exceptions.o ext/spl/spl_observer.o ext/spl/spl_dllist.o ext/spl/spl_heap.o ext/spl/spl_fixedarray.o ext/standard/crypt_freesec.o ext/standard/crypt_blowfish.o ext/standard/crypt_sha512.o ext/standard/crypt_sha256.o ext/standard/php_crypt_r.o ext/standard/array.o ext/standard/base64.o ext/standard/basic_functions.o ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o ext/standard/html.o ext/standard/image.o ext/standard/info.o ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o ext/standard/mail.o ext/standard/math.o ext/standard/md5.o ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o ext/standard/pageinfo.o ext/standard/quot_print.o ext/standard/rand.o ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o ext/standard/url.o ext/standard/var.o ext/standard/versioning.o ext/standard/assert.o ext/standard/strnatcmp.o ext/standard/levenshtein.o ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o ext/standard/sha1.o ext/standard/user_filters.o ext/standard/uuencode.o ext/standard/filters.o ext/standard/proc_open.o ext/standard/streamsfuncs.o ext/standard/http.o ext/standard/password.o ext/tokenizer/tokenizer.o ext/tokenizer/tokenizer_data.o ext/xml/xml.o ext/xml/compat.o ext/xmlreader/php_xmlreader.o ext/xmlrpc/xmlrpc-epi-php.o ext/xmlrpc/libxmlrpc/base64.o ext/xmlrpc/libxmlrpc/simplestring.o ext/xmlrpc/libxmlrpc/xml_to_dandarpc.o ext/xmlrpc/libxmlrpc/xmlrpc_introspection.o ext/xmlrpc/libxmlrpc/encodings.o ext/xmlrpc/libxmlrpc/system_methods.o ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.o ext/xmlrpc/libxmlrpc/queue.o ext/xmlrpc/libxmlrpc/xml_element.o ext/xmlrpc/libxmlrpc/xmlrpc.o ext/xmlrpc/libxmlrpc/xml_to_soap.o ext/xmlwriter/php_xmlwriter.o ext/xsl/php_xsl.o ext/xsl/xsltprocessor.o ext/zip/php_zip.o ext/zip/zip_stream.o ext/zip/lib/zip_add.o ext/zip/lib/zip_error.o ext/zip/lib/zip_fclose.o ext/zip/lib/zip_fread.o ext/zip/lib/zip_open.o ext/zip/lib/zip_source_filep.o ext/zip/lib/zip_strerror.o ext/zip/lib/zip_close.o ext/zip/lib/zip_error_get.o ext/zip/lib/zip_file_error_get.o ext/zip/lib/zip_free.o ext/zip/lib/zip_rename.o ext/zip/lib/zip_source_free.o ext/zip/lib/zip_unchange_all.o ext/zip/lib/zip_delete.o ext/zip/lib/zip_error_get_sys_type.o ext/zip/lib/zip_file_get_offset.o ext/zip/lib/zip_get_name.o ext/zip/lib/zip_replace.o ext/zip/lib/zip_source_function.o ext/zip/lib/zip_unchange.o ext/zip/lib/zip_dirent.o ext/zip/lib/zip_error_strerror.o ext/zip/lib/zip_filerange_crc.o ext/zip/lib/zip_file_strerror.o ext/zip/lib/zip_get_num_files.o ext/zip/lib/zip_get_archive_flag.o ext/zip/lib/zip_set_archive_flag.o ext/zip/lib/zip_set_name.o ext/zip/lib/zip_source_zip.o ext/zip/lib/zip_unchange_data.o ext/zip/lib/zip_entry_free.o ext/zip/lib/zip_error_to_str.o ext/zip/lib/zip_fopen.o ext/zip/lib/zip_name_locate.o ext/zip/lib/zip_source_buffer.o ext/zip/lib/zip_stat.o ext/zip/lib/zip_entry_new.o ext/zip/lib/zip_err_str.o ext/zip/lib/zip_fopen_index.o ext/zip/lib/zip_get_archive_comment.o ext/zip/lib/zip_get_file_comment.o ext/zip/lib/zip_new.o ext/zip/lib/zip_source_file.o ext/zip/lib/zip_stat_index.o ext/zip/lib/zip_set_archive_comment.o ext/zip/lib/zip_set_file_comment.o ext/zip/lib/zip_unchange_archive.o ext/zip/lib/zip_memdup.o ext/zip/lib/zip_stat_init.o ext/zip/lib/zip_add_dir.o ext/zip/lib/zip_error_clear.o ext/zip/lib/zip_file_error_clear.o ext/zip/lib/zip_fdopen.o ext/zip/lib/zip_fopen_encrypted.o ext/zip/lib/zip_fopen_index_encrypted.o ext/zip/lib/zip_get_compression_implementation.o ext/zip/lib/zip_get_encryption_implementation.o ext/zip/lib/zip_get_file_extra.o ext/zip/lib/zip_get_num_entries.o ext/zip/lib/zip_set_default_password.o ext/zip/lib/zip_set_file_extra.o ext/zip/lib/zip_source_close.o ext/zip/lib/zip_source_crc.o ext/zip/lib/zip_source_deflate.o ext/zip/lib/zip_source_error.o ext/zip/lib/zip_source_layered.o ext/zip/lib/zip_source_open.o ext/zip/lib/zip_source_pkware.o ext/zip/lib/zip_source_pop.o ext/zip/lib/zip_source_read.o ext/zip/lib/zip_source_stat.o ext/mysqlnd/mysqlnd.o ext/mysqlnd/mysqlnd_alloc.o ext/mysqlnd/mysqlnd_bt.o ext/mysqlnd/mysqlnd_charset.o ext/mysqlnd/mysqlnd_wireprotocol.o ext/mysqlnd/mysqlnd_loaddata.o ext/mysqlnd/mysqlnd_reverse_api.o ext/mysqlnd/mysqlnd_net.o ext/mysqlnd/mysqlnd_statistics.o ext/mysqlnd/mysqlnd_driver.o ext/mysqlnd/mysqlnd_ext_plugin.o ext/mysqlnd/mysqlnd_auth.o ext/mysqlnd/mysqlnd_result.o ext/mysqlnd/mysqlnd_result_meta.o ext/mysqlnd/mysqlnd_debug.o ext/mysqlnd/mysqlnd_block_alloc.o ext/mysqlnd/mysqlnd_plugin.o ext/mysqlnd/php_mysqlnd.o ext/mysqlnd/mysqlnd_ps.o ext/mysqlnd/mysqlnd_ps_codec.o TSRM/TSRM.o TSRM/tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o main/main.o main/snprintf.o main/spprintf.o main/php_sprintf.o main/fopen_wrappers.o main/alloca.o main/php_scandir.o main/php_ini.o main/SAPI.o main/rfc1867.o main/php_content_types.o main/strlcpy.o main/strlcat.o main/mergesort.o main/reentrancy.o main/php_variables.o main/php_ticks.o main/network.o main/php_open_temporary_file.o main/output.o main/getopt.o main/streams/streams.o main/streams/cast.o main/streams/memory.o main/streams/filter.o main/streams/plain_wrapper.o main/streams/userspace.o main/streams/transports.o main/streams/xp_socket.o main/streams/mmap.o main/streams/glob_wrapper.o Zend/zend_language_parser.o Zend/zend_language_scanner.o Zend/zend_ini_parser.o Zend/zend_ini_scanner.o Zend/zend_alloc.o Zend/zend_compile.o Zend/zend_constants.o Zend/zend_dynamic_array.o Zend/zend_dtrace.o Zend/zend_execute_API.o Zend/zend_highlight.o Zend/zend_llist.o Zend/zend_vm_opcodes.o Zend/zend_opcode.o Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o Zend/zend_variables.o Zend/zend.o Zend/zend_API.o Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o Zend/zend_indent.o Zend/zend_builtin_functions.o Zend/zend_sprintf.o Zend/zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o Zend/zend_ts_hash.o Zend/zend_stream.o Zend/zend_iterators.o Zend/zend_interfaces.o Zend/zend_exceptions.o Zend/zend_strtod.o Zend/zend_gc.o Zend/zend_closures.o Zend/zend_float.o Zend/zend_string.o Zend/zend_signal.o Zend/zend_generators.o Zend/zend_objects.o Zend/zend_object_handlers.o Zend/zend_objects_API.o Zend/zend_default_classes.o Zend/zend_execute.o sapi/apache2handler/mod_php5.o sapi/apache2handler/sapi_apache2.o sapi/apache2handler/apache_config.o sapi/apache2handler/php_functions.o main/internal_functions.o  -lcrypto -lssl -lcrypto -lz -lexslt -lresolv -lpq -lpq -lmcrypt -liconv -liconv -lpng -lz -ljpeg -lcurl -lbz2 -lz -lcrypto -lssl -lcrypto -lm -lxml2 -lcurl -lxml2 -lfreetype -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxslt  -o libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so
Undefined symbols for architecture x86_64:
  "_libiconv", referenced from:
      _do_convert in gdkanji.o
      _zif_iconv_substr in iconv.o
      _zif_iconv_mime_encode in iconv.o
      _php_iconv_string in iconv.o
      __php_iconv_strlen in iconv.o
      __php_iconv_strpos in iconv.o
      _php_iconv_stream_filter_append_bucket in iconv.o
      ...
  "_libiconv_close", referenced from:
      _do_convert in gdkanji.o
      _zif_iconv_substr in iconv.o
      _zif_iconv_mime_encode in iconv.o
      _php_iconv_string in iconv.o
      __php_iconv_strlen in iconv.o
      __php_iconv_strpos in iconv.o
      __php_iconv_mime_decode in iconv.o
      ...
  "_libiconv_open", referenced from:
      _do_convert in gdkanji.o
      _zif_iconv_substr in iconv.o
      _zif_iconv_mime_encode in iconv.o
      _php_iconv_string in iconv.o
      __php_iconv_strlen in iconv.o
      __php_iconv_strpos in iconv.o
      __php_iconv_mime_decode in iconv.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: **\* [libs/libphp5.bundle] Error 1
pbougie commented 9 years ago

Are you sure apxs if installed at /usr/local/apache/bin/apxs?

Otherwise, I have no idea why it's not working. This guide works with a clean installation of OS X but If you've compiled other software and made changes to the system then it may break dependencies. Try searching the errors.

ebonsi commented 9 years ago

I have done an extensive research Yesterday. Found some other people that had similar issues but not exactly as this one. This is a test backup client server (configured) and Mavericks has been installed clean with all the updates. The main reason I am trying to update is because SSL Apache/2.2.29 is now obsolete. I did followed your instructions and install Apache version 2.4.12 and now I am trying to install php to make work with it on /usr/local

pbougie commented 9 years ago

Have you tried removing the configuration options that you don't need? PostgreSQL, MySQL, etc. ?

Also why does one of these lines have a version and the other does not?

--with-pdo-pgsql=/usr/local/postgresql-9.4.2 \
--with-pgsql=/usr/local/postgresql \
ebonsi commented 9 years ago

I should remove the second one but I don't know if that matters. The fact I specified the version path is because postgresql does not install with an alias and if I do not specify the exact path I get a different error. I am looking for the issue and found this link; Compiling PHP error: “make: *\ [libs/libphp5.bundle] Error 1” http://stackoverflow.com/questions/10457982/compiling-php-error-make-libs-libphp5-bundle-error-1

I tried that Yesterday by editing Make but did not pass. I am reading again to see if I skip something.

I am going to make another attempt with these conf; ./configure \ --prefix=/usr/local/php-5.5.17 \ --with-config-file-path=/usr/local/php-5.5.17/etc \ --enable-bcmath \ --enable-mbstring \ --enable-sockets \ --enable-zip \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-bz2 \ --with-curl \ --with-gd \ --with-imap-ssl \ --with-jpeg-dir=/usr/local/libjpeg \ --with-mcrypt=/usr/local/libmcrypt \ --with-pear \ --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ --with-png-dir=/usr/local/libpng \ --with-openssl \ --with-xmlrpc \ --with-xsl \ --with-zlib

pbougie commented 9 years ago

I don’t know why you’re getting this error but you could try installing libiconv with prefix /usr/local/libiconv-VERSION and then in PHP config, add —with-libiconv-dir=/usr/local/libiconv-VERSION.

On May 29, 2015, at 10:23, EBonsi notifications@github.com wrote:

I should remove the second one but I don't know if that matters. The fact I specified the version path is because postgresql does not install with an alias and if I do not specify the exact path I get a different error. I am looking for the issue and found this link; Compiling PHP error: “make: *\ [libs/libphp5.bundle] Error 1” http://stackoverflow.com/questions/10457982/compiling-php-error-make-libs-libphp5-bundle-error-1 http://stackoverflow.com/questions/10457982/compiling-php-error-make-libs-libphp5-bundle-error-1 I tried that Yesterday by editing Make but did not pass. I am reading again to see if I skip something.

— Reply to this email directly or view it on GitHub https://github.com/pbougie/mac-dev-env/issues/5#issuecomment-106825961.

ebonsi commented 9 years ago

Yes, I was looking exactly that right now. I have downloaded libiconv-1.14 but I think did not installed Yesterday. Ok! That installed fine now! How do I configure within php? Or, I do not need to include in the config? Oh, never mind, I just read your obs above...

ebonsi commented 9 years ago

[server1:local/install/php-5.5.17] root# ./configure \ --prefix=/usr/local/php-5.5.17 \ --with-config-file-path=/usr/local/php-5.5.17/etc \ --enable-bcmath \ --enable-mbstring \ --enable-sockets \ --enable-zip \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-bz2 \ --with-curl \ --with-gd \ --with-imap-ssl \ --with-jpeg-dir=/usr/local/libjpeg \ --with-mcrypt=/usr/local/libmcrypt \ —-with-libiconv-dir=/usr/local/libiconv-1.14 \ --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ --with-png-dir=/usr/local/libpng \ --with-openssl \ --with-xmlrpc \ --with-xsl \ --with-zlib? --prefix=/usr/local/php-5.5.17 \ ? --with-config-file-path=/usr/local/php-5.5.17/etc \ ? --enable-bcmath \ ? --enable-mbstring \ ? --enable-sockets \ ? --enable-zip \ ? --with-apxs2=/usr/local/apache/bin/apxs \ ? --with-bz2 \ ? --with-curl \ ? --with-gd \ ? --with-imap-ssl \ ? --with-jpeg-dir=/usr/local/libjpeg \ ? --with-mcrypt=/usr/local/libmcrypt \ ? —-with-libiconv-dir=/usr/local/libiconv-1.14 \ ? --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ ? --with-png-dir=/usr/local/libpng \ ? --with-openssl \ ? --with-xmlrpc \ ? --with-xsl \ ? --with-zlib configure: error: invalid variable name: `—-with-libiconv-dir' configure: WARNING: unrecognized options: --with-libiconv-dir I got an error on php conf specifying libiconv-1.14

pbougie commented 9 years ago

Two dashes at the beginning.

On May 29, 2015, at 11:04, EBonsi notifications@github.com wrote:

[server1:local/install/php-5.5.17] root# ./configure \ --prefix=/usr/local/php-5.5.17 \ --with-config-file-path=/usr/local/php-5.5.17/etc \ --enable-bcmath \ --enable-mbstring \ --enable-sockets \ --enable-zip \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-bz2 \ --with-curl \ --with-gd \ --with-imap-ssl \ --with-jpeg-dir=/usr/local/libjpeg \ --with-mcrypt=/usr/local/libmcrypt \ —-with-libiconv-dir=/usr/local/libiconv-1.14 \ --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ --with-png-dir=/usr/local/libpng \ --with-openssl \ --with-xmlrpc \ --with-xsl \ --with-zlib? --prefix=/usr/local/php-5.5.17 \ ? --with-config-file-path=/usr/local/php-5.5.17/etc \ ? --enable-bcmath \ ? --enable-mbstring \ ? --enable-sockets \ ? --enable-zip \ ? --with-apxs2=/usr/local/apache/bin/apxs \ ? --with-bz2 \ ? --with-curl \ ? --with-gd \ ? --with-imap-ssl \ ? --with-jpeg-dir=/usr/local/libjpeg \ ? --with-mcrypt=/usr/local/libmcrypt \ ? —-with-libiconv-dir=/usr/local/libiconv-1.14 \ ? --with-pdo-pgsql=/usr/local/postgresql-9.4.2 \ ? --with-png-dir=/usr/local/libpng \ ? --with-openssl \ ? --with-xmlrpc \ ? --with-xsl \ ? --with-zlib configure: error: invalid variable name: `—-with-libiconv-dir'

— Reply to this email directly or view it on GitHub.

ebonsi commented 9 years ago

I saw that previously and I did corrected that but no joy! Got the same error! configure: WARNING: unrecognized options: --with-libiconv-dir

pbougie commented 9 years ago

Might be --with-iconv-dir=

On May 29, 2015, at 11:22, EBonsi notifications@github.com wrote:

I saw that previously and I did corrected that but no joy! Got the same error! configure: WARNING: unrecognized options: --with-libiconv-dir

— Reply to this email directly or view it on GitHub.

ebonsi commented 9 years ago

This time it configured but fail again on make;

Undefined symbols for architecture x86_64: "_FT_Done_Face", referenced from: _fontRelease in gdft.o "_FT_Done_FreeType", referenced from: _php_gd_gdFontCacheShutdown in gdft.o _php_gd_gdFreeFontCache in gdft.o "_FT_Done_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Char_Index", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Kerning", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Glyph_Get_CBox", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Glyph_To_Bitmap", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Init_FreeType", referenced from: _php_gd_gdFontCacheSetup in gdft.o _php_gd_gdImageStringFTEx in gdft.o "_FT_Load_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_New_Face", referenced from: _fontFetch in gdft.o "_FT_Set_Char_Size", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Set_Transform", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_libiconv", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o _php_iconv_stream_filter_append_bucket in iconv.o ... "_libiconv_close", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... "_libiconv_open", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [libs/libphp5.bundle] Error 1

I am sure this is related to Xcode somehow.

pbougie commented 9 years ago

Unfortunately I don't know what the problem is. Maybe Xcode is too recent for 10.9. Some library mismatches. Install Yosemite.

On May 29, 2015, at 11:48, EBonsi notifications@github.com wrote:

This time it configured but fail again on make;

Undefined symbols for architecture x86_64: "_FT_Done_Face", referenced from: _fontRelease in gdft.o "_FT_Done_FreeType", referenced from: _php_gd_gdFontCacheShutdown in gdft.o _php_gd_gdFreeFontCache in gdft.o "_FT_Done_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Char_Index", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Get_Kerning", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Glyph_Get_CBox", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Glyph_To_Bitmap", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Init_FreeType", referenced from: _php_gd_gdFontCacheSetup in gdft.o _php_gd_gdImageStringFTEx in gdft.o "_FT_Load_Glyph", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_New_Face", referenced from: _fontFetch in gdft.o "_FT_Set_Char_Size", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_FT_Set_Transform", referenced from: _php_gd_gdImageStringFTEx in gdft.o "_libiconv", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o _php_iconv_stream_filter_append_bucket in iconv.o ... "_libiconv_close", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... "_libiconv_open", referenced from: _do_convert in gdkanji.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_string in iconv.o php_iconv_strlen in iconv.o php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [libs/libphp5.bundle] Error 1

I am sure this is related to Xcode somehow.

— Reply to this email directly or view it on GitHub.

ebonsi commented 9 years ago

Thanks so much for your try and help! I'll pass on Yosemite. I might even go to Linux all together and forget about OS X. I still have a mac running on Panther and runs all the applications fine. Startup time beats any other mac system. I do not connect to the internet for obvious reasons.

ebonsi commented 9 years ago

Hi, did some more research and found this one; http://php-osx.liip.ch/ php5-5.6.9 Just install fine on /usr/local Regards, Eduardo