delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/17/15:10:21

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: [geda-user] RFC feedback on release pcb-4.0.0 requested
To: geda-user AT delorie DOT com
References: <58A4AFF5 DOT 3040008 AT xs4all DOT nl>
<7d12886d-a802-d5e3-1abf-b113e436a5ff AT tio DOT cz>
<CAJZxidADm5AgKfDDzTpEQ+4T3VcYvhWjaA_Enm21R8PtDqouYA AT mail DOT gmail DOT com>
<501527a2-ab82-4795-f8b5-2bb7a0795421 AT tio DOT cz>
<CAJXU7q-r23EmTiveCaJQ0LDaMr+w4csRuO_zXp-uMgoYQH2a8g AT mail DOT gmail DOT com>
<44d9173e-c265-c444-210d-ae0fecea4b9f AT tio DOT cz>
<CAJXU7q-XaPhaXt=WcHrYXgZRyNLGrsjBs2s0S2efRFXYZ91h6g AT mail DOT gmail DOT com>
<CAJXU7q95hDxu-ppq5e=UF0x2HZkVjZvL+GuN1q=SSejGE240BQ AT mail DOT gmail DOT com>
From: Jan Damborsky <dambi AT tio DOT cz>
Message-ID: <76ca7b52-2e4d-ff53-adf9-877b413daf46@tio.cz>
Date: Fri, 17 Feb 2017 21:09:00 +0100
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:45.0) Gecko/20100101
Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <CAJXU7q95hDxu-ppq5e=UF0x2HZkVjZvL+GuN1q=SSejGE240BQ@mail.gmail.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

This is a multi-part message in MIME format.
--------------7F148C079F03C4A732FBA346
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Nope, since opencsw stuff is 3rd "software distribution", not standard part of Oracle Solaris.

That said, I have given it a try. Installation of libgd_dev installed couple of other packages,
including libgd3, so I ended up with two version of libgd on my system:

$ ls -l /usr/lib/libgd.so
lrwxrwxrwx   1 root     root          14 Dec 23  2013 /usr/lib/libgd.so -> libgd.so.2.0.0
$ ls -l /opt/csw/lib/libgd.so.3
lrwxrwxrwx   1 root     root          14 Feb 17 20:05 /opt/csw/lib/libgd.so.3 -> libgd.so.3.0.0
$

Since opencsw installs its stuff in dedicated location (which is good to avoid clash
with Oraclepackages), it was necessary to feed pkg-config with appropriate
PKG_CONFIG_PATH definitionto make it aware of opencsw libgd:

$ PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig/" pkg-config --cflags gdlib
-I/opt/csw/include
$

Configure step as well as build itself then succeeded without GDLIB_* definitions:

$ PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig/" CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC CFLAGS="-m64" LDFLAGS="-L/usr/lib/amd64" ./configure --disable-gl --disable-toporouter
...
$ make
...
$ echo $?
0
$

So far so good...

But inspecting resulting binary, pcb is linked with Oracle libgd, not opencsw one:


$ ldd ./src/pcb | grep libgd.so
         libgd.so.2 =>    /usr/lib/64/libgd.so.2
$

Which is definitely not desired outcome, since those two libgd versions
are likely incompatible (as .so versions indicate).
The reason for this is that linker finds Oracle version of library first,
since it is installedin standard location.

I tried to workaround this by temporary removing Oracle libgd just for purposes
of pcb build,but that opened a can of worms - linker started to complain about
clash betweenOracle libXrender a opencsw libXrender (which opencsw libgd depends upon),
so I stopped my experiments there.

Best regards,
Jan

On 02/17/17 07:27 PM, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote:
> Do you have https://www.opencsw.org/package/libgd_dev/installed?
>
> Peter
>
> On 17 February 2017 at 18:26, Peter Clifton <petercjclifton AT googlemail DOT com <mailto:petercjclifton AT googlemail DOT com>>wrote:
>
>     That might well be the root-cause of the PCB configure being unhappy with GD.
>
>     Shortly before the 4.0.0 release (Commit on Jan 14th) - the configure check was re-worked to use pkg-config, as is now the preferred method.
>
>     Rather than going back to the (long deprecated) gdlib-config check - any chance you can help us understand what is necessary to get gd installed with pkg-config support on Solaris?
>
>     Kind regards,
>
>     Peter
>
>     On 17 February 2017 at 18:09, Jan Damborsky <dambi AT tio DOT cz <mailto:dambi AT tio DOT cz>>wrote:
>
>         Hi Peter,
>
>         $ pkg-config --modversion libgd
>         Package libgd was not found in the pkg-config search path.
>         Perhaps you should add the directory containing `libgd.pc'
>         to the PKG_CONFIG_PATH environment variable
>         No package 'libgd' found
>         $
>
>         It fails, because IPS (*) package delivering libgd
>         does not contain 'pc' file:
>
>         $ pkg contents library/gd | grep pc
>         $
>
>         Jan
>
>         (*) IPS stands for "Image Packaging System" which is packaging system used
>              on Oracle Solaris 11
>
>
>
>         On 02/17/17 06:36 PM, Peter Clifton (petercjclifton AT googlemail DOT com <mailto:petercjclifton AT googlemail DOT com>) [via geda-user AT delorie DOT com <mailto:geda-user AT delorie DOT com>] wrote:
>>         Chad - do you think we have an issue with how GD is being detected on this platform?
>>
>>         Are we using gd-config in configure, or pkg-config. (It seems the later is preferred now). (I'm not at my development machine at the moment).
>>
>>         See:
>>
>>         https://github.com/gphoto/libgphoto2/issues/137 <https://github.com/gphoto/libgphoto2/issues/137>
>>
>>
>>         Jan:
>>
>>         What does this command:
>>
>>         pkg-config --modversion libgd
>>
>>         output?
>>
>>
>>
>>         On 17 February 2017 at 17:20, Jan Damborsky <dambi AT tio DOT cz <mailto:dambi AT tio DOT cz>>wrote:
>>
>>             Hi Chad,
>>
>>             that indeed helped, thanks :-)
>>
>>             4.0.0 now builds with gcc as well as Oracle Solaris Studio,
>>             both 32-bit and 64-bit, so I will start using it.
>>
>>             Nothing imminent though, as I "produce" just couple of PCBs
>>             per year (electronics is my hobby, not a daily job).
>>
>>             Cheers,
>>             Jan
>>
>>
>>             On 02/17/17 02:47 PM, Chad Parker (parker DOT charles AT gmail DOT com <mailto:parker DOT charles AT gmail DOT com>) [via geda-user AT delorie DOT com <mailto:geda-user AT delorie DOT com>] wrote:
>>
>>>             Jan-
>>>
>>>             What happens if you add "-lgd" to your definition of GDLIB_LIBS?
>>>
>>>             --Chad
>>>
>>>             On Fri, Feb 17, 2017 at 4:41 AM, Jan Damborsky <dambi AT tio DOT cz <mailto:dambi AT tio DOT cz>>wrote:
>>>
>>>                 On 02/15/17 08:45 PM, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl <mailto:bert DOT timmerman AT xs4all DOT nl>) [via geda-user AT delorie DOT com <mailto:geda-user AT delorie DOT com>] wrote:
>>>
>>>                     Hello list members,
>>>
>>>                     It has been almost a month to this day that a new release of pcb was done.
>>>
>>>                     In this month there have been some 709 downloads of the tarball.
>>>
>>>                     What we active developers would like to have feedback on is:
>>>
>>>                     1) how many list members have downloaded the tarball ?
>>>
>>>                       (0 or +1 suffices)
>>>
>>>
>>>                 +1
>>>
>>>
>>>                     2) how many list members have tried to build an run the new version of pcb ?
>>>
>>>                       (0 or +1 suffices)
>>>
>>>
>>>                 I run pcb on Oracle Solaris 11, so tried to build 4.0.0 there,
>>>                 but it failedduringconfigure phase in following way:
>>>
>>>                 $ ./configure --disable-gl --disable-toporouter
>>>                 ...
>>>                 checking for GDLIB... no
>>>                 configure: error: Note: cannot find gdlib.
>>>                 This is required for gcode, nelma, png HIDs
>>>                 You may want to review the following errors:
>>>                 No package 'gdlib' found
>>>                 $
>>>
>>>                 I have libgd installed on the system:
>>>
>>>                 $ gdlib-config --all
>>>                 GD library  2.0.35
>>>                 includedir: /usr/include/gd2
>>>                 cflags:  -I/usr/include/gd2
>>>                 ldflags:     -L/usr/lib
>>>                 libs:  -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm
>>>                 libdir:  /usr/lib
>>>                 features:  GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
>>>                 $
>>>
>>>                 Setting GDLIB_CFLAGS and GDLIB_LIBS helped a little bit:
>>>
>>>                 $ GDLIB_CFLAGS="-I/usr/include/gd2" GDLIB_LIBS="-lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm" ./configure --disable-gl --disable-toporouter
>>>                 ...
>>>                 checking for GDLIB... yes
>>>                 checking for gdImageGif... no
>>>                 configure: error: Your gd installation does not appear to include gif support.
>>>                 You may need to update your installation of gd or disable
>>>                 gif export with --disable-gif
>>>                 $
>>>
>>>                 I verified that the library does providegdImageGif():
>>>
>>>                 $ nm /usr/lib/libgd.so|grep gdImageGif$
>>>                 [183]   |   148980| 62|FUNC |GLOB |0 |16 |gdImageGif
>>>                 $
>>>
>>>                 Full config.log available at
>>>
>>>                 http://tio.ddns.net/config.log
>>>
>>>                 Could you please let me know what I may be missing?
>>>
>>>                 Thank you,
>>>                 Jan
>>>
>>>
>>
>>
>
>
>


--------------7F148C079F03C4A732FBA346
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty=
pe">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix"><tt>Nope, since opencsw stuff is 3rd
        "software distribution", not standard part of Oracle Solaris</tt>=
<tt>.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>That said, I have given it a try. Installation of
        libgd_dev installed couple of other packages,</tt><tt><br>
      </tt><tt>including libgd3, so I ended up with two version of libgd
        on my system:</tt><tt><br>
      </tt><tt><br>
      </tt><tt>$ ls -l /usr/lib/libgd.so</tt><tt><br>
      </tt><tt>lrwxrwxrwx=C2=A0=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0 root=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14 Dec 23=C2=A0 20=
13
        /usr/lib/libgd.so -&gt; libgd.so.2.0.0</tt><tt><br>
      </tt><tt>$ ls -l /opt/csw/lib/libgd.so.3</tt><tt><br>
      </tt><tt>lrwxrwxrwx=C2=A0=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0 root=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14 Feb 17 20:05
        /opt/csw/lib/libgd.so.3 -&gt; libgd.so.3.0.0</tt><tt><br>
      </tt><tt>$</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Since opencsw installs its stuff in dedicated location
        (which is good to avoid clash<br>
        with Oracle</tt><tt> </tt><tt>packages), it was necessary to
        feed pkg-config with appropriate<br>
        PKG_CONFIG_PATH definition</tt><tt> </tt><tt>to make it aware
        of opencsw libgd:</tt><tt><br>
      </tt><tt><br>
      </tt><tt>$ PKG_CONFIG_PATH=3D"/opt/csw/lib/pkgconfig/" pkg-config
        --cflags gdlib</tt><tt><br>
      </tt><tt>-I/opt/csw/include</tt><tt><br>
      </tt><tt>$</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Configure step as well as build itself then succeeded
        without GDLIB_* definitions:</tt><tt><br>
      </tt><tt><br>
      </tt><tt>$ PKG_CONFIG_PATH=3D"/opt/csw/lib/pkgconfig/"
        CC=3D/opt/SUNWspro/bin/cc CXX=3D/opt/SUNWspro/bin/CC CFLAGS=3D"-m=
64"
        LDFLAGS=3D"-L/usr/lib/amd64" ./configure --disable-gl
        --disable-toporouter</tt><tt><br>
      </tt><tt>...</tt><tt><br>
      </tt><tt>$ make</tt><tt><br>
      </tt><tt>...</tt><tt><br>
      </tt><tt>$ echo $?</tt><tt><br>
      </tt><tt>0</tt><tt><br>
      </tt><tt>$</tt><tt><br>
      </tt><tt><br>
      </tt><tt>So far so good...</tt><tt><br>
      </tt><tt><br>
      </tt><tt>But inspecting resulting binary, pcb is linked with
        Oracle libgd, not opencsw one:</tt><tt><br>
      </tt><tt><br>
      </tt><tt><br>
      </tt><tt>$ ldd ./src/pcb | grep libgd.so</tt><tt><br>
      </tt><tt>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libgd.so.2 =3D&=
gt;=C2=A0=C2=A0=C2=A0 /usr/lib/64/libgd.so.2</tt><tt><br>
      </tt><tt>$</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Which is definitely not desired outcome, since those two
        libgd versions<br>
        are likely incompatible (as .so versions indicate).</tt><tt><br>
      </tt><tt>The reason for this is that linker finds Oracle version
        of library first,<br>
        since it is installed</tt><tt> </tt><tt>in standard location</tt>=
<tt>.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>I tried to workaround this by temporary removing Oracle
        libgd just for purposes<br>
        of pcb build,</tt><tt> </tt><tt>but that opened a can of worms
        - linker started to complain about<br>
        clash between</tt><tt> Oracle libXrender a opencsw libXrender
        (which opencsw </tt><tt><tt>libgd depends upon)</tt>,<br>
        so I stopped my experiments there.</tt><tt><br>
        <br>
      </tt><tt>Best regards,</tt><tt><br>
      </tt><tt>Jan</tt><tt><br>
      </tt><tt><br>
      </tt><tt>On 02/17/17 07:27 PM, Peter Clifton
        (<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:petercjclif=
ton AT googlemail DOT com">petercjclifton AT googlemail DOT com</a>) [via <a class=3D"m=
oz-txt-link-abbreviated" href=3D"mailto:geda-user AT delorie DOT com">geda-user@=
delorie.com</a>]
        wrote:</tt><tt><br>
      </tt></div>
    <blockquote
cite=3D"mid:CAJXU7q95hDxu-ppq5e=3DUF0x2HZkVjZvL+GuN1q=3DSSejGE240BQ AT mail.=
gmail.com"
      type=3D"cite">
      <div dir=3D"ltr"><tt>Do you have=C2=A0</tt><tt><a moz-do-not-send=3D=
"true"
            href=3D"https://www.opencsw.org/package/libgd_dev/">https://w=
ww.opencsw.org/package/libgd_dev/</a></tt><tt>
          installed?</tt>
        <div><tt><br>
          </tt></div>
        <div><tt>Peter</tt></div>
      </div>
      <div class=3D"gmail_extra"><tt><br>
        </tt>
        <div class=3D"gmail_quote"><tt>On 17 February 2017 at 18:26, Pete=
r
            Clifton </tt><tt><span dir=3D"ltr">&lt;<a
                moz-do-not-send=3D"true"
                href=3D"mailto:petercjclifton AT googlemail DOT com"
                target=3D"_blank">petercjclifton AT googlemail DOT com</a>&gt;</=
span></tt><tt>
            wrote:</tt><tt><br>
          </tt>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir=3D"ltr"><tt>That might well be the root-cause of the
                PCB configure being unhappy with GD.</tt>
              <div><tt><br>
                </tt></div>
              <div><tt>Shortly before the 4.0.0 release (Commit on Jan
                  14th) - the configure check was re-worked to use
                  pkg-config, as is now the preferred method.</tt></div>
              <div><tt><br>
                </tt></div>
              <div><tt>Rather than going back to the (long deprecated)
                  gdlib-config check - any chance you can help us
                  understand what is necessary to get gd installed with
                  pkg-config support on Solaris?</tt></div>
              <div><tt><br>
                </tt></div>
              <div><tt>Kind regards,</tt></div>
              <div><tt><br>
                </tt><tt>Peter</tt></div>
            </div>
            <div class=3D"HOEnZb">
              <div class=3D"h5">
                <div class=3D"gmail_extra"><tt><br>
                  </tt>
                  <div class=3D"gmail_quote"><tt>On 17 February 2017 at
                      18:09, Jan Damborsky </tt><tt><span dir=3D"ltr">&lt=
;<a
                          moz-do-not-send=3D"true"
                          href=3D"mailto:dambi AT tio DOT cz" target=3D"_blank">=
dambi AT tio DOT cz</a>&gt;</span></tt><tt>
                      wrote:</tt><tt><br>
                    </tt>
                    <blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor=3D"#FFFFFF" text=3D"#000000">
                        <div
                          class=3D"m_6772079666013099597m_-67042146698819=
96947moz-cite-prefix"><tt>Hi
                            Peter,</tt><tt><br>
                          </tt> <tt><br>
                          </tt> <tt>$ pkg-config --modversion libgd</tt><=
tt><br>
                          </tt> <tt>Package libgd was not found in the
                            pkg-config search path.</tt><tt><br>
                          </tt> <tt>Perhaps you should add the
                            directory containing `libgd.pc'</tt><tt><br>
                          </tt> <tt>to the PKG_CONFIG_PATH environment
                            variable</tt><tt><br>
                          </tt> <tt>No package 'libgd' found</tt><tt><br>
                          </tt> <tt>$</tt><tt><br>
                          </tt> <tt><br>
                          </tt> <tt>It fails, because IPS (*) package
                            delivering libgd</tt><tt><br>
                          </tt><tt> does not contain 'pc' file:</tt><tt><=
br>
                          </tt> <tt><br>
                          </tt> <tt>$ pkg contents library/gd | grep pc</=
tt><tt><br>
                          </tt> <tt>$</tt><tt><br>
                          </tt> <tt><br>
                          </tt> <tt>Jan</tt><tt><br>
                          </tt> <tt><br>
                          </tt> <tt>(*) IPS stands for "Image Packaging
                            System" which is packaging system used</tt><t=
t><br>
                          </tt><tt> </tt><tt>=C2=A0 =C2=A0=C2=A0 on Oracl=
e Solaris 11</tt>
                          <div>
                            <div class=3D"m_6772079666013099597h5"><tt><b=
r>
                              </tt> <tt><br>
                              </tt> <tt><br>
                              </tt> <tt>On 02/17/17 06:36 PM, Peter
                                Clifton (</tt><tt><a
                                  moz-do-not-send=3D"true"
class=3D"m_6772079666013099597m_-6704214669881996947moz-txt-link-abbrevia=
ted"
href=3D"mailto:petercjclifton AT googlemail DOT com" target=3D"_blank">petercjcl=
ifton AT googlemail DOT com</a></tt><wbr><tt>)
                                [via </tt><tt><a moz-do-not-send=3D"true"
class=3D"m_6772079666013099597m_-6704214669881996947moz-txt-link-abbrevia=
ted"
                                  href=3D"mailto:geda-user AT delorie DOT com"
                                  target=3D"_blank">geda-user AT delorie DOT com=
</a></tt><tt>]
                                wrote:</tt><tt><br>
                              </tt> </div>
                          </div>
                        </div>
                        <div>
                          <div class=3D"m_6772079666013099597h5">
                            <blockquote type=3D"cite">
                              <div dir=3D"ltr"><tt>Chad - do you think we
                                  have an issue with how GD is being
                                  detected on this platform?</tt>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt>Are we using gd-config in
                                    configure, or pkg-config. (It seems
                                    the later is preferred now). (I'm
                                    not at my development machine at the
                                    moment).</tt></div>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt>See:</tt></div>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt><a moz-do-not-send=3D"true"
                                      href=3D"https://github.com/gphoto/l=
ibgphoto2/issues/137"
                                      target=3D"_blank">https://github.co=
m/gphoto/libg<wbr>photo2/issues/137</a></tt><tt><br>
                                  </tt> </div>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt>Jan:</tt></div>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt>What does this command:</tt></di=
v>
                                <div><tt><br>
                                  </tt> </div>
                                <div><tt><span
                                      style=3D"background-color:rgb(240,2=
40,240);color:rgb(0,0,0)">pkg-config
                                      --modversion=C2=A0libgd</span></tt>=
</div>
                                <div><tt><span
                                      style=3D"background-color:rgb(240,2=
40,240);color:rgb(0,0,0)"><br>
                                    </span></tt></div>
                                <div><tt><span
                                      style=3D"background-color:rgb(240,2=
40,240);color:rgb(0,0,0)">output?</span></tt></div>
                                <div><tt><span
                                      style=3D"background-color:rgb(240,2=
40,240);color:rgb(0,0,0)"><br>
                                    </span></tt></div>
                                <div><tt><span
                                      style=3D"background-color:rgb(240,2=
40,240);color:rgb(0,0,0)"><br>
                                    </span></tt></div>
                              </div>
                              <div class=3D"gmail_extra"><tt><br>
                                </tt>
                                <div class=3D"gmail_quote"><tt>On 17
                                    February 2017 at 17:20, Jan
                                    Damborsky </tt><tt><span dir=3D"ltr">=
&lt;<a
                                        moz-do-not-send=3D"true"
                                        href=3D"mailto:dambi AT tio DOT cz"
                                        target=3D"_blank">dambi AT tio DOT cz</a=
>&gt;</span></tt><tt>
                                    wrote:</tt><tt><br>
                                  </tt>
                                  <blockquote class=3D"gmail_quote"
                                    style=3D"margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div bgcolor=3D"#FFFFFF"
                                      text=3D"#000000">
                                      <div
class=3D"m_6772079666013099597m_-6704214669881996947m_1802727900901258778=
moz-cite-prefix"><tt>Hi
                                          Chad,</tt><tt><br>
                                        </tt> <tt><br>
                                        </tt> <tt> that indeed helped,
                                          thanks :-)</tt><tt><br>
                                        </tt> <tt><br>
                                        </tt> <tt> 4.0.0 now builds
                                          with gcc as well as Oracle
                                          Solaris Studio,</tt><tt><br>
                                        </tt> <tt> both 32-bit and
                                          64-bit, so I will start using
                                          it.</tt><tt><br>
                                        </tt> <tt><br>
                                        </tt> <tt> Nothing imminent
                                          though, as I "produce" just
                                          couple of PCBs</tt><tt><br>
                                        </tt> <tt> per year
                                          (electronics is my hobby, not
                                          a daily job).</tt><tt><br>
                                        </tt> <tt><br>
                                        </tt> <tt> Cheers,</tt><tt><br>
                                        </tt> <tt> Jan</tt>
                                        <div>
                                          <div
                                            class=3D"m_677207966601309959=
7m_-6704214669881996947h5"><tt><br>
                                            </tt> <tt><br>
                                            </tt> <tt> On 02/17/17
                                              02:47 PM, Chad Parker (</tt=
><tt><a
                                                moz-do-not-send=3D"true"
class=3D"m_6772079666013099597m_-6704214669881996947m_1802727900901258778=
moz-txt-link-abbreviated"
href=3D"mailto:parker DOT charles AT gmail DOT com" target=3D"_blank">parker.charles=
@gmail.com</a></tt><tt>)
                                              [via </tt><tt><a
                                                moz-do-not-send=3D"true"
class=3D"m_6772079666013099597m_-6704214669881996947m_1802727900901258778=
moz-txt-link-abbreviated"
href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie=
.com</a></tt><tt>]
                                              wrote:</tt></div>
                                        </div>
                                        <tt><br>
                                        </tt> </div>
                                      <div>
                                        <div
                                          class=3D"m_6772079666013099597m=
_-6704214669881996947h5">
                                          <blockquote type=3D"cite">
                                            <div dir=3D"ltr">
                                              <div>
                                                <div><tt>Jan-</tt><tt><br=
>
                                                  </tt> <tt><br>
                                                  </tt> </div>
                                                <tt>What happens if you
                                                  add "-lgd" to your
                                                  definition of
                                                  GDLIB_LIBS?</tt><tt><br=
>
                                                </tt> <tt><br>
                                                </tt> </div>
                                              <tt>--Chad</tt><tt><br>
                                              </tt> </div>
                                            <div class=3D"gmail_extra"><t=
t><br>
                                              </tt>
                                              <div class=3D"gmail_quote">=
<tt>On
                                                  Fri, Feb 17, 2017 at
                                                  4:41 AM, Jan Damborsky
                                                </tt><tt><span dir=3D"ltr=
">&lt;<a
moz-do-not-send=3D"true" href=3D"mailto:dambi AT tio DOT cz" target=3D"_blank">d=
ambi AT tio DOT cz</a>&gt;</span></tt><tt>
                                                  wrote:</tt><tt><br>
                                                </tt>
                                                <blockquote
                                                  class=3D"gmail_quote"
                                                  style=3D"margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex"=
><tt><span>On
                                                      02/15/17 08:45 PM,
                                                      Bert Timmerman (<a
moz-do-not-send=3D"true" href=3D"mailto:bert DOT timmerman AT xs4all DOT nl"
                                                        target=3D"_blank"=
>bert DOT timmerman AT xs4all DOT nl</a>)
                                                      [via <a
                                                        moz-do-not-send=3D=
"true"
href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie=
.com</a>]
                                                      wrote:<br>
                                                      <blockquote
                                                        class=3D"gmail_qu=
ote"
                                                        style=3D"margin:0
                                                        0 0
                                                        .8ex;border-left:=
1px
                                                        #ccc
                                                        solid;padding-lef=
t:1ex">
                                                        Hello list
                                                        members,<br>
                                                        <br>
                                                        It has been
                                                        almost a month
                                                        to this day that
                                                        a new release of
                                                        pcb was done.<br>
                                                        <br>
                                                        In this month
                                                        there have been
                                                        some 709
                                                        downloads of the
                                                        tarball.<br>
                                                        <br>
                                                        What we active
                                                        developers would
                                                        like to have
                                                        feedback on is:<b=
r>
                                                        <br>
                                                        1) how many list
                                                        members have
                                                        downloaded the
                                                        tarball ?<br>
                                                        <br>
                                                        =C2=A0 (0 or +1
                                                        suffices)<br>
                                                      </blockquote>
                                                      <br>
                                                    </span></tt><tt> +1</=
tt><tt><span><br>
                                                      <br>
                                                      <blockquote
                                                        class=3D"gmail_qu=
ote"
                                                        style=3D"margin:0
                                                        0 0
                                                        .8ex;border-left:=
1px
                                                        #ccc
                                                        solid;padding-lef=
t:1ex">
                                                        <br>
                                                        2) how many list
                                                        members have
                                                        tried to build
                                                        an run the new
                                                        version of pcb ?<=
br>
                                                        <br>
                                                        =C2=A0 (0 or +1
                                                        suffices)<br>
                                                      </blockquote>
                                                      <br>
                                                    </span></tt><tt> I
                                                    run pcb on Oracle
                                                    Solaris 11, so tried
                                                    to build 4.0.0
                                                    there,</tt><tt><br>
                                                  </tt> <tt> but it
                                                    failedduringconfigure
                                                    phase in following
                                                    way:</tt><tt><br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> $
                                                    ./configure
                                                    --disable-gl
                                                    --disable-toporouter<=
/tt><tt><br>
                                                  </tt> <tt> ...</tt><tt>=
<br>
                                                  </tt> <tt> checking
                                                    for GDLIB... no</tt><=
tt><br>
                                                  </tt> <tt> configure:
                                                    error: Note: cannot
                                                    find gdlib.</tt><tt><=
br>
                                                  </tt> <tt> This is
                                                    required for gcode,
                                                    nelma, png HIDs</tt><=
tt><br>
                                                  </tt> <tt> You may
                                                    want to review the
                                                    following errors:</tt=
><tt><br>
                                                  </tt> <tt> No package
                                                    'gdlib' found</tt><tt=
><br>
                                                  </tt> <tt> $</tt><tt><b=
r>
                                                  </tt> <tt><br>
                                                  </tt> <tt> I have
                                                    libgd installed on
                                                    the system:</tt><tt><=
br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> $
                                                    gdlib-config --all</t=
t><tt><br>
                                                  </tt> <tt> GD
                                                    library=C2=A0 2.0.35<=
/tt><tt><br>
                                                  </tt> <tt>
                                                    includedir:
                                                    /usr/include/gd2</tt>=
<tt><br>
                                                  </tt> <tt> cflags:=C2=A0=
 =C2=A0
                                                    =C2=A0-I/usr/include/=
gd2</tt><tt><br>
                                                  </tt> <tt> ldflags:=C2=A0
                                                    =C2=A0 =C2=A0 -L/usr/=
lib</tt><tt><br>
                                                  </tt> <tt> libs:=C2=A0 =
=C2=A0 =C2=A0
                                                    =C2=A0-lXpm -lX11 -lj=
peg
                                                    -lfontconfig
                                                    -lfreetype -lpng -lz
                                                    -lm</tt><tt><br>
                                                  </tt> <tt> libdir:=C2=A0=
 =C2=A0
                                                    =C2=A0/usr/lib</tt><t=
t><br>
                                                  </tt> <tt> features:=C2=
=A0
                                                    =C2=A0GD_XPM GD_JPEG
                                                    GD_FONTCONFIG
                                                    GD_FREETYPE GD_PNG
                                                    GD_GIF GD_GIFANIM
                                                    GD_OPENPOLYGON</tt><t=
t><br>
                                                  </tt> <tt> $</tt><tt><b=
r>
                                                  </tt> <tt><br>
                                                  </tt> <tt> Setting
                                                    GDLIB_CFLAGS and
                                                    GDLIB_LIBS helped a
                                                    little bit:</tt><tt><=
br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> $
                                                    GDLIB_CFLAGS=3D"-I/us=
r/include/g</tt><wbr><tt>d2"
                                                    GDLIB_LIBS=3D"-lXpm
                                                    -lX11 -ljpeg
                                                    -lfontconfig
                                                    -lfreetype -lpng -lz
                                                    -lm" ./configure
                                                    --disable-gl
                                                    --disable-toporouter<=
/tt><tt><br>
                                                  </tt> <tt> ...</tt><tt>=
<br>
                                                  </tt> <tt> checking
                                                    for GDLIB... yes</tt>=
<tt><br>
                                                  </tt> <tt> checking
                                                    for gdImageGif... no<=
/tt><tt><br>
                                                  </tt> <tt> configure:
                                                    error: Your gd
                                                    installation does
                                                    not appear to
                                                    include gif support.<=
/tt><tt><br>
                                                  </tt> <tt> You may
                                                    need to update your
                                                    installation of gd
                                                    or disable</tt><tt><b=
r>
                                                  </tt> <tt> gif export
                                                    with --disable-gif</t=
t><tt><br>
                                                  </tt> <tt> $</tt><tt><b=
r>
                                                  </tt> <tt><br>
                                                  </tt> <tt> I verified
                                                    that the library
                                                    does
                                                    providegdImageGif():<=
/tt><tt><br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> $ nm
                                                    /usr/lib/libgd.so|gre=
p
                                                    gdImageGif$</tt><tt><=
br>
                                                  </tt> <tt> [183]=C2=A0 =
=C2=A0|=C2=A0
                                                    =C2=A0 148980|=C2=A0 =
=C2=A0 =C2=A0 =C2=A0
                                                    62|FUNC |GLOB |0=C2=A0=
 =C2=A0
                                                    |16 |gdImageGif</tt><=
tt><br>
                                                  </tt> <tt> $</tt><tt><b=
r>
                                                  </tt> <tt><br>
                                                  </tt> <tt> Full
                                                    config.log available
                                                    at</tt><tt><br>
                                                  </tt> <tt><br>
                                                  </tt> <tt><a
                                                      moz-do-not-send=3D"=
true"
href=3D"http://tio.ddns.net/config.log" rel=3D"noreferrer" target=3D"_bla=
nk">http://tio.ddns.net/config.log</a></tt><tt><br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> Could you
                                                    please let me know
                                                    what I may be
                                                    missing?</tt><tt><br>
                                                  </tt> <tt><br>
                                                  </tt> <tt> Thank you,</=
tt><tt><br>
                                                  </tt> <tt> Jan</tt><tt>=
<br>
                                                  </tt> <tt><br>
                                                  </tt> </blockquote>
                                              </div>
                                              <tt><br>
                                              </tt> </div>
                                          </blockquote>
                                          <p><tt><br>
                                            </tt> </p>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <tt><br>
                                </tt> </div>
                            </blockquote>
                            <p><tt><br>
                              </tt> </p>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <tt><br>
                  </tt></div>
              </div>
            </div>
          </blockquote>
        </div>
        <tt><br>
        </tt></div>
    </blockquote>
    <p><tt><br>
      </tt></p>
  </body>
</html>

--------------7F148C079F03C4A732FBA346--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019