You are not logged in.

#1 2009-09-19 06:56:23

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Photoprint does not compile solved

This is the error message I get trying to install photo print.
can somebody please sort it out,
Thank you in advance.

    I second this. Gives error msg:


    make[1]: Entering directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0'
    Making all in po
    make[2]: Entering directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0/po'
    make[2]: Leaving directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0/po'
    Making all in support
    make[2]: Entering directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0/support'
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../imagesource/ -I../ -I../pixbufthumbnail -I../imagesource -I../profilemanager -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=native -O2 -pipe -MT signature.lo -MD -MP -MF .deps/signature.Tpo -c -o signature.lo signature.cpp
    g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../imagesource/ -I../ -I../pixbufthumbnail -I../imagesource -I../profilemanager -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=native -O2 -pipe -MT signature.lo -MD -MP -MF .deps/signature.Tpo -c signature.cpp -fPIC -DPIC -o .libs/signature.o
    In file included from signature.cpp:12:
    layoutrectangle.h: In member function 'void RectFit::Dump()':
    layoutrectangle.h:23: error: 'printf' was not declared in this scope
    layoutrectangle.h: In member function 'void LayoutRectangle::Dump()':
    layoutrectangle.h:45: error: 'printf' was not declared in this scope
    make[2]: *** [signature.lo] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0/support'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-borje4/aur-photoprint/photoprint/src/photoprint-0.4.0'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...

Last edited by mandog (2009-09-19 17:58:53)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#2 2009-09-19 09:20:39

Denacke
Member
Registered: 2008-04-09
Posts: 106

Re: Photoprint does not compile solved

Hey it seems like the version on AUR is a bit out of date.

I editted the pkgbuild and it seems to work for me with this:

pkgname=photoprint
arch=(i686 x86_64)
pkgver=0.4.1
pkgrel=1
license=('GPL')
pkgdesc="PhotoPrint is a utility designed to assist in the process of printing digital photographs under Linux and other UNIX-like operating systems."
url="http://www.blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint"
depends=('gtk2' 'gutenprint' 'lcms' 'netpbm' 'libjpeg' 'libtiff' )
makedepends=('pkgconfig' 'gutenprint' 'cups')
source=(http://www.blackfiveimaging.co.uk/photoprint/photoprint-$pkgver-pre3.tar.gz)
md5sums=('0b832910801e454c9f56ff82303f0220')

build() {
cd ${startdir}/src/photoprint-$pkgver-pre3
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
}

Offline

#3 2009-09-19 17:58:32

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: Photoprint does not compile solved

Denacke
Thank you very much for your help.
I posted your code in AUR Photoprint for other to use.


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

Board footer

Powered by FluxBB