From: Julian S. <lor...@po...> - 2006-01-29 09:46:30
|
Hi. js package maintainer has added libjs.pc file to the js-devel package, as well as updated it to 1.5.0 version. Here is the bugzilla link: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178993 The problem is that now gxine fails at build stage: gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I/usr/include -I../pixmaps -std=gnu99 -I/usr/include -I/usr/X11R6/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -c `test -f 'menu.c' || echo './'`menu.c main.c: In function 'gxine_try_remote': main.c:108: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result main.c: In function 'main': main.c:296: error: 'LOCALEDIR' undeclared (first use in this function) main.c:296: error: (Each undeclared identifier is reported only once main.c:296: error: for each function it appears in.) make[1]: *** [main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mediamarks.c: In function 'load_old_file': mediamarks.c:311: warning: ignoring return value of 'sscanf', declared with attribute warn_unused_result mediamarks.c: At top level: mediamarks.c:730: warning: initialization from incompatible pointer type mediamarks.c:731: warning: initialization from incompatible pointer type mediamarks.c:732: warning: initialization from incompatible pointer type mediamarks.c:733: warning: initialization from incompatible pointer type mediamarks.c:734: warning: initialization from incompatible pointer type mediamarks.c:735: warning: initialization from incompatible pointer type mediamarks.c:736: warning: initialization from incompatible pointer type make[1]: Leaving directory `/home/xxx/rpmbuild/BUILD/gxine-0.5.4/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.75736 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.75736 (%build) Any ideas what can be wrong? Maybe the fact that js and js-devel had to be installed with --nodeps switch? Greets. |
From: Darren S. <li...@yo...> - 2006-01-29 14:38:21
|
I demand that Julian Sikorski may or may not have written... > Hi. js package maintainer has added libjs.pc file to the js-devel package, > as well as updated it to 1.5.0 version. Here is the bugzilla link: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178993 > The problem is that now gxine fails at build stage: > gcc -DHAVE_CONFIG_H -I. [...] -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I -DLOCALEDIR=\"/usr/share/locale\" [...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [snip] > main.c:296: error: 'LOCALEDIR' undeclared (first use in this function) [snip] > Any ideas what can be wrong? Maybe the fact that js and js-devel had to > be installed with --nodeps switch? Greets. It looks very much like breakage in your libjs.pc. I expect that the following command will output "-I": $ pkg-config --cflags libjs -- | Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk | Debian, | Northumberland | s zap,tartarus,org | RISC OS | Toon Army | @ | Kill all extremists! shin: n. Device for finding furniture in the dark. |
From: Julian S. <lor...@po...> - 2006-01-29 19:36:35
|
Darren Salt napisa=C5=82(a): > I demand that Julian Sikorski may or may not have written... >=20 >=20 >>Hi. js package maintainer has added libjs.pc file to the js-devel pac= kage, >>as well as updated it to 1.5.0 version. Here is the bugzilla link: >=20 >=20 >>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D178993 >=20 >=20 >>The problem is that now gxine fails at build stage: >=20 >=20 >>gcc -DHAVE_CONFIG_H -I. [...] -pthread -I/usr/include/glib-2.0 >>-I/usr/lib/glib-2.0/include -I -DLOCALEDIR=3D\"/usr/share/locale\= " [...] >=20 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^ > [snip] >=20 >>main.c:296: error: 'LOCALEDIR' undeclared (first use in this function= ) >=20 > [snip] >=20 >=20 >>Any ideas what can be wrong? Maybe the fact that js and js-devel had = to >>be installed with --nodeps switch? Greets. >=20 >=20 > It looks very much like breakage in your libjs.pc. I expect that the > following command will output "-I": >=20 > $ pkg-config --cflags libjs >=20 You were right, here is the libjs.pc file: prefix=3D/usr exec_prefix=3D libdir=3D includedir=3D Name: libjs Description: JS library Requires: Version: 1.5 Libs: -L -ljs Cflags: -I I guess the package maintainer has made a mistake... |