[OpenIndiana-discuss] compile package

2018-09-09 Thread Francis.D
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
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


Re: [OpenIndiana-discuss] compile package

2018-09-09 Thread Jerry Kemp
assuming an accidental typo, but, and assuming you wanted a base/prefix 
directory of /usr , it would be

# ./configure --prefix=/usr

I state this without going into specifics for this particular application.

regarding this comment::
...
When I run the command ./configure I always get this message
bash: ./configure: No such file or directory
...

there isn't always necessarily a "configure" file or "Configure" file or even 
"config"

but, more often than not, there is an "INSTALL" file and/or README file or a 
"docs" directory that can get you kicked off in the
right direction.

This should be more than enough to point you in the right direction.  Once you 
get going, and, if you have more specific errors or
issues, come back and repost, and we all can go from there.

Jerry





 Original Message 
From: Francis.D
Sent: Sun, Sep 9, 2018 10:04 PM CDT
To: Discussion list for OpenIndiana
Subject: [OpenIndiana-discuss] compile package

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
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] compile package

2018-09-09 Thread Francis.D
thank for your answers !

I read of course the install.txt file but the instructions are not very
detailed.
I tried too
make PREFIX=/usr
make PREFIX=/usr install
without no success
I attach install file

regard

Le dim. 9 sept. 2018 à 23:23, Jerry Kemp  a écrit :

> assuming an accidental typo, but, and assuming you wanted a base/prefix
> directory of /usr , it would be
>
> # ./configure --prefix=/usr
>
> I state this without going into specifics for this particular application.
>
> regarding this comment::
> ...
> When I run the command ./configure I always get this message
> bash: ./configure: No such file or directory
> ...
>
> there isn't always necessarily a "configure" file or "Configure" file or
> even "config"
>
> but, more often than not, there is an "INSTALL" file and/or README file or
> a "docs" directory that can get you kicked off in the
> right direction.
>
> This should be more than enough to point you in the right direction.  Once
> you get going, and, if you have more specific errors or
> issues, come back and repost, and we all can go from there.
>
> Jerry
>
>
>
>
>
>  Original Message 
> From: Francis.D
> Sent: Sun, Sep 9, 2018 10:04 PM CDT
> To: Discussion list for OpenIndiana
> Subject: [OpenIndiana-discuss] compile package
>
> 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
> 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
>
This document explains how to compile and install SMPlayer.

Compiling SMPlayer should be easy. It only depends on Qt 4.


1) How to make a deb package
2) How to make a rpm package
3) Generic compilation
4) Changing installation path
5) How to compile in Windows


1) How to make a deb package

Be sure you have installed the following packages: libqt4-dev, zlib1g-dev,
fakeroot, build-essential, devscripts, debhelper and g++.

sudo apt-get install libqt4-dev zlib1g-dev fakeroot build-essential devscripts 
debhelper g++

(Packages to compile with Qt5: qtbase5-dev qt5-qmake qt5-default qtscript5-dev
qttools5-dev-tools qtbase5-private-dev libqt5webkit5-dev)

Now run ./create_deb.sh


2) How to make a rpm package

Building a rpm package is not easy. Better get a binary package from
this repository:
https://software.opensuse.org/download.html?project=home%3Asmplayerdev&package=smplayer


3) Generic compilation
--
(obsolete)


4) Changing installation path
-
By default smplayer will be installed in /usr/local. You can change it by
using PREFIX and DESTDIR.

Examples:
make PREFIX=/usr
make PREFIX=/usr install

That would install smplayer under /usr.

DESTDIR will be useful for package maintainers.

make PREFIX=/usr
make PREFIX=/usr DESTDIR=/tmp/ install

That would compile smplayer for /usr but in fact it will be installed in
/tmp/usr/


5) How to compile in Windows

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