Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bash-3.00# make
make all-recursive
Making all in .
Making all in m4macros
Making all in glib
cd .. && \
/bin/bash ./config.status glib/glibconfig.h
config.status: executing glib/glibconfig.h commands
config.status: glib/glibconfig.h is unchanged
C -h -s -o glib_probes.h.tmp
bash: C: command not found
*** Error code 127 (ignored)
sed -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," < glib_probes.h.tmp > glib_probes.h && rm -f glib_probes.h.tmp
bash: glib_probes.h.tmp: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `glib_probes.h'
Current working directory /home/syslog/glib-2.25.13/glib
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. m4macros glib gmodule gthread gobject gio tests po docs'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/syslog/glib-2.25.13
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.00#
i get this error while executing make command to compile GLIB, which is a dependency for SYSlog server
DON'T do this, or you'll break your system. Solaris comes with syslog. You can run
Code:
svcs -a |grep system-log
to see if it's enabled and edit /etc/syslog.conf to fit your needs
If for some reason you don't want to use the default syslog, you can install syslog-ng from sunfreeware
DON'T do this, or you'll break your system. Solaris comes with syslog. You can run
Code:
svcs -a |grep system-log
to see if it's enabled and edit /etc/syslog.conf to fit your needs
If for some reason you don't want to use the default syslog, you can install syslog-ng from sunfreeware
Regards
Quote:
bash-3.00# svcs -a |grep system-log
online Dec_27 svc:/system/system-log:default
so it is already installed and working!
i checked etc/syslog.conf , it is different from the one i used to work on which is syslog-ng
so should i remove old syslog before instaling new one?
I would stay with the original Solaris syslog. Anyway if you want syslog-ng, you can disable the system-log service and follow the instructions here.
Use the syslog-ng package from sunfreeware and make sure you've installed also its dependencies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.