编译安装pygdchart报错

报错:

libgdc.a: could not read symbols: Bad value

解决方法:

编辑gdchart的Makefile文件设置CFLAGS加上-fPIC参数

时间: 2024-08-01 10:46:54

编译安装pygdchart报错的相关文章

编译安装libiconv报错:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)

错误如下:     In file included from progname.c:26:0:     ./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)     _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");     ^     make[2]: *** [progname.o] Error 1     m

nginx编译安装nginx-sticky-module报错

报错如下: /usr/local/nginx-sticky-module-1.1/nginx-sticky-module-1.1/ngx_http_sticky_misc.c: In function 'ngx_http_sticky_misc_text_raw': /usr/local/nginx-sticky-module-1.1/nginx-sticky-module-1.1/ngx_http_sticky_misc.c:281:2: error: passing argument 2 o

编译安装RRDtool报错

1.报错: error: I need a copy of *nroff to format the documentation 解决方法: yum -y install groff 2.报错: Can't locate ExtUtils/MakeMaker.pm in @INC 解决方法: yum -y install perl-ExtUtils-MakeMaker

CentOS 5 64bit 编译安装MySQL报错

报错情况:   在执行./configure时出现configure: error: No curses/termcap library found 解决方法: ./configure时加上参数--with-named-curseslibs=/usr/lib/libncursesw.so.5   ./configure再报错: mysql /usr/lib/libncursesw.so.5: could not read symbols: File in wrong format   原来的编译

编译安装libiconv报错

环境:centos 7.1 In file included from progname.c:26:0: ./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");  ^ make[2]: *** [progname.o] Error 1 make[2]: Leavin

安装STS报错(三)

this指针只能在一个类的成员函数中调用,它表示当前对象的地址.下面是一个例子: void Date::setMonth( int mn ) { month = mn; // 这三句是等价的 this->month = mn; (*this).month = mn; } 1. this只能在成员函数中使用. 全局函数,静态函数都不能使用this. 实际上,成员函数默认第一个参数为T* const register this. 如: class A{public: int func(int p){

centos6.4安装openssl报错out range of signed 32bit displacement

一.系统环境 操作系统:centos6.4 x86_64 openssl版本:openssl-0.9.8e 二.安装过程 # tar zxvf openssl-0.9.8e.tar.gz # cd openssl-0.9.8e # ./config shared zlib # make 报错: md5-x86_64.s:41: Error: 0xd76aa478 out range of signed 32bit displacement md5-x86_64.s:50: Error: 0xe8

安装libspatiaLite报错,error: 'libsqlite3' is required

最近安装libspatialite,但是编译到一半报 error: 'libsqlite3' is required but it doesn't seem to be installed on this system. 于是就安装sqlite3-master wget https://github.com/LuaDist/libsqlite3/archive/master.zip ./configure;make;make install 一套下来,装上了,也有这个库文件libsqlite3.

PHP安装,报错信息和解决过程

PHP安装: wget http://cn2.php.net/distributions/php-5.3.28.tar.gz tar zxf php-5.3.28.tar.gz cd php-5.3.28 ./configure   --prefix=/usr/local/php   --with-apxs2=/usr/local/apache2/bin/apxs   --with- config-file-path=/usr/local/php/etc   --with-mysql=/usr/