On Wed, Dec 15, 2010 at 07:51:37PM +0100, Fabian Groffen wrote:
> On 15-12-2010 19:47:07 +0100, Stefan Manegold wrote:
> > Changeset: dc76101969ba for MonetDB
> > URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dc76101969ba
> > Modified Files:
> > buildtools/conf/MonetDB.m4
> > Branch: Oct2010
> > Log Message:
> >
> > HACK(?) to find & use proper 32-bit libperl on 64-bit system (with default
> > 64-bit perl)
>
> This looks weird, do you have any pointers to the original problem?
Lacking a genuine 32-bit (Linux-) system, we (I) (try to) build and test a
32-bit version of MonetDB on a 64-bit (Linux-) system with 32-bit
development environment.
In general, we (buildtools/conf/MonetDB.m4) use
PERL_LIBS=`"$PERL" -MConfig -e 'print "$Config{archlib}/CORE"'
2>/dev/null`
to find during configure where to find libperl.
However, in the above case, the 64-bit perl yields a path like
/usr/lib64/perl5/CORE/
i.e., the location of the 64-bit libperl, while the 32-bit libperl is in
/usr/lib/perl5/CORE/
Hence, the check "whether we can compile with Perl" fails:
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/clients/.GNU.32.32.d.1-Fedora14/config.out_log.html
says
checking whether we can compile with Perl... no
see also
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/clients/.mTests1031/GNU.32.32.d.1-Fedora14/conf/monetdb-conds.out.00.html
Stefan
ps: it's not crucial, my checking should not do any harm in cases where it
isn't "required", and yes, it is a weird hack for (my own) convenience
;-)
> _______________________________________________
> Checkin-list mailing list
> [email protected]
> http://mail.monetdb.org/mailman/listinfo/checkin-list
>
--
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list