[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: At least gnetlist 20030901 is required for m4-xxx options.
On 12/03/2010 09:39 AM, John Luciani wrote:
> When I run the command
>
> gsch2pcb --use-files --elements-dir /local/lan/pcb/packages --skip-m4
> ELE2_r0.sch
>
> I get the error message
>
> At least gnetlist 20030901 is required for m4-xxx options.
>
> I am on Ubuntu (Mavrick Merrkat) and used apt-get to install the tools.
> Using the --verbose option produces the output below.
>
> Any ideas?
>
> Thanks
I have just run into this same problem on two schematics. In both cases
they are something I started working on and then ignored for a long time.
I didn't tell gsch2pcb to skip the m4 libs but I did use the -f option.
gnetlist for some reason does not have a command line option that will
force it to print its version so my only clue to the version installed
is the yum database which seems to indicate that
geda-gnetlist-1.6.1-1.fc14-x86_64/ is installed. Which should be more
recent than 2003.
After a bit of divide and conquer action (cut a section out, run
gsch2pcb) I isolated the trouble to one part in one of the schematics.
It was a plain vanilla diode. I excised it and put it into its very own
schematic which produced:
v 20100214 2
C 40000 40000 0 0 0 title-B.sym
C 47500 46900 1 270 0 diode-1.sym
{
T 47100 46600 5 10 1 1 0 0 1
refdes=D15
T 48000 46100 5 10 1 1 0 0 1
value=1N4148
T 47500 46900 5 10 0 0 0 0 1
footprint=
T 47500 46900 5 10 0 0 0 0 1
footprint=ALF400
}
This has an extra "footprint" attribute that is blank. When I attempt to
edit the attributes in gschem this blank footprint is not visible.
I then checked the other schematic that was giving me trouble and a
quick grep revealed two blank footprint lines. I removed those
attributes using a text editor and then ran gsch2pcb again. This time it
worked.
So the problem appears to be caused by a duplicate and blank footprint
attribute.
This still leaves the question of how the blank footprint lines that
aren't visible to gschem appeared in the first place. Plus why this
error produced that particular error message.
--
David W. Schultz
http://home.earthlink.net/~david.schultz
"Life without stock is barely worth living..." Anthony Bourdain
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user