oss make fails with 'cannot find -lQtGui'

The place to discuss linux version of MakeMKV
Post Reply
ggking7
Posts: 40
Joined: Mon Feb 23, 2009 4:28 pm

oss make fails with 'cannot find -lQtGui'

Post by ggking7 »

When I issue 'make -f makefile.linux' inside of makemkv_v1.4.1_beta_oss, I get:

-I/usr/include/qt4 -lc -lstdc++ -lQtGui -lQtCore
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [out/makemkv.full] Error 1

I'm on Gentoo and I have qt-gui installed and I have '/usr/include/qt4/QtGui'. Am I missing another dependency?
oxyis
Posts: 1
Joined: Tue Apr 14, 2009 12:59 pm

Re: oss make fails with 'cannot find -lQtGui'

Post by oxyis »

Hi.

I have posted an somewhat working ebuild for gentoo here. I had to apply the following patch to the makefile.linux to make it compile.

Code: Select all

--- makemkv_v1.4.1_beta_oss/makefile.linux.org  2009-04-14 09:21:01.000000000 +0200
+++ makemkv_v1.4.1_beta_oss/makefile.linux      2009-04-22 14:47:33.000000000 +0200
@@ -48,7 +48,7 @@
        $(GCC) -o$@ $(MAKEMKVGUI_INC) $(LIBMAKEMKV_INC) $(SSTRING_INC) $(LIBDRIVEIO_INC) \
        $(MAKEMKVGUI_SRC) $(MAKEMKVGUI_SRC_POSIX) $(MAKEMKVGUI_GEN) $(SSTRING_SRC) $(LIBDRIVEIO_SRC_PUB) \
        -DHAVE_BUILDINFO_H -Itmp \
-       -I/usr/include/qt4 -lc -lstdc++ -lQtGui -lQtCore
+       -I/usr/include/qt4 -L/usr/lib/qt4 -lc -lstdc++ -lQtGui -lQtCore

 tmp/gen_buildinfo.h:
        mkdir -p tmp 
Ox
ggking7
Posts: 40
Joined: Mon Feb 23, 2009 4:28 pm

Re: oss make fails with 'cannot find -lQtGui'

Post by ggking7 »

That fixed it, thanks a lot.
Post Reply