Creating source files for application Project2 in ../Project2/src
Creating build-support files for application Project2 in ../Project2
Successfully created project Project2 in ../Project2!
Start building the new project
configure.ac: 9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: installing `./mkinstalldirs'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
then if I type $./autoconf, it creates some an executable 'configure'. Then I type ./configure and I get:
DIREO/tutorial/Project2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
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 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 how to run the C++ preprocessor... g++ -E
checking eo usability... no
checking eo presence... no
checking for eo... no
configure: error: Evolving Objects headers are required
then I try ./automake but I get:
DIREO/tutorial/Project2$ automake
configure.ac: 9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: required file `./mkinstalldirs' not found
any clue?
thanks for any help
Eduardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems like you did not install EO. Please see the tutorial/Tempales/README for details:
The template requires a complete installation of EO, that is, you must
have run "make install" in the build-directory.
In particular, the C++ compiler must find the EO include files and the
linker must find the EO libraries. Most probably, that means that you
have to set the variables CPLUS_INCLUDE_PATH and LIBRARY_PATH, i.e.
for a standard installation and using tcsh:
it's weird, because I did everything it was supposed to be done: ./configure, then make, make check, make install. and it didn't seem to give me any error. How ever, I didn't set the path thing, but it seems that it doesn't work:
~/Desktop/eo-1.0$ tcsh setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
setenv: Aucun fichier ou répertoire de ce type.
The version of automake is :
automake (GNU automake) 1.4-p6
I'm not really strong in linux, so maybe there's something I didn't understand.
thanks for any help
Eduardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please execute these commands within a running shell, i.e. do not prepend tcsh to the setenv command. You can also do the same in bash, if that's what you are using:
What does that mean?
Does it say CPLUS_INCLUDE_PATH is not defined?
Well, than define it or leave it out from the definition above.
> automake (GNU automake) 1.4-p6
That might be too old - our systems have automake 1.9.6 or 1.8.3, which iare quite bit further. (I do not know what exact version is necessary, but 1.6 and 1.7 I would expect to work; 1.4 might be a problem)
PS: If it is ok with you, please take this issue to the mailing list (eodev-help@lists.sourceforge.net), where more people will look at your problem and turn-around times will also be much shorter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I set the CPLU_INCLUDE_PATH and the LIBRARY_PATH in bash as you told me, and then I updated my version of automake to the 1.9.6 one, and then it worked inmediately!!
Thank a lot, now I start working!!!
Eduardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
I create a new projet called Project2 by typing on the shell:
DIREO/tutorial/Templates$ ./createEOproject.sh Project2 Project2
Creating source files for application Project2 in ../Project2/src
Creating build-support files for application Project2 in ../Project2
Successfully created project Project2 in ../Project2!
Start building the new project
configure.ac: 9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: installing `./mkinstalldirs'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
then if I type $./autoconf, it creates some an executable 'configure'. Then I type ./configure and I get:
DIREO/tutorial/Project2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
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 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 how to run the C++ preprocessor... g++ -E
checking eo usability... no
checking eo presence... no
checking for eo... no
configure: error: Evolving Objects headers are required
then I try ./automake but I get:
DIREO/tutorial/Project2$ automake
configure.ac: 9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: required file `./mkinstalldirs' not found
any clue?
thanks for any help
Eduardo
Seems like you did not install EO. Please see the tutorial/Tempales/README for details:
The template requires a complete installation of EO, that is, you must
have run "make install" in the build-directory.
In particular, the C++ compiler must find the EO include files and the
linker must find the EO libraries. Most probably, that means that you
have to set the variables CPLUS_INCLUDE_PATH and LIBRARY_PATH, i.e.
for a standard installation and using tcsh:
setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
setenv LIBRARY_PATH /usr/local/lib:"$LIBRARY_PATH"
If you still have problems, please ask on the mailing list for more detailed help.
What version of automake are you using?
it's weird, because I did everything it was supposed to be done: ./configure, then make, make check, make install. and it didn't seem to give me any error. How ever, I didn't set the path thing, but it seems that it doesn't work:
~/Desktop/eo-1.0$ tcsh setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
setenv: Aucun fichier ou répertoire de ce type.
The version of automake is :
automake (GNU automake) 1.4-p6
I'm not really strong in linux, so maybe there's something I didn't understand.
thanks for any help
Eduardo
Please execute these commands within a running shell, i.e. do not prepend tcsh to the setenv command. You can also do the same in bash, if that's what you are using:
export CPLUS_INCLUDE_PATH=/usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
export LIBRARY_PATH=/usr/local/lib:"$LIBRARY_PATH"
> setenv: Aucun fichier ou répertoire de ce type.
What does that mean?
Does it say CPLUS_INCLUDE_PATH is not defined?
Well, than define it or leave it out from the definition above.
> automake (GNU automake) 1.4-p6
That might be too old - our systems have automake 1.9.6 or 1.8.3, which iare quite bit further. (I do not know what exact version is necessary, but 1.6 and 1.7 I would expect to work; 1.4 might be a problem)
PS: If it is ok with you, please take this issue to the mailing list (eodev-help@lists.sourceforge.net), where more people will look at your problem and turn-around times will also be much shorter.
It worked!!!
I set the CPLU_INCLUDE_PATH and the LIBRARY_PATH in bash as you told me, and then I updated my version of automake to the 1.9.6 one, and then it worked inmediately!!
Thank a lot, now I start working!!!
Eduardo