Menu

#1 fails to compile with KDE 3.1

open
nobody
None
5
2003-01-26
2003-01-20
No

Hello, I just tried to compile kio_auto-autofs on Debian
linux with KDE 3.1 RC 6 installed. The compilation
process failed like this when I ran
"make prefix=/usr"

make[3]: Entering directory
`/home/mark/Desktop/kio_auto-autofs/auto-autofs/kdedmodule'
source='auto-autofsd.cpp' object='auto-autofsd.lo'
libtool=yes \
depfile='.deps/auto-autofsd.Plo'
tmpdepfile='.deps/auto-autofsd.TPlo' \
depmode=gcc /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
-I/usr/include/qt -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2
-fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-c -o auto-autofsd.lo `test -f 'auto-autofsd.cpp' || echo
'./'`auto-autofsd.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
-I/usr/include/qt -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2
-fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-c auto-autofsd.cpp -Wp,-MD,.deps/auto-autofsd.TPlo
-fPIC -DPIC -o .libs/auto-autofsd.o
In file included from auto-autofsd.cpp:38:
auto-autofsd.moc:17: #error "This file was generated
using the moc from 3.0.5. It"
auto-autofsd.moc:18: #error "cannot be used with the
include files from this version of Qt."
auto-autofsd.moc:19: #error "(The moc has changed too
much.)"
make[3]: *** [auto-autofsd.lo] Error 1
make[3]: Leaving directory
`/home/mark/Desktop/kio_auto-autofs/auto-autofs/kdedmodule'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/mark/Desktop/kio_auto-autofs/auto-autofs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/mark/Desktop/kio_auto-autofs'
make: *** [all] Error 2

########

The problem here is that it expects a "moc" from an older
version of KDE. Is it possible to make it so it also can
compile against KDE 3.1? This will be great since it will
be officially released any day now.

Thanks for the work on this software-- I expect it to be
useful.

Discussion

  • Anonymous

    Anonymous - 2003-01-21

    Logged In: YES
    user_id=314650

    The moc files aren`t generated automatically with
    Makefile. I hope I get this fixed in the next version.
    So long its possible to create the files manualy
    with
    moc auto-autofsd.h >auto-autofsd.moc
    and so on for every moc file.

     
  • Anonymous

    Anonymous - 2003-01-21

    Logged In: YES
    user_id=314650

    this version should run with othe kde versions, i hope:

    http://auto-autofs.sourceforge.net/download/kio_auto-autofs.tar.bz2

     
  • Mark Stosberg

    Mark Stosberg - 2003-01-26
    • summary: files to compile with KDE 3.1 --> fails to compile with KDE 3.1
     
  • Mark Stosberg

    Mark Stosberg - 2003-01-26

    Logged In: YES
    user_id=6509

    I just tried the new version posted the recent comment. It failed
    "make" differently, like this:

    mark@asana:~/Desktop/kio_auto-autofs$ make
    make all-recursive
    make[1]: Entering directory
    `/home/mark/Desktop/kio_auto-autofs'
    Making all in doc
    make[2]: Entering directory
    `/home/mark/Desktop/kio_auto-autofs/doc'
    Making all in auto-autofs
    make[3]: Entering directory
    `/home/mark/Desktop/kio_auto-autofs/doc/auto-autofs'
    Makefile:365: *** missing separator. Stop.
    make[3]: Leaving directory
    `/home/mark/Desktop/kio_auto-autofs/doc/auto-autofs'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
    `/home/mark/Desktop/kio_auto-autofs/doc'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory
    `/home/mark/Desktop/kio_auto-autofs'
    make: *** [all] Error 2

    I'm using
    "make", version 3.79.1
    and "bash", version 2.05b.0(1)-release (i386-pc-linux-gnu)

     
  • Anonymous

    Anonymous - 2003-01-27

    Logged In: YES
    user_id=314650

    Sorry, please don't
    do the make in the project root.
    Try cd /auto-autofs before
    make and make install.
    Only the doc generaten failed.

    --

    Peter

     
  • Mark Stosberg

    Mark Stosberg - 2003-01-28

    Logged In: YES
    user_id=6509

    If I "cd auto-autofs" before I do "make; make install", it installs.
    (on Debian, I need to ./configure --prefix=/usr ).

    However, the only thing that happens when I try
    "auto-autofs:/" in konqueror is that I get a dialog "could not
    start process xeject", and then it quits.

     

Log in to post a comment.