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

Re: gEDA-user: PCB, configure: error: batch is not a valid gui



OK, pcb snapshot 20081128 compiles and works without GUI after

cp  src/hid/gtk/hid.conf  src/hid/batch/

I guess the Gentoo quality warning is a result of missing

#include misc.h

in hid/batch/batch.c or similar. There is a message
"unknown action `PointCursor'"?

stefan@AMD64-X2 ~/gedatest/DAD $ pcb -x png --ben-mode --dpi 450 b1.pcb
b1.png
Looking for default_font in .
Can't open ./default_font for reading
Looking for default_font in /usr/bin/../share/pcb
Found default_font in /usr/bin/../share/pcb
unknown action `PointCursor'
unknown action `PointCursor'
unknown action `PointCursor'
stefan@AMD64-X2 ~/gedatest/DAD $ ls -l

stefan@AMD64-X2 ~/gedatest/DAD $ ldd /usr/bin/pcb
	linux-vdso.so.1 =>  (0x00007fffc0dfe000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fa3b88b7000)
	libm.so.6 => /lib/libm.so.6 (0x00007fa3b8636000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007fa3b8414000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fa3b81ef000)
	libz.so.1 => /lib/libz.so.1 (0x00007fa3b8ba2000)
	libgd.so.2 => /usr/lib/libgd.so.2 (0x00007fa3b7fb1000)
	libc.so.6 => /lib/libc.so.6 (0x00007fa3b7c69000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa3b8abb000)

Am Freitag, den 06.03.2009, 16:00 +0100 schrieb Stefan Salewski:

> > >
> > http://www.seul.org/pipermail/geda-announce/2008-November/thread.html
> > > 
> > > is broken.
> > 
> > 
> > thats because when that file was added it didn't get added to the list 
> > of files which go into the distribution file.  I fixed it in git this 
> > afternoon and although I didn't fix my release procedure I left a big 
> > note in the procedure stating what needs fixing up to catch errors like 
> > this in the future.
> > 
> > -Dan
> > 
> > 
> 
> After inclusion of this patch
> 
> # in current snapshot 20081128 a file src/hid/batch/hid.conf is missing
> src_unpack() {
> 	unpack ${A}
> 	cd "${S}"
> 	cp  src/hid/gtk/hid.conf  src/hid/batch/
> }
> 
> it compiles fine, but I get some quality warnings. May this be an
> indication for more missing files (i.e. header files)?
> 
> 
>  * QA Notice: Package has poor programming practices which may compile
>  *            fine but exhibit random runtime failures.
>  * hid/batch/batch.c:65: warning: implicit declaration of function
> ‘print_actions’
>  * hid/batch/batch.c:85: warning: implicit declaration of function
> ‘GetLayerGroupNumberByNumber’
>  * hid/batch/batch.c:161: warning: implicit declaration of function
> ‘isatty’
>  * hid/batch/batch.c:190: warning: implicit declaration of function
> ‘hid_parse_command_line’
>  * hid/batch/batch.c:506: warning: implicit declaration of function
> ‘hid_register_hid’
> 
> 




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