ldconfig
Live Great
livegreat007 at yahoo.com
Wed Oct 17 23:21:40 CEST 2007
Hi,
I have passed the command configure.
With gcc, now I got this errors with "make all":
....
....
-solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -lpthread -ldl -lrt -lglib-2.0
gcc: broker.o: No such file or directory
gcc: nebmods.o: No such file or directory
gcc: checks.o: No such file or directory
gcc: config.o: No such file or directory
gcc: commands.o: No such file or directory
gcc: events.o: No such file or directory
gcc: flapping.o: No such file or directory
gcc: logging.o: No such file or directory
gcc: macros-base.o: No such file or
directory
gcc: notifications.o: No such file or directory
gcc: sehandlers.o: No such file or directory
gcc: utils.o: No such file or directory
gcc: retention-base.o: No such file or directory
gcc: xretention-base.o: No such file or directory
gcc: comments-base.o: No such file or directory
gcc: xcomments-base.o: No such file or directory
gcc: objects-base.o: No such file or directory
gcc: xobjects-base.o: No such file or directory
gcc: statusdata-base.o: No such file or directory
gcc: xstatusdata-base.o: No such file or directory
gcc: perfdata-base.o: No such file or directory
gcc: xperfdata-base.o: No such file or directory
gcc: downtime-base.o: No such file or directory
gcc: xdowntime-base.o: No such file or directory
gcc: ../common/snprintf.o: No such file or directory
gcc: perlxsi.o: No such file or directory
gcc: language arch=v8 not recognized
gcc: language arch=v8 not recognized
make[1]:
*** [nagios] Error 1
make[1]: Leaving directory `/usr/SUN/nagios-cvs/base'
make: *** [all] Error 2
Thanks
Sam
----- Original Message ----
From: Luc I. Suryo <luc at suryo.com>
To: Live Great <livegreat007 at yahoo.com>
Sent: Wednesday, October 17, 2007 3:22:42 PM
Subject: Re: [Nagios-users] ldconfig
> Hi, here is attached config.log file.
> BTW, where can I download SUNWspro
> package? I don't have its CD.
> And it seems that the download of SUNWspro
> 9 is only a trial package.
http://developers.sun.com/sunstudio/downloads/index.jsp
memberschip is free :)
or
http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3&subcat=Development%20Tools
will work with Sol 9+
no file attached...
-ls
>
> ----- Original Message ----
> From: Luc I. Suryo <luc at suryo.com>
> To: Live Great <livegreat007 at yahoo.com>
> Sent: Wednesday, October 17, 2007 1:51:20 PM
> Subject: Re: [Nagios-users] ldconfig
>
>
>
> > I put that in a file and execute the script using "sh go.sh" command.
> > The content of the script look like the same as yours:
> > #!/bin/sh
> > CFLAGS="-I/usr/local/include -I/usr/sfw/include" LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" ./configure --prefix=/opt/nagios --with-nagios-user=nagios
--with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib
> >
> ok that should work
>
> here what i use (also in a script file)
> I used Sun Studio 12 compiler
> ==============================================
>
> BASEDIR=/usr/local/etc/nagios
> PREFIX=/usr/local
>
> CC=/opt/SUNWspro/bin/cc
> CXX=/opt/SUNWspro/bin/CC
> CFLAGS="-O -I/usr/local/include -I/usr/sfw/include"
> CXXFLAGS="-O -I/usr/local/include -I/usr/sfw/include"
> LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"
>
>
> CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
>
./configure\
> --prefix=${BASEDIR} \
> --bindir=${BINDIR} \
> --sbindir=${SBINDIR} \
>
--libexecdir=${LIBEXECDIR} \
> --localstatedir=${LOCALSTATEDIR} \
> --libdir=${LIBDIR} \
> --sysconfdir=${SYSCONFDIR} \
>
--with-configdir=${SYSCONFDIR} \
> \
> --with-nagios-user=nagios \
> --with-nagios-grp=nagios \
> \
>
--with-command-user=sys \
> --with-command-grp=sys \
> \
> --with-gd-lib=${PREFIX}/lib \
> --with-gd-inc=${PREFIX}/include \
>
--with-file-perfdata \
> --enable-statusmap \
> --enable-statuswrl
> ==============================================
>
>
> > But I am still getting the same error.
> > The reason I put it in a script file is because I the terminal I logon does not allow me to type such a long commandline in the shell.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071018/c11306de/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list