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.
- 07-15-2012 #1Just Joined!
- Join Date
- Jul 2012
- Posts
- 6
Installing PHP (fileinfo problem)
Hi,
I am installing PHP. And I receive this error during compilation:
When I use this --disable-fileinfo everything goes OK, but I really need fileinfo functionsCode: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
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.
- 07-16-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,680
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:
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.Code:sudo apt-get install php5 libapache2-mod-php5


Reply With Quote
