LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 02-01-2011, 06:17 AM   #1
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Rep: Reputation: 0
Error installing GLIB


does anyone have suggestion for these errors?

Quote:
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'
 
Old 02-01-2011, 06:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Why don't you visit sunfreeware?
glib-2 exist in sunfreeware along with all the other dependencies needed to install syslog-ng
 
Old 02-01-2011, 06:53 AM   #3
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
i am getting them from sunfreeware, and installed all dependencies, but i still get errors
 
Old 02-01-2011, 07:14 AM   #4
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
Why don't you visit sunfreeware?
glib-2 exist in sunfreeware along with all the other dependencies needed to install syslog-ng
there is one dependency i do not know how to install it is called "libintl"
because it is *.gz
normaly all files are *.tar.gz , so i do gunzip, then tar -xvf
but this one i do gunzip only, and when i try to enter it tells me:
Quote:
bash-3.00# gunzip libintl-3.4.0-sol10-sparc-local.gz
bash-3.00# ls
glib-2.25.13.tar.gz libiconv-1.13.1.tar syslog-ng-3.1.2 syslogng-3.1.2.tar.gz
libiconv-1.13.1 libintl-3.4.0-sol10-sparc-local syslogng-3.1.2.tar zlib-1.2.5.tar.gz
bash-3.00# cd libintl-3.4.0-sol10-sparc-local
bash: cd: libintl-3.4.0-sol10-sparc-local: Not a directory
bash-3.00#
 
Old 02-01-2011, 07:17 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
These are Solaris packages. No need to compile anything!!!
All you have to do, is to run gunzip to extract the package and use pkgadd to install it:
Code:
gunzip libintl-3.4.0-sol10-sparc-local.gz
pkdagg -d libintl-3.4.0-sol10-sparc-local
 
Old 02-01-2011, 07:27 AM   #6
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
here's what i got
Quote:
bash-3.00# pkgadd -d libintl-3.4.0-sol10-sparc-local
bash: pkgadd: command not found
bash-3.00# pkg
pkg-config pkgadm pkgcond pkginfo pkgmk pkgparam pkgproto pkgtrans

Last edited by ziadh; 02-01-2011 at 07:33 AM.
 
Old 02-01-2011, 07:51 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Again it's your PATH settings.
Run:
Code:
source /etc/profile
to try to fix it.
Or else, use again the full path to the command
Code:
/usr/sbin/pkgadd -d libintl-3.4.0-sol10-sparc-local
 
Old 02-01-2011, 07:57 AM   #8
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
what about this? how to close other instances?

Quote:
elect package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <SMClintl> from </home/syslog/libintl-3.4.0-sol10-sparc-local>

libintl(sparc) 3.4.0
FSF

Current administration requires that a unique instance of the
<SMClintl> package be created. However, the maximum number of
instances of the package which may be supported at one time on the
same system has already been met.

No changes were made to the system.
bash-3.00#
 
Old 02-01-2011, 08:20 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Looks like it's already installed. To verify:
Code:
pkginfo -i |grep SMClintl
I suggest you to do some reading on how to view/install/remove Solaris packages
 
Old 02-01-2011, 08:32 AM   #10
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
does it mean it is installed??

Quote:
pkginfo -i |grep SMClintl
application SMClintl libintl
 
Old 02-01-2011, 08:45 AM   #11
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by ziadh View Post
does it mean it is installed??
Yes it does. Otherwise you'll get no output...
 
Old 02-01-2011, 08:54 AM   #12
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
well, i still get this errors trying to compile glib ...

Quote:
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'
 
Old 02-01-2011, 09:05 AM   #13
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Stop compiling stuff that is already available as a package.
Download the glib-2.25.13 package and install it with pkgadd
 
Old 02-02-2011, 03:18 AM   #14
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
ok i did that, and... i also get loads of errors

Quote:
ERROR: attribute verification of </usr/local/share/locale/sr/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/sv/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/ta/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/te/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/th/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/tl/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/tr/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/tt/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/uk/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/vi/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/wa/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/xh/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/yi/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/gio-querymodules.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/glib-compile-schemas.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/glib-genmarshal.1> failed
pathname does not exist
...
...
...
...
ERROR: attribute verification of </usr/local/share/man/man1/glib-gettextize.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/glib-mkenums.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/gobject-query.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/gsettings.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/gtester-report.1> failed
pathname does not exist
ERROR: attribute verification of </usr/local/share/man/man1/gtester.1> failed
pathname does not exist

Installation of <SMCglib2> partially failed.
bash-3.00#
 
Old 02-02-2011, 03:34 AM   #15
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
Also i do get the same errors while installing syslog-ng package
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error installing glib seabiscuit Programming 2 02-22-2006 05:52 AM
Installing XMMS Error with glib Egan Linux - Software 4 12-21-2004 10:31 AM
GLIB error while installing an application abdullahgee Linux - Software 1 06-04-2004 05:10 AM
GLIB error while installing giFTcurs Mehul_Sangani Linux - Software 3 09-27-2003 12:18 PM
PAM Authentication error after installing GLIB? afrederico Linux - Software 1 01-02-2003 06:03 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration