|
I’m trying to setup BB on Fedora Core 4, and I’m
having big problems. I’m following the steps in the install guide, and
get to around the following points: ln s /full_path_to_bb/www
/WWW/bb (where /WWW is the Document Root dir). Make sure the permissions
are correct. Configure your web server for this directory if
need be. Also make sure that your
web server follows symbolic links Note: use the location of
the bb link in step 5) To check where your
Document Root directory is located # find / name httpd.conf # grep Document
/full_path_to/httpd.conf e.g. # ln s /usr/local/bb/www
/usr/local/apache2/htdocs/bb 3.6.2 Step 2 Become bbuser # su – bbuser This should put you in
the bbuser home dir (/usr/local/bb) $ cd src $ make $ make install The output I’m now getting when I do a make is: Making linux makefile make[1]: Entering directory
`/usr/local/bb1.9h-btf/src' BBOS="linux" CC="gcc"
CFLAGS=" -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC -DTIMEH"
make -e bball make[2]: Entering directory
`/usr/local/bb1.9h-btf/src' gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o bb.o -c bb.c gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o bbsend.o -c bbsend.c gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o utils.o -c utils.c gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o
bbsend.o utils.o gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o dohostsvc.o -c dohostsvc.c gcc -DSIGSETJMP -O -Dlinux -DGETTIMEOFDAY -DREGEXEC
-DTIMEH `./minimake/genbbdefs` -g -o bbd.o -c bbd.c bbd.c: In function 'main': bbd.c:718: error: invalid storage class for function
'bbd_timeout' bbd.c:1109: warning: pointer targets in passing
argument 3 of 'accept' differ in signedness bbd.c:1148:8: warning: extra tokens at end of #endif
directive bbd.c:1180:8: warning: extra tokens at end of #endif
directive make[2]: *** [bbd.o] Error 1 make[2]: Leaving directory
`/usr/local/bb1.9h-btf/src' make[1]: *** [all] Error 2 make[1]: Leaving directory
`/usr/local/bb1.9h-btf/src' make: *** [all] Error 2 Can anyone explain the errors, as I then can’t
do the “make install” either? Thanks James |