Fwd: gnome-python-desktop crash



Yes, I've got the same error here because 'Makefile.am' is doing it wrong.

In the file 'gnome-python-desktop-2.17.3/totem/Makfile.am', the
plparser_la_CFLAGS var declarations is:

plparser_la_CFLAGS =                            \
       -I$(TOTEM_PLPARSER_CFLAGS)              \
       ...

When I built g-p-d for Garnome 2.17.90, this var was expanded to :

-I-pthread -DORBIT2=1 -I/opt/gnome-2.17.90/include/totem/1/plparser (...)
and the compiler just throw that '-I-pthread' away

but this time it was expanded to:

-I-I/opt/gnome-20070212/include/totem/1/plparser (...)
excluding the 'totem/1/plparser' from the include path.

Filled a bug (#407413) with the patch to warn the gnome-python-desktop
developers about it.

Lucas

2007/2/11, Joseph E. Sacco, Ph.D. <joseph_sacco comcast net>:
Robert,

Something is amiss.  Configure should have detected and set

    TOTEM_PLPARSER_CFLAGS

which includes a header search path entry

    -I$garnome/include/totem/1/plparser

This addition to the header search path comes from

     $garnome/lib/pkgconfig/totem-plparser.pc

-Joseph

============================================================
On Sat, 2007-02-10 at 21:01 -0600, Robert Ford wrote:
> i ran into this building gar-svn, i dont know if its a problem just
> for my system or not.
>
> .libs/plparser_la-plparser.o
> plparser.override:6:29: error: totem-pl-parser.h: No such file or
> directory
> plparser.override :7:38: error: totem-pl-parser-builtins.h: No such
> file or directory
> plparser.override: In function '_wrap_totem_pl_parser_write':
> plparser.override:92: error: 'TotemPlParserType' undeclared (first use
> in this function)
> plparser.override:92: error: (Each undeclared identifier is reported
> only once
> plparser.override:92: error: for each function it appears in.)
> plparser.override:92: error: expected ';' before 'type'
> plparser.override:98: error: 'type' undeclared (first use in this
> function)
> plparser.override:105: warning: implicit declaration of function
> 'totem_pl_parser_write'
> plparser.override:105: warning: implicit declaration of function
> 'TOTEM_PL_PARSER'
> plparser.c: In function '_wrap_totem_pl_parser_add_ignored_scheme':
> plparser.c:176: warning: implicit declaration of function
> 'totem_pl_parser_add_ignored_scheme'
> plparser.c: In function '_wrap_totem_pl_parser_parse':
> plparser.c:193: warning: implicit declaration of function
> 'totem_pl_parser_parse'
> plparser.c:195: error: 'TOTEM_TYPE_PL_PARSER_RESULT' undeclared (first
> use in this function)
> plparser.c: In function 'pyplparser_add_constants':
> plparser.c:267: error: 'TOTEM_TYPE_PL_PARSER_RESULT' undeclared (first
> use in this function)
> plparser.c:268: error: 'TOTEM_TYPE_PL_PARSER_TYPE' undeclared (first
> use in this function)
> plparser.c:269: error: 'TOTEM_TYPE_PL_PARSER_ERROR' undeclared (first
> use in this function)
> plparser.c: In function 'pyplparser_register_classes':
> plparser.c:308: error: 'TOTEM_TYPE_PL_PARSER' undeclared (first use in
> this function)
> make[3]: *** [plparser_la-plparser.lo] Error 1
> make[3]: Leaving directory
> `/home/odin/SVN-CVS/garnome-trunk/desktop/gnome-python-desktop/work/main.d/gnome- python-desktop-2.17.3/totem'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/odin/SVN-CVS/garnome-trunk/desktop/gnome-python-desktop/work/main.d/gnome-python-desktop-2.17.3'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/odin/SVN-CVS/garnome-trunk/desktop/gnome-python-desktop/work/main.d/gnome-python-desktop-2.17.3'
> make: *** [build-work/main.d/gnome-python-desktop-2.17.3/Makefile]
> Error 2
>
> attached is a  simple fix i made, works for me. :)
> Robert
--
joseph_sacco [at] comcast [dot] net

--
garnome-list mailing list
garnome-list gnome org
http://mail.gnome.org/mailman/listinfo/garnome-list

--
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.




--
_____________________________________
This email recommends GNU / Linux (R)


--
_____________________________________
This email recommends GNU / Linux (R)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]