Problems building makemkv on Mandriva

The place to discuss linux version of MakeMKV
Post Reply
jabster
Posts: 27
Joined: Sun Apr 05, 2009 12:03 am

Problems building makemkv on Mandriva

Post by jabster »

Hi.

I'm trying to build makemkv on Mandriva 2009.1 and can't seem to do it. I have all of these installed, libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev, gcc-c++.

I am getting a lot of errors tho when building the oss portion:

Code: Select all

mkdir -p out                                                                                 
gcc -O3 -oout/makemkv.full -Imakemkvgui/inc -Ilibmakemkv/inc -Isstring/inc -Ilibdriveio/inc \
        makemkvgui/src/aboutbox.cpp makemkvgui/src/client.cpp makemkvgui/src/dirselectbox.cpp makemkvgui/src/logic.cpp makemkvgui/src/logtext.cpp makemkvgui/src/main.cpp makemkvgui/src/nativefiledialog.cpp makemkvgui/src/mainwnd.cpp makemkvgui/src/marshall.cpp makemkvgui/src/progress.cpp makemkvgui/src/scsiinfo.cpp makemkvgui/src/settingdlg.cpp makemkvgui/src/uisync.cpp makemkvgui/src/viteminfo.cpp makemkvgui/src/str/getstr.cpp makemkvgui/src/str/en_utf16.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/logic_posix.cpp tmp/qt_rsrc.cpp tmp/moc_mainwnd.cpp tmp/moc_logtext.cpp tmp/moc_dirselectbox.cpp tmp/moc_aboutbox.cpp tmp/moc_settingdlg.cpp sstring/src/sstring.cpp libdriveio/src/srlist.cpp \                                                                    
        -DHAVE_BUILDINFO_H -Itmp \                                                              
        -I/usr/include/qt4 -L/usr/lib/qt4 -lc -lstdc++ -lQtGui -lQtCore                         
In file included from makemkvgui/src/aboutbox.cpp:17:                                           
makemkvgui/src/aboutbox.h:20:23: error: QtGui/QtGui: No such file or directory                  
In file included from makemkvgui/src/aboutbox.cpp:17:                                           
makemkvgui/src/aboutbox.h:24: error: expected class-name before ‘{’ token                       
makemkvgui/src/aboutbox.h:25: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type     
makemkvgui/src/aboutbox.h:26: error: expected ‘;’ before ‘private’                              
makemkvgui/src/aboutbox.h:30: error: expected `)' before ‘*’ token                              
In file included from makemkvgui/src/qtapp.h:25,                                                
                 from makemkvgui/src/aboutbox.cpp:19:                                           
makemkvgui/src/qtstr.h:20: error: ‘ushort’ was not declared in this scope                       
makemkvgui/src/qtstr.h:21: error: ‘ushort’ was not declared in this scope                       
makemkvgui/src/qtstr.h:21: error: ‘QChar’ was not declared in this scope                        
makemkvgui/src/qtstr.h:23: error: expected ‘,’ or ‘...’ before ‘&’ token                        
makemkvgui/src/qtstr.h:23: error: ISO C++ forbids declaration of ‘QString’ with no type         
makemkvgui/src/qtstr.h: In function ‘const utf16_t* Utf16FromQString(int)’:                     
makemkvgui/src/qtstr.h:25: error: ‘str’ was not declared in this scope                          
makemkvgui/src/qtstr.h: At global scope:                                                        
makemkvgui/src/qtstr.h:28: error: ‘QString’ does not name a type                                
makemkvgui/src/qtstr.h:38: error: ‘QStringAccessBufferRW’ declared as an ‘inline’ variable      
makemkvgui/src/qtstr.h:38: error: ‘QString’ was not declared in this scope                      
makemkvgui/src/qtstr.h:38: error: ‘str’ was not declared in this scope                          
makemkvgui/src/qtstr.h:39: error: expected ‘,’ or ‘;’ before ‘{’ token                          
makemkvgui/src/qtstr.h:44: error: variable or field ‘QStringFixLen’ declared void               
makemkvgui/src/qtstr.h:44: error: ‘QString’ was not declared in this scope                      
makemkvgui/src/qtstr.h:44: error: ‘str’ was not declared in this scope                          
makemkvgui/src/qtstr.h:50: error: ‘QString’ does not name a type                                
makemkvgui/src/qtstr.h:60: error: variable or field ‘append_const’ declared void
...
tmp/../makemkvgui/src/settingdlg.h:86: error: expected ‘;’ before ‘public’
tmp/../makemkvgui/src/settingdlg.h:91: error: ISO C++ forbids declaration of ‘QTabWidget’ with no type
tmp/../makemkvgui/src/settingdlg.h:91: error: expected ‘;’ before ‘*’ token
tmp/../makemkvgui/src/settingdlg.h:92: error: ISO C++ forbids declaration of ‘QDialogButtonBox’with no type
tmp/../makemkvgui/src/settingdlg.h:92: error: expected ‘;’ before ‘*’ token
tmp/../makemkvgui/src/settingdlg.h:101: error: expected `:' before ‘slots’
tmp/../makemkvgui/src/settingdlg.h:102: error: expected primary-expression before ‘void’
tmp/../makemkvgui/src/settingdlg.h:102: error: ISO C++ forbids declaration of ‘slots’ with no type
tmp/../makemkvgui/src/settingdlg.h:102: error: expected ‘;’ before ‘void’
tmp/moc_settingdlg.cpp:20: error: expected constructor, destructor, or type conversion before ‘static’
tmp/moc_settingdlg.cpp:41: error: ‘QMetaObject’ does not name a type
tmp/moc_settingdlg.cpp:46: error: expected initializer before ‘*’ token
tmp/moc_settingdlg.cpp:51: error: no ‘void* CGeneralTab::qt_metacast(const char*)’ member function declared in class ‘CGeneralTab’
tmp/moc_settingdlg.cpp:59: error: ‘int CGeneralTab::qt_metacall’ is not a static member of ‘class CGeneralTab’
tmp/moc_settingdlg.cpp:59: error: ‘QMetaObject’ has not been declared
tmp/moc_settingdlg.cpp:59: error: expected primary-expression before ‘int’
tmp/moc_settingdlg.cpp:59: error: expected primary-expression before ‘void’
tmp/moc_settingdlg.cpp:59: error: initializer expression list treated as compound expression
tmp/moc_settingdlg.cpp:60: error: expected ‘,’ or ‘;’ before ‘{’ token
make: *** [out/makemkv.full] Error 1
Little help please?

thanks,
john
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Problems building makemkv on Mandriva

Post by mike admin »

It looks like you do not have Qt headres installed.

Code: Select all

makemkvgui/src/aboutbox.h:20:23: error: QtGui/QtGui: No such file or directory
jabster
Posts: 27
Joined: Sun Apr 05, 2009 12:03 am

Re: Problems building makemkv on Mandriva

Post by jabster »

I've got libqtgui4 installed. Got this:

Code: Select all

find / -iname "*qtgui*"
/usr/lib/debug/usr/lib/libQtGui.so.4.5.0.debug
/usr/lib/libQtGui.so.4.5
/usr/lib/libQtGui.prl
/usr/lib/libQtGui.so
/usr/lib/qt4/include/QtGui
/usr/lib/qt4/include/QtGui/QtGui
/usr/lib/qt4/include/Qt/QtGui
/usr/lib/libQtGui.la
/usr/lib/pkgconfig/QtGui.pc
/usr/lib/libQtGui.so.4.5.0
/usr/lib/python2.6/site-packages/PyQt4/QtGui.so
/usr/lib/libQtGui.so.4
/usr/share/sip/PyQt4/QtGui
/usr/share/sip/PyQt4/QtGui/QtGuimod.sip
Is is expecting that to be somewhere else?

-john
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Problems building makemkv on Mandriva

Post by mike admin »

I see. Apparently on your distro qt headers are installed in a different location. Please try to edit makefile.lkinux and change "/usr/include/qt4" to "/usr/lib/qt4/include" - it should help.
jabster
Posts: 27
Joined: Sun Apr 05, 2009 12:03 am

Re: Problems building makemkv on Mandriva

Post by jabster »

All good.

Got it installed and running.

Now to go try it out.....

thanks,
john
Post Reply