<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi,<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>I have passed the command configure. <br>With gcc, now I got this errors with "make all":<br>....<br>....<br>-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<br>gcc: broker.o: No such file or directory<br>gcc: nebmods.o: No such file or directory<br>gcc: checks.o: No such file or
 directory<br>gcc: config.o: No such file or directory<br>gcc: commands.o: No such file or directory<br>gcc: events.o: No such file or directory<br>gcc: flapping.o: No such file or directory<br>gcc: logging.o: No such file or directory<br>gcc: macros-base.o: No such file or
 directory<br>gcc: notifications.o: No such file or directory<br>gcc: sehandlers.o: No such file or directory<br>gcc: utils.o: No such file or directory<br>gcc: retention-base.o: No such file or directory<br>gcc: xretention-base.o: No such file or directory<br>gcc: comments-base.o: No such file or directory<br>gcc: xcomments-base.o: No such file or directory<br>gcc: objects-base.o: No such file or directory<br>gcc: xobjects-base.o: No such file or directory<br>gcc: statusdata-base.o: No such file or directory<br>gcc: xstatusdata-base.o: No such file or directory<br>gcc: perfdata-base.o: No such file or directory<br>gcc: xperfdata-base.o: No such file or directory<br>gcc: downtime-base.o: No such file or directory<br>gcc: xdowntime-base.o: No such file or directory<br>gcc: ../common/snprintf.o: No such file or directory<br>gcc: perlxsi.o: No such file or directory<br>gcc: language arch=v8 not recognized<br>gcc: language arch=v8 not recognized<br>make[1]:
 *** [nagios] Error 1<br>make[1]: Leaving directory `/usr/SUN/nagios-cvs/base'<br>make: *** [all] Error 2<br><br>Thanks<br>Sam<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Luc I. Suryo <luc@suryo.com><br>To: Live Great <livegreat007@yahoo.com><br>Sent: Wednesday, October 17, 2007 3:22:42 PM<br>Subject: Re: [Nagios-users] ldconfig<br><br><div><br><br>> Hi, here is attached config.log file.<br>> BTW, where can I download SUNWspro<br>>         package? I don't have its CD.<br>> And it seems that the download of SUNWspro<br>>         9 is only a trial package.<br><br><a rel="nofollow" target="_blank" href="http://developers.sun.com/sunstudio/downloads/index.jsp">http://developers.sun.com/sunstudio/downloads/index.jsp</a><br>memberschip is free :)<br><br>or<br><br><a
 rel="nofollow" target="_blank" href="http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3&subcat=Development%20Tools">http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3&subcat=Development%20Tools</a><br><br>will work with Sol 9+<br><br>no file attached...<br><br><br><br>-ls<br><br>> <br>> ----- Original Message ----<br>> From: Luc I. Suryo <luc@suryo.com><br>> To: Live Great <livegreat007@yahoo.com><br>> Sent: Wednesday, October 17, 2007 1:51:20 PM<br>> Subject: Re: [Nagios-users] ldconfig<br>> <br>> <br>> <br>> > I put that in a file and execute the script using "sh go.sh" command.<br>> > The content of the script look like the same as yours:<br>> > #!/bin/sh<br>> > 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<br>> > <br>> ok that should work<br>> <br>> here what i use (also in a script file)<br>> I used Sun Studio 12 compiler<br>> ==============================================<br>> <br>> BASEDIR=/usr/local/etc/nagios<br>> PREFIX=/usr/local<br>> <br>> CC=/opt/SUNWspro/bin/cc<br>> CXX=/opt/SUNWspro/bin/CC<br>> CFLAGS="-O -I/usr/local/include -I/usr/sfw/include"<br>> CXXFLAGS="-O -I/usr/local/include -I/usr/sfw/include"<br>> LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"<br>> <br>> <br>>         CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \<br>>        
 ./configure\<br>>                 --prefix=${BASEDIR}                     \<br>>                 --bindir=${BINDIR}                      \<br>>                 --sbindir=${SBINDIR}                    \<br>>                
 --libexecdir=${LIBEXECDIR}              \<br>>                 --localstatedir=${LOCALSTATEDIR}        \<br>>                 --libdir=${LIBDIR}                      \<br>>                 --sysconfdir=${SYSCONFDIR}              \<br>>                
 --with-configdir=${SYSCONFDIR}          \<br>>                 \<br>>                 --with-nagios-user=nagios               \<br>>                 --with-nagios-grp=nagios                \<br>>                 \<br>>                
 --with-command-user=sys                 \<br>>                 --with-command-grp=sys                  \<br>>                 \<br>>                 --with-gd-lib=${PREFIX}/lib             \<br>>                 --with-gd-inc=${PREFIX}/include         \ <br>>                
 --with-file-perfdata                    \<br>>                 --enable-statusmap                      \<br>>                 --enable-statuswrl<br>> ==============================================<br>> <br>> <br>> > But I am still getting the same error.<br>> > 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.<br>> <br></div></div><br></div></div></div><br></div></div></body></html>