From lsiden at westside-consulting.com Wed Jan 4 03:23:31 2012 From: lsiden at westside-consulting.com (Larry Siden) Date: Tue, 3 Jan 2012 21:23:31 -0500 Subject: [csw-users] re-installing package that's already installed Message-ID: After mucking around with installed files in the mysql5 package to get it to work, I want to re-install it to get it back into its pristine state and start again. Unfortunately, I cannot find any option of pkgutil that does this. I thought that pkutil -i -f "force install" might do the trick, but all it does it list the packages and says they are already installed. I tried removing mysql5 with "pkgutil -r -f ..." but it does the same thing, saying that it and its dependencies are all "in use". What I'm actually thinking doing is going into /var/sadm/pkg to rename the package directory to trick pkutil into "thinking" that the package has not been installed yet and then re-installing it. Is this the only way to accomplish this or is there a better way? Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Wed Jan 4 09:27:43 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Wed, 4 Jan 2012 09:27:43 +0100 Subject: [csw-users] re-installing package that's already installed In-Reply-To: References: Message-ID: On Wed, Jan 4, 2012 at 3:23 AM, Larry Siden wrote: > After mucking around with installed files in the mysql5 package to get it to > work, I want to re-install it to get it back into its pristine state and > start again. ?Unfortunately, I cannot find any option of pkgutil that does > this. ?I thought that pkutil -i -f "force install" might do the trick, but > all it does it list the packages and says they are already installed. ?I > tried removing mysql5 with "pkgutil -r -f ..." but it does the same thing, > saying that it and its dependencies are all "in use". The --force option does nothing is the package version is exactly the same. It's meant more for downgrading if you, e.g., tried an experimental repo of mysql and wants to go back to your normal one. If you use --remove with a package that something depends on it can not be removed by pkgutil. Try pkgrm on mysql and see what it says regarding dependencies. > What I'm actually thinking doing is going into /var/sadm/pkg to rename the > package directory to trick pkutil into "thinking" that the package has not > been installed yet and then re-installing it. I would definitely not do it this way. There doesn't seem to be anything wrong with your system. /peter From lsiden at gmail.com Thu Jan 5 09:19:34 2012 From: lsiden at gmail.com (Larry Siden) Date: Thu, 5 Jan 2012 03:19:34 -0500 Subject: [csw-users] Perl, CPAN, and CSWpm_termreadlineg Message-ID: Installing pm_termradlineg breaks cpan, because it will quickly exit with a message that it has run out of memory. This is on a system with 32G and the histfile was short, so the problem is elsewhere. I think someone else complained about it too. My only recourse was to uninstall this module and forego command history edits in cpan. Of course there is still cpanm ( http://search.cpan.org/~miyagawa/App-cpanminus-1.5007/bin/cpanm ) which will allow you to do everything in your favorite Unix shell, and thus take advantage of your system-wide console readline command-history-edit capabilities. -Larry Siden ?The United States is a nation of laws - poorly written and randomly enforced." -Frank Zappa, 1940-1993 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lsiden at westside-consulting.com Thu Jan 5 09:22:56 2012 From: lsiden at westside-consulting.com (Larry Siden) Date: Thu, 5 Jan 2012 03:22:56 -0500 Subject: [csw-users] Building modules with CPAN Message-ID: In order to build modules with CPAN, I had to edit the following setting, either with "o conf ..." or directly in .../CPAN/Config.pm: 'make_arg' => q[CC=/opt/csw/gcc4/bin/gcc], > 'makepl_arg' => q[PERLMAINCC=/opt/csw/gcc4/bin/gcc], Hope this helps someone else. Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Thu Jan 5 10:17:44 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Thu, 5 Jan 2012 10:17:44 +0100 Subject: [csw-users] Perl, CPAN, and CSWpm_termreadlineg In-Reply-To: References: Message-ID: On Thu, Jan 5, 2012 at 9:19 AM, Larry Siden wrote: > Installing pm_termradlineg breaks cpan, because it will quickly exit with a > message that it has run out of memory. ?This is on a system with 32G and the > histfile was short, so the problem is elsewhere. ?I think someone else > complained about it too. > > My only recourse was to uninstall this module and forego command history > edits in cpan. > > Of course there is still cpanm ( > http://search.cpan.org/~miyagawa/App-cpanminus-1.5007/bin/cpanm?) which will > allow you to do everything in your favorite Unix shell, and thus take > advantage of your system-wide console readline command-history-edit > capabilities. I never use CPAN any more, instead I add whatever is needed as an OpenCSW package but to test this I started CPAN for the first time on a system, it auto-configured and worked, although without any history, when exiting it also said this: "Terminal does not support AddHistory." I installed pm_termradlineg, started CPAN and history worked, I could use the arrow keys to edit previous commands. Is that what you meant did not work for you? /peter From dam at opencsw.org Thu Jan 5 10:22:08 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 5 Jan 2012 10:22:08 +0100 Subject: [csw-users] Perl, CPAN, and CSWpm_termreadlineg In-Reply-To: References: Message-ID: <5EC18EEF-4D73-460A-83DE-3261879E3FA7@opencsw.org> Hi, Am 05.01.2012 um 10:17 schrieb Peter Bonivart: > On Thu, Jan 5, 2012 at 9:19 AM, Larry Siden wrote: >> Installing pm_termradlineg breaks cpan, because it will quickly exit with a >> message that it has run out of memory. This is on a system with 32G and the >> histfile was short, so the problem is elsewhere. I think someone else >> complained about it too. There is at least a bug report: https://rt.cpan.org/Public/Bug/Display.html?id=44702 >> Of course there is still cpanm ( >> http://search.cpan.org/~miyagawa/App-cpanminus-1.5007/bin/cpanm ) which will >> allow you to do everything in your favorite Unix shell, and thus take >> advantage of your system-wide console readline command-history-edit >> capabilities. > > I never use CPAN any more, instead I add whatever is needed as an > OpenCSW package but to test this I started CPAN for the first time on > a system, it auto-configured and worked, although without any history, > when exiting it also said this: > > "Terminal does not support AddHistory." > > I installed pm_termradlineg, started CPAN and history worked, I could > use the arrow keys to edit previous commands. Is that what you meant > did not work for you? I updated to 1.20 (and adjusted to the latest package naming standards btw) which should fix the issue according to the bug report. Packages should appear soon here: http://buildfarm.opencsw.org/experimental.html#pm_term_readline_gnu Please let me know if this resolves you issue so the package can be released. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From lsiden at westside-consulting.com Thu Jan 5 12:03:16 2012 From: lsiden at westside-consulting.com (Larry Siden) Date: Thu, 5 Jan 2012 06:03:16 -0500 Subject: [csw-users] Getting Perl and CPAN to play nice with opencsw Message-ID: Please see my post at http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker It's about the experience I've been having trying to enable CPAN to build Perl modules. I've attached CPAN/Config.pm For the record: $pkgutil -c perl package installed catalog CSWperl 5.10.1,REV=2011.01.15 SAME Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Config.pm Type: application/octet-stream Size: 2621 bytes Desc: not available URL: From dam at opencsw.org Thu Jan 5 14:31:05 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 5 Jan 2012 14:31:05 +0100 Subject: [csw-users] Getting Perl and CPAN to play nice with opencsw In-Reply-To: References: Message-ID: Hi Larry, Am 05.01.2012 um 12:03 schrieb Larry Siden: > Please see my post at http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker > > It's about the experience I've been having trying to enable CPAN to build Perl modules. If you really want you can carefully adjust /opt/csw/lib/perl/5.10.1/Config_heavy.pl or install Sun Studio downloadable for free from Oracle. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From lsiden at westside-consulting.com Fri Jan 6 09:34:33 2012 From: lsiden at westside-consulting.com (Larry Siden) Date: Fri, 6 Jan 2012 03:34:33 -0500 Subject: [csw-users] Getting Perl and CPAN to play nice with opencsw In-Reply-To: References: Message-ID: At last, some progress. I'm attaching my copy of /opt/csw/lib/perl/5.10.1/Config_heavy.pl. The modifications I made made it possible for me to build Perl modules that required use of the C/C++ compiler and linker, such as DBI. Even though I could change the paths to these components from within cpan, via "o conf ..." or in CPAN/Config.pm, without changing other command-line options, such as "-KPIC" or "-xO3", gcc would simply refuse to continue, and I could find no other way than to change them in Config_heavy.pl. The real solution, of course, is for maintainers to rebuild the OpenCSW release of Perl using gcc and related packages installed by OpenCSW so that the paths and options will be correct from the get-go, because Config_heavy.pl (and Config.pm that includes it) are supposed to reflect the same commands and options that a given distro of Perl was built with. Since I have a soft spot in my heart for Perl, I would be happy to contribute to this effort if my current employer will permit me to use his equipment for this purpose, because I don't have any other Solaris system at my disposal. It's his "house" so I gotta abide by his rules! :) I will also post this information to http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 On Thu, Jan 5, 2012 at 6:03 AM, Larry Siden wrote: > Please see my post at > http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker > > > It's about the experience I've been having trying to enable CPAN to build > Perl modules. > > I've attached CPAN/Config.pm > > For the record: > > $pkgutil -c perl > > package installed catalog > CSWperl 5.10.1,REV=2011.01.15 SAME > > > Larry Siden, > Westside Consulting LLC > westside-consulting.com > 734-926-9614 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Config_heavy.pl Type: application/octet-stream Size: 31936 bytes Desc: not available URL: From lsiden at gmail.com Fri Jan 6 09:57:09 2012 From: lsiden at gmail.com (Larry Siden) Date: Fri, 6 Jan 2012 03:57:09 -0500 Subject: [csw-users] Perl, CPAN, and CSWpm_termreadlineg In-Reply-To: References: Message-ID: Well I was able to have my cake and eat it too. I got command-line history edit to work by installing Term::Readline. No need for pm_termradlineg or rlwrap. -Larry Siden ?The United States is a nation of laws - poorly written and randomly enforced." -Frank Zappa, 1940-1993 On Thu, Jan 5, 2012 at 3:19 AM, Larry Siden wrote: > Installing pm_termradlineg breaks cpan, because it will quickly exit with > a message that it has run out of memory. This is on a system with 32G and > the histfile was short, so the problem is elsewhere. I think someone else > complained about it too. > > My only recourse was to uninstall this module and forego command history > edits in cpan. > > Of course there is still cpanm ( > http://search.cpan.org/~miyagawa/App-cpanminus-1.5007/bin/cpanm ) which > will allow you to do everything in your favorite Unix shell, and thus take > advantage of your system-wide console readline command-history-edit > capabilities. > > -Larry Siden > > ?The United States is a nation of laws - poorly written and randomly > enforced." > -Frank Zappa, 1940-1993 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lsiden at westside-consulting.com Fri Jan 6 10:00:03 2012 From: lsiden at westside-consulting.com (Larry Siden) Date: Fri, 6 Jan 2012 04:00:03 -0500 Subject: [csw-users] Getting Perl and CPAN to play nice with opencsw In-Reply-To: References: Message-ID: I should 'fess up that I did modify the setting -O3 (super-aggressive optimization) to -O2 (optimizations that don't require space-time trade-offs). That was my personal choice. Maintainers may have a valid reason for having set it to -O3 and may want to change it back. Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 2012/1/6 Larry Siden > At last, some progress. > > I'm attaching my copy of /opt/csw/lib/perl/5.10.1/Config_heavy.pl. The > modifications I made made it possible for me to build Perl modules that > required use of the C/C++ compiler and linker, such as DBI. Even though I > could change the paths to these components from within cpan, via "o conf > ..." or in CPAN/Config.pm, without changing other command-line options, > such as "-KPIC" or "-xO3", gcc would simply refuse to continue, and I could > find no other way than to change them in Config_heavy.pl. > > The real solution, of course, is for maintainers to rebuild the OpenCSW > release of Perl using gcc and related packages installed by OpenCSW so that > the paths and options will be correct from the get-go, because > Config_heavy.pl (and Config.pm that includes it) are supposed to reflect > the same commands and options that a given distro of Perl was built with. > > Since I have a soft spot in my heart for Perl, I would be happy to > contribute to this effort if my current employer will permit me to use his > equipment for this purpose, because I don't have any other Solaris system > at my disposal. It's his "house" so I gotta abide by his rules! :) > > I will also post this information to > http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker > > Larry Siden, > Westside Consulting LLC > westside-consulting.com > 734-926-9614 > > > > On Thu, Jan 5, 2012 at 6:03 AM, Larry Siden < > lsiden at westside-consulting.com> wrote: > >> Please see my post at >> http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker >> >> >> It's about the experience I've been having trying to enable CPAN to build >> Perl modules. >> >> I've attached CPAN/Config.pm >> >> For the record: >> >> $pkgutil -c perl >> >> package installed catalog >> CSWperl 5.10.1,REV=2011.01.15 SAME >> >> >> Larry Siden, >> Westside Consulting LLC >> westside-consulting.com >> 734-926-9614 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Fri Jan 6 11:07:42 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Fri, 6 Jan 2012 11:07:42 +0100 Subject: [csw-users] Getting Perl and CPAN to play nice with opencsw In-Reply-To: References: Message-ID: 2012/1/6 Larry Siden : > The real solution, of course, is for maintainers to rebuild the OpenCSW > release of Perl using gcc and related packages installed by OpenCSW so that > the paths and options will be correct from the get-go, because > Config_heavy.pl (and Config.pm that includes it) are supposed to reflect the > same commands and options that a given distro of Perl was built with. Our preferred compiler is Studio, not GCC. I think this is based on the assumption of Studio producing smaller/faster code on Solaris than GCC but that assumption may have to be revisited. Even though Studio is free to use we can't package it so I understand that you and others prefer GCC. For the first time in a long time OpenCSW also has a current GCC. I'll see if we can bring up the compiler issue on the maintainers list. /peter From sline00 at gmail.com Sun Jan 8 20:55:59 2012 From: sline00 at gmail.com (Steven Line) Date: Sun, 8 Jan 2012 12:55:59 -0700 Subject: [csw-users] Having trouble updating mirror to new value Message-ID: Hi Guys - My pkgutil was working great a few months ago, then recently I got this error: -bash-3.2# pkgutil -a ruby => Fetching new catalog and descriptions ( http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10) if available ... --19:46:09-- http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10/catalog => `/var/opt/csw/pkgutil/catalog.ibiblio.org_pub_packages_solaris_opencsw_current_i386_5.10.tmp' Resolving ibiblio.org... 152.19.134.40 Connecting to ibiblio.org[152.19.134.40]:80... connected. HTTP request sent, awaiting response... 404 Not Found 19:46:09 ERROR 404: Not Found. I googled it, saw a post by Jeffrey Small, so I updated my config file in /etc/opt/csw/pkgutil.conf with mirror= http://mirrors.ibiblio.org/pub/mirrors/opencsw/ but I still get a similar error: -bash-3.2# pkgutil -a => Fetching new catalog and descriptions ( http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10) if available ... --19:51:39-- http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10/catalog => `/var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_i386_5.10.tmp' Resolving mirrors.ibiblio.org... 152.19.134.44 Connecting to mirrors.ibiblio.org[152.19.134.44]:80... connected. HTTP request sent, awaiting response... 404 Not Found 19:51:39 ERROR 404: Not Found. I've tried 5 different mirrors listed at https://www.opencsw.org/get-it/mirrors/ and I'm getting similar errors for all of them. Does anybody have any suggestions? Thank you, Steve -- Steven Line 303-910-1212 sline00 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Sun Jan 8 21:17:17 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Sun, 8 Jan 2012 21:17:17 +0100 Subject: [csw-users] Having trouble updating mirror to new value In-Reply-To: References: Message-ID: On Sun, Jan 8, 2012 at 8:55 PM, Steven Line wrote: > Hi Guys - > > My pkgutil was working great a few months ago, then recently I got this > error: > > -bash-3.2# pkgutil -a ruby > => Fetching new catalog and descriptions > (http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10) if > available ... > --19:46:09-- > http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10/catalog > ?????????? => > `/var/opt/csw/pkgutil/catalog.ibiblio.org_pub_packages_solaris_opencsw_current_i386_5.10.tmp' > Resolving ibiblio.org... 152.19.134.40 > Connecting to ibiblio.org[152.19.134.40]:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 19:46:09 ERROR 404: Not Found. Ibiblio changed it's url, right. > I googled it, saw a post by Jeffrey Small, so I updated my config file in > /etc/opt/csw/pkgutil.conf with > mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/ but I still get a > similar error: > > -bash-3.2# pkgutil -a > => Fetching new catalog and descriptions > (http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10) if available ... > --19:51:39-- > http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10/catalog > ?????????? => > `/var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_i386_5.10.tmp' > Resolving mirrors.ibiblio.org... 152.19.134.44 > Connecting to mirrors.ibiblio.org[152.19.134.44]:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 19:51:39 ERROR 404: Not Found. Now you have forgotten to add the distribution you want to use, note that you used "current" earlier. If you add current to the new ibiblio url it will work just fine. mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/current This is mentioned in pkgutil.conf: # Mirror to use for downloads # See http://www.opencsw.org/mirrors for alternative mirrors. # NOTE: remember to include distribution (e.g. testing) at the end of the url. # NOTE: you can have multiple mirrors by defining multiple mirror lines. # Default: http://mirror.opencsw.org/opencsw/testing #mirror=http://mirror.opencsw.org/opencsw/testing /peter From sline00 at gmail.com Sun Jan 8 21:23:58 2012 From: sline00 at gmail.com (Steven Line) Date: Sun, 8 Jan 2012 13:23:58 -0700 Subject: [csw-users] Having trouble updating mirror to new value In-Reply-To: References: Message-ID: > > Now you have forgotten to add the distribution you want to use, note > that you used "current" earlier. If you add current to the new ibiblio > url it will work just fine. > > mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/current > > This is mentioned in pkgutil.conf: > > # Mirror to use for downloads > # See http://www.opencsw.org/mirrors for alternative mirrors. > # NOTE: remember to include distribution (e.g. testing) at the end of the > url. > # NOTE: you can have multiple mirrors by defining multiple mirror lines. > # Default: http://mirror.opencsw.org/opencsw/testing > #mirror=http://mirror.opencsw.org/opencsw/testing > Thank you Peter. It's now working. I had tried that earlier and it didn't help, maybe I screwed something up that time. -- Steven Line 303-910-1212 sline00 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adutta at easylink.com Wed Jan 11 21:55:26 2012 From: adutta at easylink.com (Amitava Dutta) Date: Wed, 11 Jan 2012 20:55:26 +0000 Subject: [csw-users] How to run xterm on Solaris 11 on x86 Message-ID: Hello List, I installed xterm on Solaris 11 on x86 but it can not find correct libraries. I installed the packages with /opt/csw/bin/pkgutil -y -i xterm then added /opt/csw/lib and /opt/csw/X11/lib to LD_LIBRARY_PATH, but still has these errors: libXaw.so.5 => (file not found) libICE.so.6 (SUNW_1.1) => (version not found) libXext.so.0 (SUNW_1.1) => (version not found) libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) Complete outputs are below. How do I run xterm on Solaris 11 on x86? Thanks for your help. $ cat /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 $ pwd; ls -l libXaw* libXext* libSM* libICE* /opt/csw/X11/lib lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so -> libICE.so.6.3.0 lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so.6 -> libICE.so.6.3.0 -rwxr-xr-x 1 root bin 146564 Feb 18 2010 libICE.so.6.3.0 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so -> libSM.so.6.0.1 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so.6 -> libSM.so.6.0.1 -rwxr-xr-x 1 root bin 46092 Feb 18 2010 libSM.so.6.0.1 lrwxrwxrwx 1 root root 10 Jan 11 13:34 libXaw.so -> libXaw7.so lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.6 -> libXaw6.so.6 lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.7 -> libXaw7.so.7 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so -> libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so.6 -> libXaw6.so.6.0.1 -rwxr-xr-x 1 root bin 356280 Feb 19 2010 libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so -> libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so.7 -> libXaw7.so.7.0.0 -rwxr-xr-x 1 root bin 467364 Feb 19 2010 libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so -> libXext.so.0.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so.0 -> libXext.so.0.0.0 -rwxr-xr-x 1 root bin 88804 Mar 8 2010 libXext.so.0.0.0 $ ldd /opt/csw/bin/xterm libXft.so.2 => /opt/csw/lib/libXft.so.2 libfontconfig.so.1 => /opt/csw/lib/libfontconfig.so.1 libXaw.so.5 => (file not found) libXmu.so.4 => /usr/lib/libXmu.so.4 libXt.so.4 => /usr/lib/libXt.so.4 libICE.so.6 => /opt/csw/X11/lib/libICE.so.6 libICE.so.6 (SUNW_1.1) => (version not found) libX11.so.4 => /usr/lib/libX11.so.4 libcurses.so.1 => /lib/libcurses.so.1 libc.so.1 => /lib/libc.so.1 libfreetype.so.6 => /opt/csw/lib/libfreetype.so.6 libXrender.so.1 => /opt/csw/lib/libXrender.so.1 libiconv.so.2 => /opt/csw/lib/libiconv.so.2 libz.so => /lib/libz.so libexpat.so.1 => /opt/csw/lib/libexpat.so.1 libXext.so.0 => /opt/csw/X11/lib/libXext.so.0 libXext.so.0 (SUNW_1.1) => (version not found) libm.so.2 => /usr/lib/libm.so.2 libnsl.so.1 => /usr/lib/libnsl.so.1 libSM.so.6 => /opt/csw/X11/lib/libSM.so.6 libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) libsocket.so.1 => /lib/libsocket.so.1 libxcb.so.1 => /opt/csw/X11/lib/libxcb.so.1 libz.so.1 => /opt/csw/lib/libz.so.1 libbz2.so.1.0 => /opt/csw/lib/libbz2.so.1.0 libX11.so.6 => /opt/csw/X11/lib/libX11.so.6 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 libXau.so.6 => /opt/csw/X11/lib/libXau.so.6 libXdmcp.so.6 => /opt/csw/X11/lib/libXdmcp.so.6 libdl.so.1 => /lib/libdl.so.1 libXmuu.so.1 => /opt/csw/X11/lib/libXmuu.so.1 $ /opt/csw/bin/pkgutil -y -i xterm Solving needed dependencies ... Solving dependency order ... 17 CURRENT packages: CSWcommon-1.5,REV=2010.12.11 CSWexpat-2.0.1,REV=2011.07.15 CSWfconfig-2.6.0,REV=2009.04.24 CSWftype2-2.4.8,REV=2012.01.05 CSWiconv-1.14,REV=2011.08.08 CSWisaexec-0.2,REV=2009.03.26 CSWlibbz2-1-0-1.0.6,REV=2011.08.18 CSWlibcharset1-1.14,REV=2011.08.07 CSWlibexpat0-1.95.8,REV=2011.07.15 CSWlibexpat1-2.0.1,REV=2011.07.15 CSWlibfreetype6-2.4.8,REV=2012.01.05 CSWlibiconv2-1.14,REV=2011.08.07 CSWlibxft2-2.1.14,REV=2010.06.07 CSWlibxrender-0.9.5,REV=2010.05.20 CSWlibz1-1.2.5,REV=2011.08.19 CSWxterm-267,REV=2010.12.09 CSWzlib-1.2.5,REV=2011.08.19 Nothing to do. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leslie.wood at oracle.com Wed Jan 11 22:01:04 2012 From: leslie.wood at oracle.com (Leslie H Wood) Date: Wed, 11 Jan 2012 14:01:04 -0700 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: References: Message-ID: <4F0DF890.2040508@oracle.com> An HTML attachment was scrubbed... URL: From adutta at easylink.com Wed Jan 11 22:12:19 2012 From: adutta at easylink.com (Amitava Dutta) Date: Wed, 11 Jan 2012 21:12:19 +0000 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: <4F0DF890.2040508@oracle.com> References: <4F0DF890.2040508@oracle.com> Message-ID: thanks ! but there's no xterm on the machine ;-( $ pkg list xterm pkg list: no packages matching 'xterm' installed $ ls /usr/bin/xterm /usr/bin/xterm: No such file or directory any other place I should look? ________________________________ From: Leslie H Wood [mailto:leslie.wood at oracle.com] Sent: Wednesday, January 11, 2012 4:01 PM To: Questions and discussions Cc: Amitava Dutta Subject: Re: [csw-users] How to run xterm on Solaris 11 on x86 Not sure if you need a special xterm for some reason but there is the default xterm on Solaris 11. moxie:/home/xxx ->more /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 moxie:/home/xxx ->which xterm /usr/bin/xterm moxie:/home/xxx ->pkg list xterm NAME (PUBLISHER) VERSION IFO terminal/xterm Amitava Dutta wrote, On 01/11/12 13:55: Hello List, I installed xterm on Solaris 11 on x86 but it can not find correct libraries. I installed the packages with /opt/csw/bin/pkgutil -y -i xterm then added /opt/csw/lib and /opt/csw/X11/lib to LD_LIBRARY_PATH, but still has these errors: libXaw.so.5 => (file not found) libICE.so.6 (SUNW_1.1) => (version not found) libXext.so.0 (SUNW_1.1) => (version not found) libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) Complete outputs are below. How do I run xterm on Solaris 11 on x86? Thanks for your help. $ cat /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 $ pwd; ls -l libXaw* libXext* libSM* libICE* /opt/csw/X11/lib lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so -> libICE.so.6.3.0 lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so.6 -> libICE.so.6.3.0 -rwxr-xr-x 1 root bin 146564 Feb 18 2010 libICE.so.6.3.0 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so -> libSM.so.6.0.1 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so.6 -> libSM.so.6.0.1 -rwxr-xr-x 1 root bin 46092 Feb 18 2010 libSM.so.6.0.1 lrwxrwxrwx 1 root root 10 Jan 11 13:34 libXaw.so -> libXaw7.so lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.6 -> libXaw6.so.6 lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.7 -> libXaw7.so.7 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so -> libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so.6 -> libXaw6.so.6.0.1 -rwxr-xr-x 1 root bin 356280 Feb 19 2010 libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so -> libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so.7 -> libXaw7.so.7.0.0 -rwxr-xr-x 1 root bin 467364 Feb 19 2010 libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so -> libXext.so.0.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so.0 -> libXext.so.0.0.0 -rwxr-xr-x 1 root bin 88804 Mar 8 2010 libXext.so.0.0.0 $ ldd /opt/csw/bin/xterm libXft.so.2 => /opt/csw/lib/libXft.so.2 libfontconfig.so.1 => /opt/csw/lib/libfontconfig.so.1 libXaw.so.5 => (file not found) libXmu.so.4 => /usr/lib/libXmu.so.4 libXt.so.4 => /usr/lib/libXt.so.4 libICE.so.6 => /opt/csw/X11/lib/libICE.so.6 libICE.so.6 (SUNW_1.1) => (version not found) libX11.so.4 => /usr/lib/libX11.so.4 libcurses.so.1 => /lib/libcurses.so.1 libc.so.1 => /lib/libc.so.1 libfreetype.so.6 => /opt/csw/lib/libfreetype.so.6 libXrender.so.1 => /opt/csw/lib/libXrender.so.1 libiconv.so.2 => /opt/csw/lib/libiconv.so.2 libz.so => /lib/libz.so libexpat.so.1 => /opt/csw/lib/libexpat.so.1 libXext.so.0 => /opt/csw/X11/lib/libXext.so.0 libXext.so.0 (SUNW_1.1) => (version not found) libm.so.2 => /usr/lib/libm.so.2 libnsl.so.1 => /usr/lib/libnsl.so.1 libSM.so.6 => /opt/csw/X11/lib/libSM.so.6 libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) libsocket.so.1 => /lib/libsocket.so.1 libxcb.so.1 => /opt/csw/X11/lib/libxcb.so.1 libz.so.1 => /opt/csw/lib/libz.so.1 libbz2.so.1.0 => /opt/csw/lib/libbz2.so.1.0 libX11.so.6 => /opt/csw/X11/lib/libX11.so.6 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 libXau.so.6 => /opt/csw/X11/lib/libXau.so.6 libXdmcp.so.6 => /opt/csw/X11/lib/libXdmcp.so.6 libdl.so.1 => /lib/libdl.so.1 libXmuu.so.1 => /opt/csw/X11/lib/libXmuu.so.1 $ /opt/csw/bin/pkgutil -y -i xterm Solving needed dependencies ... Solving dependency order ... 17 CURRENT packages: CSWcommon-1.5,REV=2010.12.11 CSWexpat-2.0.1,REV=2011.07.15 CSWfconfig-2.6.0,REV=2009.04.24 CSWftype2-2.4.8,REV=2012.01.05 CSWiconv-1.14,REV=2011.08.08 CSWisaexec-0.2,REV=2009.03.26 CSWlibbz2-1-0-1.0.6,REV=2011.08.18 CSWlibcharset1-1.14,REV=2011.08.07 CSWlibexpat0-1.95.8,REV=2011.07.15 CSWlibexpat1-2.0.1,REV=2011.07.15 CSWlibfreetype6-2.4.8,REV=2012.01.05 CSWlibiconv2-1.14,REV=2011.08.07 CSWlibxft2-2.1.14,REV=2010.06.07 CSWlibxrender-0.9.5,REV=2010.05.20 CSWlibz1-1.2.5,REV=2011.08.19 CSWxterm-267,REV=2010.12.09 CSWzlib-1.2.5,REV=2011.08.19 Nothing to do. _______________________________________________ users mailing list users at lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From leslie.wood at oracle.com Wed Jan 11 22:26:30 2012 From: leslie.wood at oracle.com (Leslie H Wood) Date: Wed, 11 Jan 2012 14:26:30 -0700 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: References: <4F0DF890.2040508@oracle.com> Message-ID: <4F0DFE86.3080701@oracle.com> An HTML attachment was scrubbed... URL: From skayser at opencsw.org Wed Jan 11 22:27:40 2012 From: skayser at opencsw.org (Sebastian Kayser) Date: Wed, 11 Jan 2012 22:27:40 +0100 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: References: <4F0DF890.2040508@oracle.com> Message-ID: <20120111212740.GB32649@sebastiankayser.de> * Amitava Dutta wrote: > but there's no xterm on the machine ;-( > > $ pkg list xterm > pkg list: no packages matching 'xterm' installed > $ ls /usr/bin/xterm > /usr/bin/xterm: No such file or directory > any other place I should look? Judging from your earlier ldd output your system seems to be missing the basic X11 library packages. These are usually provided by the OS and CSWxterm relies on them being present. As I don't have any Solaris 11 exposure, I don't know what the relevant packages would be there, but on Solaris 10 it's SUNWxwrtl. Once you've figured out which OS packages you need, you'll most likely also stumble upon the native Solaris 11 xterm package (if it's not already part of a bigger meta package). Sebastian From adutta at easylink.com Wed Jan 11 22:33:37 2012 From: adutta at easylink.com (Amitava Dutta) Date: Wed, 11 Jan 2012 21:33:37 +0000 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: <4F0DFE86.3080701@oracle.com> References: <4F0DF890.2040508@oracle.com> <4F0DFE86.3080701@oracle.com> Message-ID: Thanks for your prompt replies. This is the new development machine that I'm starting to set up. I'm downloading the x86 ISO image and will install the packages from there. ________________________________ From: Leslie H Wood [mailto:leslie.wood at oracle.com] Sent: Wednesday, January 11, 2012 4:26 PM To: Amitava Dutta Cc: Questions and discussions Subject: Re: [csw-users] How to run xterm on Solaris 11 on x86 The design philosophy changed for OpenSol/S11exp/S11 in that it does minimalist installs. However for S11 they did bring package group options back. For the ones following the naming convention: moxie:/usr/X11/bin ->pkg list -a 'group/*' NAME (PUBLISHER) VERSION IFO group/feature/amp 0.5.11-0.175.0.0.0.2.2576 --- group/feature/developer-gnu 0.5.11-0.175.0.0.0.2.2576 --- group/feature/multi-user-desktop 0.5.11-0.175.0.0.0.2.2576 --- group/feature/storage-avs 0.5.11-0.175.0.0.0.2.1 --- group/feature/storage-nas 0.5.11-0.175.0.0.0.2.1 --- group/feature/storage-server 0.5.11-0.175.0.0.0.2.1 --- group/feature/trusted-desktop 0.5.11-0.175.0.0.0.2.2576 --- group/system/solaris-auto-install 0.5.11-0.175.0.0.0.2.2576 --- group/system/solaris-desktop 0.5.11-0.175.0.0.0.2.2576 --- group/system/solaris-large-server 0.5.11-0.175.0.0.0.2.2576 --- group/system/solaris-small-server 0.5.11-0.175.0.0.0.2.2576 --- Note that the "multi-user-desktop (solaris)" is specifically for Sunray. Bottom line is that you need to add what you need from the repository you did your initial install from. Amitava Dutta wrote, On 01/11/12 14:12: thanks ! but there's no xterm on the machine ;-( $ pkg list xterm pkg list: no packages matching 'xterm' installed $ ls /usr/bin/xterm /usr/bin/xterm: No such file or directory any other place I should look? ________________________________ From: Leslie H Wood [mailto:leslie.wood at oracle.com] Sent: Wednesday, January 11, 2012 4:01 PM To: Questions and discussions Cc: Amitava Dutta Subject: Re: [csw-users] How to run xterm on Solaris 11 on x86 Not sure if you need a special xterm for some reason but there is the default xterm on Solaris 11. moxie:/home/xxx ->more /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 moxie:/home/xxx ->which xterm /usr/bin/xterm moxie:/home/xxx ->pkg list xterm NAME (PUBLISHER) VERSION IFO terminal/xterm Amitava Dutta wrote, On 01/11/12 13:55: Hello List, I installed xterm on Solaris 11 on x86 but it can not find correct libraries. I installed the packages with /opt/csw/bin/pkgutil -y -i xterm then added /opt/csw/lib and /opt/csw/X11/lib to LD_LIBRARY_PATH, but still has these errors: libXaw.so.5 => (file not found) libICE.so.6 (SUNW_1.1) => (version not found) libXext.so.0 (SUNW_1.1) => (version not found) libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) Complete outputs are below. How do I run xterm on Solaris 11 on x86? Thanks for your help. $ cat /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 $ pwd; ls -l libXaw* libXext* libSM* libICE* /opt/csw/X11/lib lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so -> libICE.so.6.3.0 lrwxrwxrwx 1 root root 15 Jan 11 13:34 libICE.so.6 -> libICE.so.6.3.0 -rwxr-xr-x 1 root bin 146564 Feb 18 2010 libICE.so.6.3.0 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so -> libSM.so.6.0.1 lrwxrwxrwx 1 root root 14 Jan 11 13:34 libSM.so.6 -> libSM.so.6.0.1 -rwxr-xr-x 1 root bin 46092 Feb 18 2010 libSM.so.6.0.1 lrwxrwxrwx 1 root root 10 Jan 11 13:34 libXaw.so -> libXaw7.so lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.6 -> libXaw6.so.6 lrwxrwxrwx 1 root root 12 Jan 11 13:34 libXaw.so.7 -> libXaw7.so.7 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so -> libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw6.so.6 -> libXaw6.so.6.0.1 -rwxr-xr-x 1 root bin 356280 Feb 19 2010 libXaw6.so.6.0.1 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so -> libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXaw7.so.7 -> libXaw7.so.7.0.0 -rwxr-xr-x 1 root bin 467364 Feb 19 2010 libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so -> libXext.so.0.0.0 lrwxrwxrwx 1 root root 16 Jan 11 13:34 libXext.so.0 -> libXext.so.0.0.0 -rwxr-xr-x 1 root bin 88804 Mar 8 2010 libXext.so.0.0.0 $ ldd /opt/csw/bin/xterm libXft.so.2 => /opt/csw/lib/libXft.so.2 libfontconfig.so.1 => /opt/csw/lib/libfontconfig.so.1 libXaw.so.5 => (file not found) libXmu.so.4 => /usr/lib/libXmu.so.4 libXt.so.4 => /usr/lib/libXt.so.4 libICE.so.6 => /opt/csw/X11/lib/libICE.so.6 libICE.so.6 (SUNW_1.1) => (version not found) libX11.so.4 => /usr/lib/libX11.so.4 libcurses.so.1 => /lib/libcurses.so.1 libc.so.1 => /lib/libc.so.1 libfreetype.so.6 => /opt/csw/lib/libfreetype.so.6 libXrender.so.1 => /opt/csw/lib/libXrender.so.1 libiconv.so.2 => /opt/csw/lib/libiconv.so.2 libz.so => /lib/libz.so libexpat.so.1 => /opt/csw/lib/libexpat.so.1 libXext.so.0 => /opt/csw/X11/lib/libXext.so.0 libXext.so.0 (SUNW_1.1) => (version not found) libm.so.2 => /usr/lib/libm.so.2 libnsl.so.1 => /usr/lib/libnsl.so.1 libSM.so.6 => /opt/csw/X11/lib/libSM.so.6 libSM.so.6 (SUNW_1.1) => (version not found) libSM.so.6 (SUNWprivate) => (version not found) libICE.so.6 (SUNW_1.1) => (version not found) libsocket.so.1 => /lib/libsocket.so.1 libxcb.so.1 => /opt/csw/X11/lib/libxcb.so.1 libz.so.1 => /opt/csw/lib/libz.so.1 libbz2.so.1.0 => /opt/csw/lib/libbz2.so.1.0 libX11.so.6 => /opt/csw/X11/lib/libX11.so.6 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 libXau.so.6 => /opt/csw/X11/lib/libXau.so.6 libXdmcp.so.6 => /opt/csw/X11/lib/libXdmcp.so.6 libdl.so.1 => /lib/libdl.so.1 libXmuu.so.1 => /opt/csw/X11/lib/libXmuu.so.1 $ /opt/csw/bin/pkgutil -y -i xterm Solving needed dependencies ... Solving dependency order ... 17 CURRENT packages: CSWcommon-1.5,REV=2010.12.11 CSWexpat-2.0.1,REV=2011.07.15 CSWfconfig-2.6.0,REV=2009.04.24 CSWftype2-2.4.8,REV=2012.01.05 CSWiconv-1.14,REV=2011.08.08 CSWisaexec-0.2,REV=2009.03.26 CSWlibbz2-1-0-1.0.6,REV=2011.08.18 CSWlibcharset1-1.14,REV=2011.08.07 CSWlibexpat0-1.95.8,REV=2011.07.15 CSWlibexpat1-2.0.1,REV=2011.07.15 CSWlibfreetype6-2.4.8,REV=2012.01.05 CSWlibiconv2-1.14,REV=2011.08.07 CSWlibxft2-2.1.14,REV=2010.06.07 CSWlibxrender-0.9.5,REV=2010.05.20 CSWlibz1-1.2.5,REV=2011.08.19 CSWxterm-267,REV=2010.12.09 CSWzlib-1.2.5,REV=2011.08.19 Nothing to do. _______________________________________________ users mailing list users at lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Wed Jan 11 22:52:59 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Wed, 11 Jan 2012 22:52:59 +0100 Subject: [csw-users] How to run xterm on Solaris 11 on x86 In-Reply-To: References: <4F0DF890.2040508@oracle.com> Message-ID: <529675C5-8CD8-4942-8120-C22217F30234@opencsw.org> Hi Amitava, Am 11.01.2012 um 22:12 schrieb Amitava Dutta: > Amitava Dutta wrote, On 01/11/12 13:55: >> Hello List, >> >> I installed xterm on Solaris 11 on x86 but it can not find correct libraries. Some of the X11 libraries are not installed on Solaris 11 by default. >> I installed the packages with /opt/csw/bin/pkgutil -y -i xterm then >> added /opt/csw/lib and /opt/csw/X11/lib to LD_LIBRARY_PATH, but still has these errors: >> >> libXaw.so.5 => (file not found) >> libICE.so.6 (SUNW_1.1) => (version not found) >> libXext.so.0 (SUNW_1.1) => (version not found) >> libSM.so.6 (SUNW_1.1) => (version not found) >> libSM.so.6 (SUNWprivate) => (version not found) >> libICE.so.6 (SUNW_1.1) => (version not found) The libraries in /opt/csw/X11/lib are from an experimental X11 project and should not be used. You can find the respective Solaris 11 IPS packages with "pkg search": > root at unstable11s [unstable11s]:/root > pkg search libXaw.so.5 > INDEX ACTION VALUE PACKAGE > basename file usr/lib/sparcv9/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > basename file usr/lib/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > basename file usr/lib/amd64/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > basename link usr/X11/lib/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > basename link usr/X11/lib/sparcv9/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > basename link usr/X11/lib/amd64/libXaw.so.5 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 > pkg.description set This package provides a libXaw.so.5 binary for backwards compatibility with programs compiled on older releases of Solaris. pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215 Install them with pkg install libxaw5 If there are more libs missing you can add them similarly. > but there's no xterm on the machine ;-( > > $ pkg list xterm > pkg list: no packages matching 'xterm' installed Try pkg search xterm and pkg install xterm I just verified that both the OpenCSW xterm and /usr/bin/xterm work on Solaris 11 11/11 after installation of the respective CSW and IPS packages. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From maciej at opencsw.org Sun Jan 15 11:59:06 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 15 Jan 2012 10:59:06 +0000 Subject: [csw-users] Fixed MySQL 5.0 in the unstable catalog is available Message-ID: Hello OpenCSW users, I've been guilty of letting a half-baked MySQL package sit in the unstable catalog, which caused grief to some people. I apologize for that and I'd like to let you know that I've updated the package in unstable to a working one. An initial installation will now run successfully. If you care about MySQL, please try the version from the unstable catalog. In a near future, it will be promoted to dublin. The unstable catalog URL is: http://mirror.opencsw.org/opencsw/unstable/ Maciej From jrgeilo at sandia.gov Mon Jan 16 22:44:53 2012 From: jrgeilo at sandia.gov (Geilow, John) Date: Mon, 16 Jan 2012 21:44:53 +0000 Subject: [csw-users] pkgadd version wget Message-ID: <78F42F03BFB46E4B98733B84AA87461F54B63189@EXMB04.srn.sandia.gov> Hi, I tried to use pkgadd -x proxyserver -d http://get.opencsw.org/now but it timeout. I was able to use wget http://mirror.opencsw.org/opencsw/pkgutil.pkg and pull down a file call pkgutil.pkg . Here my question, is that the same file you get if the pkgadd command work? John Geilow -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Mon Jan 16 22:54:48 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 16 Jan 2012 22:54:48 +0100 Subject: [csw-users] pkgadd version wget In-Reply-To: <78F42F03BFB46E4B98733B84AA87461F54B63189@EXMB04.srn.sandia.gov> References: <78F42F03BFB46E4B98733B84AA87461F54B63189@EXMB04.srn.sandia.gov> Message-ID: <7B52AA1B-15C1-4138-B97F-97B883FD7982@opencsw.org> Hi John, Am 16.01.2012 um 22:44 schrieb Geilow, John: > I tried to use pkgadd -x proxyserver -d http://get.opencsw.org/now but it timeout. This should work, I just verified. Does wgetting this URL works? > I was able to use wget http://mirror.opencsw.org/opencsw/pkgutil.pkg and pull down a file call pkgutil.pkg . > > Here my question, is that the same file you get if the pkgadd command work? Yes, these are identical as the first one is a symlink to the second one on the webserver. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From ghenry at cmi.univ-mrs.fr Wed Jan 18 10:47:52 2012 From: ghenry at cmi.univ-mrs.fr (Gerard Henry) Date: Wed, 18 Jan 2012 10:47:52 +0100 Subject: [csw-users] bug in evince? Message-ID: <4F169548.7030903@cmi.univ-mrs.fr> hello all, i posted two bug reports about evince, anyone can help? https://www.opencsw.org/mantis/view.php?id=4885 and https://www.opencsw.org/mantis/view.php?id=4886 The first one seems to be a packaging problem on sparc only. thanks in advance, gerard From maciej at opencsw.org Wed Jan 18 15:11:05 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Wed, 18 Jan 2012 14:11:05 +0000 Subject: [csw-users] bug in evince? In-Reply-To: <4F169548.7030903@cmi.univ-mrs.fr> References: <4F169548.7030903@cmi.univ-mrs.fr> Message-ID: 2012/1/18 Gerard Henry : > hello all, > i posted two bug reports about evince, anyone can help? > https://www.opencsw.org/mantis/view.php?id=4885 > and > https://www.opencsw.org/mantis/view.php?id=4886 > > The first one seems to be a packaging problem on sparc only. The first thought is that evince needs rebuilding, because of changes made to libraries it depends on. I have recently given rebuilding evince a shot, but it didn't succeed. Since then, we got newer GTK2 packages, perhaps it would succeed now. It seems like you care about evince; if you do, would you like to try building it? From our experience, people who use the software make the best maintainers. To get started, all you need is a Solaris box; steps to set it up are given here: http://wiki.opencsw.org/package-building-quickstart Maciej From freeflysage at gmail.com Thu Jan 19 04:10:06 2012 From: freeflysage at gmail.com (Sage McGirk) Date: Wed, 18 Jan 2012 22:10:06 -0500 Subject: [csw-users] sol 11 zone sqwebmail Message-ID: SunOS mail 5.11 11.0 i86pc i386 i86pc __end of install snip__ Installing class . /opt/csw/lib/svc/method/svc-sqwebmail.CSW /opt/csw/var/svc/manifest/application/sqwebmail.xml.CSW *** NOTICE *** Running install-configure scripts. See log in /opt/csw/share/doc/sqwebmail/install-20120118214436 ## Creating sqwebmail manifest from .CSW file Install_root (-R option) requires an absolute pathname: <-c> installf: ERROR: Command line install root contends with environment. pkgadd: ERROR: postinstall script did not complete successfully Installation of partially failed. Exiting pkgutil due to pkgadd error: 2 root at mail:/opt/csw/share/doc/sqwebmail# cat install-20120118214436 Run install-configure script. ## Installing/Upgrading ldapaddressbook ldapaddressbook: ldapaddressbook: new ## Installing/Upgrading sqwebmaild sqwebmaild: PIDFILE: new DEBUG_LOGIN: new MAILDIRPATH: new SQWEBMAIL_PREFORK: new LOGGEROPTS: new LDAP_FILTERSTRINGS: new ## Creating sqwebmail manifest from .CSW file Happy to supply any additional logs Thanks /sm From freeflysage at gmail.com Thu Jan 19 14:17:05 2012 From: freeflysage at gmail.com (Sage McGirk) Date: Thu, 19 Jan 2012 13:17:05 +0000 (UTC) Subject: [csw-users] sol 11 zone sqwebmail *SOLVED* References: Message-ID: Sage McGirk writes: > > SunOS mail 5.11 11.0 i86pc i386 i86pc > > __end of install snip__ > > Installing class . > /opt/csw/lib/svc/method/svc-sqwebmail.CSW > /opt/csw/var/svc/manifest/application/sqwebmail.xml.CSW > *** NOTICE *** > Running install-configure scripts. > See log in /opt/csw/share/doc/sqwebmail/install-20120118214436 > ## Creating sqwebmail manifest from .CSW file > Install_root (-R option) requires an absolute pathname: <-c> > installf: ERROR: Command line install root contends with environment. > pkgadd: ERROR: postinstall script did not complete successfully > > Installation of partially failed. > Exiting pkgutil due to pkgadd error: 2 > > root mail:/opt/csw/share/doc/sqwebmail# cat install-20120118214436 > Run install-configure script. > ## Installing/Upgrading ldapaddressbook > ldapaddressbook: > ldapaddressbook: new > ## Installing/Upgrading sqwebmaild > sqwebmaild: > PIDFILE: new > DEBUG_LOGIN: new > MAILDIRPATH: new > SQWEBMAIL_PREFORK: new > LOGGEROPTS: new > LDAP_FILTERSTRINGS: new > ## Creating sqwebmail manifest from .CSW file > > Happy to supply any additional logs > > Thanks > > /sm > Download the packages pkgutil -d sqwebmail cd /var/opt/csw/pkgutil/packages gunzip sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg.gz pkgtrans sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg ./ cd CSWsqwebmail/install vi postinstall __edit near bottom of file *from*__ # Commit any pkgmap adds and deletes if [ $installfdone = yes ] ; then /usr/sbin/installf -f -c smfyes $PKGINST || exit 2 fi __*to**__ # Commit any pkgmap adds and deletes if [ $installfdone = yes ] ; then /usr/sbin/installf -R -f -c smfyes $PKGINST || exit 2 fi __ Note: the additional -R__ /usr/xpg4/bin/sh ./postinstall /sm From bonivart at opencsw.org Thu Jan 19 14:39:06 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Thu, 19 Jan 2012 14:39:06 +0100 Subject: [csw-users] sol 11 zone sqwebmail *SOLVED* In-Reply-To: References: Message-ID: On Thu, Jan 19, 2012 at 2:17 PM, Sage McGirk wrote: > Download the packages > pkgutil -d sqwebmail > > cd /var/opt/csw/pkgutil/packages > gunzip sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg.gz > pkgtrans sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg ./ Just a small OT note, pkgutil could have done this for you: root at sol10[trunk]# pkgutil -d --nodeps --extract sqwebmail Package list: CSWsqwebmail-5.2.0,REV=2007.11.03 (opencsw/unstable) Total size: 1.6 MB => Fetching CSWsqwebmail-5.2.0,REV=2007.11.03 (1/1) ... MD5 for CSWsqwebmail-5.2.0,REV=2007.11.03 matched. Extracting CSWsqwebmail-5.2.0,REV=2007.11.03 to /var/opt/csw/pkgutil/packages/CSWsqwebmail ... root at sol10[trunk]# ls -l /var/opt/csw/pkgutil/packages/CSWsqwebmail total 33 drwxr-xr-x 2 1029 staff 11 Jan 19 14:35 install -rw-r--r-- 1 1029 staff 338 Oct 3 2008 pkginfo -rw-r--r-- 1 1029 staff 12205 Oct 3 2008 pkgmap drwxr-xr-x 4 1029 staff 4 Jan 19 14:35 root root at sol10[trunk]# /peter From rparker at a123systems.com Tue Jan 31 16:28:08 2012 From: rparker at a123systems.com (Ronald Parker Jr) Date: Tue, 31 Jan 2012 10:28:08 -0500 Subject: [csw-users] pkgutil -e reports updates that won't update Message-ID: <1AB1A341FD991B49AFCF784F8F7B23CDA4B42BFB@US-DC1-MAIL3.a123systems.com> I have a "pkgutil -e" cronjob that emails me the following list: CSWcacertificates 20111106,REV=2011.11.06 20091101,REV=2009.11.01 CSWgcc4corert 4.6.2,REV=2011.10.28 4.3.3,REV=2009.05.07 CSWgcc4g++rt 4.6.2,REV=2011.10.28 4.3.3,REV=2009.05.07 CSWgcrypt 1.5.0,REV=2011.08.30 1.5.0,REV=2011.06.29 CSWgdbm 1.9,REV=2011.10.24 1.8.3,REV=2011.02.01 CSWjpeg 7,REV=2011.11.24 7,REV=2009.08.17 CSWkrb5lib 1.9.1,REV=2011.08.29 1.4.4,REV=2006.12.27 CSWlibatk 2.2.0,REV=2011.11.27 1.30.0,REV=2010.05.06 CSWlibgcc-s1 4.6.2,REV=2011.10.28 0.1,REV=2011.10.19 CSWlibgcrypt-utils 1.5.0,REV=2011.08.30 1.5.0,REV=2011.06.29 CSWlibidl 0.8.14,REV=2011.09.20 0.8.14,REV=2010.03.31 CSWlibncurses5 5.9,REV=2011.11.21 5.9,REV=2011.06.27 CSWlibncursesw5 5.9,REV=2011.11.21 5.9,REV=2011.06.27 CSWlibpanel5 5.9,REV=2011.11.21 5.9,REV=2011.06.27 CSWlibpanelw5 5.9,REV=2011.11.21 5.9,REV=2011.06.27 CSWlibpopt 1.16,REV=2011.09.28 1.15,REV=2009.10.29 CSWlibsqlite3-0 3070800,REV=2011.09.28 3070701,REV=2011.07.17 CSWlibstdc++6 4.6.2,REV=2011.10.28 0.1,REV=2011.10.19 CSWlibtasn1-3 2.10,REV=2011.11.13 2.9,REV=2011.05.05 CSWmbuffer 20110724,REV=2011.11.27 20100526,REV=2010.07.29 CSWncurses 5.9,REV=2011.11.21 5.9,REV=2011.06.27 CSWpkgutil 2.6.1,REV=2012.01.13 2.5.1,REV=2011.09.11 CSWsqlite3rt 3070800,REV=2011.09.28 3070701,REV=2011.07.17 CSWterminfo 5.9,REV=2011.11.21 5.9,REV=2011.06.27 but when I do "pkgutil -u" I get: Looking for packages that can be upgraded ... Solving needed dependencies ... Solving dependency order ... 55 CURRENT packages: CSWcacertificates-20111106,REV=2011.11.06 CSWcas-cpsampleconf-1.42,REV=2010.11.26 CSWcas-cptemplates-1.42,REV=2011.01.08 CSWcas-crontab-1.42,REV=2010.11.26 CSWcas-etcservices-1.42,REV=2011.02.16 CSWcas-etcshells-1.45,REV=2011.07.12 CSWcas-inetd-1.42,REV=2010.11.26 CSWcas-initsmf-1.44,REV=2011.04.21 CSWcas-migrateconf-1.43,REV=2011.04.24 CSWcas-postmsg-1.42,REV=2010.11.26 CSWcas-preserveconf-1.42,REV=2010.11.26 CSWcas-pycompile-1.42,REV=2010.11.26 CSWcas-texinfo-1.42,REV=2010.11.26 CSWcas-usergroup-1.44,REV=2011.05.02 CSWcommon-1.5,REV=2010.12.11 CSWcswclassutils-1.45,REV=2011.07.02 CSWgcc4corert-4.6.2,REV=2011.10.28 CSWgcc4g++rt-4.6.2,REV=2011.10.28 CSWgcrypt-1.5.0,REV=2011.08.30 CSWgdbm-1.9,REV=2011.10.24 CSWggettext-data-0.18.1.1,p,REV=2011.03.15 CSWggettextrt-0.18.1.1,p,REV=2011.03.15 CSWglib2-2.23.5,REV=2010.03.09 CSWiconv-1.14,REV=2011.08.08 CSWisaexec-0.2,REV=2009.03.26 CSWjpeg-7,REV=2011.11.24 CSWkrb5lib-1.9.1,REV=2011.08.29 CSWlibasprintf0-0.18.1.1,p,REV=2011.03.15 CSWlibatk-2.2.0,REV=2011.11.27 CSWlibcharset1-1.14,REV=2011.08.07 CSWlibgcc-s1-4.6.2,REV=2011.10.28 CSWlibgcrypt-utils-1.5.0,REV=2011.08.30 CSWlibgdbm3-1.8.3,REV=2011.02.01 CSWlibgettextpo0-0.18.1.1,p,REV=2011.03.15 CSWlibiconv2-1.14,REV=2011.08.07 CSWlibidl-0.8.14,REV=2011.09.20 CSWlibintl2-0.18.1.1,p,REV=2011.02.12 CSWlibintl3-0.18.1.1,p,REV=2011.02.12 CSWlibintl8-0.18.1.1,p,REV=2011.03.15 CSWlibmhash-0.9.9.9,REV=2009.10.30 CSWlibncurses5-5.9,REV=2011.11.21 CSWlibncursesw5-5.9,REV=2011.11.21 CSWlibpanel5-5.9,REV=2011.11.21 CSWlibpanelw5-5.9,REV=2011.11.21 CSWlibpopt-1.16,REV=2011.09.28 CSWlibsqlite3-0-3070800,REV=2011.09.28 CSWlibstdc++6-4.6.2,REV=2011.10.28 CSWlibtasn1-3-2.10,REV=2011.11.13 CSWlibz1-1.2.5,REV=2011.08.19 CSWmbuffer-20110724,REV=2011.11.27 CSWncurses-5.9,REV=2011.11.21 CSWpkgutil-2.6.1,REV=2012.01.13 CSWsqlite3rt-3070800,REV=2011.09.28 CSWterminfo-5.9,REV=2011.11.21 CSWzlib-1.2.5,REV=2011.08.19 Nothing to do. -- Ron Parker From bonivart at opencsw.org Tue Jan 31 17:29:38 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Tue, 31 Jan 2012 17:29:38 +0100 Subject: [csw-users] pkgutil -e reports updates that won't update In-Reply-To: <1AB1A341FD991B49AFCF784F8F7B23CDA4B42BFB@US-DC1-MAIL3.a123systems.com> References: <1AB1A341FD991B49AFCF784F8F7B23CDA4B42BFB@US-DC1-MAIL3.a123systems.com> Message-ID: On Tue, Jan 31, 2012 at 4:28 PM, Ronald Parker Jr wrote: > I have a "pkgutil -e" cronjob that emails me the following list: > > CSWcacertificates ? ? ? ? 20111106,REV=2011.11.06 ? 20091101,REV=2009.11.01 It doesn't really list updates, only changes. Note that the middle column is your current installed version of the package and the 3rd column is the version in the catalog, this is displayed if you do "pkgutil -C". Normally a difference in installed and catalog version means an update is available but in your case the catalog seems old so pkgutil is correct in finding nothing to do when you want to upgrade. Do you by any chance use the "current" catalog and at one time updated packages from the "unstable" catalog? You can check which catalog you're actively using with "pkgutil --catinfo". /peter From rparker at a123systems.com Tue Jan 31 18:43:52 2012 From: rparker at a123systems.com (Ronald Parker Jr) Date: Tue, 31 Jan 2012 12:43:52 -0500 Subject: [csw-users] pkgutil -e reports updates that won't update In-Reply-To: References: <1AB1A341FD991B49AFCF784F8F7B23CDA4B42BFB@US-DC1-MAIL3.a123systems.com>, Message-ID: <1AB1A341FD991B49AFCF784F8F7B23CDA4B42BFD@US-DC1-MAIL3.a123systems.com> Peter Bonivart wrote: > Do you by any chance use the "current" catalog and at one time updated > packages from the "unstable" catalog? Thanks Peter. I guess at some point I did switch from unstable to current/testing. I just followed the directions at http://www.opencsw.org/use-it/migrating-from-blastwave-to-opencsw and got everything back in sync. Much appreciated, -- Ron Parker