Mailing List Archive

rsyslog on Solaris
Hi all,

I have spent some time integrating the Solaris patches the past days
(actually, learning [installing] Solaris took the most time).

Now I have an environment and the compile process works rather well.
However, there seem to be some issue with building the archives. I have
to admit I am a bit clueless. After my sig is a build log of the
affected part.

I would appreciate if someone could provide some hints.

Thanks,
Rainer

Making all in runtime
make[2]: Entering directory `/root/rsyslog/runtime'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall
-Wformat-security -Wshadow -Wcast-align -Wpointer-arith
-Wmissing-format-attribute -g -o librsyslog.la
librsyslog_la-rsyslog.lo librsyslog_la-glbl.lo librsyslog_la-conf.lo
librsyslog_la-parser.lo librsyslog_la-msg.lo librsyslog_la-linkedlist.lo
librsyslog_la-objomsr.lo librsyslog_la-stringbuf.lo
librsyslog_la-datetime.lo librsyslog_la-srutils.lo
librsyslog_la-errmsg.lo librsyslog_la-debug.lo librsyslog_la-obj.lo
librsyslog_la-modules.lo librsyslog_la-sync.lo librsyslog_la-expr.lo
librsyslog_la-ctok.lo librsyslog_la-ctok_token.lo
librsyslog_la-stream.lo librsyslog_la-var.lo librsyslog_la-wtp.lo
librsyslog_la-wti.lo librsyslog_la-sysvar.lo librsyslog_la-vm.lo
librsyslog_la-vmstk.lo librsyslog_la-vmprg.lo librsyslog_la-vmop.lo
librsyslog_la-queue.lo librsyslog_la-cfsysline.lo
librsyslog_la-action.lo librsyslog_la-threads.lo librsyslog_la-parse.lo
librsyslog_la-outchannel.lo librsyslog_la-template.lo -lrt
false cru .libs/librsyslog.a .libs/librsyslog_la-rsyslog.o
.libs/librsyslog_la-glbl.o .libs/librsyslog_la-conf.o
.libs/librsyslog_la-parser.o .libs/librsyslog_la-msg.o
.libs/librsyslog_la-linkedlist.o .libs/librsyslog_la-objomsr.o
.libs/librsyslog_la-stringbuf.o .libs/librsyslog_la-datetime.o
.libs/librsyslog_la-srutils.o .libs/librsyslog_la-errmsg.o
.libs/librsyslog_la-debug.o .libs/librsyslog_la-obj.o
.libs/librsyslog_la-modules.o .libs/librsyslog_la-sync.o
.libs/librsyslog_la-expr.o .libs/librsyslog_la-ctok.o
.libs/librsyslog_la-ctok_token.o .libs/librsyslog_la-stream.o
.libs/librsyslog_la-var.o .libs/librsyslog_la-wtp.o
.libs/librsyslog_la-wti.o .libs/librsyslog_la-sysvar.o
.libs/librsyslog_la-vm.o .libs/librsyslog_la-vmstk.o
.libs/librsyslog_la-vmprg.o .libs/librsyslog_la-vmop.o
.libs/librsyslog_la-queue.o .libs/librsyslog_la-cfsysline.o
.libs/librsyslog_la-action.o .libs/librsyslog_la-threads.o
.libs/librsyslog_la-parse.o .libs/librsyslog_la-outchannel.o
.libs/librsyslog_la-template.o
make[2]: *** [librsyslog.la] Error 1
make[2]: Leaving directory `/root/rsyslog/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rsyslog'
make: *** [all] Error 2
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
Hey Rainer,

On Thu, Mar 5, 2009 at 12:52 PM, Rainer Gerhards
<rgerhards@hq.adiscon.com> wrote:

<snip>
> false cru .libs/librsyslog.a .libs/librsyslog_la-rsyslog.o
<snip>
> make[2]: *** [librsyslog.la] Error 1
> make[2]: Leaving directory `/root/rsyslog/runtime'

First guess, what is that 'false' doing there? That would make the
command return nonzero to make, hence the error code.

-Aaron
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
Hi,

found the following in a another forum:

<snip>
the problem is resolved. the $PATH didn't include the /usr/ccs/bin, so
the configure script couldn't find the ar.
</snip>

just a guess, see
http://www.fantasticunix.com/forum/general-solaris-discussion/212026-mono-solaris-8-a.html

bye
David Ecker

Rainer Gerhards schrieb:
> Hi all,
>
> I have spent some time integrating the Solaris patches the past days
> (actually, learning [installing] Solaris took the most time).
>
> Now I have an environment and the compile process works rather well.
> However, there seem to be some issue with building the archives. I have
> to admit I am a bit clueless. After my sig is a build log of the
> affected part.
>
> I would appreciate if someone could provide some hints.
>
> Thanks,
> Rainer
>
> Making all in runtime
> make[2]: Entering directory `/root/rsyslog/runtime'
> /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall
> -Wformat-security -Wshadow -Wcast-align -Wpointer-arith
> -Wmissing-format-attribute -g -o librsyslog.la
> librsyslog_la-rsyslog.lo librsyslog_la-glbl.lo librsyslog_la-conf.lo
> librsyslog_la-parser.lo librsyslog_la-msg.lo librsyslog_la-linkedlist.lo
> librsyslog_la-objomsr.lo librsyslog_la-stringbuf.lo
> librsyslog_la-datetime.lo librsyslog_la-srutils.lo
> librsyslog_la-errmsg.lo librsyslog_la-debug.lo librsyslog_la-obj.lo
> librsyslog_la-modules.lo librsyslog_la-sync.lo librsyslog_la-expr.lo
> librsyslog_la-ctok.lo librsyslog_la-ctok_token.lo
> librsyslog_la-stream.lo librsyslog_la-var.lo librsyslog_la-wtp.lo
> librsyslog_la-wti.lo librsyslog_la-sysvar.lo librsyslog_la-vm.lo
> librsyslog_la-vmstk.lo librsyslog_la-vmprg.lo librsyslog_la-vmop.lo
> librsyslog_la-queue.lo librsyslog_la-cfsysline.lo
> librsyslog_la-action.lo librsyslog_la-threads.lo librsyslog_la-parse.lo
> librsyslog_la-outchannel.lo librsyslog_la-template.lo -lrt
> false cru .libs/librsyslog.a .libs/librsyslog_la-rsyslog.o
> .libs/librsyslog_la-glbl.o .libs/librsyslog_la-conf.o
> .libs/librsyslog_la-parser.o .libs/librsyslog_la-msg.o
> .libs/librsyslog_la-linkedlist.o .libs/librsyslog_la-objomsr.o
> .libs/librsyslog_la-stringbuf.o .libs/librsyslog_la-datetime.o
> .libs/librsyslog_la-srutils.o .libs/librsyslog_la-errmsg.o
> .libs/librsyslog_la-debug.o .libs/librsyslog_la-obj.o
> .libs/librsyslog_la-modules.o .libs/librsyslog_la-sync.o
> .libs/librsyslog_la-expr.o .libs/librsyslog_la-ctok.o
> .libs/librsyslog_la-ctok_token.o .libs/librsyslog_la-stream.o
> .libs/librsyslog_la-var.o .libs/librsyslog_la-wtp.o
> .libs/librsyslog_la-wti.o .libs/librsyslog_la-sysvar.o
> .libs/librsyslog_la-vm.o .libs/librsyslog_la-vmstk.o
> .libs/librsyslog_la-vmprg.o .libs/librsyslog_la-vmop.o
> .libs/librsyslog_la-queue.o .libs/librsyslog_la-cfsysline.o
> .libs/librsyslog_la-action.o .libs/librsyslog_la-threads.o
> .libs/librsyslog_la-parse.o .libs/librsyslog_la-outchannel.o
> .libs/librsyslog_la-template.o
> make[2]: *** [librsyslog.la] Error 1
> make[2]: Leaving directory `/root/rsyslog/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rsyslog'
> make: *** [all] Error 2
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
>
Re: rsyslog on Solaris [ In reply to ]
Hi,

is that code modified for Solaris already available in git? Could you
please send me a pointer to a checkout location?

Thanks

Thomas
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
Yes, it is part of the regular git tree:

http://git.adiscon.com/?p=rsyslog.git;a=shortlog;h=refs/heads/solaris

$ git clone git://git.adiscon.com/git/rsyslog.git

then checkout the "solaris" branch:

$ git checkout --track -b solaris origin/solaris

Rainer
PS: commands may be wrong ;)

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> bounces@lists.adiscon.com] On Behalf Of Thomas Mieslinger
> Sent: Friday, March 06, 2009 10:23 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog on Solaris
>
> Hi,
>
> is that code modified for Solaris already available in git? Could you
> please send me a pointer to a checkout location?
>
> Thanks
>
> Thomas
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
Thanks to you and Aaron,

It was a combination of ar not being present plus autoconfig then using
false... So that was a purely environment-base thing. Now I am one step
further and the next issue is a pthreads linker error message ;)

Rainer

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> bounces@lists.adiscon.com] On Behalf Of David Ecker
> Sent: Thursday, March 05, 2009 7:33 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog on Solaris
>
> Hi,
>
> found the following in a another forum:
>
> <snip>
> the problem is resolved. the $PATH didn't include the /usr/ccs/bin, so
> the configure script couldn't find the ar.
> </snip>
>
> just a guess, see
> http://www.fantasticunix.com/forum/general-solaris-discussion/212026-
> mono-solaris-8-a.html
>
> bye
> David Ecker
>
> Rainer Gerhards schrieb:
> > Hi all,
> >
> > I have spent some time integrating the Solaris patches the past days
> > (actually, learning [installing] Solaris took the most time).
> >
> > Now I have an environment and the compile process works rather well.
> > However, there seem to be some issue with building the archives. I
> have
> > to admit I am a bit clueless. After my sig is a build log of the
> > affected part.
> >
> > I would appreciate if someone could provide some hints.
> >
> > Thanks,
> > Rainer
> >
> > Making all in runtime
> > make[2]: Entering directory `/root/rsyslog/runtime'
> > /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall
> > -Wformat-security -Wshadow -Wcast-align -Wpointer-arith
> > -Wmissing-format-attribute -g -o librsyslog.la
> > librsyslog_la-rsyslog.lo librsyslog_la-glbl.lo librsyslog_la-conf.lo
> > librsyslog_la-parser.lo librsyslog_la-msg.lo librsyslog_la-
> linkedlist.lo
> > librsyslog_la-objomsr.lo librsyslog_la-stringbuf.lo
> > librsyslog_la-datetime.lo librsyslog_la-srutils.lo
> > librsyslog_la-errmsg.lo librsyslog_la-debug.lo librsyslog_la-obj.lo
> > librsyslog_la-modules.lo librsyslog_la-sync.lo librsyslog_la-expr.lo
> > librsyslog_la-ctok.lo librsyslog_la-ctok_token.lo
> > librsyslog_la-stream.lo librsyslog_la-var.lo librsyslog_la-wtp.lo
> > librsyslog_la-wti.lo librsyslog_la-sysvar.lo librsyslog_la-vm.lo
> > librsyslog_la-vmstk.lo librsyslog_la-vmprg.lo librsyslog_la-vmop.lo
> > librsyslog_la-queue.lo librsyslog_la-cfsysline.lo
> > librsyslog_la-action.lo librsyslog_la-threads.lo librsyslog_la-
> parse.lo
> > librsyslog_la-outchannel.lo librsyslog_la-template.lo -lrt
> > false cru .libs/librsyslog.a .libs/librsyslog_la-rsyslog.o
> > .libs/librsyslog_la-glbl.o .libs/librsyslog_la-conf.o
> > .libs/librsyslog_la-parser.o .libs/librsyslog_la-msg.o
> > .libs/librsyslog_la-linkedlist.o .libs/librsyslog_la-objomsr.o
> > .libs/librsyslog_la-stringbuf.o .libs/librsyslog_la-datetime.o
> > .libs/librsyslog_la-srutils.o .libs/librsyslog_la-errmsg.o
> > .libs/librsyslog_la-debug.o .libs/librsyslog_la-obj.o
> > .libs/librsyslog_la-modules.o .libs/librsyslog_la-sync.o
> > .libs/librsyslog_la-expr.o .libs/librsyslog_la-ctok.o
> > .libs/librsyslog_la-ctok_token.o .libs/librsyslog_la-stream.o
> > .libs/librsyslog_la-var.o .libs/librsyslog_la-wtp.o
> > .libs/librsyslog_la-wti.o .libs/librsyslog_la-sysvar.o
> > .libs/librsyslog_la-vm.o .libs/librsyslog_la-vmstk.o
> > .libs/librsyslog_la-vmprg.o .libs/librsyslog_la-vmop.o
> > .libs/librsyslog_la-queue.o .libs/librsyslog_la-cfsysline.o
> > .libs/librsyslog_la-action.o .libs/librsyslog_la-threads.o
> > .libs/librsyslog_la-parse.o .libs/librsyslog_la-outchannel.o
> > .libs/librsyslog_la-template.o
> > make[2]: *** [librsyslog.la] Error 1
> > make[2]: Leaving directory `/root/rsyslog/runtime'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/rsyslog'
> > make: *** [all] Error 2
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> >

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
Rainer Gerhards wrote:
> Yes, it is part of the regular git tree:
> http://git.adiscon.com/?p=rsyslog.git;a=shortlog;h=refs/heads/solaris
> $ git clone git://git.adiscon.com/git/rsyslog.git
> then checkout the "solaris" branch:
> $ git checkout --track -b solaris origin/solaris

That worked. Thanks. What is the minimal required autoconf/automake
Verison? I'm using autoconf (GNU Autoconf) 2.63 and automake (GNU
automake) 1.10.1 which came which opensolaris. it complains about
undefined macros like AM_INIT_AUTOMAKE. Which Versions are you using?

Thanks Thomas
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
I am using 2.63 on Solaris 10 x64 and I just successfully compiled. I am
about to write a few notes about the state of solaris development in a
few moments. My twitter feed may also be useful for you:

http://twitter.com/rgerhards

My environment is described on

http://wiki.rsyslog.com/index.php/Solaris

Rainer

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> bounces@lists.adiscon.com] On Behalf Of Thomas Mieslinger
> Sent: Friday, March 06, 2009 2:38 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog on Solaris
>
> Rainer Gerhards wrote:
> > Yes, it is part of the regular git tree:
> >
> http://git.adiscon.com/?p=rsyslog.git;a=shortlog;h=refs/heads/solaris
> > $ git clone git://git.adiscon.com/git/rsyslog.git
> > then checkout the "solaris" branch:
> > $ git checkout --track -b solaris origin/solaris
>
> That worked. Thanks. What is the minimal required autoconf/automake
> Verison? I'm using autoconf (GNU Autoconf) 2.63 and automake (GNU
> automake) 1.10.1 which came which opensolaris. it complains about
> undefined macros like AM_INIT_AUTOMAKE. Which Versions are you using?
>
> Thanks Thomas
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
Re: rsyslog on Solaris [ In reply to ]
I have just finished my "current state" writeup on rsyslog and solaris:

http://blog.gerhards.net/2009/03/rsyslog-and-solaris.html

I guess it contains some useful information ;)

Rainer

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> bounces@lists.adiscon.com] On Behalf Of Rainer Gerhards
> Sent: Friday, March 06, 2009 2:39 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog on Solaris
>
> I am using 2.63 on Solaris 10 x64 and I just successfully compiled. I
> am
> about to write a few notes about the state of solaris development in a
> few moments. My twitter feed may also be useful for you:
>
> http://twitter.com/rgerhards
>
> My environment is described on
>
> http://wiki.rsyslog.com/index.php/Solaris
>
> Rainer
>
> > -----Original Message-----
> > From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> > bounces@lists.adiscon.com] On Behalf Of Thomas Mieslinger
> > Sent: Friday, March 06, 2009 2:38 PM
> > To: rsyslog-users
> > Subject: Re: [rsyslog] rsyslog on Solaris
> >
> > Rainer Gerhards wrote:
> > > Yes, it is part of the regular git tree:
> > >
> >
http://git.adiscon.com/?p=rsyslog.git;a=shortlog;h=refs/heads/solaris
> > > $ git clone git://git.adiscon.com/git/rsyslog.git
> > > then checkout the "solaris" branch:
> > > $ git checkout --track -b solaris origin/solaris
> >
> > That worked. Thanks. What is the minimal required autoconf/automake
> > Verison? I'm using autoconf (GNU Autoconf) 2.63 and automake (GNU
> > automake) 1.10.1 which came which opensolaris. it complains about
> > undefined macros like AM_INIT_AUTOMAKE. Which Versions are you
using?
> >
> > Thanks Thomas
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com