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

Re: BillMax questions -- Re: Support Help



put /usr/local/billmax/bin in your path.

Paul

James Wallace wrote:

 
 

I have downloaded the source code for billmax 2.0.0 (BxPackage-RedHat7.2-src.2.0.0.tar) unpacked it into the /usr/local/billmax directory.  This creates a /usr/local/billmax/src directory.  When I run "make" in the /usr/local/billmax/src dir I get the following:

[root@billy src]# make
===> bin
===> bin/alterdb
make[2]: bxroot: Command not found
¨ßB¨ßBmake[2]: bxobj: Command not found
¨ßB¨ßBmake[2]: bxos: Command not found
pàBpàBmake[2]: bxos: Command not found
pàBpàBgcc -O2 -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wcast-align -Waggregate-return -Wmissing-prototypes -Wnested-externs -DBILLMAX -DBILLMAXDIR=\"\"  -I /src/lib/billmax -I /src/lib/billmaxpub -c alterdb.c
alterdb.c:105:21: billmax.h: No such file or directory
make[2]: *** [alterdb.o] Error 1
make[1]: *** [.DEFAULT] Error 1
make: *** [.DEFAULT] Error 1

I have read some in the archives in the help forum, found notes about editing the Makefile and commenting out the first line (SUBDIR +=     lib) because the source for the libraries is part of the 10% that is not included.

What I'm trying to do is recompile the statement.c file so I can print a prettier statement.  I'm starting with the original file form Billmax source, once I get that to compile I'll attempt the modified version.  When I try to compile the file directly I get these errors:
 

[root@billy statement]# make statement.c
make: bxroot: Command not found
¨ßB¨ßBmake: bxobj: Command not found
¨ßB¨ßBre/locale/en_US/LC_MESSAGES/make.momake: bxos: Command not found
pàBpàBmake: bxos: Command not found
pàBpàBmake: `statement.c' is up to date.
Or if I just run make in the same dir I get:

[root@billy statement]# make
make: bxroot: Command not found
¨ßB¨ßBmake: bxobj: Command not found
¨ßB¨ßBre/locale/en_US/LC_MESSAGES/make.momake: bxos: Command not found
pàBpàBmake: bxos: Command not found
pàBpàBgcc -O2 -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wcast-align -Waggregate-return -Wmissing-prototypes -Wnested-externs -DBILLMAX -DBILLMAXDIR=\"\"  -I/src/lib/cgitools -I /src/lib/billmax -I /src/lib/billmaxpub -c statement.c
In file included from statement.c:72:
billmax.h:43:21: account.h: No such file or directory
billmax.h:44:23: calltrack.h: No such file or directory
billmax.h:45:20: config.h: No such file or directory
billmax.h:46:23: customsql.h: No such file or directory
billmax.h:47:22: datacall.h: No such file or directory
billmax.h:48:18: date.h: No such file or directory
In file included from statement.c:72:
billmax.h:50:24: globalconf.h: No such file or directory
billmax.h:51:21: license.h: No such file or directory
billmax.h:52:18: list.h: No such file or directory
billmax.h:53:17: md4.h: No such file or directory
In file included from statement.c:72:
billmax.h:55:18: misc.h: No such file or directory
billmax.h:56:18: note.h: No such file or directory
In file included from statement.c:72:
billmax.h:58:22: salestax.h: No such file or directory
billmax.h:59:21: servdef.h: No such file or directory
billmax.h:60:21: service.h: No such file or directory
billmax.h:61:27: servicechange.h: No such file or directory
billmax.h:62:19: stats.h: No such file or directory
billmax.h:63:22: tierplan.h: No such file or directory
billmax.h:64:23: timetrack.h: No such file or directory
billmax.h:65:18: user.h: No such file or directory
billmax.h:66:18: util.h: No such file or directory
billmax.h:67:23: reporting.h: No such file or directory
billmax.h:68:26: reporttables.h: No such file or directory
billmax.h:69:21: version.h: No such file or directory
billmax.h:70:63: payhist.h: No such file or directory
billmax.h:71:55: financial.h: No such file or directory
make: *** [statement.o] Error 1
In any case I get no object or executable files.

Joe