software request on solaris: libgc and more locales

Support for services available to Shell account users.

Moderator: Moderators

software request on solaris: libgc and more locales

Postby cjpinon_solaris » Sun Feb 15, 2015 12:40 pm

Hi,

Two requests, in fact:

i. Is libgc available for solaris? (See http://www.hboehm.info/gc/ ) If so, would it be possible to install it?

ii. There are very few locales available on solaris:

$ locale -a
C
POSIX
iso_8859_1

Would it be possible to install more? (In particular, the common utf locales.)

Thanks,
C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby zoli » Mon Feb 16, 2015 12:38 pm

Hi,

i. Is libgc available for solaris? (See http://www.hboehm.info/gc/ ) If so, would it be possible to install it?

The gc does not build on this box - at least not witout problem.
I have installed all tools and libraries needed to build it - you are welcome to continu from here on.
Hmmm you might want to try to use some other compliler. See the list http://www.polarhome.com/service/shell/hardware.php3?server=solaris&hardware=&compiler=1
Code: Select all
bash-4.3# mkdir gc
bash-4.3# cd gc
bash-4.3# git clone git://github.com/ivmai/libatomic_ops.git
Cloning into 'libatomic_ops'...
remote: Counting objects: 4630, done.
remote: Total 4630 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (4630/4630), 1.92 MiB | 317.00 KiB/s, done.
Resolving deltas: 100% (3037/3037), done.
Checking connectivity... done
bash-4.3# git clone git://github.com/ivmai/bdwgc.git
Cloning into 'bdwgc'...
remote: Counting objects: 18182, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 18182 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (18182/18182), 10.06 MiB | 346.00 KiB/s, done.
Resolving deltas: 100% (14400/14400), done.
Checking connectivity... done
bash-4.3# cd bdwgc/
bash-4.3# ln -s ../libatomic_ops/ ./libatomic_ops
bash-4.3# autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/csw/bin/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory libatomic_ops to autoreconf
autoreconf: Entering directory `libatomic_ops'
autoreconf: running: /opt/csw/bin/libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /opt/csw/bin/autoconf --force
autoreconf: running: /opt/csw/bin/autoheader --force
autoreconf: running: /opt/csw/bin/automake --add-missing --copy --force-missing
configure.ac:14: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `libatomic_ops'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:29: installing './compile'
configure.ac:19: installing './config.guess'
configure.ac:19: installing './config.sub'
configure.ac:22: installing './install-sh'
configure.ac:22: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
bash-4.3# automake --add-missing
bash-4.3# ./configure
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking GC version numbers... major=7 minor=5                 micro=0
checking for a BSD-compatible install... /opt/csw/gnu/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/csw/gnu/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/csw/gnu/sed
checking for grep that handles long lines and -e... /opt/csw/gnu/grep
checking for egrep... /opt/csw/gnu/grep -E
checking for fgrep... /opt/csw/gnu/grep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/csw/gnu/nm -B
checking the name lister (/opt/csw/gnu/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/csw/gnu/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for thread model used by GCC... posix
checking for inline... inline
checking for pthread_self in -lpthread... yes
checking for gcc -Wextra... yes
checking for xlc... no
checking whether gcc supports -fno-strict-aliasing... yes
checking for dlopen in -ldl... yes
checking whether to build shared libraries... yes
checking which machine-dependent code should be used... sparc_mach_dep.lo
checking whether Solaris gcc optimization fix is necessary... no
checking for dladdr... yes
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
./configure: line 16877: syntax error near unexpected token `ATOMIC_OPS,'
./configure: line 16877: `   PKG_CHECK_MODULES(ATOMIC_OPS, atomic_ops, ,'


ii. There are very few locales available on solaris:

You are right. I'll try to find the install media and add at least UTF.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 752
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Mon Feb 16, 2015 4:59 pm

Hi Zoli,

The gc does not build on this box - at least not witout problem.
I have installed all tools and libraries needed to build it - you are welcome to continu from here on.
Hmmm you might want to try to use some other compliler. See the list http://www.polarhome.com/service/shell/hardware.php3?server=solaris&hardware=&compiler=1


Thanks for trying. :-) My hope was that the installation disk would have a libgc binary, but no such luck, I guess! Maybe I'll also try (but actually I just needed libgc for something else to compile).

You are right. I'll try to find the install media and add at least UTF.


This would be nice, thanks.

C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Tue Dec 08, 2015 3:55 pm

Hi,

Just a small reminder about more locales on solaris ... UTF-8 would be great. :-)

Also: could I make a request for the editor nano?

Thanks,
C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Tue Dec 08, 2015 4:36 pm

Hi again,

By the way, the editor pine on solaris results in a segmentation fault.

C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Tue Dec 08, 2015 4:37 pm

By the way, the editor pine on solaris results in a segmentation fault.


Sorry, I meant the editor pico!

C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby zoli » Wed Dec 09, 2015 5:50 pm

I have added some locales.
Please, let me know if you need any special.

Code: Select all
bash-4.3# locale -a
C
POSIX
de_LU.UTF-8
en_CA
en_CA.ISO8859-1
en_CA.UTF-8
en_GB
en_GB.ISO8859-1
en_GB.ISO8859-15
en_GB.ISO8859-15@euro
en_GB.UTF-8
en_IE
en_IE.ISO8859-1
en_IE.ISO8859-15
en_IE.ISO8859-15@euro
en_IE.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
es
es_MX
es_MX.ISO8859-1
es_MX.UTF-8
fr
fr.ISO8859-15
fr.UTF-8
fr_BE
fr_BE.ISO8859-1
fr_BE.ISO8859-15
fr_BE.ISO8859-15@euro
fr_BE.UTF-8
fr_BE.UTF-8@euro
fr_CA
fr_CA.ISO8859-1
fr_CA.UTF-8
fr_FR.ISO8859-15
fr_FR.ISO8859-15@euro
fr_FR.UTF-8
fr_FR.UTF-8@euro
fr_LU.UTF-8
iso_8859_1
nl
nl.ISO8859-15
nl_BE
nl_BE.ISO8859-1
nl_BE.ISO8859-15
nl_BE.ISO8859-15@euro
nl_BE.UTF-8
nl_NL
nl_NL.ISO8859-1
nl_NL.ISO8859-15
nl_NL.ISO8859-15@euro
nl_NL.UTF-8
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 752
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Thu Dec 10, 2015 3:25 pm

Hi again, thanks for the locales. C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby zoli » Thu Dec 10, 2015 5:34 pm

You are welcome.
I am sorry that you have waited for this 8 months.

BTW pico does crash - it comes prebuilt. All libraries are satisfied - it must be some bug.
I'll try to build our own - but this is a very low priority.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 752
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Thu Dec 10, 2015 6:00 pm

BTW pico does crash - it comes prebuilt. All libraries are satisfied - it must be some bug.


Yes, it's odd: in my experience, pico sometimes results in a segmentation default, it sometimes results in a strange memory error, and it sometimes works! Very odd.

I'll try to build our own - but this is a very low priority.


Pico would mostly affect (al)pine users, I guess.

In the meantime, I've compiled nano, which is much nicer than pico, so I'm fine (although I've asked about ncurses in another thread, because I had to link nano against curses, which isn't so great, because curses doesn't support UTF-8).

C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France

Re: software request on solaris: libgc and more locales

Postby zoli » Fri Dec 11, 2015 12:07 am

suprisingly pine works fine otherwise - I mean when not used for editing files.

alpine works nice.

also pine from the command line
Code: Select all
zoli@solaris$ pine -v
Alpine 2.00 (GSO 1167 2008-08-23) built Wed Jun 6 04:47:19 CEST 2012 on unstable9s
zoli@solaris$ pine -h
Possible Starting Arguments for Alpine program:

 Argument       Meaning
 <addrs>...     Go directly into composer sending to given address
                List multiple addresses with a single space between them.
                Standard input redirection is allowed with addresses.
                Note: Places addresses in the "To" field only.
 -attach <file> Go directly into composer with given file
 -attachlist <file-list>
 -attach_and_delete <file>
                Go to composer, attach file, delete when finished
                Note: Attach options can't be used if -f, -F
                added to Attachment list.  Attachlist must be the last
                option on the command line
 -bail          Exit if pinerc file doesn't already exist
 -d n           Debug - set debug level to 'n', or use the following:
 -d keywords... flush,timestamp,imap=0..4,tcp,numfiles=0..31,verbose=0..9
 -f <folder>    Folder - give folder name to open
 -c <number>    Context - which context to apply to -f arg
 -F <file>      File - give file name to open and page through and
                forward as email.
 -h             Help - give this list of options
 -k             Keys - Force use of function keys
 -z             Suspend - allow use of ^Z suspension
 -r             Restricted - can only send mail to oneself
 -sort <sort>   Sort - Specify sort order of folder:
                        arrival, subject, threaded, orderedsubject, date,
                        from, size, score, to, cc, /reverse
 -i             Index - Go directly to index, bypassing main menu
 -I <keystroke_list>   Initial keystrokes to be executed
 -n <number>    Entry in index to begin on
 -o             ReadOnly - Open first folder read-only
 -conf          Configuration - Print out fresh global configuration. The
                values of your global configuration affect all Alpine users
                on your system unless they have overridden the values in their
                pinerc files.
 -pinerc <file> Configuration - Put fresh pinerc configuration in <file>
 -p <pinerc>    Use alternate .pinerc file
 -P <pine.conf> Use alternate pine.conf file
 -x <config>    Use configuration exceptions in <config>.
                Exceptions are used to override your default pinerc
                settings for a particular platform, can be a local file or
                a remote folder.
 -v             Version - show version information
 -version       Version - show version information
 -supported     List supported options
 -url <url>     Open the given URL
                Note: Can't be used if -f, -F
                Standard input redirection is not allowed with URLs.
                For mailto URLs, 'body='text should be used in place of
                input redirection.
 -copy_pinerc <local_pinerc> <remote_pinerc>  copy local pinerc to remote
 -copy_abook <local_abook> <remote_abook>     copy local addressbook to remote
 -convert_sigs -p <pinerc>   convert signatures to literal signatures
 -<option>=<value>   Assign <value> to the pinerc option <option>
                     e.g. -signature-file=sig1
                     e.g. -color-style=no-color
                     e.g. -feature-list=enable-sigdashes
                     Note: feature-list is additive.
                     You may leave off the "feature-list=" part of that,
                     e.g. -enable-sigdashes


I'll check tomorrow the libraries.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 752
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: software request on solaris: libgc and more locales

Postby cjpinon_solaris » Fri Dec 11, 2015 3:37 pm

suprisingly pine works fine otherwise - I mean when not used for editing files.


Yes, indeed, pine (alpine) seems to work fine -- it's only pico that shows erratic behavior.

C.
cjpinon_solaris
Junior Member
 
Posts: 24
Joined: Sat Feb 07, 2015 5:04 pm
Location: France


Return to Shell accounts

Who is online

Users browsing this forum: No registered users and 1 guest

cron