Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Big brother monitoring on AIX 5.3 need help Oh please

Status
Not open for further replies.

oliverbeat

Technical User
Sep 3, 2004
86
NZ
Hi guys,
I am trying to install Big Brother monitoring (bb4.com) but the make command failed and I am bad on C so if someone can tell me what is wrong ? Please I am tired to try and fix this product ...
Thanks in advance for your HELP please I need your help!!
This is what I have installed on my server:
$ rpm -qa
expat-1.95.7-1
expat-devel-1.95.7-1
libghttp-1.0.9-1
libghttp-devel-1.0.9-1
apache-devel-1.3.31-1
apache-1.3.31-1
gcc-3.3.2-5
libgcc-3.3.2-5
libstdc++-3.3.2-5
libstdc++-devel-3.3.2-5
gcc-c++-3.3.2-5

I don't have C Compiler so I used gcc and create a link on cc:
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc
$ ls -ltr /usr/bin/cc
lrwxrwxrwx 1 root system 12 Aug 26 15:43 /usr/bin/cc -> /usr/bin/gcc


Now I follow the procedure of install, and when we must run make as the user bb (I tried with root), below the outpu errors:
bb@:/home/bb/bb1.9h-btf/src/ $ make
Making aix makefile
BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY" make -e bball
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bb.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbsend.c
bbsend.c: In function `bbsend_timeout':
bbsend.c:34: warning: assignment makes pointer from integer without a cast
bbsend.c: In function `bbsend':
bbsend.c:151: warning: assignment makes pointer from integer without a cast
bbsend.c:208: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c utils.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dohostsvc.c
dohostsvc.c: In function `dohostsvc':
dohostsvc.c:402: warning: assignment makes pointer from integer without a cast
dohostsvc.c:405: warning: assignment makes pointer from integer without a cast
dohostsvc.c:408: warning: assignment makes pointer from integer without a cast
dohostsvc.c:411: warning: assignment makes pointer from integer without a cast
dohostsvc.c:414: warning: assignment makes pointer from integer without a cast
dohostsvc.c:418: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbd.c
bbd.c: In function `enable_disable':
bbd.c:260: warning: assignment makes pointer from integer without a cast
bbd.c:274: warning: assignment makes pointer from integer without a cast
bbd.c:283: warning: assignment makes pointer from integer without a cast
bbd.c:352: warning: assignment makes pointer from integer without a cast
bbd.c:363: warning: assignment makes pointer from integer without a cast
bbd.c: In function `main':
bbd.c:1109: warning: passing arg 3 of `naccept' from incompatible pointer type
bbd.c:1148:8: warning: extra tokens at end of #endif directive
bbd.c:1180:8: warning: extra tokens at end of #endif directive
bbd.c: In function `getsecurity':
bbd.c:2154: warning: assignment makes pointer from integer without a cast
bbd.c: In function `dosecdb':
bbd.c:2358: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbpage.c
bbpage.c: In function `save_notif':
bbpage.c:544: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_mail':
bbpage.c:629: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_alpha':
bbpage.c:797: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_qpage':
bbpage.c:853: warning: assignment makes pointer from integer without a cast
bbpage.c:862: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `send_sendpage':
bbpage.c:921: warning: assignment makes pointer from integer without a cast
bbpage.c:930: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_page':
bbpage.c:1495: warning: assignment makes pointer from integer without a cast
bbpage.c:1514: warning: assignment makes pointer from integer without a cast
bbpage.c:1723: warning: assignment makes pointer from integer without a cast
bbpage.c:1870: warning: assignment makes pointer from integer without a cast
bbpage.c:1873: warning: assignment makes pointer from integer without a cast
bbpage.c:1876: warning: assignment makes pointer from integer without a cast
bbpage.c:1879: warning: assignment makes pointer from integer without a cast
bbpage.c:1882: warning: assignment makes pointer from integer without a cast
bbpage.c:1885: warning: assignment makes pointer from integer without a cast
bbpage.c:1888: warning: assignment makes pointer from integer without a cast
bbpage.c:1911: warning: assignment makes pointer from integer without a cast
bbpage.c:1934: warning: assignment makes pointer from integer without a cast
bbpage.c:1962: warning: assignment makes pointer from integer without a cast
bbpage.c:2035: warning: assignment makes pointer from integer without a cast
bbpage.c:2057: warning: assignment makes pointer from integer without a cast
bbpage.c:2088: warning: assignment makes pointer from integer without a cast
bbpage.c:2099: warning: assignment makes pointer from integer without a cast
bbpage.c:2135: warning: assignment makes pointer from integer without a cast
bbpage.c:2170: warning: assignment makes pointer from integer without a cast
bbpage.c:2181: warning: assignment makes pointer from integer without a cast
bbpage.c:2246: warning: assignment makes pointer from integer without a cast
bbpage.c:2256: warning: assignment makes pointer from integer without a cast
bbpage.c:2268: warning: assignment makes pointer from integer without a cast
bbpage.c:2343: warning: assignment makes pointer from integer without a cast
bbpage.c:2368: warning: assignment makes pointer from integer without a cast
bbpage.c:2439: warning: assignment makes pointer from integer without a cast
bbpage.c:2495: warning: assignment makes pointer from integer without a cast
bbpage.c:2524: warning: assignment makes pointer from integer without a cast
bbpage.c:2583: warning: assignment makes pointer from integer without a cast
bbpage.c:2669: warning: assignment makes pointer from integer without a cast
bbpage.c:2697: warning: assignment makes pointer from integer without a cast
bbpage.c:2721: warning: assignment makes pointer from integer without a cast
bbpage.c:3076: warning: assignment makes pointer from integer without a cast
bbpage.c:3085: warning: assignment makes pointer from integer without a cast
bbpage.c:3148: warning: assignment makes pointer from integer without a cast
bbpage.c:3153: warning: assignment makes pointer from integer without a cast
bbpage.c:3158: warning: assignment makes pointer from integer without a cast
bbpage.c:3163: warning: assignment makes pointer from integer without a cast
bbpage.c:3168: warning: assignment makes pointer from integer without a cast
bbpage.c:3454: warning: assignment makes pointer from integer without a cast
bbpage.c: In function `bb_doack':
bbpage.c:3670: warning: assignment makes pointer from integer without a cast
bbpage.c:3788: warning: assignment makes pointer from integer without a cast
bbpage.c:4058: warning: assignment makes pointer from integer without a cast
bbpage.c:4075: warning: assignment makes pointer from integer without a cast
bbpage.c:4093: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbd bbd.o dohostsvc.o bbpage.o bbsend.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbnet.c
bbnet.c: In function `setup':
bbnet.c:277: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `bnetsend':
bbnet.c:359: warning: assignment makes pointer from integer without a cast
bbnet.c: In function `timeout':
bbnet.c:567: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbnet bbnet.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c touchtime.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/touchtime touchtime.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c dumphostsvc.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/dumphostsvc dumphostsvc.o dohostsvc.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c getipaddr.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/getipaddr getipaddr.o utils.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbstat.c
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbstat bbstat.o
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY -c bbrun.c
bbrun.c: In function `main':
bbrun.c:84: warning: assignment makes pointer from integer without a cast
bbrun.c:95: warning: assignment makes pointer from integer without a cast
cc -Daix -DTIMEH -DREGEXEC -DGETTIMEOFDAY `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bbrun bbrun.o utils.o
Target "bball" is up to date.
 
Those are all just warnings about one type of pointer being used as a different type. I don't think you have a problem...

But perhaps there is a different makefile for use with gcc under AIX? If not, then just attempt to continue your installation. You should have all executables as per the message: 'Target "bball" is up to date.'



HTH,

p5wizard
 
I did the exact same thing yesterday, and got the very same warnings.
But they're just warnings and make install went through fine.
I haven't encountered any problems yet but will fiddle more today (if time permits :)


"If you always do what you've always done, you will always be where you've always been."
 
Thank you guys. I follow your instruction and I ignore the warning. I have only one problem because I am newbie on apache (shame on me!!!). Well when I start BB the webpage is not working (The page cannot be found).
httpd is running
bb is running

I update the bb-hosts file correctly.


Thanks again in advance.
Regards
 
If you Apache has the default installation, create a sybmolic link in the html base directory to the BB installation

I've changed my defaults so my html content is in /data001/web/html
/data001/web/html/bb links to /software/big_brother/server/bb1.9h-btf/www



"If you always do what you've always done, you will always be where you've always been."
 
Thank you!!!!!!!!!!!
So I now I can see my web page but not well. The page BB is completely green and I have a X instead of gif and I don't see all informations as Contacts - Condense view etc (on the top of the web site on the right...)
I would like to know how to fix that and have a better view and also how to avoid to have acces to the index of my bb directory ?
Thanks again for your help !!
 
I forget :
when I am on my web page Big Brother I see what I put on bb-host
page PAGE01 Monitoring, Maintenance and control Work Sation
But if I want to click (and I see only a X) it is failed.

I know that I need to do something else but what ???
Thanks again in advance
 
In the future you should `export CC=gcc` and not create a link.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top