I‘m trying to install 3rd party python apps using pip command and getting the following error:
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
error: command 'gcc' failed with exit status 1
Where can I find Python.h file and how do I fix this problem under Debian or Ubuntu Linux sever based system?
ow do I check swap (paging) usage under Linux operating systems using command bash/ksh line options?
One of my php script called setoptions.php is hosted on my new vps server. However, it is not working so I setup php error log as described here and, and I see the following warning repeated in my log file:
PHP Warning: fread(): Length parameter must be greater than 0 in /var/www/html/scripts/setoptions.php on line 311
The line no # 311 is as follows in my php script:
$fname = 'myappconfig.php';
$content = fread($fhandle,filesize($fname));
How do I fix this problem under Unix/Apache/php5 server?
How do I list or display all processes, executables, and shared libraries that are using up all virtual memory under CentOS or Debian Linux server for troubleshooting purpose?
‘m running PHP version 5.3.3 on CentOS / RHEL 6.x with APC php-pecl-apc-3.1.9. However, I’m getting the following warnings in my php server log file
[01-Jul-2012 10:50:49] PHP Warning: require_once(): Unable to allocate memory for pool. in /var/www/html/includes/admin.php on line 57
[18-Jul-2012 17:00:08] PHP Warning: include_once(): Unable to allocate memory for pool. in //var/www/html/includes/xmlrpc.php on line 55
[18-Jul-2012 17:00:40] PHP Warning: require(): Unable to allocate memory for pool. in /var/www/html/includes/geshi.php on line 2307
How do I fix these php warnings?
I‘m trying to run an application and getting the following error on screen:
error while loading shared libraries: libgobject-2.0.so.0
How do I fix this problem under Debian or Ubuntu 64 bit (amd64) Linux?