Hello Roberto,

as far as we know, there is no 64-bit Perl for this platform, only 32-bit, but 
we don't 
supply 32-bit libraries or interfaces for this platform. __powerpc__ is an 
indicator
that your Perl wants to build the extension in 32-bit, __powerpc64__ is the 
intrinsic
define in 64-bit mode.

Sorry, but I don't think there will be a solution for your problem, as 32-bit 
Linux PPC 
is not supported. (If you manage to build a 64-bit Perl on this platform, we 
would be
glad to hear about this.)

Regards
Alexander Schröder
SAP DB, SAP Labs Berlin

-----Original Message-----
From: Roberto Turrado [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 30. Mai 2006 15:51
To: [email protected]
Subject: Problems installing MaxDB

Hi,

I'm trying to install DBD-MaxDB-7.6.00.27 on a Power5 machine (64 bit)
I've already installed maxdb-all-linux-64bit-ppc-7_6_00_27.tgz
perl -v reports: This is perl, v5.8.5 built for ppc-linux-thread-multi

After doing "perl Makefile.PL", when I try "make", I just get the following
error, complaining of an unknown platform:

/opt/sdb/programs/sdk/sqldbc/incl/SQLDBC_Types.h:109:2: #error Unknown
platform.

make doesn't recognise __powerpc64__. I've done a couple of quick ugly
changes (one, changing that .h file to recognise __powerpc__, the other
changing the Makefile generated by "perl Makefile.PL", so it doesn't use the
"-m32" flag but "-m64"). When I do that, make complains then of
libSQLDBC_C.so being an incompatible library:

/usr/bin/ld: skipping incompatible /opt/sdb/programs/lib/libSQLDBC_C.so when
searching for -lSQLDBC_C
/usr/bin/ld: cannot find -lSQLDBC_C

Actually, it might be incompatible, because it reports its type as "cisco
7500" when I do a "file":

/opt/sdb/programs/lib/libSQLDBC_C.so: ELF 64-bit MSB shared object, cisco
7500, version 1 (SYSV), not stripped

Any idea what can be going wrong? If you think I'm missing some modules to
be installed, I'd thank you to tell me as well.

Thanks, Roberto.


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to