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

Re: gEDA-user: pcb HID has been merged!



OK, the problem seems to be that you put the following stuff into
src/Makefile.am: 

# Make needs to know this before automake builds the .deps file,
# otherwise it won't exist the first time through.
hid/common/hidinit.o : hid/common/hidlist.h


This made the "make" stuff want to look for a
src/.deps/hid/common/whatever file, which doesn't exist.   I got rid
of your line, and put hidlist.h into the pcb_bin_SOURCES  instead.  I
don't know if this is the right thing to do, but it allowed me to
compile the rest of the way until I hit this error:


XENVIRONMENT=./Xdefaults.tgif true -print -color -eps ./pad.obj
ps2pdf ./pad.eps ./pad.pdf
Error: /undefinedfilename in (./pad.eps)
Operand stack:
 
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push
--nostringval--   --nostringval--
Dictionary stack:
   --dict:1065/1123(ro)(G)--   --dict:0/20(G)--   --dict:88/200(L)--
Current allocation mode is local
Last OS error: 2
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
make[2]: *** [pad.pdf] Error 1


This is the same error Matt got, so I can do what he did to fix it.


Here are my changes to src/Makefile.am in .diff form:

--- src/Makefile.am.original    2006-03-21 18:08:43.216721744 -0500
+++ src/Makefile.am     2006-03-21 18:04:31.490989872 -0500
@@ -123,6 +123,7 @@
        vendor.c \
        vendor.h \
        hid/common/actions.c \
+       hid/common/hidlist.h \
        hid/common/flags.c \
        hid/common/hidinit.c \
        hid/common/hidnogui.c \
@@ -178,7 +179,7 @@
  
 # Make needs to know this before automake builds the .deps file,
 # otherwise it won't exist the first time through.
-hid/common/hidinit.o : hid/common/hidlist.h
+# hid/common/hidinit.o : hid/common/hidlist.h
  
 libgtk_a_CPPFLAGS = -I./hid/gtk
 libgtk_a_SOURCES = \


HTH,

Stuart




> 
> 
> > Hmmmm, I wonder if I shouldn't have checked out an entirely new CVS
> > directory?  That is, is the stuff in the sf CVS directory complete?  I
> > recall that the stuff you had on your site was missing files related
> > to footprints, etc . . . .
> 
> I did test builds from empty directories before announcing.  I merged
> my changed back into sf; sf should now have everything.  .deps
> directories should be generated by the build; you may need to clean
> out the "damaged" build and start again; it may have cached the
> dependency type and won't recheck until then.  I'm using gcc 3.4.4 on
> FC3 to test, although the auto* files are from FC4.
> 
> dj@envy pts/1 ~/geda/pcb-cvs/src
> $ find . -name .deps -print
> ./hid/bom/.deps
> ./hid/gtk/.deps
> ./hid/common/.deps
> ./hid/gerber/.deps
> ./hid/lesstif/.deps
> ./hid/lpr/.deps
> ./hid/png/.deps
> ./hid/ps/.deps
> ./.deps
> 
>