pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45233: devel/gettext-tools failure on Solaris 11 Express with libcroco installed in the base system



>Number:         45233
>Category:       pkg
>Synopsis:       devel/gettext-tools failure on Solaris 11 Express with 
>libcroco installed in the base system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 10 01:15:00 +0000 2011
>Originator:     NAKAJI Hiroyuki
>Release:        Oracle Solaris 11 Express
>Organization:
>Environment:
SunOS sayaka 5.11 snv_151a i86pc i386 i86pc Solaris

>Description:
I wonder why:

If libcroco-0.6 package is installed, the configure detects it and sets proper 
CFLAGS, CPPFLAGS and so on. But when building, some .h files in libcroco cannot 
be found. For example,

/usr/pkg/bin/pdksh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H 
-DEXEEXT=\"\" -DEXEEXT=\"\"  -DEXEEXT=\"\"  -I. -I..  -I../intl -I../intl  -I.. 
-I.. -DDEPENDS_ON_LIBICONV=1  -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl  
     -I///usr/include/libcroco-0.6/libcroco -I/usr/pkg/include -D_REENTRANT   
-O -I/usr/pkg/include -c -o term-styled-ostream.lo term-styled-ostream.c

libtool: compile:  cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" 
-I. -I.. -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 
-DLIBXML_STATIC 
-I/home/nakaji/pkgsrc/devel/gettext-tools/work/.buildlink/include -D_REENTRANT 
-O -c term-styled-ostream.c  -KPIC -DPIC -o .libs/term-styled-ostream.o

"term-styled-ostream.oo.c", line 25: cannot find include file: 
<cr-om-parser.h></cr-om-parser.h>

"term-styled-ostream.oo.c", line 26: cannot find include file: 
<cr-sel-eng.h></cr-sel-eng.h>

"term-styled-ostream.oo.c", line 27: cannot find include file: 
<cr-style.h></cr-style.h>

"term-styled-ostream.oo.c", line 28: cannot find include file: 
<cr-rgb.h></cr-rgb.h>

"term-styled-ostream.oo.c", line 31: cannot find include file: 
<cr-fonts.h></cr-fonts.h>

"term-styled-ostream.oo.c", line 33: cannot find include file: 
<cr-string.h></cr-string.h>
>How-To-Repeat:
cd pkgsrc/devel/gettext-tools
/usr/pkg/bin/bmake

>Fix:
Force to use the included libcroco seems good.

diff -u -r1.17 Makefile
--- Makefile    13 Jul 2011 20:50:05 -0000      1.17
+++ Makefile    10 Aug 2011 01:12:21 -0000
@@ -16,6 +16,7 @@
 CONFIGURE_ARGS+=       --without-included-gettext
 CONFIGURE_ARGS+=       --disable-csharp
 CONFIGURE_ARGS+=       --without-git
+CONFIGURE_ARGS+=       --with-included-libcroco
 CONFIGURE_ENV+=                GCJ= ac_cv_prog_GCJ= ac_cv_prog_JAR=
 CONFIGURE_ENV+=                HAVE_GCJ_IN_PATH=
 CONFIGURE_ENV+=                HAVE_JAVAC_IN_PATH=



Home | Main Index | Thread Index | Old Index