Sponsored Content
Operating Systems Solaris Error in installing the mysql-python-1.2.3.tar.gz Post 302517454 by AlexCheung on Wednesday 27th of April 2011 05:58:22 AM
Old 04-27-2011
Error in installing the mysql-python-1.2.3.tar.gz

Hi,

I followed the step written in README.
It got some error message when I type " #python setup.py build"

Code:
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb
running build_ext
building '_mysql' extension
/usr/lib/python2.4/pycc -DNDEBUG -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/mysql/include -I/usr/include/python2.4 -c _mysql.c -o build/temp.solaris-2.11-i86pc-2.4/_mysql.o -m32 -KPIC -g -mt -fsimple=1 -ftrap=%%none -nofstore -xbuiltin=%%all -xlibmil -xlibmopt -xtarget=generic
gcc: warning: `-x target=generic' after last input file has no effect
gcc: unrecognized option `-KPIC'
gcc: unrecognized option `-nofstore'
cc1: error: invalid option `t'
cc1: error: unrecognized command line option "-fsimple=1"
cc1: error: unrecognized command line option "-ftrap=%%none"
error: command '/usr/lib/python2.4/pycc' failed with exit status 1

I don't what does it mean? Can you please tell me what's wrong with this? and how can I solve it?

---------- Post updated 04-27-11 at 04:58 AM ---------- Previous update was 04-26-11 at 08:42 PM ----------

please help me~~

Last edited by DukeNuke2; 04-27-2011 at 02:35 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Uninstalling Mysql 5.0.15 tar file

Hi Everyone, I want to uninstall mysql-standard-5.0.15-linux-i686.tar. The problem is i don't no how to uninstall tar file. I know how to uninstall it through rpm but we have a binary file. can we use make uninstall or remove comand to do so? Or there is some other way of unistalling tar files.... (1 Reply)
Discussion started by: atul.saxena
1 Replies

2. UNIX and Linux Applications

help: error in installing perl module DBD::mysql

Hi, I am trying to install perl module DBD::mysql and don't know how to resolve the following: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies

3. UNIX for Advanced & Expert Users

Error during installing DBD-mysql-4.005

Hi, Iam not able to install DBD-mysql-4.005 into my Sun machine as the error comes - perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/local/mysql/include/mysql ... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

4. Linux

MySQL python installation

Hi I am using CentOS 4 machine..trying to install MySQL for python to setup a boinc project.. During the building process I am getting this error..I have even set the LD_lIBRARY_PATH to /usr/local/lib where the libmysqlclient.so file is present.. ./python -E ./setup.py build ./python: error... (1 Reply)
Discussion started by: Gayathrirri
1 Replies

5. Programming

Python MySQL error

Hey all, I'm trying to enter some data into a database and I keep getting this error: Traceback (most recent call last): File "./ais_file_parser.py", line 77, in <module> cursor.execute(sql) File "/usr/lib/pymodules/python2.7/MySQLdb/cursors.py", line 166, in execute ... (1 Reply)
Discussion started by: pmd006
1 Replies

6. BSD

Installing MySQL package

Hey all I'm having a little trouble installing a MySQL database. This is what I tried... export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a` pkg_add -v mysql-server mysql-client and this is what I get Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies

7. Shell Programming and Scripting

Error in installing mysql on unix server

Hi , I am trying to install mysql but getting below error $# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) can anyone provide me this file 'mysql.sock' Thanks (6 Replies)
Discussion started by: aish11
6 Replies

8. Red Hat

Problem in installing mysql

Hi i am trying to install mysql rpm package on my linux machine but getting below error : warning: MySQL-embedded-5.5.28-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies: MySQL-devel is needed by MySQL-embedded-5.5.28-1.rhel5.i386 ... (9 Replies)
Discussion started by: mukulverma2408
9 Replies

9. Programming

Python tar script; no errors; no output

This script produces no errors. It also does not produce an output file. Any ideas? #!/usr/bin/python import tarfile output_filename = 'etc.tar' source_dir = '/etc/' #To build a .tar.gz for an entire directory tree: def make_tarfile(output_filename, source_dir): with... (2 Replies)
Discussion started by: bash_in_my_head
2 Replies

10. Shell Programming and Scripting

Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all I even tried with localinstall. Below is the error output: yum install mysql-community-server*.rpm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies
colortest-python(1)						   User Commands					       colortest-python(1)

NAME
colortest-python - Display color test chart and convert between color values SYNOPSIS
colortest-python DESCRIPTION
Displays 256, 88 and 16 color tables depending on what the terminal supports. Also provides for conversion between 256 and 88 color values. The program automatically detects 8, 16, 88, 256 color capabilities (via ncurses) and displays the appropriate color charts. Program can display the colors as blocks or 2d cubes optionally with color values overlaid in int or hex values, it can show the full rgb text string and show the display with a vertical (default) or horizontal orientation. In addition to the color charts it can also convert between 256 and 88 color values. This can be useful when converting various terminals like between urxvt and xterm-256. The goal of this program was to provide the functionality of all the various Perl and sh scripts in one place with some bells and whistles. OPTIONS
-b, --block Display as block format (vs cube) [default]. -c, --cube-slice Display as cube slices (vs block). -e NUMBER, --88to256=NUMBER Convert (expand) 88 color value NUMBER to an 256 color value. -h, --help Display sort help. -n, --numbers Include color escape numbers on chart. -l, --rgb Long format. RGB values as text. -p, --padding Add extra padding (helps discern colors). -r NUMBER, --256to88=NUMBER Convert (reduce) 256 color value NUMBER to an 88 color value. -v, --vertical Display with vertical orientation [default]. --version Show program's version number and exit -x, --hex Include hex color numbers on chart. -z, --horizontal Display with horizontal orientation. ENVIRONMENT
None. FILES
None. SEE ALSO
colortest-8(1) colortest-16(1) colortest-16b(1) colortest-16b(1) AUTHORS
Program was written by Thomas John Eikenberry <jae@zhar.net> This manual page was written by Jari Aalto <jari.aalto@cante.net>. Released under license GNU GPL version 3 or (at your option) any later version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>. colortest-python 2012-06-18 colortest-python(1)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy