autoconf
[Top][All Lists]
Advanced

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

wierd problem


From: Jonas Geiregat
Subject: wierd problem
Date: Tue, 25 Jan 2005 15:18:30 +0100

I'm using gentoo,
I've tried the following code with autoconf version 2.13 and 2.59

configure.in
Code:
AC_INIT ([main.c])

AM_INIT_AUTOMAKE([wewa], [0.0.1])

AC_PROG_CC
AC_PROG_INSTALL

dnl ================================== Requirements
===================================

LIBGLADE_REQUIRED=2.3.6
GTK_REQUIRED=2.6.1
GCONF_REQUIRED=2.5.90

dnl 
===================================================================================

WEWA_MODULES="gtk+-2.0 >= $GTK_REQUIRED gconf-2.0 >= $GCONF_REQUIRED
libglade-2.0 >= $LIBGLADE_REQUIRED"

PKG_CHECK_MODULES(WEWA, $WEWA_MODULES)

AC_OUTPUT ([Makefile])



Makefile.am

Code:
bin_PROGRAMS =  \
        wewa

wewa_SOURCES =  \
        main.c  \
        wewatypes.h


I run acloacl && autoconf && automake && ./configure
and this is my output of configure:
Code:
loading cache ./config.cache
./configure: line 523: main.c: command not found
checking for a BSD compatible install... /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... found
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 a BSD compatible install... /bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.6.1 gconf-2.0 >= 2.5.90 libglade-2.0 >= 2.3.6... yes
checking WEWA_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2
checking WEWA_LIBS... -Wl,--export-dynamic -pthread -lgconf-2
-lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
updating cache ./config.cache
creating ./config.status
./configure: line 1435: Makefile: command not found




reply via email to

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