04-07-2019
That reminds me some time ago when I compiled python and had issues, are you sure you fullfill all the prerequisites? especially about gcc? as I see your libgcc is of 2005...
10 More Discussions You Might Find Interesting
1. Solaris
I'm trying to build 64 bit mysql-5.0.37 on Solaris 10.
CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql
... (0 Replies)
Discussion started by: csross
0 Replies
2. Linux
Hi,
I am using 32 bit machine, and I want to compile 64 bit application on 32-bit machine.
So please tell me is it possible or not?
Regards
Mandar (7 Replies)
Discussion started by: Mandar123
7 Replies
3. Solaris
Hi,
wcslen(), strlen() returns size_t.
On 64-bit platform i want to use int like
str length is 10.
int len = wcslen(str);
On 64-bit what should I need to do if i wants the length in int. Because getting error as "Conversion of 64 bit type value to "int" causes truncation".
if i... (17 Replies)
Discussion started by: amit_27
17 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I'm trying to install rrdtools on a sparc solaris10 system for use with Nagiosgraph. I inititially just added the rrdtools package from sunfreeware but this package doesn't include the directory that Perl needs.
I've been told that compiling from source is my only option. I;m trying... (0 Replies)
Discussion started by: Donkey25
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm facing problem compiling proc on Solaris 10, with proc version 9.2.
I'm not able to create .o
This is how it looks:
$make
. . . Making linkable xxx.o
proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx
Pro*C/C++: Release 9.2.0.1.0 - Production on Thu... (1 Reply)
Discussion started by: suhaswallur
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm facing problem compiling proc on Solaris 10, with proc version 9.2.
I'm not able to create .o
This is how it looks:
$ make
. . . Making linkable rim_grd_main.o
proc sqlcheck=full user=/ include=../include include=/rims/prod/include iname=rim_grd_main.pcx
Pro*C/C++: Release... (1 Reply)
Discussion started by: suhaswallur
1 Replies
7. Solaris
Hi,
I'm facing problem compiling proc on Solaris 10, with proc version 9.2.
I'm not able to create .o
This is how it looks:
$make
. . . Making linkable xxx.o
proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx
Pro*C/C++: Release 9.2.0.1.0 - Production on... (2 Replies)
Discussion started by: suhaswallur
2 Replies
8. Linux
Can someone try to compile this older version of xtide (attached) on 64-bit Intel/Linux and upload the xttpd binary? I have a friend who needs an older version up and running because the newer version does not support his required harmonic files.
Thanks! (7 Replies)
Discussion started by: Neo
7 Replies
9. Solaris
Hi,
Can anyone plz explain how to cerate zones on Solaris10 (2 Replies)
Discussion started by: mobilethink
2 Replies
10. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 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)