Mail Archives: geda-user/2017/02/17/14:40:40
This is a multi-part message in MIME format.
--------------F68E357DEEC1DF0E35023DBB
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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 <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
>>>
>>>
>>
>>
>
>
--------------F68E357DEEC1DF0E35023DBB
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">I agree that delivering '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_*' definitions
seems<br>
like an acceptable workaround to me.<br>
<br>
Best regards,<br>
Jan<br>
<br>
On 02/17/17 07:26 PM, Peter Clifton
(<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:petercjclifto=
n AT googlemail DOT com">petercjclifton AT googlemail DOT com</a>) [via <a class=3D"moz=
-txt-link-abbreviated" href=3D"mailto:geda-user AT delorie DOT com">geda-user AT de=
lorie.com</a>] wrote:<br>
</div>
<blockquote
cite=3D"mid:CAJXU7q-XaPhaXt=3DWcHrYXgZRyNLGrsjBs2s0S2efRFXYZ91h6g AT mail DOT gm=
ail.com"
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 moz-do-not-send=3D"true"
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">
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"m_-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>=
<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"h5"><tt><br>
</tt><tt><br>
<br>
</tt><tt>On 02/17/17 06:36 PM, Peter Clifton (<a
moz-do-not-send=3D"true"
class=3D"m_-6704214669881996947moz-txt-link-abbre=
viated"
href=3D"mailto:petercjclifton AT googlemail DOT com"
target=3D"_blank">petercjclifton AT googlemail DOT com</=
a><wbr>)
[via <a moz-do-not-send=3D"true"
class=3D"m_-6704214669881996947moz-txt-link-abbre=
viated"
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"h5">
<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/libgphoto2/=
issues/137"
target=3D"_blank">https://github.com/gphoto/<=
wbr>libgphoto2/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);co=
lor:rgb(0,0,0)">pkg-config
--modversion=C2=A0libgd</span></tt></div>
<div><tt><span
style=3D"background-color:rgb(240,240,240);co=
lor:rgb(0,0,0)"><br>
</span></tt></div>
<div><tt><span
style=3D"background-color:rgb(240,240,240);co=
lor:rgb(0,0,0)">output?</span></tt></div>
<div><tt><span
style=3D"background-color:rgb(240,240,240);co=
lor:rgb(0,0,0)"><br>
</span></tt></div>
<div><tt><span
style=3D"background-color:rgb(240,240,240);co=
lor: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 moz-do-not-send=3D"true"
href=3D"mailto:dambi AT tio DOT cz" target=3D"_bla=
nk">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_-6704214669881996947m_1802727900=
901258778moz-cite-prefix"><tt>Hi
Chad,</tt><tt><br>
</tt> <tt><br>
</tt><tt> that indeed helped, thanks :-)</t=
t><tt><br>
</tt> <tt><br>
</tt><tt> 4.0.0 now builds with gcc as
well as Oracle Solaris Studio,</tt><tt><b=
r>
</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_-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_-6704214669881996947m_1802727900901258778moz-txt-link-abbrevia=
ted"
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_-6704214669881996947m_1802727900901258778moz-txt-link-abbrevia=
ted"
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_-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"><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
moz-do-not-send=3D"true"
href=3D"mailto:dambi AT tio DOT cz"
target=3D"_blank">dambi AT tio DOT c=
z</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"><tt><span=
>On
02/15/17 08:45 PM, Bert
Timmerman (<a
moz-do-not-send=3D"true"
href=3D"mailto:bert.timmerm=
an AT xs4all DOT nl"
target=3D"_blank">bert.timm=
erman AT xs4all DOT nl</a>)
[via <a
moz-do-not-send=3D"true"
href=3D"mailto:geda-user AT de=
lorie.com"
target=3D"_blank">geda-user=
@delorie.com</a>]
wrote:<br>
<blockquote
class=3D"gmail_quote"
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)<b=
r>
</blockquote>
<br>
</span></tt><tt> +1</tt><tt><sp=
an><br>
<br>
<blockquote
class=3D"gmail_quote"
style=3D"margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"> <b=
r>
2) how many list members
have tried to build an run
the new version of pcb ?<br=
>
<br>
=C2=A0 (0 or +1 suffices)<b=
r>
</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><b=
r>
</tt> <tt> ...</tt><tt><br>
</tt> <tt> checking for
GDLIB... no</tt><tt><br>
</tt> <tt> configure: error:
Note: cannot find gdlib.</tt><t=
t><br>
</tt> <tt> This is required for
gcode, nelma, png HIDs</tt><tt>=
<br>
</tt> <tt> You may want to
review the following errors:</t=
t><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><t=
t><br>
</tt> <tt><br>
</tt> <tt> $ gdlib-config --all</=
tt><tt><br>
</tt> <tt> GD library=C2=A0 2.0.3=
5</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><t=
t><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><t=
t><br>
</tt> <tt> libdir:=C2=A0 =C2=A0 =C2=
=A0/usr/lib</tt><tt><br>
</tt> <tt> features:=C2=A0 =C2=A0=
GD_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 -ljpe=
g
-lfontconfig -lfreetype -lpng
-lz -lm" ./configure
--disable-gl
--disable-toporouter</tt><tt><b=
r>
</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><b=
r>
</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
moz-do-not-send=3D"true"
href=3D"http://tio.ddns.net/c=
onfig.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?<=
/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>
</blockquote>
<p><br>
</p>
</body>
</html>
--------------F68E357DEEC1DF0E35023DBB--
- Raw text -