LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-25-2014, 05:57 AM   #1
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Building Trinity Desktop on Current ( 14.1+ )


All --

I saw the release announcement for Trinity Desktop 14.0 and I've spent a few hours trying to compile TDE 14.0 on a virgin Slackware Current Multilib System.

I've got a working basic Desktop but I hit the wall linking tdebindings due to missing symbols.

Specifically ( I folded the linker command, adding the '\' at EoL ):
Code:
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -Wno-long-long -Wundef -ansi \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall \
-W -Wpointer-arith -fno-builtin -g -O2 -fno-schedule-insns -fno-inline -O2 \
-fPIC -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor \
-fno-reorder-blocks -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt  \
-L/opt/trinity/lib -L/opt/trinity/lib64 -L/usr/lib64    -L/usr/lib64 -ldl \
-o xp_notepad xp_notepad.o xpart_skel.o xparthost_stub.o ../src/tde/libtdexparts.la 

libtool: link: g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE \
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g -O2 \
-fno-schedule-insns -fno-inline -O2 -fPIC -Wformat-security \
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-reorder-blocks \
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt \
-o .libs/xp_notepad xp_notepad.o xpart_skel.o xparthost_stub.o  \
-L/opt/trinity/lib -L/opt/trinity/lib64 -L/usr/lib64 -ldl \
../src/tde/.libs/libtdexparts.so

/usr/lib64/gcc/x86_64-slackware-linux/4.8.3/../../../../x86_64-slackware-linux/bin/ld: xp_notepad.o: undefined reference to symbol '_ZN8TQStringD1Ev'

/opt/trinity/lib64/libtqt-mt.so.3: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status
I've referenced both the TDE HOME and Simone Giustetti's excellent Pages:

https://wiki.trinitydesktop.org/Trin...op_Environment
and
http://www.giustetti.net/wiki/index.php?title=Main_Page

Has anyone else had better luck ?

Thanks and Merry Christmas !

-- kjh
 
Old 12-25-2014, 09:48 AM   #2
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
I've got a basic Trinity desktop on slackware64-current but I put everything in "/usr/bin" and /usr/lib64".
Since I don't have any KDE4 stuff or even Qt4 programs at all, I thought that was more easy to do It that way.

I compiled:
- tqt3
- qtinterface
- arts
- dbus-tqt
- dbus-1-tqt
- tdelibs
- tdebase

and I stopped there.

I wasn't able to compile tqca-tls for instance.
I compiled tdelibs with libart-lgpl provided by Slackware and It worked.

I tried with tqt3 in "/usr/lib64/tqt3", as a result I could compile tqca-tls but then tdelibs failed...

If you have a bunch of SlackBuilds somewhere, I'd be interrested in
 
Old 12-26-2014, 01:14 PM   #3
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
__gin --

I am tied up today with my 'real job'

I've not put together Slackbuilds yet but I do have a gaggle of build scripts I can share -- likely this weekend ...

I figured I would try to get compiled and running then make it fancy with a Slackbuild.

Simone has put together Slackbuilds for 3.5.10.x and the Slackbuilds can be found by clicking on each module-link on his page:

http://www.giustetti.net/wiki/index....l_Repositories

These are a good start for trinity 14.0.

I did find that to build 14.0 modules on slackware-current-64, I needed to do this:

Code:
mkdir -p /opt/trinity/lib64    # make a lib64 folder
cd /opt/trinity                # go to the 'trinity home'
ln -s lib64 lib                # make a fake lib folder
In addition, edit /etc/ld.so.conf and add these lines:

Code:
/etc/trinity/lib64
/etc/trinity/lib
Then run
Code:
ldconfig
after successfully building each module.

Some of the cmake and/or automake scripts apparently need a little 64-bit-vs-32-bit TLC.

-- kjh
 
Old 12-27-2014, 05:52 AM   #4
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
Francois Andriot (the guy who built the packages for RPM distros) has put tqt3 in "/usr/bin" and "/usr/lib(64)".
Some packages are built in "/opt/trinity", here is a place where we can retrieve and have a look on his SPECS files.

http://tde-mirror.yosemite.net/trini...ity-r14/SRPMS/
 
Old 12-28-2014, 02:13 PM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks __gin. That's Worth a Look !

I was thinking about trying to find the .deb sources for ubuntu and do the same.

I've not gotten any further along than I was last weekend.

I thought I would 'do a quick `git checkout` and see what the experts have that I don't after downloading the 14.0.0 Release Source.

I started it this morning at 10:00 GMT and it just now finished at 20:00 GMT !!!

Anyhow. I'll stay in touch.

-- kjh

p.s. I spent a little time yesterday trying to compile tde from the git tree.

Same issues.

I am going to mark this as 'too hard' for now, until I've got time to look at the build scripts.

I'll decide then what to do.

Last edited by kjhambrick; 12-29-2014 at 05:31 AM. Reason: update
 
  


Reply

Tags
desktop environment



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] Trinity Desktop Environment 3.5.13.2 Woodsman Slackware 22 03-21-2014 12:22 PM
No repositories in Fedora-17 with Trinity desktop kwill Fedora 6 02-09-2013 11:43 AM
Debian - Trinity Desktop Blunda Linux - Newbie 1 12-04-2012 11:17 AM
Using the trinity desktop vharishankar Debian 6 11-05-2011 05:22 PM
LXer: Debian 6 and the Trinity Desktop LXer Syndicated Linux News 0 02-08-2011 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:47 PM.

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