Mail Archives: geda-user/2017/02/17/13:28:59
--001a1137d9ec9ef2210548be12ec
Content-Type: text/plain; charset=UTF-8
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>
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> 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) [via
>> 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
>>
>>
>> Jan:
>>
>> What does this command:
>>
>> pkg-config --modversion libgd
>>
>> output?
>>
>>
>>
>> On 17 February 2017 at 17:20, Jan Damborsky <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) [via
>>> 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> wrote:
>>>
>>>> On 02/15/17 08:45 PM, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via
>>>> 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
>>>>
>>>>
>>>
>>>
>>
>>
>
--001a1137d9ec9ef2210548be12ec
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Do you have=C2=A0<a href=3D"https://www.opencsw.org/packag=
e/libgd_dev/">https://www.opencsw.org/package/libgd_dev/</a> installed?<div=
><br></div><div>Peter</div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On 17 February 2017 at 18:26, Peter Clifton <span dir=3D"l=
tr"><<a href=3D"mailto:petercjclifton AT googlemail DOT com" target=3D"_blank">=
petercjclifton AT googlemail DOT com</a>></span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div dir=3D"ltr">That might well be the root-cause of the PCB co=
nfigure being unhappy with GD.<div><br></div><div>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.</div><div><br></div><div>Rather th=
an 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-confi=
g support on Solaris?</div><div><br></div><div>Kind regards,</div><div><br>=
Peter</div></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On 17 February 2017 at 18:09, Jan D=
amborsky <span dir=3D"ltr"><<a href=3D"mailto:dambi AT tio DOT cz" target=3D"_b=
lank">dambi AT tio DOT cz</a>></span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=20
=20
=20
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"m_6772079666013099597m_-6704214669881996947moz-cite-prefi=
x"><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<br>
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><tt><br>
</tt><tt>=C2=A0 =C2=A0=C2=A0 on Oracle Solaris 11</tt><div><div class=
=3D"m_6772079666013099597h5"><tt><br>
</tt><tt><br>
<br>
</tt><tt>On 02/17/17 06:36 PM, Peter Clifton
(<a class=3D"m_6772079666013099597m_-6704214669881996947moz-txt-lin=
k-abbreviated" href=3D"mailto:petercjclifton AT googlemail DOT com" target=3D"_bla=
nk">petercjclifton AT googlemail DOT com</a><wbr>) [via <a class=3D"m_677207966601=
3099597m_-6704214669881996947moz-txt-link-abbreviated" href=3D"mailto:geda-=
user AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>]
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 href=3D"https://github.com/gphoto/libgphoto2/issues/137=
" target=3D"_blank">https://github.com/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></div>
<div><tt><br>
</tt></div>
<div><tt><span style=3D"background-color:rgb(240,240,240);color:rgb=
(0,0,0)">pkg-config
--modversion=C2=A0libgd</span></tt></div>
<div><tt><span style=3D"background-color:rgb(240,240,240);color:rgb=
(0,0,0)"><br>
</span></tt></div>
<div><tt><span style=3D"background-color:rgb(240,240,240);color:rgb=
(0,0,0)">output?</span></tt></div>
<div><tt><span style=3D"background-color:rgb(240,240,240);color:rgb=
(0,0,0)"><br>
</span></tt></div>
<div><tt><span style=3D"background-color:rgb(240,240,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"><<a href=3D"mailto:damb=
i AT tio DOT cz" target=3D"_blank">dambi AT tio DOT cz</a>></span></tt><tt>
wrote:</tt><tt><br>
</tt>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"m_6772079666013099597m_-6704214669881996947m_18=
02727900901258778moz-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_6772079666013099597m_-6704214669881996947=
h5"><tt><br>
</tt> <tt><br>
</tt><tt> On 02/17/17 02:47 PM, Chad Parker (</tt><tt><=
a class=3D"m_6772079666013099597m_-6704214669881996947m_1802727900901258778=
moz-txt-link-abbreviated" href=3D"mailto:parker DOT charles AT gmail DOT com" target=
=3D"_blank">parker DOT charles AT gmail DOT com</a></tt><tt>)
[via </tt><tt><a class=3D"m_6772079666013099597m_-670=
4214669881996947m_1802727900901258778moz-txt-link-abbreviated" href=3D"mail=
to:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT 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 you=
r
definition of GDLIB_LIBS?</tt><tt><br>
</tt> <tt><br>
</tt> </div>
<tt>--Chad</tt><tt><br>
</tt> </div>
<div class=3D"gmail_extra"><tt><br>
</tt>
<div class=3D"gmail_quote"><tt>On Fri, Feb 17, 2017
at 4:41 AM, Jan Damborsky </tt><tt><span dir=3D"l=
tr"><<a 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"><tt><span>On 02/15/1=
7
08:45 PM, Bert Timmerman (<a href=3D"mailto:b=
ert DOT timmerman AT xs4all DOT nl" target=3D"_blank">bert DOT timmerman AT xs4all DOT nl</a>)
[via <a href=3D"mailto:geda-user AT delorie DOT com"=
target=3D"_blank">geda-user AT delorie DOT com</a>]
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left: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:<br>
<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_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left: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><br>
</tt> <tt><br>
</tt> <tt> I have libgd installed on the
system:</tt><tt><br>
</tt> <tt><br>
</tt> <tt> $ gdlib-config --all</tt><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/incl=
ude/gd2</tt><tt><br>
</tt> <tt> ldflags:=C2=A0 =C2=A0 =C2=A0 -L/usr/li=
b</tt><tt><br>
</tt> <tt> libs:=C2=A0 =C2=A0 =C2=A0 =C2=A0-lXpm =
-lX11 -ljpeg
-lfontconfig -lfreetype -lpng -lz -lm</tt><tt><=
br>
</tt> <tt> libdir:=C2=A0 =C2=A0 =C2=A0/usr/lib</t=
t><tt><br>
</tt> <tt> features:=C2=A0 =C2=A0GD_XPM GD_JPEG
GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF
GD_GIFANIM GD_OPENPOLYGON</tt><tt><br>
</tt> <tt> $</tt><tt><br>
</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/usr/include/=
g</tt><tt><wbr>d2"
GDLIB_LIBS=3D"-lXpm -lX11 -ljpeg -lfontcon=
fig
-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><br>
</tt> <tt> gif export with --disable-gif</tt><tt>=
<br>
</tt> <tt> $</tt><tt><br>
</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|grep
gdImageGif$</tt><tt><br>
</tt> <tt> [183]=C2=A0 =C2=A0|=C2=A0 =C2=A0 14898=
0|=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><br>
</tt> <tt><br>
</tt> <tt> Full config.log available at</tt><tt><=
br>
</tt> <tt><br>
</tt> <tt><a href=3D"http://tio.ddns.net/config.l=
og" rel=3D"noreferrer" target=3D"_blank">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><br></div>
</div></div></blockquote></div><br></div>
--001a1137d9ec9ef2210548be12ec--
- Raw text -