Mail Archives: geda-user/2017/02/17/13:11:15
This is a multi-part message in MIME format.
--------------7330581997EB8975F6E988C2
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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 <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
>>
>>
>
>
--------------7330581997EB8975F6E988C2
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>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><tt><br>
</tt><tt><br>
<br>
</tt><tt>On 02/17/17 06:36 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:CAJXU7q-r23EmTiveCaJQ0LDaMr+w4csRuO_zXp-uMgoYQH2a8g AT mail DOT gmai=
l.com"
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">ht=
tps://github.com/gphoto/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);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
moz-do-not-send=3D"true" 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_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"h5"><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_1802727900901258778moz-txt-link-abbrev=
iated"
href=3D"mailto:parker DOT charles AT gmail DOT com"
target=3D"_blank">parker DOT charles AT gmail DOT com</a></t=
t><tt>)
[via </tt><tt><a moz-do-not-send=3D"true"
class=3D"m_1802727900901258778moz-txt-link-abbrev=
iated"
href=3D"mailto: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"h5">
<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"_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"><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 n=
l</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 DOT com</=
a>]
wrote:<br>
<blockquote class=3D"gmail_quote"
style=3D"margin:0 0 0 .8ex;border-left:1p=
x
#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"margin:0 0 0 .8ex;border-left:1p=
x
#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><b=
r>
</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/in=
clude/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-lXp=
m -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/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><b=
r>
</tt> <tt> checking for gdImageGif... no</tt><t=
t><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><t=
t><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 148=
980|=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/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?</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>
</body>
</html>
--------------7330581997EB8975F6E988C2--
- Raw text -