[nSLUG] make, Makefile hurdle [new user query]

robert ashley at chebucto.ca
Mon May 9 18:27:17 ADT 2005


Re: 'make' fails with installation of HP printer Deskjet 3650

George suggested checking config.log. Thanks George, the log indeed
reveals that ./configure did bail out several times. I searched
config.log for "error", "choke" and "fail", then contextualized and
sequenced the results below.  

Summary:

Failed programs: cplusplus, confdefs.h, program main (GNUC)
Other errors (1): cannot find cups-devel support (21041)

Two Questions:

1) Can the failure of 'make' be attributed to these config errors?
2) What is my next best step in the troubleshoot procedure? 

Suggestions appreciated!

Bob Ashley 


***

Found results for "error", "choke" and "fail*" in config.log (Mon 9 May)


configure:2920: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2926: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

...
configure:3890: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3896: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:3997: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4003: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:4745: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:26: error: `exit' undeclared (first use this function)
conftest.cc:26: error: (Each undeclared identifier is reported only once
for 
   each function it appears in.)
configure:4751: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:4970: g++ -E  conftest.cc
conftest.cc:25:28: ac_nonexistent.h: No such file or directory
configure:4976: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:5077: g++ -E  conftest.cc
conftest.cc:25:28: ac_nonexistent.h: No such file or directory
configure:5083: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:5243: checking whether we are using the GNU Fortran 77
compiler
configure:5257:  -c  conftest.F >&5
./configure: line 1: -c: command not found
configure:5263: $? = 127
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
| 
|       end

---
configure:5307:  -c -g conftest.f >&5
./configure: line 1: -c: command not found
configure:5313: $? = 127
configure: failed program was:
|       program main
| 
|       end

--
configure:20182: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:20188: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

...
configure:20908: checking cups/cups.h usability
configure:20920: gcc -c -g -O2  conftest.c >&5
conftest.c:62:23: cups/cups.h: No such file or directory
configure:20926: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:20963: gcc -E  conftest.c
conftest.c:28:23: cups/cups.h: No such file or directory
configure:20969: $? = 1
configure: failed program was:
| /* confdefs.h.  */

---
configure:21024: checking for cups/cups.h
configure:21031: result: no
configure:21041: error: cannot find cups-devel support

---
These are the files in hplip-0/9.2

aclocal.m4 align.py  backend base  ChangeLog
check.py  clean.py  colorcal.py  config.guess
config.log  config.sub  configure  configure.in
COPYING  data  depcomp  goofecho2  hplip.conf  
hplip_overview.png  hplip_readme.html  hplip.sh
hpmaiden  hpssd.py  info.py  __init__.py
install-sh  io  ip  libtool  ltmain.sh
Makefile.am  Makefile.in  makeuri.py
missing  pcard  photo.py  print.py
prnt  probe.py  rpu.py  scan
testpage.py  toolbox.py  ui  unload.py


...




---











On Mon, 2005-09-05 at 07:49 -0300, George White wrote:
> On Mon, 9 May 2005, robert wrote:
> 
> > [Thanks to Jonathan and Doug (and the DAL ACM students) for a great
> > installfest last Saturday.]
> > 
> > I've followed HP's instructions for installing hpslip to get a HP
> > DeskJet 3650 operative under Debian sarge (with 2.4 kernel). My query
> > seeks a logical 'next step' to surmount a hurdle I've encountered at the
> > 'make' stage.
> > 
> > in the directory... debian:/home/bobby/hpslip-0.9.2#
> 
> I think you want to use "hplip-0.9.2" (no "s").
> 
> > # make
> > make: *** No targets specified and no makefiles found. Stop.
> > 
> > ...but
> > 
> > #ls -a 
> > [this returns, among other files, two 'Makefiles', which are
> > 'Makefile.am' and 'Makefile.in'] 
> > 
> > Are these Makefile.am and Makefile.in files subsidiary makefiles which
> > need to be specified for 'make' to do its job properly? 
> > 
> > Suggestions appreciated.
> 
> The step before "make" in HP's instructions 
> <http://hpinkjet.sourceforge.net/install.php> called for 
> 
> $./configure --prefix=/usr
> 
> It appears that this step failed.  Look in config.log for details. 
> 
> --
> George White <aa056 at chebucto.ns.ca> <gnw3 at acm.org>
> 189 Parklea Dr., Head of St. Margarets Bay, Nova Scotia  B3Z 2G6
> 
> 
> 
> 
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug
> 
> 
> 


!DSPAM:427fd628142581624023826!




More information about the nSLUG mailing list