[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gsch2pcb problem - latest CVS or latest Suse 10.1 upgrade?



KURT PETERS wrote:
I made some minor mods to a gschem file and ran gsch2pcb (I stupidly installed the cvs version before doing this AND updated Suse 10.1), and got the following:


--------
Running command:
gnetlist -g gsch2pcb -o mnaxbowout.new.pcb mnaxbow_1.sch mnaxbow_2.sch mnaxbow_3.sch mnaxbow_4.sch mnaxbow_5.sch
--------
gEDA/gnetlist version 20061020
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.


Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.


Loading schematic [/home/kurt/gedasvn/trunk/xbowmna/mnaxbow_1.sch]
Loading schematic [/home/kurt/gedasvn/trunk/xbowmna/mnaxbow_2.sch]
Loading schematic [/home/kurt/gedasvn/trunk/xbowmna/mnaxbow_3.sch]
Loading schematic [/home/kurt/gedasvn/trunk/xbowmna/mnaxbow_4.sch]
Loading schematic [/home/kurt/gedasvn/trunk/xbowmna/mnaxbow_5.sch]
stdin:2: /usr/bin/m4: Bad expression in eval: /2


grep footprint= mnaxbo2_{1,2,3,4,5}.sch | sort -u

to get a list of all the footprints. My guess is that somewhere in there is something that conflicts with a variable used by the m4 footprints or perhaps there is a name that just isn't compatible.

If you want, you can post that list.

Your other option, if you're already building geda/gaf from cvs is to build a brand new gsch2pcb and gnetlist. I added an option last night to gsch2pcb to totally disable using m4 for footprints. Actually, m4 is disabled by default and you'd have to use --use-m4 or put use-m4 in your project file. So my guess is that just updating gnetlist and gsch2pcb will make your problem go away.

-Dan




_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user