simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] What is the correct procedure for building from CVS


From: Bill
Subject: Re: [Simulavr-devel] What is the correct procedure for building from CVS
Date: Wed, 09 Feb 2005 18:31:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041011

Ths short answer is: "./bootstrap" is a script that is intended to generate the autotools scripts (i.e. configure and Makefile.in files, etc.)

I've recently added Klaus' start of documentation to the build, which apparently needs automake 1.8 or later. On my system I get automake 1.5 if I don't invoke "automake-1.8" and "aclocal-1.8".

So that is what you will now see in the CVS boostrap script.

So I think the answer is:

1.) check that you have autotools installed (automake, autoconf and libtool). Automake 1.8 or later I think is required (at least if you want "make pdf" and "make info" to produce documentation, not sure about other scenarios)

2.) run ./bootstrap, or duplicate what is done in bootstrap, as your platform needs. (I run Gentoo, and automake is a script that uses various heuristics to figure out what version to actually run, I don't doubt this is quite different on different platforms)

3.) Now you should be able to ./configure...use as you would any other project. (i.e. ./configure && make && make install etc...)

I hope this helps.

Chanslor, Michael David wrote:

What is the correct procedure for building from CVS?
I tried automake -a then configure
That failed, output below:


mdcws2(root):/root/AVR/SIMULAVR/CVS/simulavr $ automake -a
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes
AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using
aclocal).
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
configure.ac:33: installing `./config.guess'
configure.ac:33: installing `./config.sub'
Makefile.am: required file `./NEWS' not found
doc/Makefile.am:33: installing `doc/mdate-sh'
regress/Makefile.am:19: COND_HAS_PYTHON does not appear in
AM_CONDITIONAL
configure.ac:30: required file `src/config-h.in' not found
src/Makefile.am: installing `./depcomp'
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
src/disp-vcd/Makefile.am:40: `LFLAGS' is a user variable, you should not
override it;
src/disp-vcd/Makefile.am:40: use `AM_LFLAGS' instead.
src/disp-vcd/Makefile.am:37: `YFLAGS' is a user variable, you should not
override it;
src/disp-vcd/Makefile.am:37: use `AM_YFLAGS' instead.
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
Makefile_AVR_Rules:29: `CFLAGS' is a user variable, you should not
override it;
Makefile_AVR_Rules:29: use `AM_CFLAGS' instead.
test_c/Makefile.am:61:   `Makefile_AVR_Rules' included from here
regress/Makefile.am:19: COND_HAS_PYTHON does not appear in
AM_CONDITIONAL
configure.ac:30: required file `src/config-h.in' not found
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
src/disp-vcd/Makefile.am:40: `LFLAGS' is a user variable, you should not
override it;
src/disp-vcd/Makefile.am:40: use `AM_LFLAGS' instead.
src/disp-vcd/Makefile.am:37: `YFLAGS' is a user variable, you should not
override it;
src/disp-vcd/Makefile.am:37: use `AM_YFLAGS' instead.
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
Makefile_AVR_Rules:29: `CFLAGS' is a user variable, you should not
override it;
Makefile_AVR_Rules:29: use `AM_CFLAGS' instead.
test_c/Makefile.am:61:   `Makefile_AVR_Rules' included from here
mdcws2(root):/root/AVR/SIMULAVR/CVS/simulavr $ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for avr-as... avr-as
checking for avr-ld... avr-ld
checking for avr-objcopy... avr-objcopy
checking for avr-objdump... avr-objdump
checking for avr-nm... avr-nm
checking for avr-gcc... avr-gcc
checking for python >= 2.1.1... yes
checking for GNU make... make
checking for makeinfo... yes
checking for texi2dvi... yes
checking for texindex... yes
checking for tex... yes
checking for pdftex... yes
checking for texi2html... yes
checking for dvips... yes
checking if user wants a curses display... yes
checking for initscr in -lncurses... yes
checking for resizeterm in -lncurses... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for socklen_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for putenv... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strtol... yes
checking if user wants to build the documentation in pdf format... no
checking if user wants to build the documentation in ps format... no
checking for doxygen... yes
checking if avr test programs will be built... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.config
config.status: creating regress/Makefile
config.status: creating regress/regress.py
config.status: creating regress/modules/Makefile
config.status: creating regress/test_opcodes/Makefile
config.status: creating src/Makefile
config.status: creating src/getopt/Makefile
config.status: creating src/disp-vcd/Makefile
config.status: creating src/disp/Makefile
config.status: creating test_asm/Makefile
config.status: creating test_asm/test_8515/Makefile
config.status: creating test_c/Makefile
config.status: creating simulavr.spec
config.status: creating simulavr.1
config.status: creating simulavr-disp.1
config.status: creating src/config.h
config.status: error: cannot find input file: src/config-h.in
mdcws2(root):/root/AVR/SIMULAVR/CVS/simulavr $

Thanks!

Mike Chanslor
address@hidden


_______________________________________________
Simulavr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel






reply via email to

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