Re: anyone have a copy of dostats for 4gl?
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
On Thu, 29 Apr 2004 15:29:20 -0400, sumGirl wrote: You might have missed one trick. From the README.1st: Reworked to permit compilation of dostats.ec using c4gl versions that do not support host variable declarations in ANSI style function parameter lists. I've used GNU make syntax so if you only have UNIX make available you'll need to edit the Makefile to either remove the ifeq verb or (if you are compiling with C4GL) change it to shell logic. Sounds like you are using UNIX make. Wherever you see a construct like: ifeq ($(ESQL),c4gl) ... else ... endif comment out or, better, remove the 'ifeq' line and everything from 'else' to 'endif' and unindent the remaining text. The remaining make file should work with any UNIX compliant make version. If not send me details of your environment/platform, a copy of the edited makefile, and your make version. Or you could just get GNU Make. ;-) Art S. Kagel >> The makefile and README files have instructions for compiling the utils2_ak >> utilities with C4GL 7.xx which contains a full ESQL/C compiler. Art S. >> Kagel > > I downloaded and read trough, commenting in and out as needed. Gave MAKE a > try, and I keep raising errors: > "Makefile", line 53: make: 1254-055 Dependency line needs colon or double > colon > operator. > "Makefile", line 57: make: 1254-055 Dependency line needs colon or double > colon > operator. > "Makefile", line 63: make: 1254-055 Dependency line needs colon or double > colon > operator. > > Anyone else fight this? I am running c4gl 7.30.UC6, on AIX 5.2. -wc
> The makefile and README files have instructions for compiling the utils2_ak > utilities with C4GL 7.xx which contains a full ESQL/C compiler. > Art S. Kagel I downloaded and read trough, commenting in and out as needed. Gave MAKE a try, and I keep raising errors: "Makefile", line 53: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 57: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 63: make: 1254-055 Dependency line needs colon or double colon operator. Anyone else fight this? I am running c4gl 7.30.UC6, on AIX 5.2. -wc
sumGirl wrote: > > The makefile and README files have instructions for compiling the utils2_ak > > utilities with C4GL 7.xx which contains a full ESQL/C compiler. > > Art S. Kagel > > I downloaded and read trough, commenting in and out as needed. Gave > MAKE a try, and I keep raising errors: > "Makefile", line 53: make: 1254-055 Dependency line needs colon or > double colon > operator. > "Makefile", line 57: make: 1254-055 Dependency line needs colon or > double colon > operator. > "Makefile", line 63: make: 1254-055 Dependency line needs colon or > double colon > operator. > > Anyone else fight this? I am running c4gl 7.30.UC6, on AIX 5.2. > -wc I'm guessing that you lost something when "commenting in and out" the makefile; it sounds like MAKE may be confusing a command line for a dependency/rules line. Are you certain your command lines all begin with a tab, for example? -- June Hunt