Re: Updates of SE-PostgreSQL 8.4devel patches (r1530) - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: Updates of SE-PostgreSQL 8.4devel patches (r1530)
Date
Msg-id 3073cc9b0902271353h68bb27b0j96fdfe631bff9c2c@mail.gmail.com
Whole thread Raw
In response to Re: Updates of SE-PostgreSQL 8.4devel patches (r1530)  (KaiGai Kohei <kaigai@kaigai.gr.jp>)
Responses Re: Updates of SE-PostgreSQL 8.4devel patches (r1530)
List pgsql-hackers
On Sat, Feb 14, 2009 at 12:46 AM, KaiGai Kohei <kaigai@kaigai.gr.jp> wrote:
> Jaime Casanova wrote:
>>
>> i only have ubuntu at hand, and i can install selinux from
>> repositories... do you see any problem with that?
>> i'm creating the VM now... will test on weekend...
>
> Now I checked the repository of Ubuntu, however, I can find
> several matters to build/run SE-PostgreSQL.
> - The default security policy is quite old.
>  Is does not contain SE-PostgreSQL support which is merged
>  at the refpolicy-20080702.
> - The libselinux is a bit old. It does not contains several
>  symbols required by SE-PostgreSQL, so it is not possible
>  to compile.
>
> If you set up a VM from scratch, Fedora enables to install
> via remote repository using minimum bootable image.
>  http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/iso/
>

at last i managed to install fedora 10 and it seems like it have
selinux installed (both "locate selinux" and "locate libselinux" gives
results).

executing: yum install libselinux gives "Package
libselinux-2.0.73-1.fc10.i386 already installed and latest version"

nevertheless, when i run:

./configure --prefix=/usr/local/pgsql/8.4.se --enable-cassert
--enable-debug --enable-depend --enable-selinux

i get this message:
checking for getpeercon in -lselinux... no
configure: error: "--enable-selinux requires libselinux."

attached config.log

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: xpath processing brain dead
Next
From: Tom Lane
Date:
Subject: Re: xpath processing brain dead