Problems configuring from svn

Dirk Eibach <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
Hi,

I checked out kdenox trunk yesterday. In addition I downloaded 
kdelibs-3.5.1 snapshot. I built qt-embedded-free-3.3.5 with 
multithreading and rtti.

So I did

ln -s ../kdelibs/admin/

and tried

make -f Makefile.cvs

Result was:

...
*** Changes dropins to compile for QT/e earlier than 3.5 (se)
Remove special dropins for qt/e 2.x.x (if available)
cp: cannot stat `./../admin/acinclude.m4.in.org': No such file or directory

So I replaced line 533 in konq-embed/prepare_kde_src:

cp ./../admin/acinclude.m4.in.org ./../admin/acinclude.m4.in

with

if [ -e ./../admin/acinclude.m4.in.org ]
then
	cp ./../admin/acinclude.m4.in.org ./../admin/acinclude.m4.in
fi

So I tried again:

./admin/cvs.sh: line 33: --version: command not found
*** AUTOCONF NOT FOUND!.
*** KDE requires autoconf 2.53 or newer

I found that some environment variables have to be set, but I wonder why 
they have to. Maybe my autotools environment isn't sane (I'm using 
Debian stable).

AUTOCONF=autoconf2.50 AUTOHEADER=autoheader2.50 AUTOMAKE=automake-1.9 \
make -f Makefile.cvs

Result was:

...
cd . && make -f admin/Makefile.common configure.in
make[3]: Entering directory 
`/home/de/src/konqueror-embedded/kdenox-trunk-20061024'
make[3]: Leaving directory 
`/home/de/src/konqueror-embedded/kdenox-trunk-20061024'
make[2]: Leaving directory 
`/home/de/src/konqueror-embedded/kdenox-trunk-20061024'
*** Creating aclocal.m4
*** Creating configure
configure.in:20: error: possibly undefined macro: AM_INIT_AUTOMAKE
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
configure.in:25: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:28: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:31: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:32: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:36: error: possibly undefined macro: AC_FIND_JPEG
configure.in:37: error: possibly undefined macro: AM_CONDITIONAL
configure.in:41: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:51: error: possibly undefined macro: AC_BASE_PATH_KDE
configure.in:53: error: possibly undefined macro: AC_CREATE_KFSSTND
configure.in:54: error: possibly undefined macro: AC_SUBST_KFSSTND
configure.in:63: error: possibly undefined macro: AC_PATH_QTOPIA
configure.in:92: error: possibly undefined macro: AC_CHECK_BOOL
configure.in:113: error: possibly undefined macro: AC_CHECK_SETENV
configure.in:114: error: possibly undefined macro: AC_CHECK_UNSETENV
configure.in:115: error: possibly undefined macro: AC_CHECK_RANDOM
configure.in:116: error: possibly undefined macro: AC_CHECK_MKSTEMPS
configure.in:117: error: possibly undefined macro: AC_CHECK_MKSTEMP
configure.in:118: error: possibly undefined macro: AC_CHECK_MKDTEMP
configure.in:120: error: possibly undefined macro: AC_CHECK_USLEEP
configure.in:121: error: possibly undefined macro: AC_CHECK_GETHOSTNAME
configure.in:123: error: possibly undefined macro: AC_CHECK_S_ISSOCK
configure.in:124: error: possibly undefined macro: AC_CHECK_GETDOMAINNAME
configure.in:125: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
configure.in:126: error: possibly undefined macro: AC_CHECK_SOCKLEN_T
configure.in:127: error: possibly undefined macro: AC_CHECK_INITGROUPS
configure.in:401: error: possibly undefined macro: AC_FIND_FILE
make[1]: *** [cvs] Error 1
make: *** [all] Error 2


As I don't know much about autotools I'm finished here. Maybe you can 
tell me what I'm doing wrong or what a proper build environment has to 
be like.

Cheers,
Dirk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.