Ubuntu Installation :: When Trying To Run 'python Setup.py Build' Get An Error (Shown At The End)?

May 5, 2010

I would like to install pymedia on my ubuntu 9.10 karmic distribution, but I am having a bit of a hard time doing that.I managed to install all the libraries (lame, libogg, libvorbis etc.) but when trying to run 'python setup.py build' I get an error (Shown at the end).I found on the interwebs that it may have to do with the version of gcc c++ compiler running (currently gcc-4.4) and that it only works with gcc-3.x. Therefore I downloaded gcc-3.4 (from the old jaunty archive), and with this one still no joy.NebelhomP.S. I am not a complete newcomer to linux and python but I am not an expert so it may happen that I ask questions with a very obvious answer.

Code:
nebelhom@nebelhom-desktop:~/pymedia-1.3.7.3$ python setup.py build
Using UNIX configuration...

[code].....

View 1 Replies


ADVERTISEMENT

General :: Build ONLY Python Interpreter?

Oct 26, 2010

I am using ubuntu hardy and python 2.6.5 (built from sources). For a custom python packager I need to rebuild python interpreter (python executable). I am new to linux and don't have much knowledge of gcc and other stuff. Here is the process:1. Copy python.c as myapp.c. myapp.c is in the same directory (python2.6.5) in which I have all the required files. 2. Using the syntax from makefile of python sources, here is my first command to produce myapp.o

Code:
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I/home/zeno/installed/Python-2.6.5/Include -fPIC -DPy_BUILD_CORE -c myapp.c -o myapp.o
This produce myapp.o but throws a warning:

Code:
myapp.c:24:2: warning: no newline at end of file
Next is to produce the executable or python interpreter:
Code:
gcc -pthread -Xlinker -export-dynamic -o $@ myapp.o -L. -lpython2.6 -lpthread -ldl -lutil -lm -o myapp
This is causing an error:
Code:
/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'

[Code]...

View 1 Replies View Related

Software :: Build Pygtk With Non System Default Python?

Apr 13, 2011

I'm on Debian Lenny. I've built and installed python-3.2 in /opt/python-3.2. Then i want to build and install pygtk, pycairo with /opt/python-3.2 and install them in that folder and not to use system default python (which is python-2.6) for their build process.

How do I tell pygtk and pycairo 's configure and makefile script to use /opt/python-3.2 's interpreter, include file and library for their build process(and not the system default python)?

I tried doing ./configure --help in pygtk folder but there was no option for specific non-system default python's folder location. Anyone has any ideas?

View 3 Replies View Related

General :: Unable To Build Python Modules In Mandriva 2010?

Jan 14, 2010

I am trying to build a Python module (pyfits) but I get the following error:

# python setup.py install
/home/steve/src/pyfits-2.2.2/stsci_distutils_hack.py:239: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.

[code]....

View 2 Replies View Related

Debian Installation :: Get An Error That Python.h Is Not Found?

May 20, 2010

I am trying to building freeradius from source, but I get an error that python.h is not found ? !

checking for python2.3... python2.3
checking for Python.h... no
checking for Py_Initialize in -lpython2.3... no

But both python and python-dev are installed ?

[Code].....

View 3 Replies View Related

Fedora Installation :: Python Error When Trying To Upgrade F13 To 14?

Nov 27, 2010

I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.

View 3 Replies View Related

Ubuntu :: Installing Emacs 23.1 - Error "makeinfo Is Missing - Cannot Build Manuals Make: *** [info] Error 1 **** Installation Failed"

Feb 6, 2010

I've been trying to install the latest version of Emacs from source but I'm running into a trouble. The commands "./configure" and "make" work just fine. However, when I run "sudo checkinstall" I get a message saying that makeinfo is missing:

Code: makeinfo is missing - cannot build manuals make: *** [info] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. What is Error 1

View 4 Replies View Related

Software :: OpenShot - Invalid Python Installation Error

Jul 25, 2010

I'm trying to install Openshot 1.1.3. from source on Mandriva 2010. I don't understand what else I should do apart from the command "sudo python setup.py install", but clearly this isn't enough, because I get the following error message:

Error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

I've put the tarball at /usr/share/openshot-1.1.3. According to Software Management, I have python2.6 installed (and the other dependencies mentioned in the README), but what do I know. (I tried using an RPM file from rpm.pbone.net [URL], but that didn't work out either, I don't know whether this is the easier route or not.)

View 10 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

Ubuntu :: How To Setup Vim For Python

Nov 17, 2010

i have been trying to set up vim for python development but i cant seem to find vim-python package has it been removed or has it been combined with some other package

View 1 Replies View Related

Ubuntu Installation :: Configure: Error: You Must Have GLib 2.4.0 Or Newer Development Headers Installed To Build

Oct 9, 2010

I am trying to build Pidgin on my Lucid install and on running configure, I get the following:

Quote:

configure: error: You must have GLib 2.4.0 or newer development headers installed to build.

If you have these installed already you may need to install pkg-config so I can find them. I tried installing pkg-config, but it's already in its newest version. I then tried going to the following website

[URL]

and downloaded and extracted glib on my computer. That changed nothing. I was hoping someone could tell me what's going on here. I just tried the this:

Quote:

sudo apt-get install libgtk2.0-0

and got

Quote:

libgtk2.0-0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

View 8 Replies View Related

Ubuntu :: Network Icon Is Not Shown Properly While Me Menu Is Being Shown Twice

Sep 26, 2010

I just reinstalled Ubuntu Lucid Lynx and an old problem has come back. For some reason I couldn't fix it even in my previous installation. The problem is the top gnome panel. See the photo below: As you can see, the network icon is not shown properly while the Me menu is being shown twice. I can't even restart or log out or shut down at this situation without pressing the keystroke to turn the power off.

View 9 Replies View Related

Slackware :: Error With Gnome Slack Build (GSB) - ((Error Org.freedesktop.DBus.Error.AccessDenied.))

Jan 19, 2011

after install slackware with gnome using gnome slack build it is work fine Except some thing :-

the volume it is not work and get this error ((The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured. You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu.

No volume control GStreamer plugins and/or devices found.)) and the System Monitor give me this error when i want check the state of memory and processor ((There was an error executing 'gnome-system-monitor': Failed to execute child process "gnome-system-monitor" (No such file or directory)) and the memory flash not work and give me this error ((Error org.freedesktop.DBus.Error.AccessDenied.))

View 6 Replies View Related

Programming :: Setup The References To Other Projects In Python

Mar 11, 2010

I am developing a system in Python that includes an engine and multiple front ends. I am doing the engine and a curses front end together and will add additional FE's later. My problem is that I don't know how to get my front end to import the modules from the engine. I have them set up in Eclipse (using Pydev) as separate projects, but in the same workspace.

I've been a developer for years, but this is my first Python project, and I'm also fairly new to Eclipse. I guess my question is, How do I set up the references to other projects of my own making?

View 1 Replies View Related

Slackware :: OpenShot - Sudo Python Setup Install

Mar 19, 2010

Does anybody use openshot in Slackware 13? What I made: I modified the slackbuild script for openshot of Slackbuilds.org for version 1.1.1 and then I made the package and installed it. Of course the dependencies too. But when I start Openshot, I get the following error:

OpenShot (version 1.1.1)
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)
Use the following command to install OpenShot:
$ sudo python setup.py install

View 1 Replies View Related

Ubuntu :: Pidgim Crashes No Error Message Shown

Feb 17, 2010

I use jaunty, and everytime i start pidgim it crashes not error message shown, i removed it and installed it again, no sucess. I guess it must be dropping error messages somewhere. Can someone help or provide me where should i be looking for the error messages, i went to system log but could not find it. I tried dmsg | tail , post the crash, did not see anything.

View 3 Replies View Related

Server :: Raid5 Online HDD Build Setup

Mar 10, 2010

For the troubleshooting of one server (having 73Gb 3HDD, Raid5 of 140Gb). When I check in the Array The Logical Vol Appears as One HDD not Online
0 HDD1
1 HDD2
2 HDD3
0 HDD not showing Online, When we set it for Oneline & save, After restarting it will go off.

View 1 Replies View Related

Programming :: Makefile Error Shown Only By Eclipse?

Apr 26, 2010

I created a quick makefile with the following lines:

Code:

$(BINARY):
echo "----- Linking $(BINARY)----"
gcc -m32 -g src/* -Iinclude -I$(HOME)/include -I$(HOME)/include2 -D_LINUX -DSYSV -DPOSIX -L$(HOME)/shared/lib32 -lidlib -lid2lib -o bin/sampleapp
echo "---- done ----"

It builds fine when I build from the command line ( make -f sample.mk).

However, it does not build when building from eclipse (which essentially calling the same makefile). The make output shows exactly the same as what I got from the command line build, except the last line showing

Code:

collect2: cannot find 'ld'
make: *** [sampleapp] Error 1

I am not sure why it tries to call "ld" when building from eclipse.

View 6 Replies View Related

Programming :: Signal Error Shown - Bad Trap?

Jun 16, 2010

#!/bin/sh
trap "echo Haha" SIGUSER1
echo "asit"
count=1
while [ $count -le 10 ]
do
echo "Loop #$count"
sleep 10
count=$[ $count + 1 ]
done
echo "This is the end"

Why this is showing following error?
trap: 3: SIGUSER1: bad trap

View 4 Replies View Related

Fedora Installation :: Error - "Your System Does Not Seem To Be Set Up To Build Kernel Modules"

Dec 27, 2009

I'm trying to install Sun VirtualBox Additions into Fedora 12 which is installed in VirtualBox running on top of Windows 7. As the Fedora install was originally a live distro which was then installed to the HD, it may be missing some essential files for compiling.

My attempt to install the VBoxLinux additions is incomplete and I can't get the full range of video displays. The largest is This is the error message: "Your system does not seem to be set up to build kernel modules".

Should I update Fedora to install all the updates available? I did find one webpage which gave an accurate list of files to install for this purpose but can't find it now.

View 3 Replies View Related

Slackware :: Build Handbrake Error - Gtk.install - Error 2

Aug 14, 2010

I need handbrake software so badly so I went to alien's slackbuild to download the handbrake.However,it ends with error after compiling-

Does it mean i miss something of gtk?

View 8 Replies View Related

Ubuntu Installation :: MATLAB 7.10 - Error Status Returned By Program Setup

Jun 29, 2010

I am trying to install Matlab v. 7.10 on my Ubuntu machine. I was able to successfully download the necessary files. However, when I attempt to install using ' ./install ', I get the following error message:
Finished extracting ftp files.
Starting installer ...
An error status was returned by the program 'xsetup', the X Window System version of 'install'.

The following essages were written to standard error:
/home/user1/mathworks_downloads/update/install/main.sh: 178: /home/user1/mathworks_downloads/update/bin/glnxa64/xsetup: not found
Attempt to fix the problem and try again. If X is not available or 'xsetup' cannot be made to work then try the terminal version of 'install' using the command:
install* -t or INSTALL* -t
Sorry! Setup aborted . . .

I tried using the command instal* -t, as recommended by the program, but then I get this error message:
Finished extracting ftp files.
Starting installer ...
awk: cmd. line:2: BEGIN { found = 0; extra = 9; min = 24; default = 24 }
awk: cmd. line:2: ^ syntax error
awk: cmd. line:6: if (nrows < min) nrows = default
awk: cmd. line:6: ^ syntax error
awk: cmd. line:12: END { if (found == 0) print (default - extra) } .....

View 3 Replies View Related

Ubuntu Installation :: Copying Data Setup Tells About An Input/Output Error?

Dec 20, 2010

I want to install Xubuntu 10.10 x64, but it does not work. While copying data the setup tells me about an Input/Output error, but i don't think there are hardware errors.

The environment:

AMD Phenom II 1055t 6x2,8 Ghz
2x 2gb ram
Hitachi 1TB hard drive
Two partitions: 1st for Windows 7 Ultimate (NTFS), 2nd for my Data (NTFS)

So I decreased the size of the data partition and created two new partitions beside the Win7 partition and the data partition. The first is ext4-journal (20gb) the second is Swap (4gb). I've done that all by the Xubuntu setup.

I've downloaded the image from the german mirror (TU Chemniz) and checked the integrety via SHA1. Checksum was correct. I also checked the data after burning.

View 4 Replies View Related

Ubuntu :: Python Error After Update To 11.04?

May 10, 2011

i update my ubuntu(10.10) to 11.04 when it update i got one error that say can not install python or upgrade . the installation finsh and i reboot my pc then ubuntu wont start i try to use

Code:
sudo dpkg --configure -a --force-all

my system repair but i still Have problem with python

the real issue is that when i install a package that require python the package wont install and say error:

Code:
Package python is not configured yet

View 5 Replies View Related

Ubuntu Installation :: 8.04 To 10.04 Upgradation Didn't Shown Up

Apr 30, 2010

When is the 10.04 upgrade going to show on my update manager? I have been running the update manager since yesterday and the 10.04 upgrade hasn't shown up yet. It is still showing an upgrade to 8.10. I have been waiting to upgrade while exploring and using the 8.04 LTS Hardy. Now that it has been released it isn't showing on the update manager.

View 4 Replies View Related

Ubuntu Installation :: D4X Installed But Not Shown In Listv

Sep 1, 2011

I have installed d4x its not showing in Ubuntu 11.04 dash but its showing as installed in software center. I have tried the command of "which d4x" and I got nothing.

Code:
assassin@genupulas:~$ sudo dpkg --configure d4x
[sudo] password for assassin:
dpkg: warning: there's no installed package matching d4x

Code:
assassin@genupulas:~$ which d4x
assassin@genupulas:~$

View 5 Replies View Related

Ubuntu Installation :: Parallel Printer Not Shown In Add List With 10.04

Apr 18, 2010

I like the way 10.04 lts is running on my old PC, except I can't seem to install my HP 895C. This printer worked on previous releases on Ubuntu. The printer is local and cabled to the PC's parallel port. But "Add" under printing doesn't show any parallel printers under local printers. Only shows serial port, other, and network printers. Is this because 10.04 is beta? "Troubleshooting printers" doesn't have a list of printers. Is the lpt1 in PC speak /dev/lp0 in Linux? Should that be the printer URI?

View 9 Replies View Related

Ubuntu Installation :: WinXP Not Shown In Migration Assistant?

Jul 27, 2010

I'm in the Live CD and I've followed the steps to the migration assistant. Where it should say "Windows XP Media Center Edition" it claims that "There were no other users or operating systems suitable for importing from"

Also, on the where to install to step, Where at the top it should say that another operating system is installed, it is blank.

I'm wondering if I continue the installation, on boot-up will it detect windows?

I have searched this, and after 15 pages of results, I have not come to a definite conclusion.

View 2 Replies View Related

Ubuntu Installation :: 11.04 Install - No Grub Shown On Bootup

May 4, 2011

Have just installed Ubuntu 11.04, the system is to dual boot with XP.Ubuntu is installed, have been into it and it seems to be working fine. However, when I bootup the computer I get no "Grub!" [Grub is now going to take over the boot process textual alert]. And, once the system gets past that screen, there is no list of Operating Systems to boot choices. Just boots straight into Ubuntu - always.

Solved that by installing 'Startup Manager' (which I knew about from slight previous exposure to Linux) and set the default operating system to Windows XP - this means that now I can't get into Ubuntu.How do I get Grub to show that 'Grub alert'? And how do I get Grub to offer choices of OS to boot in to?

View 3 Replies View Related

Ubuntu :: Error While Installing Software Written In Python

Jul 1, 2010

For example, I want to install a texteditor called Editra, i done it like the following

First, I install the Editra
sudo apt-get install Editra - success ,its version is 0.5.30

Second, I run it in Terminal
Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"

Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this
sudo gedit /usr/share/applications/Editra.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Editra
Comment=the Best TextEditor
Exec=/usr/share/pyshared/Editra
Icon=/usr/share/pyshared/Editra/pixmaps/editra.png
Terminal=false
Type=Application
Catergories=Development

It showed, and I clicked it for running, but it told me error infos
Could not launch 'Editra'
Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied)
Not just Editra, so many software that written in python have the same question, such as tortoisehg...

View 2 Replies View Related







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