Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault

Discussion in 'Installation/Configuration' started by zerman, Sep 23, 2008.

  1. zerman

    zerman New Member

    Hi,

    I'm trying to install ISPConfig-2.2.25.tar.gz

    md5 e57ce7eed1548093043536ecf3dbce02
    sha1 e0404d5185ba684c963744e01cfe93927e85aa05

    Linux 2.6.25-default #2 SMP Tue Apr 22 14:57:48 CEST 2008 i686 GNU/Linux

    Debian 4.0

    gcc --version
    gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

    I followed the the guide for perfect setup and then
    while compiling php I got this error:

    /root/src/ispconfig/install_ispconfig/compile_aps/php-5.2.6/ext/pcre/pcrelib/pcre_exec.c: In function 'match':
    /root/src/ispconfig/install_ispconfig/compile_aps/php-5.2.6/ext/pcre/pcrelib/pcre_exec.c:403: internal compiler error: Segmentation fault


    I'm attaching a part of php cofigure out.

    thankyou for help

    Marco

    Code:
    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 for QDBM support... no
    checking for GDBM support... no
    checking for NDBM 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 dbase support... no
    checking whether to enable DOM support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for FrontBase SQL92 (fbsql) support... no
    checking for FDF support... no
    checking whether to enable input filter support... yes
    checking pcre install prefix... no
    checking whether to enable FTP support... yes
    checking OpenSSL dir for FTP... no
    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 for GD support... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 1.x support... no
    checking for FreeType 2... no
    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
    checking for GNU gettext support... no
    checking for GNU MP 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) 4
    checking size of long long... (cached) 8
    checking for iconv support... yes
    checking for iconv... yes
    checking if iconv is glibc's... yes
    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... no
    checking for InterBase 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 variable length prototypes and stdarg.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) 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) 4
    checking for working const... (cached) 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 8-bit clean memcmp... yes
    checking for mcrypt support... no
    checking for mhash support... no
    checking whether to include mime_magic support... no
    checking for MING 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... no
    checking for MySQL UNIX socket location... no
    checking for mysql_close in -lmysqlclient... yes
    checking for MySQLi support... no
    checking whether to enable embedded MySQLi support... no
    checking for ncurses support... no
    checking for Oracle (OCI8) support... no
    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... no
    checking Oracle OCI support for PDO... no
    checking for ODBC v3 support for PDO... no
    checking for PostgreSQL support for PDO... no
    checking for sqlite 3 support for PDO... yes
    checking for PDO includes... checking for PDO includes... /root/src/ispconfig/install_ispconfig/compile_aps/php-5.2.6/ext
    checking size of char *... 4
    checking for usleep... (cached) yes
    checking for nanosleep... (cached) yes
    checking for time.h... yes
    checking for fdatasync in -lrt... yes
    checking for PostgreSQL support... no
    checking whether to enable POSIX-like functions... yes
    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... no
    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... yes
    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 reflection support... yes
    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... no
    checking for SNMP support... no
    checking OpenSSL dir for SNMP... no
    checking whether to enable UCD SNMP hack... 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 netdb.h... (cached) yes
    checking for netinet/tcp.h... yes
    checking for sys/un.h... yes
    checking for errno.h... yes
    checking enable SPL suppport... yes
    checking whether zend_object_value is packed... yes
    checking for sqlite support... yes
    checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no
    checking for PDO includes... (cached) /root/src/ispconfig/install_ispconfig/compile_aps/php-5.2.6/ext
    checking for lemon... no
    configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
    checking size of char *... (cached) 4
    checking for usleep... (cached) yes
    checking for nanosleep... (cached) yes
    checking for time.h... (cached) yes
    checking whether flush should be called explicitly after a buffered io... no
    checking for crypt in -lcrypt... yes
    checking for standard DES crypt... yes
    checking for extended DES crypt... no
    checking for MD5 crypt... yes
    checking for Blowfish crypt... no
    checking for getcwd... yes
    checking for getwd... yes
    checking for asinh... no
    checking for acosh... yes
    checking for atanh... no
    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 working fnmatch... yes
    checking which regex library to use... php
    checking whether rounding works as expected... no
    checking for fork... no
    checking for CreateProcess... no
    checking if your OS can spawn processes with inherited handles... no
    checking for res_nmkquery... no
    checking for __res_nmkquery... yes
    checking for res_nsend... no
    checking for __res_nsend... yes
    checking for dn_expand... yes
    checking whether atof() accepts NAN... yes
    checking whether atof() accepts INF... no
    checking whether HUGE_VAL == INF... yes
    checking whether HUGE_VAL + -HUGEVAL == NAN... yes
    checking whether strptime() declaration fails... no
    checking for wchar.h... yes
    checking for mblen... yes
    checking for mbrlen... yes
    checking for mbsinit... yes
    checking for mbstate_t... yes
    checking for Sybase support... 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... no
    checking libexpat install dir... no
    checking whether to enable XMLReader support... no
    checking for XMLRPC-EPI support... no
    checking libexpat dir for XMLRPC-EPI... no
    checking iconv dir for XMLRPC-EPI... no
    checking whether to enable XMLWriter support... no
    checking for XSL support... no
    checking for zip archive read/writesupport... no
    
    Configuring PEAR
    checking whether to install PEAR... no
    
    Configuring Zend
    checking for bison version... (cached) 2.3 (ok)
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for malloc.h... yes
    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 mach-o/dyld.h... (cached) no
    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... yes
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for vprintf... (cached) yes
    checking for 8-bit clean 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 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 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... no
    checking whether to enable inline optimization for GCC... yes
    checking whether to enable Zend debugging... no
    checking whether to enable Zend multibyte... no
    checking for inline... inline
    checking target system is Darwin... no
    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)... yes
    checking for mremap... yes
    
    Configuring TSRM
    checking for stdarg.h... (cached) yes
    
    Configuring libtool
    checking build system type... i686-pc-linux-gnu
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependent libraries... pass_all
    checking for object suffix... o
    checking for executable suffix... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag  works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    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... no
    
    creating libtool
    appending configuration tag "CXX" to libtool
    
    Generating files
    updating cache ./config.cache
    creating ./config.status
    creating php5.spec
    creating main/build-defs.h
    creating scripts/phpize
    creating scripts/man1/phpize.1
    creating scripts/php-config
    creating scripts/man1/php-config.1
    creating sapi/cli/php.1
    creating main/php_config.h
    creating main/internal_functions.c
    creating main/internal_functions_cli.c
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    df -h

    Segmentation faults are often caused by hardware problems, you shoud check your hardware with e.g. memcheck.
     
  3. zerman

    zerman New Member

    thankyou till,

    serverfarm has changed the harddrive
    and now compilation is gone well.

    best regards
    Marco
     

Share This Page