Mail Archives: geda-user/2017/02/17/15:05:12
--001a11423f5829646a0548bf6a6b
Content-Type: text/plain; charset=UTF-8
Jan-
Thanks for your help debugging this.
Could you also try these two (note the first is slightly different than the
earlier command):
$ pkg-config --modversion gdlib
$ locate *.pc | grep gdlib
Thanks,
--Chad
On Fri, Feb 17, 2017 at 2:39 PM, Jan Damborsky <dambi AT tio DOT cz> wrote:
> I agree that delivering 'pkg-config' aware gdlib in Oracle Solaris
> would be the best solution.
>
> However, to do that, I would need to go and identify maintainer
> of library/gd package within Oracle (if there is any), then persuade
> that person to enrich the package with appropriate '.pc' file.
> Not sure how feasible that would be, though it would definitely not
> be a negligible effort.
>
> In light of that, feeding configure with 'GDLIB_*' definitions seems
> like an acceptable workaround to me.
>
> Best regards,
> Jan
>
>
> On 02/17/17 07:26 PM, Peter Clifton (petercjclifton AT googlemail DOT com) [via
> geda-user AT delorie 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
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--001a11423f5829646a0548bf6a6b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div>Jan-<br><br></div></div><div class=3D"gmail_extr=
a">Thanks for your help debugging this.<br><br></div><div class=3D"gmail_ex=
tra">Could you also try these two (note the first is slightly different tha=
n the earlier command):<br></div><div class=3D"gmail_extra">$ pkg-config --=
modversion gdlib<br></div><div class=3D"gmail_extra">$ locate *.pc | grep g=
dlib<br><br></div><div class=3D"gmail_extra">Thanks,<br></div><div class=3D=
"gmail_extra">--Chad<br></div><div class=3D"gmail_extra"><br><br><div class=
=3D"gmail_quote">On Fri, Feb 17, 2017 at 2:39 PM, Jan Damborsky <span dir=
=3D"ltr"><<a href=3D"mailto:dambi AT tio DOT cz" target=3D"_blank">dambi AT tio DOT cz=
</a>></span> wrote:<br><blockquote class=3D"gmail_quote" 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_3339179643435621513moz-cite-prefix">I agree that delive=
ring 'pkg-config'
aware gdlib in Oracle Solaris<br>
would be the best solution.<br>
<br>
However, to do that, I would need to go and identify maintainer<br>
of library/gd package within Oracle (if there is any), then
persuade<br>
that person to enrich the package with appropriate '.pc' file=
.<br>
Not sure how feasible that would be, though it would definitely
not<br>
be a negligible effort.<br>
<br>
In light of that, feeding configure with 'GDLIB_*' definition=
s
seems<br>
like an acceptable workaround to me.<br>
<br>
Best regards,<br>
Jan<div><div class=3D"h5"><br>
<br>
On 02/17/17 07:26 PM, Peter Clifton
(<a class=3D"m_3339179643435621513moz-txt-link-abbreviated" href=3D"m=
ailto:petercjclifton AT googlemail DOT com" target=3D"_blank">petercjclifton AT googl=
email.com</a><wbr>) [via <a class=3D"m_3339179643435621513moz-txt-link-abbr=
eviated" href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">geda-user@=
delorie.com</a>] wrote:<br>
</div></div></div><div><div class=3D"h5">
<blockquote type=3D"cite">
<div dir=3D"ltr">That might well be the root-cause of the PCB
configure 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 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?</div>
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
Peter</div>
</div>
<div class=3D"gmail_extra"><br>
<div class=3D"gmail_quote">On 17 February 2017 at 18:09, Jan
Damborsky <span dir=3D"ltr"><<a href=3D"mailto:dambi AT tio DOT cz" t=
arget=3D"_blank">dambi AT tio DOT cz</a>></span>
wrote:<br>
<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_3339179643435621513m_-6704214669881996947moz-=
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><t=
t><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&qu=
ot;
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_3339179643435621513h5"><tt><br>
</tt><tt><br>
<br>
</tt><tt>On 02/17/17 06:36 PM, Peter Clifton (<a class=
=3D"m_3339179643435621513m_-6704214669881996947moz-txt-link-abbreviated" hr=
ef=3D"mailto:petercjclifton AT googlemail DOT com" target=3D"_blank">petercjclifto=
n AT googlemail DOT com</a><wbr>)
[via <a class=3D"m_3339179643435621513m_-670421466988=
1996947moz-txt-link-abbreviated" href=3D"mailto:geda-user AT delorie DOT com" targ=
et=3D"_blank">geda-user AT delorie DOT com</a>]
wrote:</tt><tt><br>
</tt></div>
</div>
</div>
<div>
<div class=3D"m_3339179643435621513h5">
<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/libgpho=
to2/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:dambi 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;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"m_3339179643435621513m_-670421466=
9881996947m_1802727900901258778moz-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_3339179643435621513m_-67042=
14669881996947h5"><tt><br>
</tt> <tt><br>
</tt><tt> On 02/17/17 02:47 PM, Chad
Parker (</tt><tt><a class=3D"m_33391796=
43435621513m_-6704214669881996947m_1802727900901258778moz-txt-link-abbrevia=
ted" href=3D"mailto:parker DOT charles AT gmail DOT com" target=3D"_blank">parker.char=
les AT gmail DOT com</a></tt><tt>)
[via </tt><tt><a class=3D"m_33391796434=
35621513m_-6704214669881996947m_1802727900901258778moz-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_3339179643435621513m_-6704214=
669881996947h5">
<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 "-lg=
d"
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"><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"ltr=
"><<a href=3D"mailto:dambi 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" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><tt><s=
pan>On
02/15/17 08:45 PM, Bert
Timmerman (<a href=3D"mailto:be=
rt DOT timmerman AT xs4all DOT nl" target=3D"_blank">bert DOT timmerman AT xs4all DOT nl</a>)
[via <a href=3D"mailto:geda-use=
r AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>]
wrote:<br>
<blockquote class=3D"gmail_quot=
e" style=3D"margin: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_quot=
e" style=3D"margin: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><b=
r>
</tt> <tt> You may want to
review the following errors:</tt>=
<tt><br>
</tt> <tt> No package 'gdlib=
9;
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/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 -ljpeg -lfontconfig
-lfreetype -lpng -lz -lm</tt><tt>=
<br>
</tt> <tt> libdir:=C2=A0 =C2=A0 =C2=
=A0/usr/lib</tt><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/inclu=
de/g</tt><tt><wbr>d2"
GDLIB_LIBS=3D"-lXpm -lX11 -l=
jpeg
-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.</t=
t><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
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><br>
</tt> <tt><br>
</tt> <tt> Full config.log
available at</tt><tt><br>
</tt> <tt><br>
</tt> <tt><a href=3D"http://tio.ddn=
s.net/config.log" 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?</t=
t><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>
</blockquote>
<p><br>
</p>
</div></div></div>
</blockquote></div><br></div></div>
--001a11423f5829646a0548bf6a6b--
- Raw text -