On Thu, Jan 03, 2002 at 01:12:31PM -0600, Colin Watson wrote: > On Thu, Jan 03, 2002 at 11:43:59AM -0600, Michael Jinks wrote: > > The "./debian/rules" command fails; the first error I notice is: > > > > cc -O2 -g -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o addrbook.o addrbook.c > > make[1]: cc: Command not found > > The gcc package should install a link in /usr/bin/cc. What does > '/usr/sbin/update-alternatives --display cc' say?
sh-2.03# /usr/sbin/update-alternatives --display cc cc - status is manual. link currently points to /usr/bin/gcc /usr/bin/gcc - priority 20 slave cc.1.gz: /usr/man/man1/gcc.1.gz Current `best' version is /usr/bin/gcc. But /usr/bin/cc didn't exist; I made the link manually. Solved that problem, but now I get different ones: ... ar ru libpico.a attach.o ansi.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o osdep.o pico.o random.o region.o search.o spell.o tinfo.o window.o word.o ranlib libpico.a cc -O2 -g -Dlnx -DPOSIX -DJOB_CONTROL -DMOUSE -DTERMCAP_WINS main.c libpico.a -lncurses -o pico /opt/bin/ld: /usr/lib/libncurses.so: mkdir: invalid version 2 (max 0) /usr/lib/libncurses.so: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [pico] Error 1 make[1]: Leaving directory `/usr/src/pine/pine-3.96M/pico' ... ... make[2]: Entering directory `/usr/src/pine/pine-3.96M/pine/osdep' cc -o includer includer.c /opt/bin/ld: /lib/libc.so.6: _dl_sysdep_start: invalid version 7 (max 6) /lib/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [includer] Error 1 make[2]: Leaving directory `/usr/src/pine/pine-3.96M/pine/osdep' rm -f os.c ln -s osdep/os-lnx.c os.c cc -O2 -g -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o os.o os.c cc: os.c: No such file or directory cc: No input files make[1]: *** [os.o] Error 1 make[1]: Leaving directory `/usr/src/pine/pine-3.96M/pine' Further down there are more errors as a result of pine not being built. So, missing libraries maybe, or a version mismatch of some kind? Thanks... -m