I am trying to build rpm 5.3.5 on Open Indiana 151a. I am
running into the following errors:
...
...
...
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio
-I../misc -I../beecrypt/include -I../beecrypt/include -I../beecrypt
-I../beecrypt -I../pcre -I../pcre -I../db -I../db -I../db/src
-I../db/src -I../scripts -I../scripts -DRPM_OS_SOLARIS=021100
-DRPM_OS_SOLARIS=021100 -g -O2 -fno-delete-null-pointer-checks
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fexceptions -fexceptions
-D_GNU_SOURCE -D_REENTRANT -I/usr/include/neon -I./db51 -MT
librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c
-o librpmdb_la-dbconfig.lo `test -f 'dbconfig.c' || echo
'./'`dbconfig.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build
-I../lib -I../lib -I../rpmdb -I../rpmio -I../misc
-I../beecrypt/include -I../beecrypt/include -I../beecrypt
-I../beecrypt -I../pcre -I../pcre -I../db -I../db -I../db/src
-I../db/src -I../scripts -I../scripts -DRPM_OS_SOLARIS=021100
-DRPM_OS_SOLARIS=021100 -g -O2 -fno-delete-null-pointer-checks
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fexceptions -fexceptions
-D_GNU_SOURCE -D_REENTRANT -I/usr/include/neon -I./db51 -MT
librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c
dbconfig.c -fPIC -DPIC -o .libs/librpmdb_la-dbconfig.o
In file included from dbconfig.c:14:
./rpmdb.h:433: error: syntax error before "DB_SEQUENCE"
./rpmdb.h:433: warning: no semicolon at end of struct or union
./rpmdb.h:444: error: syntax error before '}' token
./rpmdb.h:490: error: syntax error before "DB_LOGC"
./rpmdb.h:490: warning: no semicolon at end of struct or union
./rpmdb.h:491: warning: data definition has no type or storage class
./rpmdb.h:506: error: syntax error before '}' token
./rpmdb.h: In function `dbiCopen':
...
...
I have Berkeley DB installed and I have tried the suggestions in this thread:
http://rpm5.org/community/rpm-users/0746.html
I have tried copying over the db.h from the default installation
location to rpmdb/db51/ . But still no luck. Has someone aleady built
5.3.5 successfully under OI ? If so, what am I missing ? Thanks
--
Thank you
Balachandran Sivakumar
Arise Awake and stop not till the goal is reached.
- Swami Vivekananda
Mail: benig...@gmail.com
Blog: http://benignbala.wordpress.com/
_______________________________________________
ug-bosug mailing list
List-Unsubscribe: mailto:ug-bosug-u...@opensolaris.org
List-Owner: mailto:ug-bosu...@opensolaris.org
List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
Regards,
Moinak.
(On my Android phone)
This is not yet a plug and play affair. This requires very specific build flags and a bunch of patches to work properly on the illumos platform.
I have a script that builds and provides proper macros for illumos ( opensolaris ) and I guess Sriram has some build setup as well. I will have a build recipe in the belenix repo shortly.
Regards,
Moinak.
(On my Android phone)
On Mon, Dec 19, 2011 at 10:20 PM, Moinak Ghosh <moi...@belenix.org> wrote:
> This is not yet a plug and play affair. This requires very specific build
> flags and a bunch of patches to work properly on the illumos platform.
>
I was just trying to compile it. Since there a few posts in the
rpm5 users list, I thought this was ported fully. :(
> I have a script that builds and provides proper macros for illumos (
> opensolaris ) and I guess Sriram has some build setup as well. I will have a
> build recipe in the belenix repo shortly.
>
Sure, Thanks a lot. Meanwhile, as a learning exercise, I will see
why it failed to build :) Thanks
On Mon, Dec 19, 2011 at 10:30 PM, Balachandran Sivakumar
<benig...@gmail.com> wrote:
> Hi,
>
> On Mon, Dec 19, 2011 at 10:20 PM, Moinak Ghosh <moi...@belenix.org> wrote:
>> This is not yet a plug and play affair. This requires very specific build
>> flags and a bunch of patches to work properly on the illumos platform.
>>
>
When I build rpm 5.3.4 (instead of 5.3.5), I'm able to get past
that. But I am stuck at a point further down. But I guess this might
be a problem from RPM source. We have a spurious link statement that
has: -L/home/jt/sfw-central/oi_151_dev-il_rebuild/proto/root_i386/usr/lib
So, possibly someone checked in something with their paths hard coded
:( . This is just a FYI to tell that we are able to proceed further
along if we use 5.3.4. Thanks
I just checked, and it turned out that I've been sending my mails to
Moinak and not to belenix-dev.
I'll post those howtos shortly.
Meanwhile, please see:
http://mail.opensolaris.org/pipermail/belenix-discuss/2011-August/001520.html
-- Sriram
On Tue, Dec 20, 2011 at 12:07 AM, Balachandran Sivakumar
--
------------------------------------
Belenix: www.belenix.org
Twitter: @sriramnrn