04-27-2011
Thanks. I get it, but how can I fix it?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
python2.7-config
PYTHON-CONFIG(1) General Commands Manual PYTHON-CONFIG(1)
NAME
python-config - output build options for python C/C++ extensions or embedding
SYNOPSIS
python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [ --ldflags ] [ --help ]
DESCRIPTION
python-config helps compiling and linking programs, which embed the Python interpreter, or extension modules that can be loaded dynamically
(at run time) into the interpreter.
OPTIONS
--cflags
print the C compiler flags.
--ldflags
print the flags that should be passed to the linker.
--includes
similar to --cflags but only with -I options (path to python header files).
--libs similar to --ldflags but only with -l options (used libraries).
--prefix
prints the prefix (base directory) under which python can be found.
--exec-prefix
print the prefix used for executable program directories (such as bin, sbin, etc).
--help print the usage message.
EXAMPLES
To build the singe-file c program prog against the python library, use
gcc $(python-config --cflags --ldflags) progr.cpp -o progr.cpp
The same in a makefile:
CFLAGS+=$(shell python-config --cflags)
LDFLAGS+=$(shell python-config --ldflags)
all: progr
To build a dynamically loadable python module, use
gcc $(python-config --cflags --ldflags) -shared -fPIC progr.cpp -o progr.so
SEE ALSO
python (1)
http://docs.python.org/extending/extending.html
/usr/share/doc/python/faq/extending.html
AUTHORS
This manual page was written by Johann Felix Soden <johfel@gmx.de> for the Debian project (and may be used by others).
November 27, 2011 PYTHON-CONFIG(1)