Re: [OpenIndiana-discuss] vnc server for Openindiana?

2019-04-03 Thread Tim Mooney

In regard to: Re: [OpenIndiana-discuss] vnc server for Openindiana?, Lonnie...:


Yea, I actually saw that as I have basically been playing around with
OpenIndiana, SmartOS, and OmniOS lately but did not know how to easily grab
those packages.

I think that I came across an article on it and will look back into it some
more.


Start with pkg(1), and read the section for 'pkg publisher' and
'pkg set-publisher'.  Then go here:

https://wiki.openindiana.org/oi/Package+Repositories

You already have the main 'hipster' publisher defined, so you would only
need to add hipster-encumbered from that main page.

For SFE, follow the link on that page, which will eventually lead
you to here:

http://sfe.opencsw.org/quickrepolinks

You want the option for 'localhostoih', for hipster.

Also, a couple tips for things that may not be clear after the first
read of pkg(1).

1) in almost any conceivable situation, you want the hipster repo
   (openindiana.org) first in your repo list.  Other publishers you
   add, like hipster-encumbered or SFE, should be listed after hipster.
   See the '--search-after ' argument to 'pkg set-publisher'.

2) This is much less certain than #1, but I've found it convenient to
   set 'hipster-encumbered' and especially 'localhostoih' (the SFE repo)
   to "non-sticky".  If those publishers are non-sticky, then when you do a

   pkg update

   and the latest version of hipster has started providing a package
   for 'foobar' that previously you had installed from SFE or
   hipster-encumbered, the one from hipster can replace (upgrade) the
   one from the lower-priority repo.

   If you don't set the lower priority publishers as "non-sticky", then
   you're a little more likely to get into situations where packages from
   lower priority repos can cause problems on 'pkg update'.

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Alternate web browsers?

2019-04-03 Thread Bob Friesenhahn

On Wed, 3 Apr 2019, Stephan Althaus wrote:


What i see is permanent activity on swap (mate-system-monitor)
not that much memory currently ~230MG
but always some change in the amount, percent-wise.


I notice that /tmp is mounted on swap.

Solaris and Linux use different resource reservation rules.  Solaris 
is much more conservative.  It may be that the memory allocator is 
using mmap() to allocate memory and this is causing churning.  If 
mmap() is used on temporary files in /tmp, this could cause 
interesting effects.


What is the output of 'swap -s' while FireFox is running?

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Alternate web browsers?

2019-04-03 Thread Stephan Althaus
Hi!

With a link like this:

$ls -l /usr/gcc/6/include/c++/
total 8
lrwxrwxrwx   1 root root   5 Apr  3 15:33 6.4.0 -> 6.5.0
drwxr-xr-x  13 root sys   98 Mar 23 10:14 6.5.0

firefox builds successfully.

The startup is slow, my old machine needed some seconds.

The overall fast performance is amazing,
currently i'm testng on an old i7 M 640 dual core 8GB RAM

I do see the branch dropdown, tested in oi-userland,
and i can switch between them, no problem here.

What i see is permanent activity on swap (mate-system-monitor)
not that much memory currently ~230MG
but always some change in the amount, percent-wise.

So i need nice optane memory for my swap now ;-)

There are more than 3GB free in ram, so the swap is not needed.
maybe some temporary file system on swap is used:

$mount|sort|grep swap
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=8fc0001 on
Wed Apr  3 22:32:56 2019
/tmp on swap read/write/setuid/devices/xattr/dev=8fc0002 on Wed Apr  3
22:33:03 2019
/var/run on swap read/write/setuid/devices/xattr/dev=8fc0003 on Wed Apr 
3 22:33:03 2019

I don't see the icon in the mate app menu,
maybe i have to logout first..


I'm very happy with the new version right now.
Excellent work!

Regards,
Stephan


On 04/03/19 11:22 AM, Al Slater wrote:
> Hi,
>
> I had the same error when I tried to build the new firefox.
>
> I tracked this down to clang, which seems to be built to look for the
> gcc includes in the wrong place.  Presumably because it was built
> against a slightly older version of gcc6.
>
> clang was looking in /usr/gcc/6/include/c++/6.4.0 for the includes, but
> the system has /usr/gcc/6/include/c++/6.5.0.
>
> I solved the problem with a link
>
> root@buildzone:~# ls -l /usr/gcc/6/include/c++/
> total 18
> lrwxrwxrwx   1 root root   5 Apr  2 04:05 6.4.0 -> 6.5.0
> drwxr-xr-x  13 root sys   99 Apr  2 04:03 6.5.0
>
> I could then complete the firefox build.
>
> Which is now running on my system.
>
> The only issue that I have spotted so far is that the branch dropdown in
> github projects does not work.
>
> Al
>
> On 01/04/2019 20:26, Stephan Althaus wrote:
>> Hi Till!
>>
>>
>> I think i followed the instructions carefully, but i have get a build error.
>> I did a pkg update now  to prove that the system is up to date,
>> the error remains the same..
>>
>> I did a short pkg list to list what gcc have installed:
>> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$
>> pkg list|grep gcc
>> developer/gcc-6
>> 6.5.0-2018.0.0.1   i--
>> developer/gcc-7
>> 7.4.0-2018.0.0.0   i--
>> developer/illumos-gcc
>> 4.4.4-2018.0.0.6   i--
>> sfe/system/library/gcc-49-runtime (localhostoih)
>> 4.9.4-0.2017.0.0.5 i--
>> sfe/system/library/gcc-runtime (localhostoih)
>> 4.9.4-0.2017.0.0.5 i--
>> system/library/gcc-3-runtime
>> 3.4.3-2018.0.0.3   i--
>> system/library/gcc-4-runtime
>> 4.9.4-2018.0.0.6   i--
>> system/library/gcc-6-runtime
>> 6.5.0-2018.0.0.1   i--
>> system/library/gcc-7-runtime
>> 7.4.0-2018.0.0.0   i--
>>
>> The hopefully unneccesary parts <--snipped--> away:
>>
>> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$
>> nice nice gmake publish
>> (cd
>> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64
>> ; /usr/bin/env
>> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
>> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++
>> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1
>> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ
>> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash"
>> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib
>> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin"
>> PYTHON="/usr/bin/amd64/python2.7" /usr/bin/env
>> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
>> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++
>> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1
>> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ
>> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash"
>> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib
>> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin"
>> PYTHON="/usr/bin/amd64/python2.7" \
>> /usr/gnu/bin/make\
>> )
>> make[1]: Entering directory
>> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64'
>>
>> <-- snip -->
>>
>>Compiling style_traits v0.0.1
>> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style_traits)
>> warning: use of deprecated item 'std::ascii::AsciiExt': use inherent
>> methods instead
>>   --> servo/components/style_traits/viewport.rs:10:30
>>|
>> 10 | #[allow(unused_i

Re: [OpenIndiana-discuss] vnc server for Openindiana?

2019-04-03 Thread Lonnie Cumberland
Hi Stephan,

Yea, I actually saw that as I have basically been playing around with
OpenIndiana, SmartOS, and OmniOS lately but did not know how to easily grab
those packages.

I think that I came across an article on it and will look back into it some
more.

Thanks again and have a great day,
Lonnie

On Wed, Apr 3, 2019 at 12:10 AM Stephan Althaus <
stephan.alth...@duedinghausen.eu> wrote:

> Hello!
>
> It's worth noting, that there are useable packages in sfe, (see
> openindiana wiki)
> and the joyent pkgsrc collection.
> In the latter there is "tigervnc"
>
> the pkgsrc packages reside int /opt/ and are useable for as for special
> cases,
> we should not mix them up with the packages from openindiana pkg sources
> that much.
> Keep the  PATH clean for either standard openindiana
> or a single case of executing a program from pkgsrc.
>
> i personally use tiny shell scripts in my $home that set the PATH to the
> needs of pkgsrc
> and then execute the prog from /opt/local/...
>
> Regards,
> Stephan
>
> Am 03.04.19 um 02:50 schrieb Lonnie Cumberland:
> > Hi Tim,
> >
> > I did that type of search and it comes back with:
> >
> > libvncserver
> > vinagre (GNOME VNC client)
> > x11vnx (VNC server for use with real X displays)
> >
> > I was expecting to maybe see something like Tightvnc, or TurboVNC
> perhaps,
> > but if I had to guess then "maybe" libvncserver perhaps.
> > Cheers,
> > Lonnie
> >
> >
> > On Tue, Apr 2, 2019 at 8:36 PM Tim Mooney  wrote:
> >
> >> In regard to: [OpenIndiana-discuss] vnc server for Openindiana?,
> Lonnie...:
> >>
> >>> For just a quick question, I was wondering if there is a vnc server for
> >>> Openinidana Hipster that I can easily install?
> >> Try 'pkg search -r vnc' or 'pkg search -a -r vnc'
> >>
> >> Tim
> >> --
> >> Tim Mooney
> tim.moo...@ndsu.edu
> >> Enterprise Computing & Infrastructure  701-231-1076
> (Voice)
> >> Room 242-J6, Quentin Burdick Building  701-231-8541
> (Fax)
> >> North Dakota State University, Fargo, ND 58105-5164
> >>
> >> ___
> >> openindiana-discuss mailing list
> >> openindiana-discuss@openindiana.org
> >> https://openindiana.org/mailman/listinfo/openindiana-discuss
> >>
> >
>
>
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
Best Regards,

Lonnie T. Cumberland, PhD.
Email: lonnie.cumberl...@outstep.com
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Alternate web browsers?

2019-04-03 Thread Al Slater
Hi,

I had the same error when I tried to build the new firefox.

I tracked this down to clang, which seems to be built to look for the
gcc includes in the wrong place.  Presumably because it was built
against a slightly older version of gcc6.

clang was looking in /usr/gcc/6/include/c++/6.4.0 for the includes, but
the system has /usr/gcc/6/include/c++/6.5.0.

I solved the problem with a link

root@buildzone:~# ls -l /usr/gcc/6/include/c++/
total 18
lrwxrwxrwx   1 root root   5 Apr  2 04:05 6.4.0 -> 6.5.0
drwxr-xr-x  13 root sys   99 Apr  2 04:03 6.5.0

I could then complete the firefox build.

Which is now running on my system.

The only issue that I have spotted so far is that the branch dropdown in
github projects does not work.

Al

On 01/04/2019 20:26, Stephan Althaus wrote:
> Hi Till!
>
>
> I think i followed the instructions carefully, but i have get a build error.
> I did a pkg update now  to prove that the system is up to date,
> the error remains the same..
>
> I did a short pkg list to list what gcc have installed:
> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$
> pkg list|grep gcc
> developer/gcc-6
> 6.5.0-2018.0.0.1   i--
> developer/gcc-7
> 7.4.0-2018.0.0.0   i--
> developer/illumos-gcc
> 4.4.4-2018.0.0.6   i--
> sfe/system/library/gcc-49-runtime (localhostoih)
> 4.9.4-0.2017.0.0.5 i--
> sfe/system/library/gcc-runtime (localhostoih)
> 4.9.4-0.2017.0.0.5 i--
> system/library/gcc-3-runtime
> 3.4.3-2018.0.0.3   i--
> system/library/gcc-4-runtime
> 4.9.4-2018.0.0.6   i--
> system/library/gcc-6-runtime
> 6.5.0-2018.0.0.1   i--
> system/library/gcc-7-runtime
> 7.4.0-2018.0.0.0   i--
>
> The hopefully unneccesary parts <--snipped--> away:
>
> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$
> nice nice gmake publish
> (cd
> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64
> ; /usr/bin/env
> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++
> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1
> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ
> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash"
> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib
> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin"
> PYTHON="/usr/bin/amd64/python2.7" /usr/bin/env
> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++
> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1
> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ
> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash"
> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib
> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin"
> PYTHON="/usr/bin/amd64/python2.7" \
> /usr/gnu/bin/make\
> )
> make[1]: Entering directory
> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64'
>
> <-- snip -->
>
>Compiling style_traits v0.0.1
> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style_traits)
> warning: use of deprecated item 'std::ascii::AsciiExt': use inherent
> methods instead
>   --> servo/components/style_traits/viewport.rs:10:30
>|
> 10 | #[allow(unused_imports)] use std::ascii::AsciiExt;
>|  
>|
>= note: #[warn(deprecated)] on by default
>
>Compiling style v0.0.1
> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style)
> error: failed to run custom build command for `style v0.0.1
> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style)`
> process didn't exit successfully:
> `/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/toolkit/library/release/build/style-dcf3b3f3b2b5fc51/build-script-build`
> (exit code: 101)
>
> <-- snip -->
>
> --- stderr
> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/include/mozilla/Compiler.h:49:10:
> fatal error: 'cstddef' file not found
>
> <-- snip -->
>
> stack backtrace:
>0:   0x82a33e -
> std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h563f81f6af186079
>1:   0x83eda6 -
> std::sys_common::backtrace::print::h8ed111738dc46dbe
>2:   0x8334db -
> std::panicking::default_hook::{{closure}}::h852231eb38896e30
>3:   0x833238 - std::panicking::default_hook::h555d38db9a26f1fd
>4:   0x833bbb -
> std::panicking::rust_panic_with_hook::h4c5650c84c4200c9
>5:   0x833749 -
> std::panicking::continue_panic_fmt::h0364dd584f19717c
>6: