You are not logged in.

#1 2007-10-07 12:58:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

pythoPhotoPod

Hi,

Trying to build PythoPhotoPod getting this error

Checking for python library gobject ... ok
Dependency check complete. All required libraries present.
make[1]: Entering directory `/home/mrgreen/Downloads/pytho/src/pythoPhotoPod-0.3.0/src'
photoPodThumbC.c:27:20: error: Python.h: No such file or directory
photoPodThumbC.c:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
photoPodThumbC.c: In function 'rgb2yuv':
photoPodThumbC.c:323: warning: implicit declaration of function 'abs'
photoPodThumbC.c: At top level:
photoPodThumbC.c:341: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
photoPodThumbC.c:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
photoPodThumbC.c:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ThumbMethods'
photoPodThumbC.c:391: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'initphotoPodThumbC'
make[1]: *** [photoPodThumbC.so] Error 1
make[1]: Leaving directory `/home/mrgreen/Downloads/pytho/src/pythoPhotoPod-0.3.0/src'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Python.h is missing emm any ideas?

MrG


Mr Green

Offline

#2 2007-10-07 14:06:31

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pythoPhotoPod

dusty:~ $ pacman -Qo /usr/include/python2.5/Python.h
/usr/include/python2.5/Python.h is owned by python 2.5.1-1

Double check that the file exists. If it doesn't, reinstall Python, if it does, it means you need to fix something in your Makefile (maybe it points to python2.4 for example).

Dusty

Offline

#3 2007-10-07 16:18:49

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pythoPhotoPod

Sweet updated PKGBUILD from 2.4 to 2.5 builds fine ... yeah  Python.h is there :-)

thanks man

Will update AUR [If I can remember how lol!!!!]

MrG


Mr Green

Offline

#4 2007-10-07 17:49:31

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pythoPhotoPod

/usr/bin/pythoPhotoPod.py: line 27: import: command not found
/usr/bin/pythoPhotoPod.py: line 28: import: command not found
/usr/bin/pythoPhotoPod.py: line 29: import: command not found
/usr/bin/pythoPhotoPod.py: line 30: import: command not found
/usr/bin/pythoPhotoPod.py: line 31: import: command not found
/usr/bin/pythoPhotoPod.py: line 32: import: command not found
/usr/bin/pythoPhotoPod.py: line 35: import: command not found
/usr/bin/pythoPhotoPod.py: line 36: import: command not found
/usr/bin/pythoPhotoPod.py: line 39: import: command not found
/usr/bin/pythoPhotoPod.py: line 40: import: command not found
/usr/bin/pythoPhotoPod.py: line 41: import: command not found
/usr/bin/pythoPhotoPod.py: line 42: import: command not found
/usr/bin/pythoPhotoPod.py: line 43: import: command not found
/usr/bin/pythoPhotoPod.py: line 44: import: command not found
/usr/bin/pythoPhotoPod.py: line 45: import: command not found
/usr/bin/pythoPhotoPod.py: line 46: import: command not found
/usr/bin/pythoPhotoPod.py: line 48: try:: command not found
/usr/bin/pythoPhotoPod.py: line 49: import: command not found
/usr/bin/pythoPhotoPod.py: line 50: except:: command not found
/usr/bin/pythoPhotoPod.py: line 51: pass: command not found
/usr/bin/pythoPhotoPod.py: line 53: window: command not found
/usr/bin/pythoPhotoPod.py: line 55: TARGET_STRING: command not found
/usr/bin/pythoPhotoPod.py: line 56: TARGET_URL: command not found
/usr/bin/pythoPhotoPod.py: line 57: TARGET_ROOTWIN: command not found
/usr/bin/pythoPhotoPod.py: line 59: album_folder_target: command not found
/usr/bin/pythoPhotoPod.py: line 60: syntax error near unexpected token `,'
/usr/bin/pythoPhotoPod.py: line 60: `    ("text/uri-list", 0, TARGET_URL),

If I run from terminal .... maybe I need to post PKGBUILD

# Contributor: mrgreen.linuxuser@gmail.com
# pkgbuild written by the Snowman ;-)
arch=('i686')
pkgname=pythophotopod
pkgver=0.4.0
pkgrel=1
pkgdesc="a GUI for Linux synchronizing photos and photo albums with your iPod with a color display"
url="http://pythophotopod.sourceforge.net/"
depends=('python' 'pygtk' 'gtk2')
source=(http://dl.sourceforge.net/sourceforge/pythophotopod/pythoPhotoPod-$pkgver.tar.gz)
md5sums=('')

build() {
cd $startdir/src/pythoPhotoPod-$pkgver
make include_dirs=-I/usr/include/python2.5 || return 1
install -D -m755 src/pythoPhotoPod.py $startdir/pkg/usr/bin/pythoPhotoPod.py
install -d $startdir/pkg/usr/lib/python2.5/site-packages/libPythoPhotoPod/
install -D -m755 src/photoPodThumbC.so $startdir/pkg/usr/lib/python2.5/site-packages/libPythoPhotoPod/photoPodThumbC.so
install -m644 src/*.pyc $startdir/pkg/usr/lib/python2.5/site-packages/libPythoPhotoPod
install -d $startdir/pkg/usr/share
cp -r src/pixmaps $startdir/pkg/usr/share/
}

Mr Green

Offline

#5 2007-10-08 14:33:10

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pythoPhotoPod

Have edited pkgbuild there was some paths errors but it will still not run ....

It works from build directory no problem at all

Help!


Mr Green

Offline

#6 2007-10-08 14:44:28

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#7 2007-10-08 15:17:36

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pythoPhotoPod

ooops sorry trying to fix bluetooth lol.... be right back

/usr/bin/pythoPhotoPod.py: line 27: import: command not found
/usr/bin/pythoPhotoPod.py: line 28: import: command not found
/usr/bin/pythoPhotoPod.py: line 29: import: command not found
/usr/bin/pythoPhotoPod.py: line 30: import: command not found
/usr/bin/pythoPhotoPod.py: line 31: import: command not found
/usr/bin/pythoPhotoPod.py: line 32: import: command not found
/usr/bin/pythoPhotoPod.py: line 35: import: command not found
/usr/bin/pythoPhotoPod.py: line 36: import: command not found
/usr/bin/pythoPhotoPod.py: line 39: import: command not found
/usr/bin/pythoPhotoPod.py: line 40: import: command not found
/usr/bin/pythoPhotoPod.py: line 41: import: command not found
/usr/bin/pythoPhotoPod.py: line 42: import: command not found
/usr/bin/pythoPhotoPod.py: line 43: import: command not found
/usr/bin/pythoPhotoPod.py: line 44: import: command not found
/usr/bin/pythoPhotoPod.py: line 45: import: command not found
/usr/bin/pythoPhotoPod.py: line 46: import: command not found
/usr/bin/pythoPhotoPod.py: line 48: try:: command not found
/usr/bin/pythoPhotoPod.py: line 49: import: command not found
/usr/bin/pythoPhotoPod.py: line 50: except:: command not found
/usr/bin/pythoPhotoPod.py: line 51: pass: command not found
/usr/bin/pythoPhotoPod.py: line 53: window: command not found
/usr/bin/pythoPhotoPod.py: line 55: TARGET_STRING: command not found
/usr/bin/pythoPhotoPod.py: line 56: TARGET_URL: command not found
/usr/bin/pythoPhotoPod.py: line 57: TARGET_ROOTWIN: command not found
/usr/bin/pythoPhotoPod.py: line 59: album_folder_target: command not found
/usr/bin/pythoPhotoPod.py: line 60: syntax error near unexpected token `,'
/usr/bin/pythoPhotoPod.py: line 60: `    ("text/uri-list", 0, TARGET_URL),'

Last edited by Mr Green (2007-10-08 15:22:35)


Mr Green

Offline

Board footer

Powered by FluxBB