Subject: problem compiling pkgsrc-2004Q4 devel/nbitools, redhat linux fc1
To: None <tech-pkg@netbsd.org>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: tech-pkg
Date: 12/28/2004 09:53:34
1.  imake.c does not include header files needed to define 'struct
stat' on linux.  not sure how to fix this.

2.  when compiling on linux, I use 'bmake'.  but the generated
makefiles insist on defining 'MAKE = make', which doesn't seem to
work.

I've included a compilation session below.

-russ


# uname -a
uname -a
Linux russepc 2.4.22-1.2188.nptlsmp #1 SMP Tue May 11 12:51:11 EDT 2004 i686 i686 i386 GNU/Linux
# pwd
pwd
/amm/pkgsrc-2004Q4/devel/nbitools
# bmake
bmake
===> Building for nbitools-6.3nb1

Building Release 6.3 of the itools distribution.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

I hope you checked config/extras/extras.tmpl to see if there
are any parameters there you wish to change.

Tue Dec 28 09:51:51 EST 2004

cd ./config/imake && /usr/pkg/bin/bmake   -f Makefile.ini BOOTSTRAPCFLAGS="" clean
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
/usr/pkg/bin/bmake   Makefile.boot
cd ./config/imake && /usr/pkg/bin/bmake   -f Makefile.ini BOOTSTRAPCFLAGS=""
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
In file included from imake.c:277:
imakemdep.h:256:17: warning: extra tokens at end of #ifdef directive
imake.c: In function `get_gcc_incdir':
imake.c:1073: error: storage size of `sb' isn't known
imake.c: In function `CleanCppInput':
imake.c:1223: error: storage size of `st' isn't known
imake.c: In function `ReadLine':
imake.c:1432: error: storage size of `st' isn't known
*** Error code 1

Stop.
bmake: stopped in /amm/pkgsrc-2004Q4/devel/nbitools/work/nbitools-R6.3/config/imake