LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-13-2012, 03:12 PM   #1
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Rep: Reputation: 23
Compiling TQt3 on Slackware64 13.37


I've been trying to compile the tqt3 package on my 64-Bit laptop from
Code:
http://git.trinitydesktop.org/cgit/tqt3/snapshot/tqt3-master.tar.gz
but I keep running into the same compiling error.

Code:
tqt3-master/bin/uic: error while loading shared libraries: libtqt-mt.so.3: cannot open shared object file: No such file or directory
gmake[4]: ***[listboxeditor.h] Error 127
gmake[4]: Leaving directory `tqt3-master/tools/designer/designer'
gmake[3]: *** [sub-designer] Error 2
gmake[3]: Leaving directory `tqt3-master/tools/designer'
gmake[2]: *** [sub-designer] Error 2
gmake[2]: Leaving directory `tqt3-master/tools'
gmake[1]: *** [sub-tools] Error 2
gmake[1]: Leaving directory `tqt3-master'
gmake: *** [init] Error 2
I've been using the same flags as the trinity build script.

Code:
./configure -v -prefix /opt/trinity -libdir /opt/trinity/lib64 -release -I/usr/include/mysql -I/usr/include/freetype2/freetype -L/usr/lib64 -qt-imgfmt-png -qt-imgfmt-mng -qt-imgfmt-jpeg -qt-gif -qt-style-motif -system-zlib -system-libpng -system-libmng -system-libjpeg -shared -no-pch -thread -stl -no-g++-exceptions -platform linux-g++ -cups -ipv6 -nis -sm -xshape -xinerama -xcursor -xrandr -xrender -tablet -xkb -xft -plugin-imgfmt-mng -plugin-sql-mysql -plugin-sql-sqlite -plugin-style-cde -plugin-style-compact -plugin-style-motifplus -plugin-style-platinum -plugin-style-sgi -plugin-style-windows -lfontconfig -inputmethod -enable-opengl -dlopen-opengl
It appears as though it fails to find the libtqt-mt.so.3, which is located in the <package>/lib directory.
 
Old 05-14-2012, 11:05 AM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
In the TQt3 configure options:

-libdir $LIBDIR \
-L/usr/lib${LIBDIRSUFFIX} \

Make sure ${LIBDIRSUFFIX} get defined. Likewise for $LIBDIR. This way the package builds for 64 or 32 bit.
 
Old 05-14-2012, 05:54 PM   #3
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Code:
 ... 
LIBDIRSUFFIX=64
PREFIX=${PREFIX:-/opt/trinity}
LIBDIR=${LIBDIR:-$PREFIX/lib${LIBDIRSUFFIX}}
...
doesn't compile ..

I did compile TQt3 without any flags and it compiled, so one of the compile flags set for the trinity build must be bad.

Last edited by Stragonian; 05-14-2012 at 05:57 PM.
 
Old 05-14-2012, 07:06 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Same error messages or different?
 
Old 06-08-2012, 09:33 PM   #5
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Same error

Code:
tqt3-master/bin/uic: error while loading shared libraries: libtqt-mt.so.3: cannot open shared object file: No such file or directory
gmake[4]: ***[listboxeditor.h] Error 127
gmake[4]: Leaving directory `tqt3-master/tools/designer/designer'
gmake[3]: *** [sub-designer] Error 2
gmake[3]: Leaving directory `tqt3-master/tools/designer'
gmake[2]: *** [sub-designer] Error 2
gmake[2]: Leaving directory `tqt3-master/tools'
gmake[1]: *** [sub-tools] Error 2
gmake[1]: Leaving directory `tqt3-master'
gmake: *** [init] Error 2
I'm still investigating why passing no arguments to the configure script allows the application to compile, while using the flags set by tde-3.5.13 causes the compile to fail? I believe compiling the application without any compiler flags and installing it would cause the application to fail in it's indented purpose when used for tde-3.5.13.
 
Old 06-08-2012, 10:05 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
That output rings a bell. I searched the Trinity bugzilla:

http://bugs.pearsoncomputing.net/bug...uery_based_on=

Nothing.

I searched the Trinity developer's mail list archives using the keyword 'listboxeditor':

http://trinity-devel.pearsoncomputing.net/

A possible clue:

http://trinity-devel.pearsoncomputing.net/?0::4352

Possibly the problem is caused by having qt3 installed in the same environment. Is that possible?

I build Trinity related apps in a chroot that has no qt3, qt4, KDE3, or KDE4 apps installed.
 
Old 06-09-2012, 02:57 AM   #7
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Well I have Qt4 install , but nothing else. No Qt3, no KDE3 no KDE4, I'm currently using xfce desktop until I can compile tde-3.5.13. I will attempt to uninstall Qt4 and try compiling it again.
 
Old 06-09-2012, 03:18 AM   #8
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Even though this is a little off subject, I've never used GIT before and I followed the instructions to retrieve "Trinity Project GIT Information".

1. Using GIT to retrieve the data it seems to just keep asking for the password: (for which I simple hit enter being an anonymous user) when will it ever stop asking?
I keep seeing this all the time.
Code:
Password: 
Already up-to-date.
Entering 'cmake'
Password: 
Already up-to-date.
Entering 'admin'
.....
2. How do I use the GIT data downloaded to compile from, the instructions seem a bit ambiguous to me. Where are the build scripts, or would I have to write them?

I would appear as thou I get the same error when I uninstall "Qt4" as well. I think I will reinstall it now.
 
Old 06-09-2012, 04:17 AM   #9
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 103

Rep: Reputation: 17
You might want to try to temporally symlink libtqt-mt.so.3 to /usr/lib/ and/or /usr/lib64/, and ldconfig and see if it works.
 
Old 06-09-2012, 05:55 AM   #10
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
I may have finally gotten it, after compiling it to the point of the error. I copied all the files in the /tmp/tqt3-3.5.13/lib directory into the /lib of the filesystems root and uic finally worked. It didn't work in either /usr/lib or /usr/lib64, but it did work in /lib ... go figure? anyway I will probably leave the files there until I get done compiling all the rest of the packages ... maybe.
 
Old 06-09-2012, 10:23 AM   #11
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
I don't know the deal with GIT passwords. Check the developer's mail list archives for discussions. A few people have problems anonymous connections and others don't. You might want to join the developer's mail list and ask. That is the best place to get help with building Trinity components:

http://www.trinitydesktop.org/mailinglist.php

I don't have Qt4 installed in my Trinity build environment. I recall having problems with that. Therefore in my Trinity build environment I don't have any Qt or KDE packages installed. A very pristine environment, which most build environments should be. After building, TQt3 can be installed concurrently with Qt4, as long as the installation locations are different, of course.
 
Old 06-11-2012, 09:14 PM   #12
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Well I seem to have been having some success with compiling the trinity dependencies, however, tdelibs is now giving me errors. I also tried the trinity "Official Mailing Lists" but I haven't had any success with it, as the only email that I've currently been successful in sending is the subscription email, all other emails return with a failure notice. So I will continue to post them here I guess.

when compiling tdelibs I get ...
Code:
[  1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopstub.cpp.o
cd /tmp/tdelibs/build/dcop && /usr/bin/c++   -DDCOP_shared_EXPORTS -DHAVE_CONFIG_H -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/usr/lib64/qt3/include -I/usr/include/tqt -I/tmp/tdelibs/build/dcop -I/tmp/tdelibs/build -I/tmp/tdelibs/dcop -I/tmp/tdelibs/build/tdecore -I/tmp/tdelibs/tdecore   -o CMakeFiles/DCOP-shared.dir/dcopstub.cpp.o -c /tmp/tdelibs/dcop/dcopstub.cpp
In file included from /tmp/tdelibs/dcop/dcopref.h:27:0,
                 from /tmp/tdelibs/dcop/dcopstub.cpp:27:
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const char*)':
/tmp/tdelibs/dcop/dcoptypes.h:40:57: error: 'TQCSTRING_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QCString&)':
/tmp/tdelibs/dcop/dcoptypes.h:47:79: error: 'TQCSTRING_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QFont&)':
/tmp/tdelibs/dcop/dcoptypes.h:48:73: error: 'TQFONT_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QBrush&)':
/tmp/tdelibs/dcop/dcoptypes.h:50:75: error: 'TQBRUSH_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QRect&)':
/tmp/tdelibs/dcop/dcoptypes.h:51:73: error: 'TQRECT_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QImage&)':
/tmp/tdelibs/dcop/dcoptypes.h:53:75: error: 'TQIMAGE_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QSize&)':
/tmp/tdelibs/dcop/dcoptypes.h:54:73: error: 'TQSIZE_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QColor&)':
/tmp/tdelibs/dcop/dcoptypes.h:55:75: error: 'TQCOLOR_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QPalette&)':
/tmp/tdelibs/dcop/dcoptypes.h:56:79: error: 'TQPALETTE_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QColorGroup&)':
/tmp/tdelibs/dcop/dcoptypes.h:57:85: error: 'TQCOLORGROUP_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QIconSet&)':
/tmp/tdelibs/dcop/dcoptypes.h:58:79: error: 'TQICONSET_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QDataStream&)':
/tmp/tdelibs/dcop/dcoptypes.h:59:85: error: 'TQDATASTREAM_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QPointArray&)':
/tmp/tdelibs/dcop/dcoptypes.h:60:85: error: 'TQPOINTARRAY_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QRegion&)':
/tmp/tdelibs/dcop/dcoptypes.h:61:77: error: 'TQREGION_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QBitmap&)':
/tmp/tdelibs/dcop/dcoptypes.h:62:77: error: 'TQBITMAP_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QCursor&)':
/tmp/tdelibs/dcop/dcoptypes.h:63:77: error: 'TQCURSOR_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QSizePolicy&)':
/tmp/tdelibs/dcop/dcoptypes.h:65:85: error: 'TQSIZEPOLICY_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QDate&)':
/tmp/tdelibs/dcop/dcoptypes.h:66:73: error: 'TQDATE_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QTime&)':
/tmp/tdelibs/dcop/dcoptypes.h:67:73: error: 'TQTIME_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QDateTime&)':
/tmp/tdelibs/dcop/dcoptypes.h:68:81: error: 'TQDATETIME_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QBitArray&)':
/tmp/tdelibs/dcop/dcoptypes.h:69:81: error: 'TQBITARRAY_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QKeySequence&)':
/tmp/tdelibs/dcop/dcoptypes.h:70:87: error: 'TQKEYSEQUENCE_OBJECT_NAME_STRING' was not declared in this scope
/tmp/tdelibs/dcop/dcoptypes.h: In function 'const char* dcopTypeName(const QVariant&)':
/tmp/tdelibs/dcop/dcoptypes.h:71:79: error: 'TQVARIANT_OBJECT_NAME_STRING' was not declared in this scope
make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopstub.cpp.o] Error 1
make[2]: Leaving directory `/tmp/tdelibs/build'
make[1]: *** [dcop/CMakeFiles/DCOP-shared.dir/all] Error 2
make[1]: Leaving directory `/tmp/tdelibs/build'
make: *** [all] Error 2
I do have Qt4 installed, but I do not have KDE installed on my system, I'm currently running out of xfce.

Last edited by Stragonian; 06-12-2012 at 03:33 AM.
 
Old 06-12-2012, 12:25 PM   #13
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Start with this wiki page:

http://www.trinitydesktop.org/wiki/b...ers/HowToBuild

Create a clean build environment that does not include Qt3, Qt4, or and KDE3 or KDE4 packages. I use a chroot environment to create a clean build area. Some people use virtual machines.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] trouble compiling udunits-1.11.7 on Slackware64-13.37 tramni1980 Slackware 6 04-21-2012 04:27 AM
[SOLVED] compiling 32bit programs in slackware64 animeresistance Slackware 7 08-05-2011 05:35 PM
[SOLVED] compiling 32 bit on Slackware64 business_kid Slackware 9 05-21-2010 03:17 AM
Compiling CinePaint under Slackware64-current mats_b_tegner Slackware 0 03-21-2010 09:13 AM
Compiling Crafty in Slackware64 13 arubin Slackware 5 11-19-2009 03:11 AM


All times are GMT -5. The time now is 09:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration