Re: [GnomeMeeting-list] configure error with version 0.84



Am Freitag, 1. März 2002 01:00 schrieb Damien Sandras:
> No idea sorry :(
> but perhaps somebody else will have an idea...

Fortunately, I have :-)
First, the error message is a bit misleading, because Damien forgot to insert 
a log entry for the check which is done (see below for patch ...)

The check which fails is the check for the type of the operation system. Can 
you
1. Send the output of
echo $OSTYPE
2. Give some Information regarding your system:
Operating system, distribution

Hope we can fix this.
Stefan

>
> On Thu, Feb 28, 2002 at 10:27:35PM +0100, Denis Chalon wrote:
> > Hello,
> >
> > I successfully compiled previous version of GnomeMeeting. With version
> > 0.84, I got an issue during the configure step:
> > "configure: error: Only Linux and FreeBSD are supported. Please contact
> > the author"
> > Looking into config.log says that librairy cposix was found.
Has nothing to do with this ...

> > Effectively, I don't have this library on my system.
> >
> > What is missing in my config? If someone has an idea, feel free to
> > reply.
> >
> > Thanks for your help,
> >
> > Denis
> >
> > [root yoda GnomeMeeting-0.84.0]# ./configure
> > --with-openh323-includes=/home/denis/src/Gnome-src/openh323/include
> > --with-openssl-includes=/usr/local/ssl/include
> > --with-openssl-libs=/usr/local/ssl/lib
> > --with-ptlib-includes=/home/denis/src/Gnome-src/pwlib/include
> > loading cache ./config.cache
> > 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... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... found
> > checking whether to enable maintainer-specific portions of Makefiles...
> > no
> > checking for perl... /usr/bin/perl
> > date: unrecognized option `--iso-8601=seconds'
> > Try `date --help' for more information.
> > checking for gnome-config... /usr/bin/gnome-config
> > checking if /usr/bin/gnome-config works... yes
> > checking for orbit-config... /usr/local/bin/orbit-config
> > checking for orbit-idl... /usr/bin/orbit-idl
> > checking for working ORBit environment... yes
> > checking for gnorba libraries... yes
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  ) works... yes
> > checking whether the C compiler (gcc  ) is a cross-compiler... no
> > checking whether we are using GNU C... yes
> > checking whether gcc accepts -g... yes
> > checking for c++... c++
> > checking whether the C++ compiler (c++  ) works... yes
> > checking whether the C++ compiler (c++  ) is a cross-compiler... no
> > checking whether we are using GNU C++... yes
> > checking whether c++ accepts -g... yes
> > checking for strerror in -lcposix... no
> > checking how to run the C preprocessor... gcc -E
> > checking for ANSI C header files... yes

Here the log entry is missing

> > configure: error: Only Linux and FreeBSD are supported. Please contact
> > the author
> >
> > config.log:
> > -----------
> > configure:1660: checking for strerror in -lcposix
> > configure:1679: gcc -o conftest -g -O2   conftest.c -lcposix   1>&5
> > /usr/bin/ld: cannot find -lcposix
> > collect2: ld returned 1 exit status
> > configure: failed program was:
> > #line 1668 "configure"
> > #include "confdefs.h"
> > /* Override any gcc2 internal prototype to avoid an error.  */
> > /* We use char because int might match the return type of a gcc2
> >     builtin and then its argument prototype would still apply.  */
> > char strerror();
> >
> > int main() {
> > strerror()
> > ; return 0; }
> > configure:1702: checking how to run the C preprocessor
> > configure:1723: gcc -E  conftest.c >/dev/null 2>conftest.out
> > configure:1782: checking for ANSI C header files
> > configure:1795: gcc -E  conftest.c >/dev/null 2>conftest.out
> > configure:1862: gcc -o conftest -g -O2   conftest.c  1>&5
The failing check is in line 1905 

This patch only helps to track the problem it is no solution for it.
... patch for configure.in ....
--- configure.in_old    Fri Mar  1 20:29:55 2002
+++ configure.in        Fri Mar  1 20:48:29 2002
@@ -36,6 +36,8 @@
 dnl Set up Operating System specific parameters
 dnl *******************************************

+AC_MSG_CHECKING(whether OS type is supported)
+
 case $OSTYPE in

   linux-gnu | linux)
@@ -46,6 +48,7 @@
     GTK_CONFIG="gtk-config"
 dnl * if debug add this and link to -lh323_linux_x86_d -lpt_linux_x86_d
 dnl * -D_DEBUG -DPMEMORY_CHECK=1 -DPTRACING -g
+    AC_MSG_RESULT([yes])
     ;;

   FreeBSD)
@@ -53,6 +56,7 @@
     H323_LIBS="-lh323_FreeBSD_x86_r -lpt_FreeBSD_x86_r -pthread -lssl 
-lcrypto"
     LIBPT_FILE="libpt_FreeBSD_x86_r_s.a"
     LIBOPENH323_FILE="libh323_FreeBSD_x86_r_s.a"
+    AC_MSG_RESULT([yes])
     ;;
   *)
     AC_MSG_ERROR("Only Linux and FreeBSD are supported. Please contact the 
author")

-- 
Stefan Brüns  /  Kastanienweg 6 - Zimmer 1206  /  52074 Aachen     
mailto:lur_x gmx net  http://www.kawo1.rwth-aachen.de/~lurchi/
      fax: +49-89-1488204565   phone: +49-160-7532733 



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