[LDTP-Dev] Not able to compile pyldtp
Nagappan
anagappan at novell.com
Mon Apr 10 22:15:44 PDT 2006
Hi Shagan,
You need to install gettext-devel package for this. PyLDTP is no
longer updated. I recommend you to use LDTP from CVS.
cvs -d :pserver:anoncvs at cvs.freedesktop.org:/cvs/ldtp co ldtp
Thanks
Nagappan
Shankar Ganesh wrote:
> I get the following error:
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686
> -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC
> -I/opt/gnome/include/pango-1.0 -I/opt/gnome/lib/gtk-2.0/include
> -I/opt/gnome/include/bonobo-activation-2.0
> -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/lib/glib-2.0/include
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/include/gtk-2.0
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/libbonobo-2.0
> -I/opt/gnome/include/at-spi-1.0 -I/usr/include/libpng12
> -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/cairo
> -I/home/shagan/LDTP/pyldtp -I/usr/include/python2.4 -c localization.c
> -o build/temp.linux-i686-2.4/localization.o -g
> localization.c: In function 'init_catalog':
> localization.c:186: error: 'po_error_handler_t' undeclared (first use
> in this function)
> localization.c:186: error: (Each undeclared identifier is reported
> only once
> localization.c:186: error: for each function it appears in.)
> localization.c:186: error: syntax error before 'error_handle'
> localization.c:192: error: 'error_handle' undeclared (first use in
> this function)
> localization.c:192: error: syntax error before 'malloc'
> localization.c:193: error: too many arguments to function 'po_file_read'
> error: command 'gcc' failed with exit status 1
>
> I have installed gettext libraries:
> /usr/lib/libgettextpo.la
> /usr/lib/libgettextsrc.la
>
> And my PATH variable is also set to that dir.
>
> wat could be reason ?
> --
> thanx
> Shagan
> <Shankar Ganesh>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
--
Nagappan A <anagappan at novell.com>
Novell Software Development (I) Pvt. Ltd.
Linux Desktop Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com/
Novell, Inc.
Software for the Open Enterprise
www.novell.com/open
More information about the LDTP-dev
mailing list