X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=yslMAp3iQwLVP/NrlVBOat+L1uNX8rDG8+IY2tmNoAQ=; b=lsDqokTJCEdE9cK3et19M/hD1Mch5ll+infl3iyCS7T/3Tf+OubtDTQpxWR77iVGf9 T4RGhFU8lB1wIoJKDGUEqFt1UHI3RPW/OkJ7I28ykRJoqlQFJ0qHiOGcILsEZE9fMXbQ IVbhSv0ty1jYo3mHptAMRDc1r1TmvAn+Yk7TNI/yTu7NhCm4VKZ4aVD8fmo5wlruPQ6Q LvKepYEcOg27nj72kwG0yM/CKkz/dVTGQbwB1UEAx3iSxEgN5KorCOfGN+sjcKy49dvH 2qAaMF8vohzEebz8dIL6QKdUNT7Dqt7GLWm3WPQZx0b5+K04XkmCO90MoHBathsLCitX FygA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=yslMAp3iQwLVP/NrlVBOat+L1uNX8rDG8+IY2tmNoAQ=; b=m5bSJVcBQZuOTYwfmtPG4IGkIntYHr8jKu+2dqZFJvvF3NUcnG5DdZbsLwBtFBTgnJ gkyrYe869XZnPSiegTtbSgZBY8o/kgaBTSfo58Ok5WgjNha2WucF+tpzS+4nzH9082Dr +8KVQtqMdGr0WsCkD4E4rjFFjZ/mh0QBNazBp3CtAEBZ5GKLTT3c1fFaHcUO9AJ5bGzz WRlsUT7xEyvi0HNaJ8HHmLo4t9s0kzYurw/ar3Ke1Pyw7XbPux1KbO1gRz1eB0tquv/H wFz3n6JJBFlhHej8DS6wSk69/MDJvk6DihoPHiVzSxjVQKySTQcNTn1t2n5FIB1VnzGe hGAA== X-Gm-Message-State: AMke39muJqx58kK6lJuvFbSaOZX1ZHsRJsWca+rAH7zPWGnJWZIhzGioFAVdo65jzYReKfXT9Suu6p1qcWMPjw== X-Received: by 10.223.154.162 with SMTP id a31mr4271235wrc.145.1487369164667; Fri, 17 Feb 2017 14:06:04 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <15ce27d2-54a2-6c76-2962-d78178fafc26@tio.cz> References: <58A4AFF5 DOT 3040008 AT xs4all DOT nl> <7d12886d-a802-d5e3-1abf-b113e436a5ff AT tio DOT cz> <501527a2-ab82-4795-f8b5-2bb7a0795421 AT tio DOT cz> <44d9173e-c265-c444-210d-ae0fecea4b9f AT tio DOT cz> <49fc9f73-b933-1d8e-f290-7c9aa6289ca7 AT tio DOT cz> <15ce27d2-54a2-6c76-2962-d78178fafc26 AT tio DOT cz> From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 17 Feb 2017 17:06:04 -0500 Message-ID: Subject: Re: [geda-user] RFC feedback on release pcb-4.0.0 requested To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=f403045f546ab5c60e0548c11e59 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 Precedence: bulk --f403045f546ab5c60e0548c11e59 Content-Type: text/plain; charset=UTF-8 Jan- Thanks again. Now we know that it's not just hiding somewhere we didn't expect. Peter / anyone else who understands autotools- Is there a way that we can set up configure such that is looks for the pkg-config first, but falls back to the gdlib-config style configuration if pkg-config fails? Thanks, --Chad On Fri, Feb 17, 2017 at 4:10 PM, Jan Damborsky wrote: > Chad, you are welcome. > > Please see below. > > Cheers, > Jan > > $ pkg-config --modversion gdlib > Package gdlib was not found in the pkg-config search path. > Perhaps you should add the directory containing `gdlib.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gdlib' found > $ sudo updatedb -o /vdata/mlocate.db > $ locate -d /vdata/mlocate.db '*.pc' | wc -l > 5661 > $ locate -d /vdata/mlocate.db '*.pc' | grep gdlib > $ > > > > On 02/17/17 09:03 PM, Chad Parker (parker DOT charles AT gmail DOT com) [via > geda-user AT delorie DOT com] wrote: > > 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 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 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 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 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 >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > --f403045f546ab5c60e0548c11e59 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Jan-
Thanks again. Now w= e know that it's not just hiding somewhere we didn't expect.
Peter / anyone else who understands autotools-
Is there a w= ay that we can set up configure such that is looks for the pkg-config first= , but falls back to the gdlib-config style configuration if pkg-config fail= s?

Thanks,
--Chad

On Fri, Feb 17, 2017 at 4:10 PM, Jan Dambor= sky <dambi AT tio DOT cz> wrote:
=20 =20 =20
Chad, you are welco= me.

Please see below.

Cheers,
Jan

$ pkg-config --modversion gdlib
Package gdlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdlib' found
$ sudo updatedb -o /vdata/mlocate.db
$ locate -d /vdata/mlocate.db '*.pc' | wc -l
=C2=A0=C2=A0=C2=A0 5661
$ locate -d /vdata/mlocate.db '*.pc' | grep gdlib
$



On 02/17/17 09:03 PM, Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com] wr= ote:
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 googlem= ail.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'<= tt>
to the PKG_CONFIG_PATH environment variable
No package 'libgd' found
$

It fails, because IPS (*) package delivering libgd
does not contain 'pc' file:
<= tt>

$ pkg contents library/gd | grep pc
$

Jan

(*) IPS stands for "Image Packaging System" which is packaging system used
=C2=A0 =C2=A0=C2=A0 on Oracle Sola= ris 11

On 17 February 2017 at 17:20, Jan Damborsky <dambi AT tio DOT cz&= gt; 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&= quot; 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 xs4a= ll.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 ?

=C2=A0 (0 or +1 suffices)

+1=


2) how many list members have tried to build an run the new version of pcb ?

=C2=A0 (0 or +1 suffices)

I run pcb on Oracle Solaris 11, so tried to build 4.0.0 there, but it failedduringconfi= gure phase in following way:

$ ./configure --disable-gl --disable-toporou= ter
...=
checking for GDLIB... no<= tt>
configure: error: Note: cannot find gdlib. This is required for gcode, nelma, png HIDs
You may want to review the following errors:<= br> No package 'gdlib' f= ound
$

I have libgd installed on the system:<= tt>

$ gdlib-config --all GD library=C2=A0 2.0.35 includedir: /usr/include/gd2<= /tt>
cflags:=C2=A0 =C2= =A0 =C2=A0-I/usr/incl= ude/gd2
ldflags:=C2=A0 = =C2=A0 =C2=A0 -L/usr/lib
libs:=C2=A0 =C2= =A0 =C2=A0 =C2=A0-lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm
libdir:=C2=A0 =C2= =A0 =C2=A0/usr/lib

features:=C2=A0 =C2=A0GD_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:<= tt>

$ GDLIB_CFLAGS=3D&q= uot;-I/usr/include/gd2" GDLIB_LIBS=3D"-lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm= " ./configure --disable-gl --disable-toporou= ter
...=
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<= br> gif export with --disable-gif
$

I verified that the library does providegdImageGif= ():

$ nm /usr/lib/libgd.so|grep gdImageGif$
[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>
$

Full config.log available at=

ht= tp://tio.ddns.net/config.log

Could you please let me know what I may be missing?=

Thank you,
Jan=










--f403045f546ab5c60e0548c11e59--