On Friday, January 13, 2012 03:32:54 PM [email protected] did opine:
> On Fri, 13 Jan 2012, gene heskett wrote:
> > On Friday, January 13, 2012 12:55:02 PM andy pugh did opine:
> >> On 13 January 2012 11:16, <[email protected]> wrote:
> >>> I use pcb2gcode with gEDA files without any problems
> >>> Very good utility, easy to use
> >>
> >> As it claims to output EMC2-ready G-code, presumably it could be used
> >> as an EMC2 filter file, so that EMC2 can dimply open Gerbers?
> >
> > Except that it silently doesn't build here:
> >
> > [gene@coyote pcb2gcode-1.1.4]$ make
> > make all-recursive
> > make[1]: Entering directory `/home/gene/src/pcb2gcode-1.1.4'
> > Making all in man
> > make[2]: Entering directory `/home/gene/src/pcb2gcode-1.1.4/man'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/home/gene/src/pcb2gcode-1.1.4/man'
> > make[2]: Entering directory `/home/gene/src/pcb2gcode-1.1.4'
> > /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -L/usr/lib
> > -R/usr/lib -o pcb2gcode svg_exporter.o board.o drill.o
> > gerberimporter.o layer.o mill.o ngc_exporter.o surface.o options.o
> > main.o -pthread -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0
> > -lrt -lglib-2.0 -pthread -lgdkmm-2.4 - lgiomm-2.4 -lpangomm-1.4
> > -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0
> > -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 - lgdk_pixbuf-2.0
> > -lm -lcairo -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
> > -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgerbv -
> > lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> > -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0
> > -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
> > -lrt -lglib-2.0 -lboost_program_options-mt make[2]: Leaving
> > directory `/home/gene/src/pcb2gcode-1.1.4'
> > make[1]: Leaving directory `/home/gene/src/pcb2gcode-1.1.4'
>
> I do not know what libtools problem is, try this
>
> g++ -g -O2 -L/usr/lib -o pcb2gcode svg_exporter.o board.o drill.o
> gerberimporter.o layer.o mill.o ngc_exporter.o surface.o options.o
> main.o -pthread -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0
> -lrt -lglib-2.0 -pthread -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4
> -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0
> -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm
> -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
> -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread
> -lgerbv -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
> -lboost_program_options-mt
>
> Richard
That worked Richard, thank you.
This is the more expected output I think:
gene@coyote pcb2gcode-1.1.4]$ ./pcb2gcode
Importing front side... not specified
Importing back side... not specified
Importing outline... not specified
Internal Error: No layers prepared.
No drill file specified.
But, while the echo of the "sudo make install" says it put it in
/usr/local/bin, it is not there, so libtool is still puking.
>From the Makefile:
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
--mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit
$$?; \
} \
That line echos this to the screen:
/bin/sh ./libtool --mode=install /usr/bin/install -c pcb2gcode
'/usr/local/bin'
But I copied it by hand and that appears to work, a "pcb2gcode --help"
spits out a quite lengthy help screen.
Thanks Richard. I seem to be approaching that time when I had better
stop claiming that I know enough C to be dangerous as I obviously do
not anymore. :(
Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
Battle, n.:
A method of untying with the teeth a political knot that
will not yield to the tongue.
-- Ambrose Bierce
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users