Click to See Complete Forum and Search --> : avifile install problem


anton
01-07-2001, 06:23 PM
Hello,

when I try to "make" avifile, I get this error :
make[1]:*** [MyConfigImpl.o] Error 1
make[1]: Leaving directory '/root/temp/avifile-0.53/playr'
make: *** [all-recursive] Error 1


When I look in that directory , there's even no such file ...

what should I do?

Thanks,
bye.

mdwatts
01-07-2001, 09:01 PM
If what you are doing is compiling and installing software, then try ./configure first, then make and make install.

Configure must be successful before the makes will work.

There should be a readme with the package and there's also a NHF here on installing software.

anton
01-07-2001, 09:25 PM
I do ./configure and it is succeseiful

mdwatts
01-08-2001, 08:47 AM
Is that file anywhere else? Also check where you got it from and see if there are any error message FAQ's.

anton
01-08-2001, 03:24 PM
I looked at that site's faq , and found my answer in there :
Q. I receive this or analogous error when compiling:
mywidget.moc:36: syntax error before `('
mywidget.moc:57: new declaration `static void
MyWidget::staticMetaObject()'
mywidget.h:21: ambiguates old declaration `static class QMetaObject * MyWidget::staticMetaObject()'
make: *** [mywidget.o] Error 1

A. You experience a mismatch of 'moc' utility version and version of Qt headers. Since version of Qt headers is checked in ./configure script, something is
most probably wrong with 'moc'. Check for /usr/bin/moc - RedHat installer uses to put 'moc' from Qt 1.44 there.


But I don't get , what do I have to do to repair this error ?

Thanks.

mdwatts
01-08-2001, 08:30 PM
Sorry, have no idea what 'moc' is. Perhaps someone with more experience can help you.

Now that it mentions Redhat, have you tried looking there? You knew that already though...

SubPar
01-09-2001, 12:27 AM
moc is a utility for QT. It seems that your problem is that avifile is trying to use moc from QT 1.44 when it requires the one from QT 2.1.0 or higher. Try this: First find where your QT2 version of moc is located (check /usr/lib/qt2/bin, which is likely) and then run:

export MOC='(path to QT2 version of moc)'

Mine is at /usr/lib/qt2/bin/moc, so I'd run

export MOC='/usr/lib/qt2/bin/moc'

for it to work.

------------------
Got Konq (http://www.konqueror.org/)?

SubPar
01-09-2001, 12:29 AM
moc is a utility for QT. It seems that your problem is that avifile is trying to use moc from QT 1.44 when it requires the one from QT 2.1.0 or higher. Try this: First find where your QT2 version of moc is located (check /usr/lib/qt2/bin, which is likely) and then run:

export MOC='(path to QT2 version of moc)'

Mine is at /usr/lib/qt2/bin/moc, so I'd run

export MOC='/usr/lib/qt2/bin/moc'

for it to work.

------------------
Got Konq (http://www.konqueror.org/)?

anton
01-09-2001, 03:28 PM
thanks , avifile compiled http://www.linuxnewbie.org/ubb/wink.gif