Re: Pain to install pyilmabase

"Forum (io)" <[email protected]> Thu, 14 Dec 2017 14:46:49 +0100
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0648924240637300226==
Content-Type: multipart/alternative;
 boundary="------------D9D6A9DE0B744E8AA6F2CB6A"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------D9D6A9DE0B744E8AA6F2CB6A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-sh.infomaniak.ch id vBEDhvOJ016433

Hello,

Thank for your reply.
I jsut tried it and I am still souspicous.

While I first tried to install boost, I enter the following command
sudo ./bootstrap.sh --prefix=3D/opt/boost_1.65.1
In rder to have it installed un /opt/boost_1.65.1
sudo ./b2
to install it

Then I got a new folder in /opt/boost_1.65.1

Now I tried *your suggestion* (I also removed /opt/boost_1.65.1)
cd=C2=A0 /root/install-package/boost_1_65_1
sudo ./bootstrap.sh --prefix=3D/opt/boost_1.65.1
sudo ./b2 address-model=3D64 variant=3Drelease threading=3Dmulti link=3Ds=
hared

But I do not get a the folder in /opt/boost_1.65.1 and at the end of the=20
last command, I have this message:
The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

 =C2=A0=C2=A0=C2=A0 /root/install-package/boost_1_65_1

The following directory should be added to linker library paths:

 =C2=A0=C2=A0=C2=A0 /root/install-package/boost_1_65_1/stage/lib

Which it mean that boost has been install in=20
/root/install-package/boost_1_65_1 while I want to have in /opt

Should I untar directly in /opt/boost_1.65.1 and run the command from=20
there? So we can use a prefix (--prefix=3D/opt/boost_1.65.1)?

Many thank fro your help

Cheers
Pierre



On 12/12/17 6:51 PM, Gonzalo Garramu=C3=B1o wrote:
>
>
>
> El 12/12/17 a las 11:16, Forum (io) escribi=C3=B3:
>> Hello,
>>
>> Thank a lot for your reply.
>> I am bit lost :o).
>>
>> The first think, I should look at, is to share boost. I should look=20
>> around the parameter -fPIC.
>> Also, Richard sugest to make a link Rather that a static library.
>>
>> *What would be the different that making a link, than sharing boost=20
>> with the option -fPIC??*
>>
>> I downloaded and installed from this page
>> https://gist.github.com/1duo/2d1d851f76f8297be264b52c1f31a2ab
>>
>> Then I un-tared and I "compiled" with this command:
>> sudo ./bootstrap.sh --prefix=3D/opt/boost_1.65.1
>>
>
> Try the following to compile:
>
> ./b2 address-model=3D64 variant=3Drelease threading=3Dmulti link=3Dshar=
ed
>
> Address model is for x86-64.=C2=A0 Release is to avoid a Debug version =
of=20
> the library.=C2=A0 Threading is to make it multithreaded and link is to=
=20
> make it shared.
> --=20
> Gonzalo Garramu=C3=B1o


--------------D9D6A9DE0B744E8AA6F2CB6A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-sh.infomaniak.ch id vBEDhvOJ016433

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hello,<br>
    <br>
    Thank for your reply.<br>
    I jsut tried it and I am still souspicous.<br>
    <br>
    While I first tried to install boost, I enter the following command<b=
r>
    <font color=3D"#ff0000">sudo ./bootstrap.sh --prefix=3D/opt/boost_1.6=
5.1</font><br>
    In rder to have it installed un /opt/boost_1.65.1<br>
    <font color=3D"#ff0000">sudo ./b2</font><br>
    to install it<br>
    <br>
    Then I got a new folder in /opt/boost_1.65.1<br>
    <br>
    Now I tried <b>your suggestion</b> (I also removed
    /opt/boost_1.65.1)<br>
    <font color=3D"#ff0000">cd=C2=A0 /root/install-package/boost_1_65_1<b=
r>
      sudo ./bootstrap.sh --prefix=3D/opt/boost_1.65.1<br>
      sudo ./b2 address-model=3D64 variant=3Drelease threading=3Dmulti
      link=3Dshared</font><br>
    <br>
    But I do not get a the folder in /opt/boost_1.65.1 and at the end of
    the last command, I have this message:<br>
    The Boost C++ Libraries were successfully built!<br>
    <br>
    <font color=3D"#000099">The following directory should be added to
      compiler include paths:<br>
      <br>
      =C2=A0=C2=A0=C2=A0 /root/install-package/boost_1_65_1<br>
      <br>
      The following directory should be added to linker library paths:<br=
>
      <br>
      =C2=A0=C2=A0=C2=A0 /root/install-package/boost_1_65_1/stage/lib</fo=
nt><br>
    <br>
    Which it mean that boost has been install in=C2=A0
    /root/install-package/boost_1_65_1 while I want to have in /opt<br>
    <br>
    Should I untar directly in /opt/boost_1.65.1 and run the command
    from there? So we can use a prefix (--prefix=3D/opt/boost_1.65.1)?<br=
>
    <br>
    Many thank fro your help<br>
    <br>
    Cheers<br>
    Pierre<br>
    <br>
    <br>
    <br>
    <div class=3D"moz-cite-prefix">On 12/12/17 6:51 PM, Gonzalo Garramu=C3=
=B1o
      wrote:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:[email protected]">
      <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Du=
tf-8">
      <p><br>
      </p>
      <br>
      <div class=3D"moz-cite-prefix">El 12/12/17 a las 11:16, Forum (io)
        escribi=C3=B3:<br>
      </div>
      <blockquote type=3D"cite"
        cite=3D"mid:[email protected]">
        <meta http-equiv=3D"Content-Type" content=3D"text/html;
          charset=3Dutf-8">
        Hello,<br>
        <br>
        Thank a lot for your reply.<br>
        I am bit lost :o).<br>
        <br>
        The first think, I should look at, is to share boost. I should
        look around the parameter -fPIC.<br>
        Also, Richard sugest to make a link Rather that a static
        library.<br>
        <br>
        <b>What would be the different that making a link, than sharing
          boost with the option -fPIC??</b><br>
        <br>
        I downloaded and installed from this page <br>
        <a class=3D"moz-txt-link-freetext"
          href=3D"https://gist.github.com/1duo/2d1d851f76f8297be264b52c1f=
31a2ab"
          moz-do-not-send=3D"true">https://gist.github.com/1duo/2d1d851f7=
6f8297be264b52c1f31a2ab</a><br>
        <br>
        Then I un-tared and I "compiled" with this command:<br>
        <font color=3D"#006600">sudo ./bootstrap.sh
          --prefix=3D/opt/boost_1.65.1</font><br>
        <br>
      </blockquote>
      <br>
      Try the following to compile:<br>
      <br>
      ./b2 address-model=3D64 variant=3Drelease threading=3Dmulti link=3D=
shared<br>
      <br>
      Address model is for x86-64.=C2=A0 Release is to avoid a Debug vers=
ion
      of the library.=C2=A0 Threading is to make it multithreaded and lin=
k is
      to make it shared.<br>
      <pre class=3D"moz-signature" cols=3D"72">--=20
Gonzalo Garramu=C3=B1o</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------D9D6A9DE0B744E8AA6F2CB6A--


--===============0648924240637300226==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

--===============0648924240637300226==--