Subject: texmaker and libQtGui.so(.4)
To: <>
From: Michael Kell Jensen <mkj@micrun.net>
List: pkgsrc-users
Date: 08/30/2007 13:21:29
Hi

I tried installing qt4-libs from pkgsrc (offcourse)
i also installed texmaker but from a binary downloaded
from netbsd mirror for i386 netbsd 3.1
but it complained of missing dependency from qt4-libs

therefore i also got the binary package of qt4-libs from netbsd
mirror.

The reason qt4-lib, was missing was because when trying to solve the 
dependency issue from pkgsrc install, it stopped with error.

error message:
++++++++++++++++++++++

view.lo .obj/release-shared/moc_qsystemtrayicon.lo 
.obj/release-shared/moc_qcompleter_p.lo 
.obj/release-shared/qrc_qstyle.lo    -L/usr/pkg/lib -L/usr/lib 
-L/usr/X11R6/lib 
-L/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib -lpng 
-lSM -lICE 
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib/libQtCore.la 
-L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib 
-L/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib -lz 
-liconv -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor 
-lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm
.obj/release-shared/.libs/qabstractpagesetupdialog.o: could not read 
symbols: Memory exhausted
gmake: *** [../../lib/../../lib/libQtGui.la] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

+++++++++++++++++++++++++++

this is a t23 1.2 ghz with 1 GB ram, so i dont see it as a memory issue, 
or...

+++++
now i install qt4-libs from binary, install texmaker from binary.
how quick it is :)

start texmaker, texmaker complains.

$ texmaker
Shared object "libQtGui.so.4" not found

-
I go and read install message:
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2006/02/20 12:08:11 adam Exp $

To allow this package to coexist with other versions of Qt
it has been installed in /usr/pkg/qt4/{bin,include,lib,doc}.

You should be able to select this version of Qt when compiling
programs which use it by ensuring that

1) QTDIR is set to /usr/pkg/qt4

2) Use the "configure" argument "--with-qt-dir=/usr/pkg/qt4"

3) you may also have to put /usr/pkg/qt4/bin in your PATH

To access Qt-4 man pages add /usr/pkg/qt4/doc/man to your MANPATH
environment variable.  Note that the Qt-4 man pages are installed
here to avoid conflicts with man pages of other Qt versions.

===========================================================================


ok but i installed from binary, i now put /usr/pkg/qt4/bin
in my PATH in my home profile and source it
texmaker complains with the same message.

ok, i search complete system for libQt{Gui}{.so}{.4} all  combinations
but cant find anything.

all i find matching is this:
dhcppc2:run:/binpack: sudo find / -name libQtGui*
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib/libQtGui.prl
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib/libQtGui.la
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.2.3/lib/libQtGui.la.blsav


no .so file

i also look in /usr/pkg/qt4/li  :comple tab tab
what there is no lib dir under here.

check under /usr/pkg/qt3/lib, yep there is a lib file.

Are there missing files in that package, or what do i do now.



$ uname -a
NetBSD dhcppc2 3.1 NetBSD 3.1 (GENERIC.apm.sound.scroll) #3: Tue Aug 28 
18:58:27 CEST 2007 
run@dhcppc2:/usr/src/sys/arch/i386/compile/GENERIC.apm.sound.scroll i386



###########
so was this mail to long
did i miss any info
and do i send a sens-pr or what.


thanks

cognacc