Gå til innhold

Freevo og feilmelding


Anbefalte innlegg

Hei. Når jeg prøver å skrive kommandoen "python setup.py install" Så får jeg feilmeldingen:

inux:/home/qwseyvnd/Documents/freevo-1.5-rc4 # python setup.py runtime

Traceback (most recent call last):

File "setup.py", line 15, in ?

from util.distribution import setup, Extension, check_libs, docbook_finder

File "./src/util/distribution.py", line 128, in ?

fp, pathname, description = imp.find_module('distutils' , sys.path[1:])

ImportError: No module named distutils

linux:/home/qwseyvnd/Documents/freevo-1.5-rc4 #

 

Hva er feil?

Lenke til kommentar
Videoannonse
Annonse

runtime hjalp ikke, nå har jeg nytt problem om Imaging-1.1.4

 

linux:~/Imaging-1.1.4 # python setup.py install

running install

running build

running build_py

creating build

creating build/lib.linux-i686-2.3

copying PIL/XbmImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/MpegImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageFont.py -> build/lib.linux-i686-2.3

copying PIL/ImageTransform.py -> build/lib.linux-i686-2.3

copying PIL/PaletteFile.py -> build/lib.linux-i686-2.3

copying PIL/ContainerIO.py -> build/lib.linux-i686-2.3

copying PIL/GdImageFile.py -> build/lib.linux-i686-2.3

copying PIL/MspImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageFilter.py -> build/lib.linux-i686-2.3

copying PIL/DcxImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ExifTags.py -> build/lib.linux-i686-2.3

copying PIL/ImageGrab.py -> build/lib.linux-i686-2.3

copying PIL/ImageSequence.py -> build/lib.linux-i686-2.3

copying PIL/Image.py -> build/lib.linux-i686-2.3

copying PIL/PsdImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImagePath.py -> build/lib.linux-i686-2.3

copying PIL/SunImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImagePalette.py -> build/lib.linux-i686-2.3

copying PIL/MicImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/GbrImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/FliImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/TarIO.py -> build/lib.linux-i686-2.3

copying PIL/ArgImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PalmImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/IptcImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PpmImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/IcoImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PcfFontFile.py -> build/lib.linux-i686-2.3

copying PIL/PSDraw.py -> build/lib.linux-i686-2.3

copying PIL/TiffTags.py -> build/lib.linux-i686-2.3

copying PIL/ImageOps.py -> build/lib.linux-i686-2.3

copying PIL/BdfFontFile.py -> build/lib.linux-i686-2.3

copying PIL/ImtImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/SgiImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/TgaImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/WalImageFile.py -> build/lib.linux-i686-2.3

copying PIL/PngImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PixarImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageWin.py -> build/lib.linux-i686-2.3

copying PIL/GimpGradientFile.py -> build/lib.linux-i686-2.3

copying PIL/ImageColor.py -> build/lib.linux-i686-2.3

copying PIL/ImageChops.py -> build/lib.linux-i686-2.3

copying PIL/ImageDraw.py -> build/lib.linux-i686-2.3

copying PIL/OleFileIO.py -> build/lib.linux-i686-2.3

copying PIL/BmpImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PcxImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/JpegImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/XVThumbImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/CurImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/EpsImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageEnhance.py -> build/lib.linux-i686-2.3

copying PIL/PcdImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/__init__.py -> build/lib.linux-i686-2.3

copying PIL/TiffImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageFileIO.py -> build/lib.linux-i686-2.3

copying PIL/WmfImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/PdfImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/FontFile.py -> build/lib.linux-i686-2.3

copying PIL/FpxImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/GimpPaletteFile.py -> build/lib.linux-i686-2.3

copying PIL/XpmImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/GifImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageFile.py -> build/lib.linux-i686-2.3

copying PIL/ImageTk.py -> build/lib.linux-i686-2.3

copying PIL/McIdasImagePlugin.py -> build/lib.linux-i686-2.3

copying PIL/ImageStat.py -> build/lib.linux-i686-2.3

running build_ext

building '_imaging' extension

creating build/temp.linux-i686-2.3

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/usr/local/include/python2.3 -c outline.c -o build/temp.linux-i686-2.3/outline.o

In file included from libImaging/Imaging.h:21,

from outline.c:27:

libImaging/ImPlatform.h:14:2: #error Sorry, this library requires support for ANSI prototypes.

libImaging/ImPlatform.h:17:2: #error Sorry, this library requires ANSI header files.

libImaging/ImPlatform.h:35:2: #error Cannot find required 32-bit integer type

libImaging/ImPlatform.h:47:2: #error Cannot find required 32-bit floating point type

In file included from outline.c:27:

libImaging/Imaging.h:86: error: parse error before "INT32"

libImaging/Imaging.h:86: warning: no semicolon at end of struct or union

libImaging/Imaging.h:98: error: parse error before '}' token

libImaging/Imaging.h:239: warning: type defaults to `int' in declaration of `FLOAT32'

libImaging/Imaging.h:239: error: parse error before '*' token

libImaging/Imaging.h:240: warning: function declaration isn't a prototype

libImaging/Imaging.h:365: error: parse error before "ImagingCRC32"

libImaging/Imaging.h:365: error: parse error before "crc"

libImaging/Imaging.h:365: warning: type defaults to `int' in declaration of `ImagingCRC32'

libImaging/Imaging.h:365: warning: function declaration isn't a prototype

libImaging/Imaging.h:365: warning: data definition has no type or storage class

error: command 'gcc' failed with exit status 1

 

Dette er feilmeldingen.

Lenke til kommentar

Runtime funket ikke? Den funker ikke på 2.6 kjerne vet jeg. Men da kan du bruke

denne guiden:

 

 

http://freevo.sourceforge.net/cgi-bin/moin...e_2fInstallDeps

 

 

Følger du den SKAL det virke. Følg den til punkt og prikke. Jeg anbefaler deg riktignok og sjekke om det finnes nyere versjoner av de enkelte programmene der. Spesielt er det viktig at du velger en nyere utgave av MMPython siden Freevo 1.5.0 krever det. Ellers går det faktisk greit og bruke de versjonene som det er linket til på WIKIen.

 

Og ja, det tar tid og compile alle den softwaren der.

 

 

Hvilken distro benytter du ?

Endret av neonX
Lenke til kommentar

En ny problem med Imaging-1.1.4

linux:~/Imaging-1.1.4 # python setup.py build && python setup.py install

running build

running build_py

running build_ext

building '_imaging' extension

gcc -pthread -shared build/temp.linux-i686-2.3/_imaging.o build/temp.linux-i686-2.3/decode.o build/temp.linux-i686-2.3/encode.o build/temp.linux-i686-2.3/map.o build/temp.linux-i686-2.3/display.o build/temp.linux-i686-2.3/outline.o build/temp.linux-i686-2.3/path.o -LlibImaging -lImaging -ljpeg -lz -o build/lib.linux-i686-2.3/_imaging.so

building '_imagingtk' extension

creating build/temp.linux-i686-2.3/Tk

gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -IlibImaging -I/usr/include/python2.3 -c Tk/tkImaging.c -o build/temp.linux-i686-2.3/Tk/tkImaging.o

Tk/tkImaging.c:49:16: tk.h: Ingen slik fil eller filkatalog

Tk/tkImaging.c:69: error: parse error before "clientdata"

Tk/tkImaging.c: In function `PyImagingPhoto':

Tk/tkImaging.c:73: error: `Tk_PhotoHandle' undeclared (first use in this function)

Tk/tkImaging.c:73: error: (Each undeclared identifier is reported only once

Tk/tkImaging.c:73: error: for each function it appears in.)

Tk/tkImaging.c:73: error: parse error before "photo"

Tk/tkImaging.c:74: error: `Tk_PhotoImageBlock' undeclared (first use in this function)

Tk/tkImaging.c:76: error: `argc' undeclared (first use in this function)

Tk/tkImaging.c:77: warning: implicit declaration of function `Tcl_AppendResult'

Tk/tkImaging.c:77: error: `interp' undeclared (first use in this function)

Tk/tkImaging.c:77: error: `argv' undeclared (first use in this function)

Tk/tkImaging.c:79: error: `TCL_ERROR' undeclared (first use in this function)

Tk/tkImaging.c:83: error: `photo' undeclared (first use in this function)

Tk/tkImaging.c:83: warning: implicit declaration of function `Tk_FindPhoto'

Tk/tkImaging.c:115: error: `block' undeclared (first use in this function)

Tk/tkImaging.c:141: error: parse error before "run"

Tk/tkImaging.c:144: warning: implicit declaration of function `Tk_PhotoBlank'

Tk/tkImaging.c:147: error: `run' undeclared (first use in this function)

Tk/tkImaging.c:171: warning: implicit declaration of function `Tk_PhotoPutBlock'

Tk/tkImaging.c:190: error: `TCL_OK' undeclared (first use in this function)

Tk/tkImaging.c: At top level:

Tk/tkImaging.c:195: error: parse error before '*' token

Tk/tkImaging.c: In function `TkImaging_Init':

Tk/tkImaging.c:197: warning: implicit declaration of function `Tcl_CreateCommand'

Tk/tkImaging.c:197: error: `interp' undeclared (first use in this function)

Tk/tkImaging.c:198: error: `ClientData' undeclared (first use in this function)

Tk/tkImaging.c:198: error: parse error before numeric constant

error: command 'gcc' failed with exit status 1

linux:~/Imaging-1.1.4 #

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...