Software :: Compile Python Source Code With 64 Bit?

Jun 28, 2010

I've taken the source code for Zlib1.2.3, built and installed in a 64 Bit linux machine. Then when i downloaded Python 2.5.4 source and tried to build(make), i got the following error

gcc -pthread -shared build/temp.linux-x86_64-2.5/opt/cinecert/Python-2.5.4/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/lib.linux-x86_64-2.5/zlib.so /usr/bin/ld: /usr/local/lib/libz.a(adler32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status

View 3 Replies


ADVERTISEMENT

Ubuntu :: How To Compile Source Code

Jul 24, 2009

I downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.

Does anyone know how I compile it and make it executable?

View 6 Replies View Related

General :: How To Compile A Linphone 3.3.2 Source Code

Mar 13, 2011

I've created a GUI for my voip software wherein i'm using the source code of linphone 3.3.2 for video and all protcol stuffs . It is like i've got my own gtk GUI instead of the linphone's glade . Hope you get the picture of what i'm doing . I would like to know how to compile the source code since because i do not know about make files and stuffs . Kindly help me solve this .

View 2 Replies View Related

Ubuntu :: Compile From The Source Code To Optimize Hardware

Feb 7, 2010

Recently I was trying to use Gentoo, and I was really impressed of how it is faster than Ubuntu in running applications, specially when I build wine and was able to run Oblivion at a reasonable speed. I would like to know if there is a way to compile Ubuntu from source code, to optimize it to my hardware.

View 2 Replies View Related

Ubuntu :: DR Rootkit - Unable To Compile The Source Code

Mar 30, 2011

I am trying to install a DR rootkit into ubuntu for an assignment, im using vm ware but can only get as far as extracting the rootkit and not being able to compile the source code.. when i use the ./configure command it says there is no such file or directory and when i use the make command it keeps getting errors.

View 2 Replies View Related

Ubuntu Installation :: Install Source Code For Programs To Compile?

Feb 2, 2010

Where do I find the linux-source package and the linux-headers package? Are they on the CD that I can copy to /usr/src (is that the right place...)? Or do I need to download them from the old-releases.ubuntu.com site?

The issue now is that the nVidia installer from their website wants the source code to build the right packages for this machine, however, I do not have the src directory with the source code that it is looking for. Is there some way to give this too it now?

I am running Mythbuntu 7.10

View 2 Replies View Related

General :: Use Eclipse To Compile And Debug Source Code On Ns-2 Simulator?

Dec 13, 2010

I want to use eclipse to compile and debug source code on ns-2 simulator.

1.how can i configure the parameter on eclipse.

2.how can i compile the source code *.cc

View 3 Replies View Related

Ubuntu :: Source Code Of The Krnel From The Kernel.org - Source Trees Organization

Apr 11, 2011

i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting

View 1 Replies View Related

Ubuntu :: How To See Source Code Of Open Source Software

Sep 12, 2010

I want to see the source code of smplayer software.from where i can see source code of open source softwares?

View 9 Replies View Related

Slackware :: Does Gstp-python Compile On 64 13.1 ?

Jun 20, 2010

Is this package supposed to compile on slakware64 13.1 ( I have also multilib) ?

I m trying to but I m encountering this problem:

Code:

View 6 Replies View Related

Software :: Can't Compile Libopensync-plugin-python

Jan 30, 2011

When I try to 'make' the libopensync-plugin-python-0.22 source I downloaded I get this error which I don't understand (pythonmakerror.txt)

Code:
make all-am
make[1]: Entering directory `/home/chrisportela/Downloads/libopensync-plugin-python-0.22'

[Code]....

View 4 Replies View Related

Programming :: DataBase In Python - Compile .py Files Into A .exe File

Jun 20, 2011

i am new to python programing and i have a couple of ?'s

1- what would i do if i needed to find the closest, bigger number, from a list of numbers when the user types a number in.

2- (windows) i need a program that can compile .py files into a .exe file so that it works on a machine without python it also needs to work with python 3.2.

View 8 Replies View Related

Ubuntu :: Execute Python Code Before Shutdown

Dec 2, 2010

I have written a backup script backing up the data I have worked during the day with rsync and sends me a log in my email. now it works perfect but i want to execute it each time i shutdown my computer in the evening not during reboot or logout.It seems that i can not run it by putting it in init.d and softlinking in rc0.d as K00backup. I think it is because script uses many services like python or smtplib, gnome-keyrings that in that time might have been already shutdown.

View 2 Replies View Related

Ubuntu :: Changing Fortran Code To Python?

Aug 19, 2011

I have a big fortran code for FE analysis. I want to change the code to python. I am curious to know, whether I will get any advantage over speed, If not at least the speed should not be less than what fortran gives. Should I go for it.

View 2 Replies View Related

Programming :: Black Jack Code In Python?

Dec 16, 2008

i have attached a word doucment with black jack code, i want to know what things are wrong with it, and why it does not run, in python, as it keeps displying error messages such as "invalid syntax"

View 14 Replies View Related

Debian :: Python-pkg-resources Returns Error Code

Apr 9, 2010

The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.

I ran apt-get upgrade and it returned an error-code.

It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured

I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.

View 1 Replies View Related

Programming :: Python - Call Function From The Command Line After Compile The Program?

Dec 28, 2010

If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?

View 5 Replies View Related

General :: Compile A Code From A Different Directory?

Jul 14, 2010

I do a lot of programming and I have to compile the code quite often. It's not convenient to move to the directory that contains the source code every time I want to compile it. So is there a way to compile a code from the my current directory (say /home example) without moving to the directory that contains the source. I remember being able to do this but forgotten how.

EDIT: I'm using makefiles to compile. Lets say I'm in the home directory and when I type

make -f /code/make_file

this doesn't seem to work

View 4 Replies View Related

General :: Compile A C Code Which Uses SSH Library?

Jan 26, 2011

i try to compile a c code which uses SSH library,but i get this error

Code:
libssh.h: No such file or directory

i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.

By default, gcc searches the following directories for header files:

/usr/local/include/
/usr/include/

and the following directories for libraries:

/usr/local/lib/
/usr/lib/

i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:

gcc test.c

View 3 Replies View Related

Programming :: Cannot Compile C++ Code In Terminal

Feb 13, 2011

I am unable to compile C++ program in terminal. Whenever I try to add "#include<iostream.h>" it shows an error and thats why I can not use "cout" and "cin" functions. I installed g++ for this but the problem persists.

View 4 Replies View Related

Programming :: Can't Compile F77 Code Using Gfortran Or G77

Nov 17, 2009

I have legacy fortran 77 code that used to compile seamlessly using g77 on an old machine. I've tried to recompile it on a new machine (old one is dead) using the original makefile, but the linker fails under g77, while there are persisting syntax errors using gfortran. I have two source files readmixed.f and subroutines.f. Under g77 the object files are produced using

Quote:

$ f77 -c readmixed.f -o readmixed.o
$ f77 -c subroutines.f -o subroutines.o

but the linking fails with

Quote:

$ f77 readmixed.o subroutines.o -o readmixed
subroutines.o(.text+0x0): In function `norm1_':
: multiple definition of `norm1_'
readmixed.o(.text+0x3987): first defined here

[code].....

View 2 Replies View Related

Programming :: Compile (gcc) Using Code From Other Projects?

Jan 16, 2010

I'm trying to write a helper for the mount utility (mount.truecrypt) and there are some things in the util-linux-ng package that would be helpful. For example, in fstab.c, there is a lock_mtab() function. I want to be able to do something like:

Code:

#include "fstab.h"
int main(int argc, char *argv[])
{
lock_mtab();

[code]....

But I don't know how to compile it. I was trying (naively) something like:

Code:

$ gcc mount.truecrypt.c fstab.c -o mount.truecrypt

But I guess the problem is fstab needs a whole bunch of other stuff. Should I just build the entire util-linux-ng package and then use the output somehow? If anyone is interested in mount.truecrypt (to be compatible with mount and /etc/fstab) you might be interested in giving me a little bit of guidance. I've got enough code to build the actual truecrypt command thus far. In fact, it's useable, but not robust (ie, doesn't lock the mtab, etc). You can browse the source for util-linux-ng here: [URL] and download a tagged release here:[URL]

View 5 Replies View Related

Fedora :: Commenting Out Block Of Code In EMacs In Python Mode

Jan 13, 2010

I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.

However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?

View 3 Replies View Related

Programming :: Stop Reading Process Without Be Hanged At The Code In Python?

Dec 11, 2010

I have a Python program looks like this one :

Code: import os
import time
process = os.popen("top").readlines()

[code]...

View 2 Replies View Related

Ubuntu :: Install Python Program From Source?

Dec 16, 2010

I downloaded this programs source and I'm having a hard time figuring out how to install it. I assume it is python source? I tried downloading the debian file but could not figure out how to install it aswell. I downloaded the software from [URL]

View 9 Replies View Related

Ubuntu :: Unable To Compile Code Using Glib?

May 7, 2010

I'm trying to compile some code [URL], which uses Glib. I have the libglib2.0-dev package installed, but running ./configure reports that Glib is not installed. Is the autoconfig script wrong or out of date, or do I need something else installed?

View 1 Replies View Related

Ubuntu :: Cannot Compile GTK Code After Update To Natty

May 14, 2011

After updating to natty I cannot compile any Gtk+ code, no matter what I do I get linker errors. This is not a problem with the way I'm building it, I'm familiar with the correct usage of pkg-config.

Even this code will fail to link:
Code:
#include <gtk/gtk.h>
int main(int argc, char** argv) {
gkt_init(&argc, &argv);
gtk_main(); }
(Compiled with the standard commands to compile Gtk+ stuff)

I always get the following output:
Code:
/usr/lib/libgtk-x11-2.0.so: undefined reference to `g_source_get_time'
/usr/lib/libgtk-x11-2.0.so: undefined reference to `g_get_monotonic_time'
/usr/lib/libgdk_pixbuf-2.0.so: undefined reference to `g_simple_async_result_take_error'
/usr/lib/libgdk-x11-2.0.so: undefined reference to `g_slist_free_full'

View 2 Replies View Related

General :: Compile Java Code On Ubuntu?

Apr 26, 2011

how to compile java code on ubuntu linux? also is it possible to incorporate C code in Java GUI?

View 1 Replies View Related

Software :: Compile Assembly Code In Fedora11?

Jun 21, 2010

how to compile assembly code in linux? I am using AMD processor code instructions...is that amd registers inbuilt? with what file extension i should give while writing assembly code program?

View 14 Replies View Related

Programming :: Install To Compile Objective C Code?

Dec 25, 2010

Can anyone tell me what GNUSTep packages do i need to install to compile objective c code ?

Code:
gnustep-back.i686 0.18.0-4.fc14 fedora
gnustep-base.i686 1.20.1-2.fc14 fedora
gnustep-base-devel.i686 1.20.1-2.fc14 fedora
gnustep-base-doc.noarch 1.20.1-2.fc14 fedora
gnustep-examples.i686 1.3.0-3.fc14.1 updates

[Code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved