Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Problem building sources

From: Linos <info(at)linos.es>
Date: Sun Aug 26 2007 - 09:50:45 EDT


Hello all,

        i am trying to compile python modules for windows from maxdb-sources, i need to use maxdb from python2.5 because i am using pyqt4 with qt4 in the application, pyqt4 is not compiled with python2.3, i have downloaded maxdb-sources-7.6.00.37.zip and maxdb-buildtools-win-i386-593293.zip from mysql maxdb homepage and i have this problems:

  1. when i use "perl installsources.pl" the initDev_MaxDB.bat that it is generated have an error in this line:

set PERL5LIB=%INSTROOT%\misc;%TOOL%\bin;%TOOL%\Lib\Perl,%PERL5LIB%

it would be this:

set PERL5LIB=%INSTROOT%\misc;%TOOL%\bin;%TOOL%\Lib\Perl;%PERL5LIB%

if i launch imf.pl with the automatic generated file i have this error:

C:\maxdb-source\V76_00_37\MaxDB_DEV>imf.pl all Can't locate SDB/Make/Path.pm in @INC (@INC contains:

C:\maxdb-source\V76_00_37\MaxDB_DEV\usr\misc
C:\maxdb-buildtools\DevTool\bin C:\maxdb-buildtools\DevTool\Lib\Perl,
C:/Perl/site/lib C:/Perl/lib .) at
C:\maxdb-buildtools\DevTool\bin/lcmake.pm line 636.

2) after fix perl5lib path i have the error "missing parser validator (msv.jar) in c:\maxdb-buildtools\DevTool\java\XML/Validator" so i downloaded msv.jar from https://msv.dev.java.net and installed in c:\maxdb-buildtools\DevTool\java\XMLValidator and this error has been fixed.

Do you need help?X

3) later i have this errors (that i dont know how to fix or workaround):

"Possible previous pascal syntax error!" in many files and because this i cant compile clientruntime.lib:

TARGET: 'ClientRunTime.lib' STATUS: ERROR DATE: 26-08-07 14:26:05

not made because of dependency errors of:

        vos04u

and i get finally:

'all.mac' not made because of dependency errors.

i have uploaded the build logs here http://www.linos.es/all.mac.7z


Do you need more help?X

Do i have a site to download v7.6.02.10 of sources?, i am using this binary version that i have downloaded from sap directly but I cant find the sources in sap, i have tried to download cvs and compile from a linux box (gentoo linux, kernel 2.6.22, gcc 4.1.2) but when i try to compile TOOLSRC (after ./configure) i have this:

gcc -c -DLINUX -DI386 -DSYSV -DCC -O2 -g -fPIC -c -DOPTIMIZING -DFLEX -DNO_ENUM -D__PTOCLIB__ -I../common -I../include p1m2.c In file included from p1m2.c:24:
../include/ptoc.h:423:1: warning: "sql__ucmp" redefined ../include/ptoc.h:76:1: warning: this is the location of the previous definition

p1m2.c:43: error: expected declaration specifiers or '...' before '(' token
p1m2.c: In function 'DclError':
p1m2.c:209: warning: passing argument 1 of 'sql__ut' from incompatible
pointer type
p1m2.c:210: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:212: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:214: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:216: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:217: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:220: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:222: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:225: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:226: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:231: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:232: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c: In function 'werror':
p1m2.c:257: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:258: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c:260: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:262: warning: passing argument 1 of 'fprintf' from incompatible pointer type
p1m2.c: In function 'WarnStrCmp':
p1m2.c:298: warning: passing argument 1 of 'sql__ut' from incompatible pointer type
p1m2.c:300: warning: passing argument 1 of 'fprintf' from incompatible pointer type
make[4]: *** [p1m2.o] Error 1
make[4]: Leaving directory
`/home/skuda/cvsmaxdb/TOOLSRC/sys/src/base/ptoc/pcomp'
make[3]: *** [xmkpgenc] Error 2
make[3]: Leaving directory
`/home/skuda/cvsmaxdb/TOOLSRC/sys/src/base/ptoc/pcomp'
make[2]: *** [csys] Error 2
make[2]: Leaving directory `/home/skuda/cvsmaxdb/TOOLSRC/sys/src/base/ptoc'
make[1]: *** [ptocall] Error 2
make[1]: Leaving directory `/home/skuda/cvsmaxdb/TOOLSRC/sys/src/base'
make: *** [base] Error 2

So i can not compile maxdb on my own, no from distribution sources no from cvs, i am using windows xp sp2 + visual studio .net 2003 + python 2.5.1 + activeperl 5.8.8 in the windows machine. Thanks in advance.

-- 
MaxDB Discussion Mailing List
For list archives: 
http://lists.mysql.com/maxdb
To unsubscribe:    
http://lists.mysql.com/maxdb?unsub=lists@pantek.com
Received on Sun Aug 26 09:51:27 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:35 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library