Skip to contentSkip to conversation

Building for Ubuntu 9.04 - too few arguments to heap_create_with_catalog error

DISCUSSION Shaz 2 participants 2 messages Jul 3, 2009 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Shaz

author
#1 lore raw
Quoted 17 lines · Shaz

Dear list,

I am building sepgsql for Ubuntu 9.04. I am following steps provided in
http://wiki.postgresql.org/wiki/SEPostgreSQL_Administration#Installation_from_source_tarball

I encountered the following error:

----------
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith

(quoted diff) +0 -2
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-I. -I../../../src/include -D_GNU_SOURCE   -c -o bootparse.o bootparse.c

bootparse.y: In function ‘boot_yyparse’:
bootparse.y:228: error: too few arguments to function ‘heap_create_with_catalog’
make[3]: *** [bootparse.o] Error 1
---------

Quoted 1 line

Help requested in this matter.

I got it working with Fedora 11 (yum) but would love to make it work on Ubuntu with source tarballs. Is the [email protected] active?

Quoted 9 lines

Thank you.

--
Shaz

Signature · 1 line
Shaz
#2 lore raw
Quoted 23 lines · Shaz

On Sun, Jun 28, 2009 at 11:12 AM, Shaz <[email protected] <mailto:[email protected]>> wrote:

Dear list,

I am building sepgsql for Ubuntu 9.04. I am following steps provided in
http://wiki.postgresql.org/wiki/SEPostgreSQL_Administration#Installation_from_source_tarball

I encountered the following error:

----------
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -I. -I../../../src/include -D_GNU_SOURCE -c -o bootparse.o
bootparse.c
bootparse.y: In function ‘boot_yyparse’:
bootparse.y:228: error: too few arguments to function ‘heap_create_with_catalog’
make[3]: *** [bootparse.o] Error 1
---------

Quoted 4 lines

Help requested in this matter.

I got it working with Fedora 11 (yum) but would love to make it work on Ubuntu with source tarballs. Is the [email protected] <mailto:[email protected]> active?

I could not reproduce the matter with pgsql-8.4.0 and corresponding patch.

Could you try it again with the official postgresql-8.4.0.tar.gz and the correct patch.

- postgresql-8.4.0.tar.gz ftp://ftp.postgresql.org/pub/source/v8.4.0/postgresql-8.4.0.tar.gz
- sepgsql-00-full-8.4.0-r2096.patch.gz
http://sepgsql.googlecode.com/files/sepgsql-00-full-8.4.0-r2096.patch.gz

BTW, what version of libselinux is available on Ubuntu 9.04? The v8.4.x based SE-PostgreSQL requires libselinux-2.0.80 or later.

Thanks,

Signature · 6 lines
KaiGai Kohei <[email protected]>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.