Last time I checked, sunfreeware had no gcc package suitable for Solaris 11. I would suggest to remove the gcc package you installed from there and use the Solaris 11 packaging command instead:
This will install gcc and all required dependencies automatically.
Hi ,
I am new to solaris world but worked in unix for a while . I have this solaris box version 8 .I am trying to run a simple unix file . Q.shl
cat Q.shl
#!/bin/ksh
db2 get connection state
When I run the file I get following error :
Q.shl
ksh: Q.shl: not found
This is... (6 Replies)
Hi Gurus
Im a fresher and im working.I installed solaris 10 on my windows PC(dual boot) but im not able plumb my interface..everytime i use ifconfig command and tried different interfaces like eri0,ce0 etc but its displaying that interface not found.I know that there is some problem with... (15 Replies)
Hi,
i have these script whether to find a script is running or not
echo "Checking if job is running mail.sh"
((numproc=`ps -aef |grep mail.sh | grep -v grep | wc -l`))
print numproc
if ((numproc == 0 ))
then
print "OKAY to start mail.sh"
else
PAGEDT=`date|cut... (3 Replies)
hi guys.
can we use fread and fwrite with pipes to write data more than PIPE_BUF atomically since they lock FILE object until I/O operation finish? (1 Reply)
Hi guys.
To work with physical files, sockets, pipes, ... which library is good? stdio or unistd
stdio.h functions perform buffering and rationally should be better than unistd.h routines. but i am wondering why all UNIX programming books use unistd.h routines for almost all types of I/O... (7 Replies)
Hi All,
I am new to linux and Programming.
Inside the file stdio.h, there is a description about FILE structure. Which has many internal data members like _p, _r, _flags etc.
I have written a sample code to find out the contents of the FILE structure.
It opens a sample file ( FILE *fp ),... (5 Replies)
Trying to compile a C program recievin this
hello.c:1:19: fatal error: stdio.h: No such file or directory
gcc is installed on the system.
echo $PATH
/usr/bin:/usr/sbin:/usr/gcc/4.5/include/c++/4.5.2/tr1
root@Sol11swtb01:/media/NO NAME/Programming/C/Testing# cd... (2 Replies)
Hello Guys,
I'm new in programing line & just started from C++ programs but i don't know the meaning of #include<stdio.h> file....Guys tell me what's the working of this file in C++ program?? I'm confused...
Title changed: Please use a descriptive subject text, and not C++?? (3 Replies)
Hi,
Why do I get this in Solaris 11?
huamin@SOL11I:~$ ls /etc/user_addr
/etc/user_addr: No such file or directory
Many Thanks & Best Regards,
HuaMin (1 Reply)
I just installed Solaris 10 on my virtual machine.
firstly I want to complie a c program using gcc but "the gcc is not found"
so I looked for a way and try to install the gcc and I tried the following command
pkg install gcc-45
but however, the "pkg is not found as well"
I also tried... (2 Replies)
Discussion started by: roberts123
2 Replies
LEARN ABOUT DEBIAN
which-pkg-broke
which-pkg-broke(1) debian-goodies which-pkg-broke(1)NAME
which-pkg-broke - find which package might have broken another
SYNOPSIS
which-pkg-broke package
DESCRIPTION
The which-pkg-broke program will retrieve a list of the named package and all its dependencies sorted by the time they were installed on
the system (as determined from the mtime information of /var/lib/dpkg/info/*.list .
This tool makes it possible for a system admin to obtain information that might correlate installation of package dependencies with a pack-
age breakage in order to find which package update might be responsible for the breakage.
EXAMPLES
This tool can be useful determine which package dependencies were upgraded more recently and might be associated with the bug that is being
observed. For example, if aptitude stops working properly, an administrator can run:
$ which-pkg-broke aptitude
Package <libapt-pkg-libc6.3-5-3.3> has no install time info
libdb1-compat Fri Aug 8 03:02:11 2003
libsigc++-1.2-5c102 Fri Aug 8 05:15:58 2003
aptitude Sun Jan 11 17:38:06 2004
libncurses5 Sun Jan 18 08:11:05 2004
libc6 Thu Jan 22 07:55:10 2004
libgcc1 Tue Jan 27 07:37:22 2004
gcc-3.3-base Tue Jan 27 07:37:31 2004
libstdc++5 Tue Jan 27 07:37:32 2004
So depending on exactly when the misbehaviour started, there may be a reason to point the finger at a more-recently updated library like
libstdc++ or libncurses, which are more-recently installed than aptitude itself.
SEE ALSO rc-alert(1)AUTHOR
which-pkg-broke was written by Bill Gribble <grib AT billgribble.com>
This manual page was written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution.
debian-goodies July 24 2006 which-pkg-broke(1)