bug-gnubatch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnubatch] GNU Batch Fails To Build


From: Chris X Edwards
Subject: [bug-gnubatch] GNU Batch Fails To Build
Date: Fri, 24 Apr 2015 18:54:38 -0700
User-agent: Mutt/1.5.22 (2013-10-16)

Hi,
I'm trying to give GNU Batch a try, but I get stuck at compilation.
I'm using a pretty ordinary CentOS Linux system. Here is the end of
the `./configure` which seems to be successful and what happens when I
`make`.

-----------------------------------------------------------------
:->[myhost][~/gnubatch/gnubatch-1.11]$ ./configure
Configuring for Release 1.11
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... no
checking for lex... no
./configure: line 3958: LT_INIT: command not found
checking for mail... /bin/mail
checking for sh... /bin/sh
checking for perl... /usr/bin/perl
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for socket... yes
Socket stuff apparently in C library
checking for long file names... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of unsigned... 4
checking size of unsigned short... 2
checking size of unsigned long... 8
checking size of int *... 8
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for pid_t... yes
checking pid_t isnt unsigned... No it isnt
checking getgroups args are the same size as gid_t... they are
checking return type of sprintf... Returns int
checking sys_errlist defined in stdio.h... it is
checking for memcpy... yes
checking for bcopy... yes
checking for strchr... yes
checking for X... no
checking for wrefresh in -lcurses... no
checking for wrefresh in -lncurses... no
checking for wrefresh in -lcurses... (cached) no
checking for doupdate in -lc... no
checking curses overlap bug... I think it fails
checking libxml2/libxml/xmlexports.h usability... no
checking libxml2/libxml/xmlexports.h presence... no
checking for libxml2/libxml/xmlexports.h... no
checking maximum shared memory size... 134217728
checking maximum number of messages on message queue... 1638
checking maximum number of semaphores per id... 250
Cutting that back to 200
checking for printenv... printenv
checking for env... (cached) printenv
Allocated initial 20000 jobs
checking for atexit... yes
checking for fchmod... yes
checking for fchown... yes
checking for fgetc... yes
checking for ftruncate... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setreuid... yes
checking for lstat... yes
checking for setrlimit... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for getspent... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for sigaction... yes
checking for sigvector... no
checking for sigvec... yes
checking for sigset... yes
checking for waitpid... yes
struct sigaction has sa_sigaction member
checking Can find f.d. of directory... dirfd seems OK
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ingnubatch.conf
config.status: WARNING: ingnubatch.conf contains a reference to the variable 
`datarootdir'
which seems to be undefined.  Please make sure it is defined
config.status: creating util/Makefile
config.status: creating src/Makefile
config.status: creating src/helpmsg/Makefile
config.status: creating src/hdrs/infiles.h
config.status: creating src/lib/Makefile
config.status: creating src/ins/Makefile
config.status: creating src/gtk/Makefile
config.status: creating src/motif/Makefile
config.status: creating src/apilib/Makefile
config.status: creating src/loccgi/Makefile
config.status: creating src/remcgi/Makefile
config.status: creating doc/Makefile
config.status: creating Netinst
config.status: creating Checkuserinst
config.status: creating Userinst
config.status: creating STARTUP/Startdirs
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing src/hdrs/files.h commands
:->[myhost][~/gnubatch/gnubatch-1.11]$ make
cd util;make all
make[1]: Entering directory `/cfs/xed/gnubatch/gnubatch-1.11/util'
gcc  -o helpparse helpparse.o msgparse.o msglex.o alloc.o 
helpparse.o: In function `main':
/cfs/xed/gnubatch/gnubatch-1.11/util/helpparse.c:710: undefined reference to 
`line_count'
/cfs/xed/gnubatch/gnubatch-1.11/util/helpparse.c:711: undefined reference to 
`resetlex'
helpparse.o: In function `apphelps':
/cfs/xed/gnubatch/gnubatch-1.11/util/helpparse.c:373: undefined reference to 
`line_count'
msgparse.o: In function `yyerror':
/cfs/xed/gnubatch/gnubatch-1.11/util/msgparse.y:43: undefined reference to 
`line_count'
msgparse.o: In function `yyparse':
/cfs/xed/gnubatch/gnubatch-1.11/util/y.tab.c:1415: undefined reference to 
`yylex'
msgparse.o: In function `yyparse':
/cfs/xed/gnubatch/gnubatch-1.11/util/msgparse.y:208: undefined reference to 
`line_count'
/cfs/xed/gnubatch/gnubatch-1.11/util/msgparse.y:209: undefined reference to 
`yylex'
/cfs/xed/gnubatch/gnubatch-1.11/util/msgparse.y:210: undefined reference to 
`line_count'
/cfs/xed/gnubatch/gnubatch-1.11/util/msgparse.y:386: undefined reference to 
`line_count'
alloc.o: In function `macro_define':
/cfs/xed/gnubatch/gnubatch-1.11/util/alloc.c:189: undefined reference to 
`line_count'
alloc.o: In function `eval':
/cfs/xed/gnubatch/gnubatch-1.11/util/alloc.c:119: undefined reference to 
`line_count'
collect2: ld returned 1 exit status
make[1]: *** [helpparse] Error 1
make[1]: Leaving directory `/cfs/xed/gnubatch/gnubatch-1.11/util'
make: *** [utild] Error 2
:-<[myhost][~/gnubatch/gnubatch-1.11]$ bison --version
bison (GNU Bison) 2.4.1
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2008 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.
-----------------------------------------------------------------


I've looked over the mailing list to see if the problem is known. I
found this...

    http://lists.gnu.org/archive/html/bug-gnubatch/2009-02/msg00000.html

...but as you see I have bison installed. Is there some other
dependency I perhaps overlooked? Is there any other information about
my system you think would help diagnose the problem? Any help would be
appreciated as I would really love to migrate to GNUBatch.
Thanks,
Chris

-- 
++++++++++[>++++++++++++<-]>-...<++++++[>>+++++++<<-]>>++++.<+.<++++[>
Chris X Edwards-----<-]>+.- Have a nice day. >.<-.+++++><address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]