[geos-devel] Re: Problems with installation of geos on RedHat 9 (third try, i hope this is text)

Johan V jvhoppli at gmail.com
Mon May 22 04:06:55 EDT 2006


Hi alex, strk,

I did run make uninstall in all the version of geos I had. The rpm
package was already removed before, so now geos on my machine anymore.
I even removed (make uninstall and rpm -e) postgresql and reinstall
it. If than I build geos from source, I still get the same problems.
This is the output from autoheader -v (verbose):

autoheader: autoheader: running /usr/bin/autom4te --language=autoconf
--verbose to trace from configure.in
autoheader: running: /usr/bin/autom4te --language=autoconf  --verbose
--trace AC_CONFIG_HEADERS:'$$config_h ||= '"'"'$1'"'"';' --trace
AH_OUTPUT:'$$verbatim{'"'"'$1'"'"'} = '"'"'$2'"'"';' --trace
AC_DEFINE_TRACE_LITERAL:'$$symbol{'"'"'$1'"'"'} = 1;'
configure.in >/tmp/ahWZRDj2/traces.pl
autom4te: autom4te: the trace request object is:
$VAR1 = bless( [
                 '0',
                 0,
                 [
                   '/usr/share/autoconf'
                 ],
                 [
                   '/usr/share/autoconf/autoconf/autoconf.m4f',
                   'acsite.m4',
                   'configure.in'
                 ],
                 {
                   'm4_pattern_forbid' => 1,
                   'AC_TYPE_OFF_T' => 1,
                   'AC_C_VOLATILE' => 1,
                   'AC_FUNC_CLOSEDIR_VOID' => 1,
                   'AC_REPLACE_FNMATCH' => 1,
                   'AC_PROG_LIBTOOL' => 1,
                   'AC_FUNC_STAT' => 1,
...
                   'AC_HEADER_DIRENT' => 1,
                   'AC_CHECK_FUNCS' => 1
                 }
               ], 'Request' );


autom4te: running: /usr/bin/m4 --nesting-limit=1024
--include=/usr/share/autoconf --define=m4_warnings=syntax --debug=aflq
--fatal-warning --error-output=autom4te.cache/traces.0t
--trace=AC_CANONICAL_HOST --trace=AC_CANONICAL_SYSTEM
--trace=AC_CHECK_FUNCS --trace=AC_CHECK_HEADERS --trace=AC_CHECK_LIB
--trace=AC_CHECK_MEMBERS --trace=AC_CHECK_TYPES
--trace=AC_CONFIG_AUX_DIR --trace=AC_CONFIG_FILES
--trace=AC_CONFIG_HEADERS --trace=AC_CONFIG_SUBDIRS --trace=AC_C_CONST
--trace=AC_C_INLINE --trace=AC_C_VOLATILE --trace=AC_DECL_SYS_SIGLIST
--trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FUNC_ALLOCA
--trace=AC_FUNC_CHOWN --trace=AC_FUNC_CLOSEDIR_VOID
--trace=AC_FUNC_ERROR_AT_LINE --trace=AC_FUNC_FORK
--trace=AC_FUNC_FSEEKO --trace=AC_FUNC_GETGROUPS
--trace=AC_FUNC_GETLOADAVG --trace=AC_FUNC_GETMNTENT
--trace=AC_FUNC_GETPGRP --trace=AC_FUNC_LSTAT
--trace=AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK --trace=AC_FUNC_MALLOC
--trace=AC_FUNC_MBRTOWC --trace=AC_FUNC_MEMCMP --trace=AC_FUNC_MKTIME
--trace=AC_FUNC_MMAP --trace=AC_FUNC_OBSTACK --trace=AC_FUNC_REALLOC
--trace=AC_FUNC_SELECT_ARGTYPES --trace=AC_FUNC_SETPGRP
--trace=AC_FUNC_SETVBUF_REVERSED --trace=AC_FUNC_STAT
--trace=AC_FUNC_STRCOLL --trace=AC_FUNC_STRERROR_R
--trace=AC_FUNC_STRFTIME --trace=AC_FUNC_STRNLEN
--trace=AC_FUNC_STRTOD --trace=AC_FUNC_UTIME_NULL
--trace=AC_FUNC_VPRINTF --trace=AC_FUNC_WAIT3 --trace=AC_HEADER_DIRENT
--trace=AC_HEADER_MAJOR --trace=AC_HEADER_STAT --trace=AC_HEADER_STDC
--trace=AC_HEADER_SYS_WAIT --trace=AC_HEADER_TIME --trace=AC_INIT
--trace=AC_LIBSOURCE --trace=AC_PATH_X --trace=AC_PROG_AWK
--trace=AC_PROG_CC --trace=AC_PROG_CPP --trace=AC_PROG_CXX
--trace=AC_PROG_GCC_TRADITIONAL --trace=AC_PROG_INSTALL
--trace=AC_PROG_LEX --trace=AC_PROG_LIBTOOL --trace=AC_PROG_LN_S
--trace=AC_PROG_MAKE_SET --trace=AC_PROG_RANLIB --trace=AC_PROG_YACC
--trace=AC_REPLACE_FNMATCH --trace=AC_STRUCT_ST_BLOCKS
--trace=AC_STRUCT_TIMEZONE --trace=AC_STRUCT_TM --trace=AC_SUBST
--trace=AC_TYPE_MODE_T --trace=AC_TYPE_OFF_T --trace=AC_TYPE_PID_T
--trace=AC_TYPE_SIGNAL --trace=AC_TYPE_SIZE_T --trace=AC_TYPE_UID_T
--trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --trace=AM_CONDITIONAL
--trace=AM_GNU_GETTEXT --trace=AM_INIT_AUTOMAKE
--trace=AM_MAINTAINER_MODE --trace=AM_PROG_CC_C_O --trace=include
--trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid
--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f acsite.m4
configure.in </dev/null >autom4te.cache/output.0t
' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:271: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1

Which additional packages do you mean, because I have the
autoconf/autoheader package (version 2.57), libtoolize 1.4.3, automake
1.6.3 and m4 1.4.1-13. And from the error I get I can by doing
autoheader I don't know with package is missing:
The error point to configure.in:271, were I found this: ]) (and rule
270: tools/geos-config)
Therefore stand in the ouput of autoheader autoconf/status.m4:844, if
I look at this file on line 843 and 844 than i see this:
    ac_config_files="$ac_config_files m4_normalize([$1])"
    ])


If i try to install it as described on that website "nccoos", than I
get the same errrors as before during the 'make' fase of the rebuild
proccess:

mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers/geos -I../../source/headers
-DGEOS_VERSION=2.1.4 -O2 -g -pipe -march=i386 -mcpu=i686 -MT
Coordinate.lo -MD -MP -MF .deps/Coordinate.Tpo -c Coordinate.cpp
-DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../../source/headers/geos/geom.h:358: error: extra qualification
'geos::Coordinate::' on member 'setNull'
../../source/headers/geos/geom.h:364: error: extra qualification
'geos::Coordinate::' on member 'getNull'
../../source/headers/geos/geom.h:368: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:374: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:380: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:386: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'

../../source/headers/geos/geom.h:451: error: extra qualification
'geos::Coordinate::' on member 'hashCode'
make[2]: *** [Coordinate.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/geos-2.1.4/source/geom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/geos-2.1.4/source'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.1631 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.92644 (%build)


2006/5/20, alex bodnaru <alexbodn at 012.net.il>:
>
> hi johan,
>
> though not an expert in redhat, i'll try to direct you in a valid direction.
> first, as i see you have already tryed to install geos before, i'd
> suggest you to uninstall it:
>
> geos related rpm you have installed, uninstall using rpm (check how to
> in rpm manuals).
>
> go to the geos source directory of each version you ever tryed to
> install from sources on your current system and run: make uninstall.
>
> then, i'd suggest you to use the procedure described at
> http://nccoos.org/Members/cbc/how-i-installed-postgis, at least for the
> geos part there.
> you may also build geos from sources on your system, but then you may
> need additional tools and packages. see eventual error message for
> completing the missing files. i'd suggest you search for and install the
> rpms that contain this files, and not just the source packages themselves.
>
> i know this message is very schematic, but please use your understanding
> and creativity to fill the evident gaps in my knowledge.
>
> good luck,
>
> alex
>
> Johan V wrote:
> > I hope you know the solution to this problems, I'm not a linux expert
> > like you maybe already noticed, but if you can tell me what I'm doing
> > wrong that would be great
> >
> > Thx,
> > Johan
> >
> > 2006/5/18, Johan V <jvhoppli at gmail.com>:
> >
> >> If i run ./autogen.sh (after doing a chmod +775 autogen.sh) i get
> >> : bad interpreter: No such file or directory
> >>
> >> If i look at this shell script and i try to execute the command one by
> >> one, than i get:
> >>
> >> [root at 192 geos]# uname -s
> >> Linux
> >>
> >> [root at 192 geos]# autoheader
> >> ' is already registered with AC_CONFIG_FILES.
> >> autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
> >> configure.in:271: the top level
> >> autom4te: /usr/bin/m4 failed with exit status: 1
> >> autoheader: /usr/bin/autom4te failed with exit status: 1
> >>
> >> [root at 192 geos]# aclocal -I macros
> >>
> >> [root at 192 geos]# libtoolize --force --copy
> >>
> >> [root at 192 geos]# automake --add-missing --copy
> >> configure.in:31: `automake requires `AM_CONFIG_HEADER', not
> >> `AC_CONFIG_HEADER'
> >> configure.in: installing `./mkinstalldirs'
> >> configure.in: installing `./missing'
> >> aclocal.m4:4665: installing `./py-compile'
> >> capi/Makefile.am: installing `./depcomp'
> >> configure.in:32: required file `source/headers/config.h.in' not found
> >>
> >>
> >> 2006/5/18, strk at refractions.net <strk at refractions.net>:
> >> > On Thu, May 18, 2006 at 02:31:42PM +0200, Johan V wrote:
> >> > > I downloaded the latest snapshot from the website (the tar.bz file),
> >> > > so not with the cvs commando. So now, I tried to do it with cvs (via
> >> > > another person's internet connection, because i'm behind a proxy
> >> > > server, and don't now how to configure cvs correctly), but in de
> >> > > directory geos there is no configure file nor a Makefile, only an
> >> > > configure.in and a Makefile.am, and neither are those files in the
> >> > > source subdirectory (only config.log and Makefile.am and
> >> Makefile.vc).
> >> > > Is it possible to put the latest snapshot as a tar.bz file on the
> >> > > website please.
> >> >
> >> > Run ./autogen.sh in your working directory.
> >> >
> >> > --strk;
> >> > _______________________________________________
> >> > geos-devel mailing list
> >> > geos-devel at geos.refractions.net
> >> > http://geos.refractions.net/mailman/listinfo/geos-devel
> >> >
> >>
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> >
> >
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>



More information about the geos-devel mailing list