Hello, the cpc is the driver program for calling the real precompiler called pc3 and on success the c-compiler. The precompiler should be located on your environment under /var/tmp/portage/maxdb-src-7.5.0.14/work/V75_00_14/MaxDB_ORG/usr/sdk/7500/pgm/ Please call the pc3 directly with the same options but add the .cpc extension to the vni90c file. Which files are produced? is there any core file.
Regards Burkhard > -----Original Message----- > From: Hermann Mundprecht [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 4:22 PM > To: Diesing, Burkhard > Cc: '[EMAIL PROTECTED]' > Subject: RE: building from sources fails at vni90c > > > Hi Burkhard ! > > Thanks for your help. I tried to manuale use cpc on the > vni90c.cpc file > from the distribution (i should have mentioned that i allready tried > this before) and on the one you supplied. > The outcome is: > ---- > cpc options: -H nocheck -S INTERNAL -c file: vni90c.cpc > cc -c -I > /var/tmp/portage/maxdb-src-7.5.0.14/work/V75_00_14/MaxDB_ORG/u > sr/sdk/7500/incl -I > /var/tmp/portage/maxdb-src-7.5.0.14/work/V75_00_14/MaxDB_ORG/u > sr/incl vni90c.c > gcc: vni90c.c: No such file or directory > gcc: no input files > vni90c.c compilation errors > error messages written to file vni90c.lst > vni90c.c saved > ---- > If i use the cpc from my intallation that i built on a gentoo 1.4 type > system on either the file from the source distribution or on the one > that you sent i get the output the you have in your message (and a > vni90c.c file) > > May it be that the cpc itself is not built correctly ? > > regards Hermann > > On Tue, 2004-07-06 at 09:34, Diesing, Burkhard wrote: > > Hi, > > > > > -----Original Message----- > > > From: Hermann Mundprecht [mailto:[EMAIL PROTECTED] > > > Sent: Monday, July 05, 2004 9:16 PM > > [...] > > > We are having problems building maxdb from sources on a new > > > gentoo-linux > > > version. The build fails at the following point: > > [...] > > > Source "vni90c.c" after running script "compcpc.pl" not found ! > > > > the cpc is the C-Precompiler. It seems that the precompiler > doesn't work. > > > > You can check this by calling the cpc with the vni90c directly. > > To do this please copy and rename the module to vni90c.cpc > and remove the > > Module frame. Change to the directory where the vni90c.cpc > is located and call the precompiler with 'cpc -H nocheck -S > INTERNAL -c vni90c' > > This call should generate the C-Source (vni90c.c) and a > precompiler output like this > > > > cpc options: -H nocheck -S INTERNAL -c file: vni90c.cpc > > MySQL MaxDB MaxDB C-PreComp Version 7.5.0 Build 016-003-000-000 > > Copyright 2000-2004 by SAP AG > > 207 PRECOM-WARNING : -885 Variable may > be truncated > > 207 VARIABLE-NAME : 1: SERVERDB_PARAMETER > > 207 PRECOM-WARNING : -885 Variable may > be truncated > > 207 VARIABLE-NAME : 2: SERVERNODE_PARAMETER > > : > > : 2 WARNINGS > > : NO DETECTED ERRORS > > vni90c.cpc no compilation with option -c > > vni90c.c saved-H nocheck -S INTERNAL -c of vni90c > > > > Regards > > Burkhard > > > > P.S. You can also use the extracted Module in the Attachment. > -- > > Hermann Mundprecht > IT-Consultant > > Email: [EMAIL PROTECTED] > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
