Re: [OpenIndiana-discuss] Σχετ: Re: mounting an existing system on a b

2018-09-10 Thread Alan Coopersmith

On 09/10/18 08:45 AM, Apostolos Syropoulos via openindiana-discuss wrote:

It is openindiana. This is not Oracle Solaris.


Sorry, thought I was responding to the solarisx86@yahoo list.  Must drink
more caffiene before answering mail on Monday morning...

-alan-


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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Aurélien Larcher
On Mon, Sep 10, 2018 at 5:01 PM, Francis.D  wrote:

> I have downloaded the vlc archive.
> It seems there are a few Warnings and I can't go any further. I'll try
> to fix the problems.
>

You need to update ffmpeg and recompile gstreamer plugins first.
See https://github.com/OpenIndiana/oi-userland/pull/4034

Also oi-userland provides set environment variables and such to avoid
issues e.g related to using non-GNU commands.
It is better to use the same environment especially if you are not
experienced with packaging on OI.

Clone oi-userland, gmake setup at the top directory, then pull my ffmpeg
and vlc branches.


>
> here is the result of the command ./configure
>
> root@oifanboy:~/paquet/vlc-3.0.4# ./configure
> ./configure: line 4734: : cannot execute [Is a directory]
> ./configure[4734]:  | sed -e 's/\\//g': not found [No such file or
> directory]
> checking build system type... i386-pc-solaris2.11
> checking host system type... i386-pc-solaris2.11
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether UID '0' is supported by ustar format... yes
> checking whether GID '0' is supported by ustar format... yes
> checking how to create a ustar tar archive... gnutar
> checking whether make supports nested variables... (cached) yes
> checking whether to enable maintainer-specific portions of Makefiles... yes
> 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 whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/ggrep
> checking for egrep... /usr/bin/ggrep -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 minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking whether gcc  supports C11... yes
> 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 how to run the C preprocessor... gcc -E
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... yes
> checking whether gcc accepts -g... yes
> checking dependency style of gcc... gcc3
> checking for egrep... (cached) /usr/bin/ggrep -E
> checking whether make sets $(MAKE)... (cached) yes
> checking dependency style of gcc... gcc3
> checking for flex... flex
> checking lex output file root... lex.yy
> checking lex library... -ll
> checking whether yytext is a pointer... yes
> checking for bison... bison -y
> checking for desktop-file-validate... desktop-file-validate
> checking for c11-gcc... no
> checking for c11... no
> checking for c99-gcc... no
> checking for c99... c99
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for C/C++ restrict keyword... __restrict
> checking whether g++ supports C++11 features by default... yes
> checking whether C compiler accepts -Werror=unknown-warning-option... no
> checking whether C compiler accepts -Werror=invalid-command-line-argument...
> no
> checking whether C compiler accepts -Werror=unknown-warning-option...
> (cached) no
> checking whether C compiler accepts
> -Werror=invalid-command-line-argument... (cached) no
> checking for 3rd party libraries path... not found
> checking how to print strings... print -r
> checking for a sed that does not truncate output... /usr/bin/gsed
> checking for fgrep... /usr/bin/ggrep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
> checking the name lister (/usr/bin/nm -p) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 786240
> checking how to convert i386-pc-solaris2.11 file names to
> i386-pc-solaris2.11 format... 

[OpenIndiana-discuss] Σχετ: Re: mounting an existing system on a b

2018-09-10 Thread Apostolos Syropoulos via openindiana-discuss
It is openindiana. This is not Oracle Solaris.
Regards,
Apostolos
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Alan Coopersmith

On 09/10/18 02:55 AM, Marc Lobelle wrote:

Thanks Udo and Jean Pierre: a small detail:I must be root to do this: where can 
I find the root pwd of the live image ?


On the live cd, root's password should be "solaris".

--
-Alan Coopersmith-   alan.coopersm...@oracle.com
 Oracle Solaris Engineering - https://blogs.oracle.com/alanc

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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Francis.D
I have downloaded the vlc archive.
It seems there are a few Warnings and I can't go any further. I'll try
to fix the problems.

here is the result of the command ./configure

root@oifanboy:~/paquet/vlc-3.0.4# ./configure
./configure: line 4734: : cannot execute [Is a directory]
./configure[4734]:  | sed -e 's/\\//g': not found [No such file or
directory]
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc  supports C11... yes
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 how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for egrep... (cached) /usr/bin/ggrep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for desktop-file-validate... desktop-file-validate
checking for c11-gcc... no
checking for c11... no
checking for c99-gcc... no
checking for c99... c99
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether g++ supports C++11 features by default... yes
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -Werror=invalid-command-line-argument... no
checking whether C compiler accepts -Werror=unknown-warning-option...
(cached) no
checking whether C compiler accepts
-Werror=invalid-command-line-argument... (cached) no
checking for 3rd party libraries path... not found
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/gsed
checking for fgrep... /usr/bin/ggrep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert i386-pc-solaris2.11 file names to
i386-pc-solaris2.11 format... func_convert_file_noop
checking how to convert i386-pc-solaris2.11 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd 

Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Udo Grabowski (IMK)

On 10/09/2018 16:14, Francis.D wrote:

Merci Jean-Pierre.

I checked the qt version install and actually the 2 versions of qt are
installed on hipster.  Yesterday I also installed * build-essential *
and I would like to build some packages because we are really limited
or we have old versions.
but I need to study and understand the process of building Oi userland.
This is not a criticism. The team is small and if I can contribute it
will make me happy.

But for the moment I'm trying some local compilations. I'am also tried
gnumeric without no success.


gnumeric is available in Hipster 2018-04 as desktop/gnumeric

--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Udo Grabowski (IMK)

On 10/09/2018 16:14, Francis.D wrote:

Merci Jean-Pierre.

I checked the qt version install and actually the 2 versions of qt are
installed on hipster.  Yesterday I also installed * build-essential *
and I would like to build some packages because we are really limited
or we have old versions.
but I need to study and understand the process of building Oi userland.
This is not a criticism. The team is small and if I can contribute it
will make me happy.

But for the moment I'm trying some local compilations. I'am also tried
gnumeric without no success.

I'm going to drop smplayer because it seems to be missing files to
compile under OI


smplayer was available under oi_151a8, these are the old dependences
from the manifest:

depend fmri=SUNWcs@0.5.11-0.151.1.5 type=require
depend fmri=system/library@0.5.11-0.151.1.5 type=require
depend fmri=service/gnome/desktop-cache@0.2.2-0.151.1.5 type=require
depend fmri=sfe/system/library/gcc-runtime@4.6.3-0.151.1.5 type=require
depend fmri=library/zlib@1.2.3-0.151.1.5 type=require
depend fmri=library/desktop/g++/qt@4.7.4-0.151.1.5 type=require
depend fmri=system/library/math@0.5.11-0.151.1.5 type=require
depend fmri=SUNWcsd@0.5.11-0.151.1.5 type=require
depend fmri=sfe/system/library/gcc-46-runtime@4.6.3-0.151.1.5 type=require

--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Aurélien Larcher
On Mon, Sep 10, 2018 at 4:14 PM, Francis.D  wrote:

> Merci Jean-Pierre.
>
> I checked the qt version install and actually the 2 versions of qt are
> installed on hipster.  Yesterday I also installed * build-essential *
> and I would like to build some packages because we are really limited
> or we have old versions.
> but I need to study and understand the process of building Oi userland.
> This is not a criticism. The team is small and if I can contribute it
> will make me happy.
>
>
Some notes at:

- https://wiki.openindiana.org/oi/2.+Overview+of+the+Build+System
- https://wiki.openindiana.org/oi/3.+Common+Tasks


> But for the moment I'm trying some local compilations. I'am also tried
> gnumeric without no success.
>
> I'm going to drop smplayer because it seems to be missing files to
> compile under OI
> I will try VLC 3.0.4
>

You can look at updating my recipe:

https://github.com/OpenIndiana/oi-userland/pull/4035



>
> regard
>
> 2018-09-10 3:20 UTC−04:00, Jean-Pierre :
> > Francis.D wrote:
> >> Hi all,
> >> I'm trying to compile smplayer. I have previously installed gcc +
> >> automake
> >> + autoconf
> >>
> >> I downloaded the source package smplayer-18.6.0.tar.bz2 package and
> >> unzip.
> >> Then I executed the command cd
> >> root@oifanboy:~/downloads/smplayer-18.6.0#
> >> When I run the command ./configure I always get this message
> >> bash: ./configure: No such file or directory
> >
> > Being curious, I downloaded the source file, and there is
> > no configure in it (actually there are a couple of them, but
> > they are not targeted at building smplayer).
> >
> > There is a Makefile, which relies on qmake, so you have to
> > install qt and adjust the Makefile to the current version of
> > qt and to the appropriate paths...
> >
> > qt is apparently available on
> > http://sfe.opencsw.org/localhostoih/en/catalog.shtml
> >
> > This is a good start for learning how to develop or port
> > applications to OI.
> >
> >> I tried ./configure --prefix=usr without no success
> >>
> >> I also install intltool and I tried with another software * gnumeric*
> >> without not more success
> >>
> >> If anyone have a tuto step by step OI, what I need to install for
> compile
> >> software etc...
> >>
> >> thank
> >>
> >
> >
> >
> > ___
> > 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
>



-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Francis.D
Merci Jean-Pierre.

I checked the qt version install and actually the 2 versions of qt are
installed on hipster.  Yesterday I also installed * build-essential *
and I would like to build some packages because we are really limited
or we have old versions.
but I need to study and understand the process of building Oi userland.
This is not a criticism. The team is small and if I can contribute it
will make me happy.

But for the moment I'm trying some local compilations. I'am also tried
gnumeric without no success.

I'm going to drop smplayer because it seems to be missing files to
compile under OI
I will try VLC 3.0.4

regard

2018-09-10 3:20 UTC−04:00, Jean-Pierre :
> Francis.D wrote:
>> Hi all,
>> I'm trying to compile smplayer. I have previously installed gcc +
>> automake
>> + autoconf
>>
>> I downloaded the source package smplayer-18.6.0.tar.bz2 package and
>> unzip.
>> Then I executed the command cd
>> root@oifanboy:~/downloads/smplayer-18.6.0#
>> When I run the command ./configure I always get this message
>> bash: ./configure: No such file or directory
>
> Being curious, I downloaded the source file, and there is
> no configure in it (actually there are a couple of them, but
> they are not targeted at building smplayer).
>
> There is a Makefile, which relies on qmake, so you have to
> install qt and adjust the Makefile to the current version of
> qt and to the appropriate paths...
>
> qt is apparently available on
> http://sfe.opencsw.org/localhostoih/en/catalog.shtml
>
> This is a good start for learning how to develop or port
> applications to OI.
>
>> I tried ./configure --prefix=usr without no success
>>
>> I also install intltool and I tried with another software * gnumeric*
>> without not more success
>>
>> If anyone have a tuto step by step OI, what I need to install for compile
>> software etc...
>>
>> thank
>>
>
>
>
> ___
> 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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Udo Grabowski (IMK)

On 10/09/2018 11:57, Udo Grabowski (IMK) wrote:

On 10/09/2018 11:55, Marc Lobelle wrote:

Thanks Udo and Jean Pierre: a small detail:I must be root to do this: where
can I find the root pwd of the live image ?


sudo bash
echo $PWD


:-) just mocking, there usually is no password for root, its just
a role, you have to sudo from the jack account. On a production
system, you can change that deleting the /etc/user_attr type=role
entry for root (or using the -R options for usermod) and setting
a passwd.
--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Till Wegmüller
Hi

Small info for problems such as these.

pkg has the functionality builtin to fix them

So with board tools you only need to boot a live/install iso drop to
shell. and then.

zpool import -R /a rpool
pkg -R /a verify
pkg -R /a fix
zpool export rpool

And your done :)

Hope this helps
Greetings
Till

On 9/10/18 11:57 AM, Udo Grabowski (IMK) wrote:
> On 10/09/2018 11:55, Marc Lobelle wrote:
>> Thanks Udo and Jean Pierre: a small detail:I must be root to do this:
>> where can I find the root pwd of the live image ?
> 
> sudo bash
> echo $PWD
> 
> 

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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Udo Grabowski (IMK)

On 10/09/2018 11:55, Marc Lobelle wrote:

Thanks Udo and Jean Pierre: a small detail:I must be root to do this: where can 
I find the root pwd of the live image ?


sudo bash
echo $PWD


--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Marc Lobelle
Thanks Udo and Jean Pierre: a small detail:I must be root to do this: where can 
I find the root pwd of the live image ?
Marc

De : Jean-Pierre [jean-pierre.an...@wanadoo.fr]
Envoyé : lundi 10 septembre 2018 11:22
À : openindiana-discuss@openindiana.org
Objet : Re: [OpenIndiana-discuss] mounting an existing system on a boot image

Marc Lobelle wrote:
> Hello,
>
> by doing a wrong chmod in /etc (I thought I was in another directory) I
> made /etc/init and thus /sbin/init not executable, so the system does
> not boot anymore even in single user.
>
> Thus I booted a live image from a DVD and I would like to mount my root
> file sustem on this image in order to fix the permissions in /sbin and
> /usr/sbin
>
> In old solaris versions, as far as I remember there was even a menu
> entry for this.
>
> But I do not know how to do it now with zfs from the live image. I'm
> running the live image in gui mode.

 From a live DVD/USB (beware of the keyboard layout) :

zpool import -f rpool
mkdir /tmp/a
[beadm list] if needed
beadm mount openindiana /tmp/a
* make the needed modifications on /tmp/a
beadm unmount openindiana
zpool export rpool


>
> Could somebody help me with this ?
>
> Thanks
>
>
> Marc



___
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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread James

On 10/09/2018 09:54, Marc Lobelle wrote:


Thus I booted a live image from a DVD and I would like to mount my root
file sustem on this image in order to fix the permissions in /sbin and
/usr/sbin


"zpool import ..." is what you need.  I'm assuming you can solve this 
now yourself by reading the documentation and examples.



James.


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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Jean-Pierre

Marc Lobelle wrote:

Hello,

by doing a wrong chmod in /etc (I thought I was in another directory) I
made /etc/init and thus /sbin/init not executable, so the system does
not boot anymore even in single user.

Thus I booted a live image from a DVD and I would like to mount my root
file sustem on this image in order to fix the permissions in /sbin and
/usr/sbin

In old solaris versions, as far as I remember there was even a menu
entry for this.

But I do not know how to do it now with zfs from the live image. I'm
running the live image in gui mode.


From a live DVD/USB (beware of the keyboard layout) :

   zpool import -f rpool
   mkdir /tmp/a
   [beadm list] if needed
   beadm mount openindiana /tmp/a
   * make the needed modifications on /tmp/a
   beadm unmount openindiana
   zpool export rpool




Could somebody help me with this ?

Thanks


Marc




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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Udo Grabowski (IMK)

On 10/09/2018 10:54, Marc Lobelle wrote:

Hello,

by doing a wrong chmod in /etc (I thought I was in another directory) I made
/etc/init and thus /sbin/init not executable, so the system does not boot
anymore even in single user.

Thus I booted a live image from a DVD and I would like to mount my root file
sustem on this image in order to fix the permissions in /sbin and /usr/sbin

In old solaris versions, as far as I remember there was even a menu entry for 
this.

But I do not know how to do it now with zfs from the live image. I'm running the
live image in gui mode.

Could somebody help me with this ?



Either 'zpool import -f rpool' or 'beadm mount rpool /a'  should
do that (verify with 'zpool import' or 'beadm list' beforehand).
--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Jonathan Adams
https://askubuntu.com/questions/56792/how-to-copy-only-file-attributes-metadata-without-actual-content-of-the-file

--

#!/bin/bash
# Filename: cp-metadata

myecho=echo
src_path="$1"
dst_path="$2"

find "$src_path" |
  while read src_file; do
dst_file="$dst_path${src_file#$src_path}"
$myecho chmod --reference="$src_file" "$dst_file"
$myecho chown --reference="$src_file" "$dst_file"
$myecho touch --reference="$src_file" "$dst_file"
  done

--

YMMV


On Mon, 10 Sep 2018 at 09:54, Marc Lobelle 
wrote:

> Hello,
>
> by doing a wrong chmod in /etc (I thought I was in another directory) I
> made /etc/init and thus /sbin/init not executable, so the system does
> not boot anymore even in single user.
>
> Thus I booted a live image from a DVD and I would like to mount my root
> file sustem on this image in order to fix the permissions in /sbin and
> /usr/sbin
>
> In old solaris versions, as far as I remember there was even a menu
> entry for this.
>
> But I do not know how to do it now with zfs from the live image. I'm
> running the live image in gui mode.
>
> Could somebody help me with this ?
>
> Thanks
>
>
> Marc
>
>
> ___
> 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


[OpenIndiana-discuss] mounting an existing system on a boot image

2018-09-10 Thread Marc Lobelle

Hello,

by doing a wrong chmod in /etc (I thought I was in another directory) I 
made /etc/init and thus /sbin/init not executable, so the system does 
not boot anymore even in single user.


Thus I booted a live image from a DVD and I would like to mount my root 
file sustem on this image in order to fix the permissions in /sbin and 
/usr/sbin


In old solaris versions, as far as I remember there was even a menu 
entry for this.


But I do not know how to do it now with zfs from the live image. I'm 
running the live image in gui mode.


Could somebody help me with this ?

Thanks


Marc


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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Predrag Zečević - Technical Support Analyst

On 09/10/18 09:20, Jean-Pierre wrote:

Francis.D wrote:

Hi all,
I'm trying to compile smplayer. I have previously installed gcc + 
automake

+ autoconf

I downloaded the source package smplayer-18.6.0.tar.bz2 package and 
unzip.

Then I executed the command cd
root@oifanboy:~/downloads/smplayer-18.6.0#
When I run the command ./configure I always get this message
bash: ./configure: No such file or directory


Being curious, I downloaded the source file, and there is
no configure in it (actually there are a couple of them, but
they are not targeted at building smplayer).

There is a Makefile, which relies on qmake, so you have to
install qt and adjust the Makefile to the current version of
qt and to the appropriate paths...

qt is apparently available on
http://sfe.opencsw.org/localhostoih/en/catalog.shtml

This is a good start for learning how to develop or port
applications to OI.


I tried ./configure --prefix=usr without no success

I also install intltool and I tried with another software * gnumeric*
without not more success

If anyone have a tuto step by step OI, what I need to install for compile
software etc...

thank





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



Hi all,

just note on qt: OI /hipster supplies 2 versions:

$ pkg info library/qt4 library/qt5 | grep FMRI
  FMRI: 
pkg://openindiana.org/library/qt4@4.8.7-2018.0.0.5:20180529T173314Z
  FMRI: 
pkg://openindiana.org/library/qt5@5.8.0-2018.0.0.4:20180525T010509Z


Regards.
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zece...@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am 
Taunus, Germany

registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

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


Re: [OpenIndiana-discuss] compile package

2018-09-10 Thread Jean-Pierre

Francis.D wrote:

Hi all,
I'm trying to compile smplayer. I have previously installed gcc + automake
+ autoconf

I downloaded the source package smplayer-18.6.0.tar.bz2 package and unzip.
Then I executed the command cd
root@oifanboy:~/downloads/smplayer-18.6.0#
When I run the command ./configure I always get this message
bash: ./configure: No such file or directory


Being curious, I downloaded the source file, and there is
no configure in it (actually there are a couple of them, but
they are not targeted at building smplayer).

There is a Makefile, which relies on qmake, so you have to
install qt and adjust the Makefile to the current version of
qt and to the appropriate paths...

qt is apparently available on
http://sfe.opencsw.org/localhostoih/en/catalog.shtml

This is a good start for learning how to develop or port
applications to OI.


I tried ./configure --prefix=usr without no success

I also install intltool and I tried with another software * gnumeric*
without not more success

If anyone have a tuto step by step OI, what I need to install for compile
software etc...

thank





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