Hmmmmm...

from your output:
`sh  cflags hash.o` -DPERL_FOR_X2P hash.c
          CCCMD =   -c
/config.sh: File or directory doesn't exist

1) This first line looks messed up; unless 'cflags' is a shell script which
returns something like 'gcc -o hash.o' I don't think you will be compilin'.

2) If 'CCCMD' is supposed to be your compiler command - it is empty.
Something is not defined.  Maybe you didn't run ./configure or it didn't
work.  Shouldn't it be something like 'gcc -c'?

3) It can't find '/config.sh'.  Unless you are building your x2p in the root
directory you should have some directory in front of that.  You should not
be building anything in root.  Use a subdirectory.  You are?  OK, then check
your makefile.  Something is not defined again.  Could be the same problem.

Good luck.

Greg


-----Original Message-----
From: Fisher, Pat HS-SNS [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 9:17 AM
To: [EMAIL PROTECTED]
Subject: make problems


Hi,
I'm having a make problem with the x2p directory.
I get a file not found error, but I'm not sure which file !
hash.h and hash.c are in the directory, and I even made
a link to config.sh in the same directory with no results.
Any hints ?

I have included part of the make file (-d) output.


GNU Make version 3.74-96q1, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95 Free Software Foundation,
Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Reading makefiles...
Reading makefile `makefile'...

Considering target file `a2p.h'.
       Looking for an implicit rule for `a2p.h'.
       Trying pattern rule with stem `a2p.h'.
       Trying implicit dependency `a2p.h,v'.
       Trying pattern rule with stem `a2p.h'.
       Trying implicit dependency `RCS/a2p.h,v'.
       Trying pattern rule with stem `a2p.h'.
       Trying implicit dependency `s.a2p.h'.
       Trying pattern rule with stem `a2p.h'.
       Trying implicit dependency `SCCS/s.a2p.h'.
       No implicit rule found for `a2p.h'.
       Finished dependencies of target file `a2p.h'.
      No need to remake target `a2p.h'.
      Considering target file `hash.c'.
      File `hash.c' was considered already.
      Considering target file `hash.h'.
       Looking for an implicit rule for `hash.h'.
       Trying pattern rule with stem `hash.h'.
       Trying implicit dependency `hash.h,v'.
       Trying pattern rule with stem `hash.h'.
       Trying implicit dependency `RCS/hash.h,v'.
       Trying pattern rule with stem `hash.h'.
       Trying implicit dependency `s.hash.h'.
       Trying pattern rule with stem `hash.h'.
       Trying implicit dependency `SCCS/s.hash.h'.
       No implicit rule found for `hash.h'.
       Finished dependencies of target file `hash.h'.
      No need to remake target `hash.h'.

Finished dependencies of target file `hash.o'.
    Must remake target `hash.o'.
`sh  cflags hash.o` -DPERL_FOR_X2P hash.c
Putting child 0x00425a10 PID 00007 on the chain.
Live child 0x00425a10 PID 7
          CCCMD =   -c
/config.sh: File or directory doesn't exist
-c: command not found
Got a SIGCHLD; 1 unreaped children.
Live child 0x00425a10 PID 7
Reaping losing child 0x00425a10 PID 7
make: *** [hash.o] Error 1
Removing child 0x00425a10 PID 7 from chain.



Reply via email to