Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am installing PHP. And I receive this error during compilation: Code: cc: Internal error: Killed (program cc1) Please submit a full bug report. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    6

    Talking Installing PHP (fileinfo problem)


    Hi,
    I am installing PHP. And I receive this error during compilation:

    Code:
    cc: Internal error: Killed (program cc1)
    Please submit a full bug report.
    See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
    make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
    When I use this --disable-fileinfo everything goes OK, but I really need fileinfo functions

    This is my configuration:

    Code:
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-zip --with-zlib --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --enable-gd-native-ttf --enable-exif --enable-ftp --with-mcrypt --with-mysqli

    Thank you for help.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    is there a particular reason why you trying to compile it from source, instead of using the pre-built binaries in the Ubuntu repos?

    If there isn't, you can try something like:
    Code:
    sudo apt-get install php5 libapache2-mod-php5
    If there is, then perhaps your system requires fileinfo headers or library files, that the source can access during the compile. look for fileinfo related packages in the repos.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •