View Issue Details

IDProjectCategoryView StatusLast Update
0000713XdebugInstallationpublic2011-08-31 08:25
Reporterslagr Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformSolarisOSSolaris OS VersionNevada snv_67 X8
Summary0000713: Cannot compile 2.1.2 under Solaris 5.11 i386
Description

While compiling V 2.1.2 under Solaris (5.11 snv_89 i86pc i386 i86pc Solaris), I got the following error:

gcc -I. -I/root/xdebug/xdebug-2.1.2 -DPHP_ATOM_INC -I/root/xdebug/xdebug-2.1.2/include -I/root/xdebug/xdebug-2.1.2/main -I/root/xdebug/xdebug-2.1.2 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /root/xdebug/xdebug-2.1.2/usefulstuff.c -fPIC -DPIC -o .libs/usefulstuff.o
/root/xdebug/xdebug-2.1.2/usefulstuff.c: In function xdebug_fopen': /root/xdebug/xdebug-2.1.2/usefulstuff.c:440: error:NAME_MAX' undeclared (first use in this function)
/root/xdebug/xdebug-2.1.2/usefulstuff.c:440: error: (Each undeclared identifier is reported only once
/root/xdebug/xdebug-2.1.2/usefulstuff.c:440: error: for each function it appears in.)
make: *** [usefulstuff.lo] Error 1

I was able to build 2.1.1 just fine.

Steps To Reproduce
  1. phpise
  2. ./configure
  3. make
TagsNo tags attached.
Operating SystemSolaris
PHP Version5.3.5

Activities

derick

2011-08-31 08:25

administrator   ~0001797

Hi!

I've already fixed this: https://github.com/derickr/xdebug/commit/70a6992405

Please use Xdebug from github until the next release:
http://xdebug.org/download.php#source

cheers,
Derick

Issue History

Date Modified Username Field Change
2011-08-31 08:18 slagr New Issue
2011-08-31 08:25 derick Note Added: 0001797
2011-08-31 08:25 derick Status new => resolved
2011-08-31 08:25 derick Resolution open => no change required
2011-08-31 08:25 derick Assigned To => derick