Mail Archives: geda-user/2016/07/29/07:35:44
--Apple-Mail=_F6380BB7-CCC6-43A5-9D78-13684BDD7A54
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Hi igor2,
> On 29 Jul 2016, at 12:01, gedau AT igor2 DOT repo DOT hu wrote:
>=20
> On Fri, 29 Jul 2016, Chris Smith (space DOT dandy AT icloud DOT com =
<mailto:space DOT dandy AT icloud DOT com>) [via geda-user AT delorie DOT com =
<mailto:geda-user AT delorie DOT com>] wrote:
>=20
>>=20
>> pcb-rnd runs, but isn?t quite right. There are several GTK widgets =
missing from the various preferences dialogs ? however I suspect this is =
due to my GTK installation rather than pcb-rnd.
>=20
> Could you please send me a screenshot of the broken widgets in =
private?
>=20
> There's been a lot of changes to the preferences window content, =
becuase of the conf rewrite, which is not finished yet. The original =
preferences window stuff, called "User's PoV" should be almost fully =
functional, without anything missing. The "Config's PoV" subtree is =
unfinished; it has the frame and the basic structures but no proper =
widgets to change settings.
Ok, that would explain it, it=E2=80=99s only the Config PoV that has =
issues.
>> Now for the problems. I have tried compiling on Linux (Ubuntu 11.10 =
and 15.04) without success. Configuration and compilation go well, but =
there are many errors at the linking stage, e.g.:
>>=20
>> ../src_plugins/hid_gtk/gtk_conf_list.o: In function `button_ins_cb':
>> gtk_conf_list.c:(.text+0x1f0): undefined reference to =
`gtk_tree_view_get_type'
>> gtk_conf_list.c:(.text+0x1ff): undefined reference to =
`g_type_check_instance_cast'
>> gtk_conf_list.c:(.text+0x207): undefined reference to =
`gtk_tree_view_get_selection'
>>=20
>> As far as I can tell I have all the GTK libraries installed, and in =
fact I have compiled mainline pcb on my 11.10 install without issues in =
the past.
>=20
> The code section referred in the error message is new in pcb-rnd, that =
explains why you don't have this problem with mainline. It looks a bit =
tricky, as the code doesn't reference these calls directly. I will need =
some time to debug this.
>=20
> Could you please tell me the exact version of the gtk library you =
tried with (I think dpkg -l would show versions)?
libgtk2.0-0 2.24.6-0ubuntu5
libgtk2.0-bin 2.24.6-0ubuntu5
libgtk2.0-cil 2.12.10-2ubuntu1
libgtk2.0-common 2.24.6-0ubuntu5
libgtk2.0-dev 2.24.6-0ubuntu5
>>=20
>> Other notes I have made:
>>=20
>> 1. M4 seems to be a requirement, but I?m not sure for which options.
>=20
> There shouldn't be any M4 dependency in pcb-rnd: ./configure is in C, =
the build system uses make, shell and awk. Dynamic/parametric footprint =
generation is not done via (hardwired/mandatory) M4 either.
>=20
> If you see any reference for M4 as requirement or any code that =
doesn't compile or work without M4, please let me know the location so I =
can fix it.
./configure --prefix=3D/usr/local --buildin-hid_gtk --disable-gd =
--disable-gpmi
[snip]
Checking for flex... Not found.
Checking for bison... Not found.
Generating Makefile.conf (0)
Generating gts/Makefile (0)
Generating pcb/Makefile (0)
Generating pcb/buildin (0)
Generating util/gsch2pcb-rnd/Makefile (0)
Runtime error at config.auto.h.in 236:1: variable =
'libs/script/m4/bin/path' does not exist
Generating config.auto.h (-1)
Error generating some of the files
>> 2. Bison is required for -io_pcb and -import_edif options.
>=20
> Correct. I already have the generated files commited, the goal is that =
you should be able to build without bison & flex, these tools should be =
needed only for those developers who want to change the formats.
>=20
> I think it works with io_pcb, but I think I forgot to make the changes =
to import_edif. Will look into this in ~6 hours. Will do test builds on =
a bison-free machine. Thanks for reporting this.
For import_edif:
yacc ../src_plugins/import_edif/edif.y=20
make[1]: yacc: Command not found
<builtin>: recipe for target '../src_plugins/import_edif/edif.c' failed
I could have sworn I got an error with io_pcb too, but I can=E2=80=99t =
duplicate it now.
Regards,
Chris
=E2=80=94
Chris Smith <space DOT dandy AT icloud DOT com>
--Apple-Mail=_F6380BB7-CCC6-43A5-9D78-13684BDD7A54
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi igor2,<div class=3D""><br class=3D""><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On 29 Jul 2016, at 12:01, <a =
href=3D"mailto:gedau AT igor2 DOT repo DOT hu" class=3D"">gedau AT igor2 DOT repo DOT hu</a> =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Fri, 29 Jul 2016, Chris Smith (</span><a =
href=3D"mailto:space DOT dandy AT icloud DOT com" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">space DOT dandy AT icloud DOT com</a><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">) [via<span =
class=3D"Apple-converted-space"> </span></span><a =
href=3D"mailto:geda-user AT delorie DOT com" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">geda-user AT delorie DOT com</a><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">] wrote:</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><blockquote type=3D"cite" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br class=3D"">pcb-rnd runs, but isn?t quite right. =
There are several GTK widgets missing from the various preferences =
dialogs ? however I suspect this is due to my GTK installation rather =
than pcb-rnd.<br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Could you please send me a screenshot of =
the broken widgets in private?</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">There's been a lot of changes to the preferences =
window content, becuase of the conf rewrite, which is not finished yet. =
The original preferences window stuff, called "User's PoV" should be =
almost fully functional, without anything missing. The "Config's PoV" =
subtree is unfinished; it has the frame and the basic structures but no =
proper widgets to change settings.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""></div></blockquote><div><br class=3D""></div><div>Ok, =
that would explain it, it=E2=80=99s only the Config PoV that has =
issues.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">Now for the problems. I have tried compiling on Linux =
(Ubuntu 11.10 and 15.04) without success. Configuration and =
compilation go well, but there are many errors at the linking stage, =
e.g.:<br class=3D""><br class=3D"">../src_plugins/hid_gtk/gtk_conf_list.o:=
In function `button_ins_cb':<br class=3D"">gtk_conf_list.c:(.text+0x1f0):=
undefined reference to `gtk_tree_view_get_type'<br =
class=3D"">gtk_conf_list.c:(.text+0x1ff): undefined reference to =
`g_type_check_instance_cast'<br class=3D"">gtk_conf_list.c:(.text+0x207): =
undefined reference to `gtk_tree_view_get_selection'<br class=3D""><br =
class=3D"">As far as I can tell I have all the GTK libraries installed, =
and in fact I have compiled mainline pcb on my 11.10 install without =
issues in the past.<br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">The code section referred in the error =
message is new in pcb-rnd, that explains why you don't have this problem =
with mainline. It looks a bit tricky, as the code doesn't reference =
these calls directly. I will need some time to debug this.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Could you please tell me the exact =
version of the gtk library you tried with (I think dpkg -l would show =
versions)?</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br =
class=3D""></div><div><div>libgtk2.0-0<span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> =
</span>2.24.6-0ubuntu5</div><div>libgtk2.0-bin<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>2.24.6-0ubuntu5</div><div>libgtk2.0-cil<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>2.12.10-2ubuntu1</div><div>libgtk2.0-common<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>2.24.6-0ubuntu5</div><div>libgtk2.0-dev<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>2.24.6-0ubuntu5</div><div class=3D""><br =
class=3D""></div></div><blockquote type=3D"cite" class=3D""><div =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br class=3D"">Other notes I have made:<br class=3D""><br =
class=3D"">1. M4 seems to be a requirement, but I?m not sure for which =
options.<br class=3D""></blockquote><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">There shouldn't be any M4 dependency in =
pcb-rnd: ./configure is in C, the build system uses make, shell and awk. =
Dynamic/parametric footprint generation is not done via =
(hardwired/mandatory) M4 either.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">If you see any reference for M4 as requirement =
or any code that doesn't compile or work without M4, please let me know =
the location so I can fix it.</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>./configure =
--prefix=3D/usr/local --buildin-hid_gtk --disable-gd =
--disable-gpmi</div><div><br =
class=3D""></div><div>[snip]</div><div><div>Checking for flex... Not =
found.</div><div>Checking for bison... Not found.</div><div>Generating =
Makefile.conf (0)</div><div>Generating gts/Makefile =
(0)</div><div>Generating pcb/Makefile (0)</div><div>Generating =
pcb/buildin (0)</div><div>Generating util/gsch2pcb-rnd/Makefile =
(0)</div><div>Runtime error at config.auto.h.in 236:1: variable =
'libs/script/m4/bin/path' does not exist</div><div>Generating =
config.auto.h (-1)</div><div>Error generating some of the =
files</div><div><br class=3D""></div></div><blockquote type=3D"cite" =
class=3D""><div class=3D""><blockquote type=3D"cite" style=3D"font-family:=
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">2. Bison is required for -io_pcb and -import_edif =
options.<br class=3D""></blockquote><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Correct. I already have the generated =
files commited, the goal is that you should be able to build without =
bison & flex, these tools should be needed only for those developers =
who want to change the formats.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">I think it works with io_pcb, but I think I =
forgot to make the changes to import_edif. Will look into this in ~6 =
hours. Will do test builds on a bison-free machine. Thanks for reporting =
this.</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div>For =
import_edif:</div><div><div>yacc =
../src_plugins/import_edif/edif.y </div><div>make[1]: yacc: =
Command not found</div><div><builtin>: recipe for target =
'../src_plugins/import_edif/edif.c' failed</div><div class=3D""><br =
class=3D""></div><div class=3D"">I could have sworn I got an error with =
io_pcb too, but I can=E2=80=99t duplicate it now.</div><div class=3D""><br=
class=3D""></div><div class=3D"">Regards,</div></div><div class=3D"">
Chris<br class=3D"">=E2=80=94<br class=3D"">Chris Smith <<a =
href=3D"mailto:space DOT dandy AT icloud DOT com" =
class=3D"">space DOT dandy AT icloud DOT com</a>><br class=3D""><br class=3D"">
</div>
<br class=3D""></div></body></html>=
--Apple-Mail=_F6380BB7-CCC6-43A5-9D78-13684BDD7A54--
- Raw text -