LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2004, 07:08 AM   #1
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Rep: Reputation: 0
Unhappy LICQ problems :(


Hello Linux Gurus -

I am most definately not one of those . I have Mandrake 9.1 on my PC and am quite happy with it generally !

Tonight my LICQ appeared to die. Basically when I loaded it from the KDE menu... it would appear to load and then crash.

So... I removed it and thought I'd try and install the new version!! (Licq 1.2.7)

So... I downloaded and uncompressed the source (following the destructions...as this command line stuff is pretty new to me). I managed to get it installed without to many hassles. Then in the instruction manual/guide it says you need to install a plugin (qt-gui) to get it to work in KDE etc.

So I tried to install the plugin using ./configure... the programme seemed to be happily configuring away... then bam! I got this error:

Quote:
configure: WARNING: environment variable QTDIR is not set
checking for moc... /bin/moc
fgrep: /bin/moc: No such file or directory
configure: error:

The Qt meta object compiler (moc)
/bin/moc
found by configure is not the one part of Qt 2.1.x.

It's likely that the found one is the one shipped with
Qt 1.xx. That one will not work.

Please check your installation.
Use the --with-qt-moc option to specify the path and name
of the moc compiler shipped with your Qt 2.1 lib.
Some distributions rename it to "moc2", maybe you find that
on your system.
Does this mean I need to download something?
Is LICQ the easiest program to install on my distro to get the whole thing up and running again?? Is there a better, easier to install etc programme that I should know about?

Thanks very much in advance for your wisdom
 
Old 05-03-2004, 07:34 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Hi Dave,
You have to set the enviroment variable QTDIR to the correct path of QT 2.1. Usually qt is located under the /usr/lib/qt or /usr/lib/qt2 directory. Once you have located your qt2 directory, open a terminal and execute this command :
export QTDIR="/usr/lib/qt"
Replace /usr/lib/qt with the qt directory you found.
Then, run configure again.
Good luck.
 
Old 05-03-2004, 07:57 AM   #3
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
Hi Hfawzy -

Thanks muchly that helped !

Now I am stuck further on.

The programme goes through ./configuration just fine.

When I try to "make" or "gmake" I get this error:

Quote:
grep: /usr/lib/libfam.la: No such file or directory
sed: can't read /usr/lib/libfam.la: No such file or directory
libtool: link: `/usr/lib/libfam.la' is not a valid libtool archive
make[2]: *** [licq_kde-gui.la] Error 1
make[2]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui'
make: *** [all] Error 2

[root@localhost qt-gui]#
Any ideas?
 
Old 05-03-2004, 08:03 AM   #4
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
To solve this problem, try installing a package named libfam-devel.
I think you'll find it on your distro's CDs. If it isn't there, search for it on www.rpmfind.net and download it.
HTH
 
Old 05-03-2004, 08:07 AM   #5
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
Hi HFawzy -

Done. Different problem now:

Quote:
gmake[2]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/src'
Making all in share
gmake[2]: Entering directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/share'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/share'
Making all in po
gmake[2]: Entering directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/po'
gmake[2]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui/po'
gmake[2]: Entering directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui'
gmake[2]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui'
gmake[1]: Leaving directory `/home/yew/licq/licq-1.2.7/plugins/qt-gui'
[root@localhost qt-gui]#
Thanks very much for all your help!!!
 
Old 05-03-2004, 10:19 AM   #6
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
Is that a problem? I don't see an error message. Have you tried to "make install" afterwards and then running the program? All gmake said was that it was entering end leaving directories, didn't see any error there.
 
Old 05-03-2004, 04:20 PM   #7
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
still having issues

When I try to 'make install' I get this error:

Quote:
[root@localhost qt3]# make install
make: *** No rule to make target `install'. Stop.
Any Ideas?
 
Old 05-03-2004, 04:25 PM   #8
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
if you did a gmake maybe you should do a "gmake install" ?
else you can just try the usual:

./configure
make
make install

again
 
Old 05-03-2004, 05:10 PM   #9
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
Fixed. Thanks Guys!!

You're all legends! There is no way I would have been able to fix it w/out you.
 
Old 05-04-2004, 07:29 AM   #10
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
Unhappy spoke to soon

Hi Guys -

I think I spoke to soon. The next time I booted I had the old version back? Not sure if I didnt remove some components of it??

I used the RPM remover in Mandrake to remove the old version of LICQ.

When I try and run the new version I get this error, despite having ./configured, gmake'd and gmake'd installed the files again

Quote:
[root@localhost qt-gui]# which licq
/usr/local/bin/licq
[root@localhost qt-gui]# cd /usr
[root@localhost usr]# cd local
[root@localhost local]# cd bin
[root@localhost bin]# licq
22:32:49: [WRN] Licq: Ignoring stale lockfile (pid 17486)
22:32:49: [ERR] Unable to load plugin (qt-gui): /usr/local/lib/licq/licq_qt-gui.so: cannot open shared object file: No such file or directory.
[root@localhost bin]#
What have I done? I thought I had it fixed .

Help most gratefully appeciated !
 
Old 05-04-2004, 10:14 AM   #11
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Try locating the file licq_qt-gui.so on your computer using the locate command (after running the updatedb command). If you located this file, just create a symbolic link (using the ln command) on /usr/local/lib/licq pointing to the path of the library you have found.
Good luck.
 
Old 05-04-2004, 04:40 PM   #12
OzDave
LQ Newbie
 
Registered: May 2004
Location: Sydney, Australia
Distribution: Mandrake 9.1.
Posts: 9

Original Poster
Rep: Reputation: 0
Hi All -

I can't seem to find the file (I ran updatedb before locate):

Quote:
[root@localhost bin]# locate licq_qt
/home/yew/.licq/licq_qt-gui.conf
/home/yew/licq/licq-1.2.7/plugins/qt-gui/src/licq_qt-gui.conf.h
/home/nikki/.licq/licq_qt-gui.conf
/root/.licq/licq_qt-gui.conf
[root@localhost bin]#
How do I remove all the Licq files and start over? Is this the best thing to do?

Confused
 
Old 05-05-2004, 06:36 AM   #13
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Maybe when removing the old licq rpm, you have removed also the library you need (/usr/local/lib/licq_qt-gui.so) for the new one.
So, delete the new licq (by running "make uninstall" and "make clean" in the source directory). The redo a ./configure, make and make install...

If that doesn't work, try downloading the rpm of the new licq (from rpmfind.net) and installing it (using rpm -ivh command)...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tcp problems with licq j-) Linux - Networking 2 03-03-2005 06:14 AM
licq problems santiagosilva Linux - Software 1 01-27-2004 03:12 AM
licq problems deezay Linux - General 2 04-04-2002 01:27 AM
licq problems! deezay Linux - Newbie 1 03-21-2002 12:32 PM
Some problems with Licq ransoma22 Linux - Newbie 4 02-02-2002 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration