Subject: pkg/26440: pkgsrc/print/teTeX-bin does not find libwww header files
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 07/26/2004 20:19:24
>Number:         26440
>Category:       pkg
>Synopsis:       pkgsrc/print/teTeX-bin does not find libwww header files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 26 22:44:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
Building pkgsrc/print/teTeX-bin ends up with:
...
gmake[2]: Entering directory `/usr/people/schwarz/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/oxdvik'
echo "/* alternative definitions if string concatenation is not available */" > krheader.h
echo "#ifndef HAVE_CC_CONCAT" >> krheader.h
for file in ./xdvi.c ; do \
cc -E -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I/usr/local/pkg/include -I/usr/local/pkg/include/w3c-libwww -DHAVE_CONFIG_H -DHAVE_LIBWWW -DHAVE_WWWLIB_H -I/usr/local/pkg/include -DPS_GS -DOmega -DXSERVER_INFO -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/include -I/usr/local/pkg/include  -DMAKING_HEADER ./$file \
| sed -e '2,/XDVI_CC_CONCAT_BEGIN1/d' -e '/XDVI_CC_CONCAT_END1/,$d' -e '/^ *$/d' -e '/^#/d' \
| sed -e '2,$s/^[       ]*"//' -e 's/"[         ]*$/\\/' \
>How-To-Repeat:

>Fix:
maybe add --with-libwww-include= ${LOCALBASE}/include/w3c-libwww? (and similarly for --with-libwww-libdir as well?). Thre question remains why this is actually needed and the includes not being taken care of by buildlink3 instead.
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> krheader.h; done
 cfe: Error: ././xdvi.c: 103: Cannot open file WWWLib.h for #include
 cfe: Error: ././xdvi.c: 104: Cannot open file WWWInit.h for #include
 cfe: Error: ././xdvi.c: 105: Cannot open file WWWCache.h for #include
 cfe: Error: ././xdvi.c: 106: Cannot open file HTEscape.h for #include
 echo "#endif /* HAVE_CC_CONCAT */" >> krheader.h
 cc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I/usr/local/pkg/include -I/usr/local/pkg/include/w3c-libwww -DHAVE_CONFIG_H -DHAVE_LIBWWW -DHAVE_WWWLIB_H -I/usr/local/pkg/include -DPS_GS -DOmega -DXSERVER_INFO -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/i nclude -I/usr/local/pkg/include  -O2 -Xcpluscomm -Dunix -I/usr/local/pkg/include  -c xdvi.c
 cfe: Error: xdvi.c: 103: Cannot open file WWWLib.h for #include
 cfe: Error: xdvi.c: 104: Cannot open file WWWInit.h for #include
 cfe: Error: xdvi.c: 105: Cannot open file WWWCache.h for #include
 cfe: Error: xdvi.c: 106: Cannot open file HTEscape.h for #include
 gmake[2]: *** [xdvi.o] Error 1
 gmake[2]: Leaving directory `/usr/people/schwarz/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/oxdvik'
 gmake[1]: *** [all] Error 1
 gmake[1]: Leaving directory `/usr/people/schwarz/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk'
 gmake: *** [all] Error 1
 *** Error code 2
 
 Stop.
 bmake: stopped in /usr/people/schwarz/pkgsrc/print/teTeX-bin
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/people/schwarz/pkgsrc/print/teTeX-bin
 
 The missing files are installed and present under ${LOCALBASE}/include/w3c-libwww.
 
 Makefile.common includes ../../www/libwww/buildlink3.mk, but this seems insufficient.